:root {
  color-scheme: light;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-synthesis: none;
  --ink: #090a16;
  --blue: #0a51eb;
  --blue-deep: #043db2;
  --blue-bright: #1369df;
  --navy: #082d64;
  --gold: #f79601;
  --green: #0fda6a;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: #07162f;
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button,
a,
input,
label {
  -webkit-tap-highlight-color: transparent;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 540px;
  overflow: hidden;
  isolation: isolate;
  background: #07162f;
}

.stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1672px;
  height: 941px;
  overflow: hidden;
  transform: translate(-50%, -50%) scale(var(--scene-scale, 1));
  transform-origin: center;
  background:
    linear-gradient(90deg, rgba(255, 244, 220, 0.03), rgba(5, 27, 66, 0.1)),
    url("/frontend/art/login/church-clean.png") center / cover no-repeat;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 17% 14%, rgba(255, 224, 161, 0.17), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 57%, rgba(2, 22, 56, 0.12) 100%);
}

.reference-fragments {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.reference-fragment {
  position: absolute;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.reference-fragment img {
  position: absolute;
  width: 1672px;
  max-width: none;
  height: 941px;
  user-select: none;
}

.fragment-photo-top {
  top: 0;
  left: 0;
  width: 1227px;
  height: 80px;
}

.fragment-photo-top img {
  top: 0;
  left: 0;
}

.fragment-photo-left {
  top: 80px;
  left: 0;
  width: 350px;
  height: 675px;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 18px), transparent 100%);
}

.fragment-photo-left img {
  top: -80px;
  left: 0;
}

.fragment-photo-sky-cap {
  top: 80px;
  left: 570px;
  width: 655px;
  height: 44px;
}

.fragment-photo-sky-cap img {
  top: -80px;
  left: -570px;
}

.fragment-photo-building {
  top: 480px;
  left: 0;
  width: 1152px;
  height: 276px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 100%);
}

.fragment-photo-building img {
  top: -480px;
  left: 0;
}

.fragment-photo-right-gap {
  top: 124px;
  left: 966px;
  width: 174px;
  height: 356px;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%),
    linear-gradient(to bottom, #000 0, #000 calc(100% - 18px), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%),
    linear-gradient(to bottom, #000 0, #000 calc(100% - 18px), transparent 100%);
  mask-composite: intersect;
}

.fragment-photo-right-gap img {
  top: -124px;
  left: -966px;
}

.fragment-photo-bottom-left {
  top: 899px;
  left: 0;
  width: 1672px;
  height: 42px;
}

.fragment-photo-bottom-left img {
  top: -899px;
  left: 0;
}

.fragment-decor-swoosh {
  inset: 0;
  width: 1672px;
  height: 941px;
  overflow: visible;
  clip-path: polygon(
    1152px 216px,
    1178px 216px,
    1178px 941px,
    812px 941px,
    860px 910px,
    903px 860px,
    944px 800px,
    980px 733px,
    1013px 660px,
    1043px 584px,
    1069px 505px,
    1091px 427px,
    1110px 348px,
    1126px 282px,
    1140px 238px
  );
}

.fragment-decor-swoosh img {
  inset: 0;
}

.fragment-decor-top {
  top: 0;
  left: 1152px;
  z-index: 6;
  width: 520px;
  height: 217px;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 18px, #000 100%),
    linear-gradient(to bottom, #000 0, #000 calc(100% - 16px), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 18px, #000 100%),
    linear-gradient(to bottom, #000 0, #000 calc(100% - 16px), transparent 100%);
  mask-composite: intersect;
}

.fragment-decor-top img {
  top: 0;
  left: -1152px;
}

.fragment-decor-right {
  top: 217px;
  left: 1619px;
  z-index: 5;
  width: 53px;
  height: 724px;
}

.fragment-decor-right img {
  top: -217px;
  left: -1619px;
}

.fragment-decor-plant {
  top: 690px;
  left: 1500px;
  z-index: 8;
  width: 172px;
  height: 251px;
  -webkit-mask-image:
    radial-gradient(ellipse 58% 67% at 82% 70%, #000 42%, transparent 78%),
    radial-gradient(ellipse 42% 58% at 54% 65%, #000 34%, transparent 76%);
  mask-image:
    radial-gradient(ellipse 58% 67% at 82% 70%, #000 42%, transparent 78%),
    radial-gradient(ellipse 42% 58% at 54% 65%, #000 34%, transparent 76%);
}

.fragment-decor-plant img {
  top: -690px;
  left: -1500px;
}

.photo-wash {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 41% 26%, rgba(255, 255, 255, 0.26), transparent 34%),
    linear-gradient(180deg, rgba(239, 245, 255, 0.06), transparent 60%, rgba(1, 13, 36, 0.08));
}

.ribbons {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ribbons path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ribbon-shadow {
  stroke: rgba(1, 12, 36, 0.38);
  stroke-width: 328px;
  filter: blur(18px);
}

.ribbon-navy {
  stroke: url(#navyRibbon);
  stroke-width: 250px;
  filter: url(#ribbonShadow);
}

.ribbon-white {
  stroke: url(#whiteRibbon);
  stroke-width: 126px;
  filter: url(#ribbonShadow);
}

.ribbon-blue {
  stroke: #075ccc;
  stroke-width: 57px;
  opacity: 0.94;
}

.ribbon-gold {
  stroke: #dfa91b;
  stroke-width: 4px;
  opacity: 0.94;
  filter: url(#goldGlow);
}

.ribbon-hairline {
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 4px;
}

.right-ribbon-navy {
  stroke: #082b60;
  stroke-width: 225px;
  filter: url(#ribbonShadow);
}

.right-ribbon-white {
  stroke: url(#whiteRibbon);
  stroke-width: 102px;
}

.right-ribbon-blue {
  stroke: #0756bd;
  stroke-width: 35px;
}

.right-ribbon-gold {
  stroke: #e5ad20;
  stroke-width: 3px;
  filter: url(#goldGlow);
}

.top-ribbon-navy {
  stroke: #082c62;
  stroke-width: 176px;
  filter: url(#ribbonShadow);
}

.top-ribbon-white {
  stroke: url(#whiteRibbon);
  stroke-width: 87px;
}

.top-ribbon-gold {
  stroke: #dfac29;
  stroke-width: 3px;
  filter: url(#goldGlow);
}

.dove {
  position: absolute;
  z-index: 7;
  top: 42px;
  left: 1388px;
  width: 292px;
  height: 250px;
  display: none;
  color: rgba(255, 255, 255, 0.76);
  opacity: 0.92;
  pointer-events: none;
  filter: drop-shadow(0 3px 3px rgba(13, 38, 80, 0.34));
}

.dove svg {
  width: 100%;
  height: 100%;
}

.dove path {
  stroke-width: 2.3;
}

.sky-birds {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: none;
  pointer-events: none;
}

.sky-bird {
  position: absolute;
  width: 30px;
  height: 13px;
  transform: rotate(var(--bird-rotation, 0deg)) scale(var(--bird-scale, 1));
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.28));
}

.sky-bird::before,
.sky-bird::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 17px;
  height: 8px;
  border-top: 3px solid #09152d;
  border-radius: 50% 50% 0 0;
}

.sky-bird::before { left: 0; transform: rotate(10deg); }
.sky-bird::after { right: 0; transform: rotate(-10deg); }
.sky-bird--1 { top: 181px; left: 1035px; --bird-rotation: 6deg; --bird-scale: 1.08; }
.sky-bird--2 { top: 124px; left: 1125px; --bird-rotation: -8deg; --bird-scale: .72; }
.sky-bird--3 { top: 89px; left: 1223px; --bird-rotation: 3deg; --bird-scale: .45; }

.hero {
  position: absolute;
  z-index: 4;
  top: 80px;
  left: 361px;
  width: 614px;
}

.system-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 208px;
  height: 44px;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(229, 239, 251, 0.48));
  box-shadow:
    0 12px 27px rgba(20, 55, 102, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  color: rgba(255, 255, 255, 0.98);
  font-size: 18px;
  font-weight: 450;
  text-shadow: 0 1px 3px rgba(24, 56, 97, 0.34);
  backdrop-filter: blur(10px) saturate(1.1);
}

.system-badge__dot {
  width: 14px;
  height: 14px;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: #0966ec;
  box-shadow: 0 1px 5px rgba(4, 72, 197, 0.38);
}

.system-badge > span:last-child {
  display: inline-block;
  transform: scaleX(1.1);
  transform-origin: center;
}

.hero h1 {
  margin: 16px 0 0;
  font-size: 68px;
  font-weight: 780;
  line-height: 0.93;
  letter-spacing: 0;
  text-wrap: nowrap;
  filter: drop-shadow(0 2px 1px rgba(255, 255, 255, 0.18));
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 span {
  color: var(--ink);
  font-weight: 780;
  transform: translateY(-5px) scale(1.021, 1.03);
  transform-origin: left top;
}

.hero h1 strong {
  margin-top: 0;
  color: #115cce;
  font-weight: 760;
  background: linear-gradient(93deg, #0b46bc 3%, #1a72e9 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translate(3px, -1px) scale(1.09, 1.13);
  transform-origin: left top;
}

.hero-rule {
  display: block;
  position: relative;
  top: 2px;
  width: 87px;
  height: 6px;
  margin: 15px 0 16px 5px;
  border-radius: 8px;
  background: linear-gradient(90deg, #0a58ed, #0a3db1);
  box-shadow: 0 3px 9px rgba(5, 75, 196, 0.28);
}

.hero-copy {
  position: relative;
  width: 420px;
  margin: 0 0 0 16px;
  color: #163052;
  font-size: 16px;
  font-weight: 470;
  line-height: 1.2;
  text-wrap: balance;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12px;
  width: 3px;
  border-radius: 4px;
  background: #1768ed;
  box-shadow: 0 2px 6px rgba(10, 81, 235, 0.28);
}

.benefits {
  position: absolute;
  z-index: 4;
  top: 366px;
  left: 352px;
  width: 568px;
  height: 116px;
}

.benefit {
  position: absolute;
  top: 0;
  width: 100px;
  text-align: center;
}

.benefit--1 { left: 0; }
.benefit--2 { left: 118px; }
.benefit--3 { left: 235px; }
.benefit--4 { left: 352px; }
.benefit--5 { left: 469px; }

.benefit__icon {
  display: grid;
  width: 77px;
  height: 77px;
  margin: 0;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: #0755cb;
  backdrop-filter: none;
}

.benefit__icon::after {
  display: none;
}

.benefit__icon svg {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit__icon .benefit__source {
  position: static;
  z-index: auto;
  display: block;
  width: 100%;
  height: 100%;
  fill: initial;
  stroke: none;
}

.benefit p {
  width: 100px;
  margin: -4px 0 0;
  transform: translateX(-12px);
  color: #182844;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.18;
}

.benefit-divider {
  position: absolute;
  top: 36px;
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, transparent, rgba(30, 70, 114, 0.34), transparent);
}

.divider--1 { left: 97px; }
.divider--2 { left: 214px; }
.divider--3 { left: 331px; }
.divider--4 { left: 448px; }

.trust-dock {
  position: absolute;
  z-index: 5;
  bottom: 31px;
  left: 68px;
  display: grid;
  width: 880px;
  height: 155px;
  grid-template-columns: 202px 191px 231px 256px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 46px 8px 8px 46px;
  background:
    linear-gradient(100deg, rgba(30, 33, 52, 0.88), rgba(39, 39, 56, 0.82) 67%, rgba(28, 32, 48, 0.88)),
    radial-gradient(circle at 10% 100%, rgba(226, 129, 30, 0.2), transparent 30%);
  box-shadow:
    0 21px 42px rgba(1, 10, 30, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -2px 0 rgba(249, 164, 69, 0.17);
  color: #fff;
  clip-path: polygon(0 0, 94.5% 0, 100% 36%, 100% 100%, 0 100%);
  backdrop-filter: blur(16px) saturate(1.16);
}

.trust-dock::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04) 70%, transparent);
}

.trust-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  min-width: 0;
  height: 112px;
  margin-top: 17px;
  padding: 10px 18px 0 31px;
  gap: 14px;
}

.trust-item:first-child { padding-left: 44px; }

.trust-item:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.39), transparent);
}

.trust-item__icon {
  flex: 0 0 auto;
  display: grid;
  width: 44px;
  height: 48px;
  place-items: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.trust-item__icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item--secure .trust-item__icon { color: #4f96ff; }
.trust-item--cloud .trust-item__icon { color: #24c9ff; }
.trust-item--insight .trust-item__icon { color: #ffc446; }
.trust-item--privacy .trust-item__icon { color: #2ee18b; }

.trust-item div {
  min-width: 0;
  padding-top: 4px;
}

.trust-item strong {
  display: block;
  color: rgba(255, 255, 255, 0.98);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}

.trust-item p {
  position: absolute;
  top: 70px;
  left: 46px;
  margin: 0;
  color: rgba(230, 237, 248, 0.76);
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.25;
  white-space: normal;
}

.trust-item--cloud p { left: 38px; }
.trust-item--insight p { left: 72px; }
.trust-item--privacy p { left: 62px; }

.login-backplate {
  position: absolute;
  z-index: 5;
  top: 216px;
  left: 1152px;
  width: 441px;
  height: 682px;
  border: 2px solid rgba(255, 255, 255, 0.54);
  border-radius: 58px;
  background:
    linear-gradient(145deg, rgba(244, 248, 255, 0.51), rgba(193, 211, 235, 0.3)),
    rgba(225, 231, 244, 0.32);
  box-shadow:
    0 22px 56px rgba(1, 18, 61, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(17px) saturate(1.08);
}

.login-card {
  position: absolute;
  z-index: 6;
  top: 245px;
  left: 1176px;
  width: 441px;
  height: 654px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 56px;
  background:
    linear-gradient(145deg, rgba(238, 235, 246, 0.67), rgba(198, 199, 221, 0.71) 49%, rgba(226, 215, 228, 0.73)),
    rgba(205, 203, 220, 0.66);
  box-shadow:
    0 28px 60px rgba(1, 18, 61, 0.42),
    0 6px 18px rgba(4, 54, 142, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.96),
    inset 0 -2px 0 rgba(246, 171, 74, 0.19);
  backdrop-filter: blur(24px) saturate(1.16);
}

.login-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -230px;
  left: 172px;
  width: 166px;
  height: 940px;
  transform: rotate(-21deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  pointer-events: none;
}

.login-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -84px;
  bottom: -58px;
  width: 276px;
  height: 192px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 123, 205, 0.12), transparent 69%);
  pointer-events: none;
}

.card-glint {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(rgba(150, 95, 95, 0.05), rgba(150, 95, 95, 0.05)),
    radial-gradient(circle at 18% 3%, rgba(255, 255, 255, 0.48), transparent 22%),
    radial-gradient(circle at 58% 98%, rgba(255, 169, 76, 0.1), transparent 27%);
}

.card-source-material {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: blur(4px);
  opacity: 0.3;
}

.brand-logo {
  position: absolute;
  z-index: 2;
  top: 49px;
  left: 65px;
  display: block;
  width: 295px;
  height: 98px;
  pointer-events: none;
}

.brand-logo__source {
  display: block;
  width: 295px;
  height: 98px;
  overflow: hidden;
}

.brand-logo__dove {
  display: none;
  flex: 0 0 auto;
  width: 105px;
  height: 82px;
  color: #0b535a;
  filter: drop-shadow(0 2px 1px rgba(255, 255, 255, 0.5));
}

.brand-logo__dove > g:first-child {
  stroke-width: 2.2;
}

.brand-logo__branch {
  color: #3d8271;
  stroke-width: 1.8;
}

.brand-logo__copy {
  display: none;
  min-width: 0;
  margin-left: 2px;
  flex-direction: column;
  color: #071733;
  white-space: nowrap;
}

.brand-logo__copy small {
  font-size: 13px;
  font-style: normal;
  font-weight: 680;
  line-height: 1.05;
}

.brand-logo__copy strong {
  margin-top: 1px;
  font-size: 27px;
  font-weight: 780;
  line-height: 1;
}

.brand-logo__copy em {
  align-self: flex-end;
  margin-top: 3px;
  font-size: 14px;
  font-style: normal;
  font-weight: 540;
  line-height: 1;
}

.brand-accent {
  position: absolute;
  z-index: 3;
  top: 161px;
  left: 187px;
  width: 55px;
  height: 5px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f39a08, #ffbd3e);
  box-shadow: 0 3px 9px rgba(238, 141, 13, 0.27);
}

.login-heading {
  position: absolute;
  z-index: 3;
  top: 190px;
  left: 87px;
  width: 280px;
  text-align: left;
}

.login-heading h2 {
  margin: 0;
  color: #09152c;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
}

.login-heading p {
  margin: 8px 0 0;
  color: #34445e;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.45;
}

.login-form {
  position: absolute;
  z-index: 4;
  top: 296px;
  left: 44px;
  width: 356px;
}

.field {
  position: relative;
  display: flex;
  width: 100%;
  height: 63px;
  align-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.83);
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(252, 252, 255, 0.64), rgba(229, 232, 244, 0.51));
  box-shadow:
    0 8px 19px rgba(30, 48, 87, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #1f3559;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.field + .field {
  margin-top: 19px;
}

.field:focus-within {
  border-color: rgba(20, 95, 228, 0.58);
  box-shadow:
    0 9px 22px rgba(21, 72, 170, 0.14),
    0 0 0 4px rgba(17, 91, 226, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.field__icon {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  margin-left: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.field input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 19px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0d1b32;
  font-size: 14px;
  font-weight: 540;
  letter-spacing: 0;
}

.field input::placeholder {
  color: rgba(36, 55, 85, 0.72);
  opacity: 1;
}

.field__trailing {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-right: 20px;
  fill: none;
  stroke: #405b83;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle {
  flex: 0 0 auto;
  display: grid;
  width: 46px;
  height: 46px;
  margin-right: 9px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  outline: 0;
  background: transparent;
  color: #334967;
  cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.35);
}

.password-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-options {
  display: flex;
  height: 49px;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 0 3px;
  color: #243a5d;
  font-size: 11.5px;
  font-weight: 550;
}

.remember-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.remember-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkmark {
  position: relative;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(4, 58, 155, 0.34);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.remember-control input:checked + .checkmark {
  border-color: #0a51df;
  background: linear-gradient(145deg, #1676f0, #063ea9);
  box-shadow: 0 3px 7px rgba(5, 69, 181, 0.27);
}

.remember-control input:checked + .checkmark::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 5px;
  width: 4px;
  height: 7px;
  transform: rotate(45deg);
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.remember-control input:focus-visible + .checkmark {
  outline: 3px solid rgba(10, 81, 235, 0.22);
  outline-offset: 2px;
}

.form-options a {
  color: #173b77;
  text-decoration: none;
  transform: scaleX(1.11);
  transform-origin: right center;
}

.form-options a:hover,
.form-options a:focus-visible {
  color: #0757d1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.submit-button {
  position: relative;
  display: flex;
  width: 356px;
  height: 72px;
  align-items: center;
  justify-content: center;
  padding: 0 78px 0 34px;
  overflow: visible;
  border: 1px solid rgba(77, 142, 255, 0.63);
  border-radius: 36px;
  outline: 0;
  background:
    radial-gradient(circle at 5% 110%, rgba(255, 174, 57, 0.72), transparent 24%),
    linear-gradient(97deg, #0765ee 0%, #064bbb 52%, #012c78 100%);
  box-shadow:
    -5px 10px 14px rgba(255, 165, 48, 0.28),
    0 18px 31px rgba(1, 51, 151, 0.34),
    0 8px 16px rgba(4, 78, 200, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(2, 25, 86, 0.34);
  color: #fff;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  margin-top: 18px;
  margin-left: -15px;
}

.submit-button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(104deg, rgba(255, 255, 255, 0.2), transparent 30%, transparent 65%, rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.submit-button > span:first-child {
  position: relative;
  z-index: 1;
  font-size: 17px;
  font-weight: 600;
  transform: translateY(-3px) scaleX(1.02);
}

.submit-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.1) brightness(1.05);
  box-shadow:
    0 21px 36px rgba(1, 51, 151, 0.42),
    0 9px 18px rgba(4, 78, 200, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.submit-button:active {
  transform: translateY(1px);
}

.submit-button:focus-visible {
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.56),
    0 0 0 8px rgba(9, 83, 219, 0.24),
    0 18px 31px rgba(1, 51, 151, 0.34);
}

.submit-button__disc {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 14px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #e8eef9);
  box-shadow:
    0 7px 14px rgba(0, 23, 80, 0.32),
    inset 0 1px 0 #fff;
  color: #0754ca;
}

.submit-button__disc svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.secure-note {
  position: absolute;
  z-index: 3;
  bottom: 26px;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #384b66;
  font-size: 11.5px;
  font-weight: 530;
  transform: translateX(-32px);
}

.secure-note__shield {
  position: relative;
  display: inline-grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: #0854c5;
}

.secure-note__shield svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.secure-note__shield i {
  position: absolute;
  right: auto;
  left: 205px;
  bottom: 8px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(232, 235, 246, 0.96);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 1px 3px rgba(3, 91, 48, 0.25);
}

.foreground-plant {
  position: absolute;
  z-index: 9;
  right: -22px;
  bottom: -24px;
  width: 175px;
  height: 250px;
  pointer-events: none;
  display: none;
  opacity: 0.77;
  filter: blur(3.5px) saturate(0.9) drop-shadow(-8px 12px 12px rgba(0, 12, 28, 0.34));
}

.foreground-plant::before,
.foreground-plant::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 79px;
  width: 5px;
  height: 230px;
  transform: rotate(-10deg);
  transform-origin: bottom;
  border-radius: 100%;
  background: linear-gradient(#2c603e, #102e24);
}

.foreground-plant::after {
  left: 105px;
  height: 210px;
  transform: rotate(12deg);
}

.foreground-plant i {
  position: absolute;
  top: calc(var(--y) * 1%);
  left: calc(var(--x) * 1%);
  width: calc(45px * var(--s));
  height: calc(90px * var(--s));
  transform: translate(-50%, -50%) rotate(calc(var(--r) * 1deg));
  border-radius: 90% 8% 90% 8%;
  background:
    linear-gradient(98deg, transparent 48%, rgba(206, 218, 198, 0.25) 50%, transparent 53%),
    linear-gradient(145deg, #567f5c, #193c2d 72%);
  box-shadow: inset 8px 8px 13px rgba(255, 255, 255, 0.06);
}

.toast {
  position: fixed;
  z-index: 20;
  right: 28px;
  bottom: 28px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 18px;
  transform: translateY(18px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  background: rgba(10, 34, 75, 0.92);
  box-shadow: 0 18px 40px rgba(0, 12, 37, 0.32);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(12px);
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 960px) {
  body {
    overflow: auto;
  }

  .app {
    height: auto;
    min-height: 100svh;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(242, 247, 255, 0.26), rgba(2, 20, 50, 0.25)),
      url("/frontend/art/login/church-clean.png") 28% center / cover fixed no-repeat;
  }

  .stage {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    width: 100%;
    height: auto;
    min-height: 100svh;
    padding: 46px 20px 34px;
    transform: none;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: linear-gradient(180deg, rgba(249, 250, 255, 0.5), rgba(247, 249, 255, 0.16) 43%, rgba(8, 25, 56, 0.44));
  }

  .reference-fragments {
    display: none;
  }


  .stage::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 48%, rgba(5, 18, 43, 0.2));
  }

  .photo-wash {
    position: fixed;
  }

  .ribbons {
    position: absolute;
    top: 320px;
    left: 50%;
    width: 1000px;
    height: 900px;
    transform: translateX(-45%) scale(.78);
    transform-origin: top center;
    opacity: 0.82;
  }

  .dove {
    display: block;
    top: 454px;
    right: -36px;
    left: auto;
    width: 205px;
    height: 170px;
    opacity: 0.42;
  }

  .sky-birds {
    display: none;
  }

  .hero {
    position: relative;
    top: auto;
    left: auto;
    z-index: 4;
    width: min(100%, 620px);
    text-align: center;
  }

  .system-badge {
    height: 42px;
  }

  .hero h1 {
    margin-top: 15px;
    font-size: clamp(42px, 8vw, 64px);
    line-height: 1;
    text-wrap: balance;
  }

  .hero h1 strong {
    margin-top: 3px;
  }

  .hero-rule {
    margin: 14px auto;
  }

  .hero-copy {
    width: min(100%, 470px);
    margin: 0 auto;
    font-size: 15px;
  }

  .benefits {
    position: relative;
    top: auto;
    left: auto;
    z-index: 5;
    display: grid;
    width: min(100%, 580px);
    height: auto;
    grid-template-columns: repeat(5, minmax(82px, 1fr));
    gap: 10px;
    padding: 16px 10px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 28px;
    background: rgba(245, 249, 255, 0.34);
    box-shadow: 0 16px 32px rgba(3, 22, 54, 0.14);
    backdrop-filter: blur(15px);
  }

  .benefit {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
  }

  .benefit-divider {
    display: none;
  }

  .benefit__icon {
    width: 68px;
    height: 68px;
  }

  .benefit__icon::after {
    width: 52px;
    height: 52px;
  }

  .login-card {
    position: relative;
    top: auto;
    left: auto;
    z-index: 8;
    width: 441px;
    max-width: calc(100vw - 32px);
    height: 682px;
    flex: 0 0 auto;
  }

  .login-backplate {
    display: none;
  }

  .card-source-material {
    display: none;
  }

  .submit-button {
    width: 100%;
    margin-left: 0;
  }

  .submit-button__disc {
    right: 7px;
  }

  .secure-note {
    transform: none;
  }

  .secure-note__shield i {
    right: -1px;
    bottom: 0;
    left: auto;
    width: 7px;
    height: 7px;
  }

  .trust-dock {
    position: relative;
    bottom: auto;
    left: auto;
    z-index: 7;
    order: 4;
    width: min(100%, 700px);
    height: auto;
    min-height: 230px;
    grid-template-columns: 1fr 1fr;
    border-radius: 32px;
    clip-path: none;
  }

  .trust-item {
    height: 92px;
    margin: 0;
    padding: 18px 22px;
  }

  .trust-item:first-child {
    padding-left: 22px;
  }

  .trust-item p,
  .trust-item--cloud p,
  .trust-item--insight p,
  .trust-item--privacy p {
    position: static;
    margin-top: 5px;
  }

  .trust-item:not(:first-child)::before {
    display: none;
  }

  .trust-item:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 17px;
    right: 0;
    bottom: 17px;
    width: 1px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.34), transparent);
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .foreground-plant {
    position: absolute;
    display: block;
    right: -35px;
    bottom: 5px;
    opacity: 0.45;
  }
}

@media (max-width: 620px) {
  .stage {
    padding: 32px 16px 28px;
    justify-content: center;
    gap: 0;
  }

  .hero,
  .benefits,
  .trust-dock {
    display: none;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero-copy {
    max-width: 360px;
    color: #102a4d;
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 14px 16px;
    gap: 14px 8px;
  }

  .benefit:last-of-type {
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
  }

  .benefit__icon {
    width: 72px;
    height: 72px;
  }

  .benefit p {
    font-size: 12.5px;
  }

  .login-card {
    width: min(100%, 441px);
    height: 650px;
    border-radius: 38px;
  }

  .brand-logo {
    top: 52px;
    left: 50%;
    transform: translateX(-50%) scale(.9);
  }

  .brand-accent {
    top: 174px;
    left: 50%;
    transform: translateX(-50%);
  }

  .login-heading {
    top: 201px;
    left: 7%;
    width: 86%;
  }

  .login-form {
    top: 307px;
    left: 7%;
    width: 86%;
  }

  .form-options {
    height: 53px;
    padding-inline: 2px;
    font-size: 11px;
  }

  .submit-button {
    height: 68px;
  }

  .submit-button__disc {
    top: 6px;
    width: 55px;
    height: 55px;
  }

  .secure-note {
    bottom: 17px;
  }

  .trust-dock {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }

  .trust-item {
    width: 100%;
    height: auto;
    min-height: 76px;
    padding: 12px 26px;
  }

  .trust-item:nth-child(odd)::after {
    display: none;
  }

  .trust-item:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .trust-item p {
    white-space: normal;
  }

  .ribbons {
    top: 515px;
    transform: translateX(-43%) scale(.66);
  }

  .dove {
    top: 625px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 39px;
  }

  .login-card {
    height: 630px;
  }

  .brand-logo {
    top: 45px;
    transform: translateX(-50%) scale(.82);
  }

  .brand-accent {
    top: 163px;
  }

  .login-heading {
    top: 187px;
  }

  .login-form {
    top: 289px;
    left: 6%;
    width: 88%;
  }

  .field {
    height: 59px;
  }

  .field + .field {
    margin-top: 15px;
  }

  .form-options {
    height: 50px;
  }

  .submit-button {
    height: 64px;
  }

  .submit-button__disc {
    top: 5px;
    right: 6px;
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
