/* ==========================================================================
   One Underwriting — redesign
   Theme tokens taken from the current site (colours, sizes, radii, spacing)
   ========================================================================== */
:root {
  --lime: #79b803;
  --lime-600: #6aa202;
  --lime-300: #b6f23c;
  --lime-tint: rgba(121, 184, 3, 0.12);
  --ebony: #252836;
  --river: #45535e;
  --slate: #5d6d78;
  --regent: #82939a;
  --porcelain: #f2f4f5;
  --quill: #e4e4e3;
  --regal: #003f72;
  --mint: #eef6f7;
  --white: #ffffff;
  --error: #ff6f6f;

  --font: "Helvetica Now Display", "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --fs-xs: 13px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-lead: 18px;
  --fs-h3: 24px;
  --fs-quote: 36px;
  --fs-h2: 46px;

  --rail: 210px;
  --header-h: 120px;
  --pad: 80px;
  --section: 160px;

  --r-pill: 32px;
  --r-card: 16px;
  --r-sm: 2px;

  --shadow-soft: 0 1px 2px rgba(37, 40, 54, 0.04), 0 12px 32px -12px rgba(37, 40, 54, 0.14);
  --shadow-lift: 0 2px 4px rgba(37, 40, 54, 0.05), 0 28px 56px -20px rgba(37, 40, 54, 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--river);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--white); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ebony); color: var(--white); padding: 12px 20px; border-radius: var(--r-pill); transition: top .2s; }
.skip:focus { top: 16px; }

.container { width: 100%; padding-inline: max(var(--pad), calc((100% - 1520px) / 2)); }

/* -------------------------------------------------------------- Logo */
.logo { display: inline-flex; flex-direction: column; align-items: center; width: 125px; line-height: 1; user-select: none; }
.logo__one { font-family: "Inter Tight", var(--font); font-weight: 800; font-size: 52px; letter-spacing: -0.06em; color: var(--lime); line-height: .72; padding-bottom: 6px; }
.logo__sub { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: var(--river); margin-top: 2.5px; }
.logo--light .logo__sub { color: rgba(255, 255, 255, .8); }

/* -------------------------------------------------------------- Rail (desktop) */
.rail { position: fixed; inset: 0 auto 0 0; width: var(--rail); z-index: 40; background: var(--white); border-right: 1px solid var(--quill); }
.rail__logo { position: absolute; left: 43px; top: 34px; }
.rail__crumb {
  position: absolute; left: 50%; top: 240px; transform: translateX(-50%);
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 13px;
  font-size: var(--fs-sm); font-weight: 500; color: var(--regent); white-space: nowrap;
}
.rail__crumb strong { color: var(--ebony); font-weight: 700; }
.rail__crumb a:hover { color: var(--lime); }
.rail__crumb-line { width: 1px; height: 40px; background: var(--regent); }
.rail__progress { position: absolute; left: 50%; top: 520px; bottom: 210px; width: 2px; transform: translateX(-50%); background: var(--quill); border-radius: 2px; overflow: hidden; }
.rail__progress-bar { position: absolute; inset: 0; background: linear-gradient(var(--lime-300), var(--lime)); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.rail__menu { position: absolute; left: 76px; bottom: 120px; }

.menu-btn { width: 59px; height: 31px; display: grid; align-content: center; gap: 6.5px; }
.menu-btn span { display: block; height: 2px; background: var(--river); border-radius: 2px; transition: width .35s var(--ease), background .2s; }
.menu-btn span:last-child { width: 70%; justify-self: end; }
.menu-btn:hover span { background: var(--lime); }
.menu-btn:hover span:last-child { width: 100%; }

/* -------------------------------------------------------------- Shell + header */
.shell { margin-left: var(--rail); min-width: 0; }
.header {
  position: sticky; top: 0; z-index: 30; height: var(--header-h);
  display: flex; align-items: center; gap: 40px; padding: 0 var(--pad);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  transition: box-shadow .35s;
}
.header.is-scrolled { height: 88px; box-shadow: 0 1px 0 var(--quill), 0 12px 30px -20px rgba(37, 40, 54, .25); }
.header__logo { display: none; }
.header__nav ul { display: flex; gap: 40px; }
.header__nav a { position: relative; display: block; padding: 2px 0; font-weight: 500; color: var(--river); transition: color .2s; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--lime); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.header__nav a:hover, .header__nav a.is-active { color: var(--lime); }
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.header__menu { display: none; }
.header__cta { padding-inline: 28px; }

/* -------------------------------------------------------------- Buttons + links */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 32px; border-radius: var(--r-pill);
  font-size: var(--fs-base); font-weight: 500; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn .ico-arrow { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translateX(110%); }
.btn--primary { background: var(--lime); color: var(--white); box-shadow: 0 10px 24px -12px rgba(121, 184, 3, .8); }
.btn--primary:hover { background: var(--lime-600); box-shadow: 0 14px 30px -12px rgba(121, 184, 3, .9); }
.btn--outline { border: 1.5px solid var(--lime); color: var(--lime-600); }
.btn--outline:hover { background: var(--lime); color: var(--white); }
.btn--outline-light { border: 1.5px solid rgba(255, 255, 255, .38); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--light { background: var(--white); color: var(--ebony); }
.btn--light:hover { background: var(--ebony); color: var(--white); }
.btn--ghost-dark { color: var(--river); border: 1px solid var(--quill); }
.btn--ghost-dark:hover { border-color: var(--river); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 13.008px; font-weight: 600; }

.link-line { display: inline-flex; align-items: center; gap: 16px; font-size: var(--fs-sm); font-weight: 700; color: var(--lime); }
.link-line__bar { width: 40px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.link-line:hover .link-line__bar, [data-spot]:hover .link-line__bar { width: 64px; }
.link-line--light { color: var(--lime-300); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--lime-300); }

.section { position: relative; padding: var(--section) 0; }
.section-title { font-size: var(--fs-h2); line-height: 1.2; font-weight: 700; color: var(--ebony); letter-spacing: -0.02em; }
.section-lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--regent); margin-top: 24px; }
.section-head { max-width: 880px; }

/* -------------------------------------------------------------- Reveal */
/* Content is visible by default; only blocks still below the fold when the visitor
   starts scrolling get armed (.will-reveal) and animate in as they enter the view. */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.will-reveal { opacity: 0; transform: translateY(28px); }
.will-reveal.is-in { opacity: 1; transform: none; }

@keyframes drift-a { to { transform: translate(-120px, 90px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(140px, -60px) scale(1.1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.06); } }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(182, 242, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(182, 242, 60, 0); } }

/* -------------------------------------------------------------- Hero (home) */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--ebony); min-height: 650px; display: flex; flex-direction: column; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.hero__blob--a { width: 520px; height: 520px; background: var(--lime); left: 45%; top: -180px; animation: drift-a 18s ease-in-out infinite alternate; opacity: .38; }
.hero__blob--b { width: 600px; height: 600px; background: var(--regal); left: -160px; bottom: -280px; animation: drift-b 22s ease-in-out infinite alternate; opacity: .8; }
.hero__blob--c { width: 360px; height: 360px; background: #2f7d8c; right: -80px; bottom: -60px; animation: drift-a 16s ease-in-out infinite alternate-reverse; opacity: .35; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero__spot { position: absolute; width: 480px; height: 480px; left: var(--sx, 70%); top: var(--sy, 40%); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(182, 242, 60, .14), transparent); transition: left .4s var(--ease), top .4s var(--ease); pointer-events: none; }

.hero__inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 40px; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 15px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-300); box-shadow: 0 0 0 0 rgba(182, 242, 60, .6); animation: ping 2s infinite; }

.hero__slides { display: grid; margin-top: 28px; }
.slide { grid-area: 1 / 1; align-self: start; opacity: 0; pointer-events: none; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.slide.is-active { opacity: 1; pointer-events: auto; transform: none; transition-delay: .1s; }
.slide__kicker { display: block; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime-300); margin-bottom: 14px; }
.slide__title { font-size: 46px; line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; max-width: 640px; text-wrap: balance; }
.slide__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 600; color: var(--white); opacity: .85; transition: opacity .2s, gap .3s var(--ease); }
.slide__link:hover { opacity: 1; gap: 14px; color: var(--lime-300); }
.slide__link .ico-arrow { width: 18px; height: 18px; }
.hero__lead { margin-top: 28px; max-width: 520px; font-size: var(--fs-lead); line-height: 1.6; color: rgba(255, 255, 255, .72); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.hero__controls { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 40px; }
.hero__progress { flex: 1; max-width: 640px; display: flex; flex-direction: column; gap: 13px; }
.hero__count { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .6); }
.hero__count b { color: var(--white); font-weight: 700; }
.hero__bar { display: block; height: 2px; background: rgba(255, 255, 255, .18); border-radius: 2px; overflow: hidden; }
.hero__bar i { display: block; height: 100%; width: 0; background: var(--lime-300); }
.hero__bar.is-running i { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero__bar i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.hero__arrows { display: flex; gap: 20px; }
.hero__arrow { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); color: var(--white); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow:hover { background: var(--lime); border-color: var(--lime); transform: scale(1.06); }

.hero-visual { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; justify-self: center; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .6s var(--ease); }
.orbit { width: 100%; height: 100%; overflow: visible; }
.orbit__ring circle:first-child { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.orbit__ring--2 circle:first-child { stroke-dasharray: 2 8; stroke: rgba(255, 255, 255, .3); }
.orbit__ring { transform-origin: 280px 280px; animation: spin 40s linear infinite; }
.orbit__ring--2 { animation-duration: 28s; animation-direction: reverse; }
.orbit__ring--1 { animation-duration: 18s; }
.orbit__dot { fill: var(--lime-300); filter: drop-shadow(0 0 8px rgba(182, 242, 60, .9)); }
.orbit__o { fill: none; stroke-width: 30; transform-origin: 280px 280px; animation: breathe 6s ease-in-out infinite; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 8px;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: var(--fs-sm); font-weight: 600; color: var(--white);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .6); animation: float 7s ease-in-out infinite;
}
.chip b { width: 32px; height: 32px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.chip svg { width: 18px; height: 18px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip--1 { left: -4%; top: 14%; }
.chip--2 { right: -2%; top: 26%; animation-delay: -2s; }
.chip--3 { left: 4%; bottom: 18%; animation-delay: -4s; }
.chip--4 { right: 4%; bottom: 8%; animation-delay: -1s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* -------------------------------------------------------------- Marquee */
.marquee { overflow: hidden; border-bottom: 1px solid var(--quill); background: var(--white); padding: 28px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { padding-right: 14px; font-size: var(--fs-h3); font-weight: 700; color: var(--ebony); letter-spacing: -0.01em; white-space: pre; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- Intro + stats */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.intro__head .section-lead { margin: 24px 0 32px; }
.intro .stats { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 80px; }
.section--team-stats { padding: 0; }
.section--team-stats .stats { margin-top: 0; }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-card); background: var(--porcelain); overflow: hidden; transition: background .3s, transform .3s var(--ease); }
.stat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; border: 18px solid var(--lime-tint); transition: transform .6s var(--ease); }
.stat:hover { background: var(--mint); transform: translateY(-4px); }
.stat:hover::after { transform: scale(1.3); }
.stat__value { font-size: 56px; line-height: 1; font-weight: 700; color: var(--ebony); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 16px; font-weight: 700; color: var(--ebony); }
.stat__note { margin-top: 4px; font-size: var(--fs-sm); color: var(--regent); }

/* -------------------------------------------------------------- Solutions */
.section--solutions { background: var(--porcelain); }
.solutions-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.sol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
[data-spot] { --mx: 50%; --my: 50%; }
.sol-card {
  position: relative; display: flex; flex-direction: column; padding: 40px; border-radius: var(--r-card);
  background: var(--white); border: 1px solid transparent; box-shadow: var(--shadow-soft); overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.sol-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(121, 184, 3, .10), transparent 60%); opacity: 0; transition: opacity .4s; }
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(121, 184, 3, .35); }
.sol-card:hover::before { opacity: 1; }
.sol-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.sol-card__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--lime-tint); color: var(--lime); transition: background .3s, color .3s, transform .5s var(--ease); flex: none; }
.sol-card__icon svg, .col__icon svg, .why__icon svg, .benefit__icon svg, .split__icon svg, .contact__aside svg, .sol-tabs svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sol-card:hover .sol-card__icon { background: var(--lime); color: var(--white); transform: rotate(-8deg) scale(1.05); }
.sol-card__num { font-size: var(--fs-sm); font-weight: 700; color: var(--regent); letter-spacing: .08em; }
.sol-card__title { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; color: var(--ebony); }
.sol-card__sub { margin-top: 12px; font-size: var(--fs-lead); font-weight: 400; color: var(--regent); line-height: 1.4; }
.sol-card__text { margin: 16px 0 32px; line-height: 1.6; flex: 1; }

/* -------------------------------------------------------------- Why (dark) */
.section--dark { background: var(--ebony); color: rgba(255, 255, 255, .72); overflow: hidden; isolation: isolate; }
.section--dark .section-title { color: var(--white); }
.section--dark .section-lead { color: rgba(255, 255, 255, .62); margin-bottom: 40px; }
.why__bg { position: absolute; inset: 0; z-index: -1; }
.why__bg span { position: absolute; border-radius: 50%; filter: blur(90px); }
.why__bg span:first-child { width: 480px; height: 480px; background: var(--regal); right: -120px; top: -120px; opacity: .7; animation: drift-a 20s ease-in-out infinite alternate; }
.why__bg span:last-child { width: 340px; height: 340px; background: var(--lime); left: -120px; bottom: -160px; opacity: .22; animation: drift-b 24s ease-in-out infinite alternate; }
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.why__head { position: sticky; top: 140px; }
.why__item { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.why__item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.why__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(182, 242, 60, .4); color: var(--lime-300); transition: background .3s, color .3s; }
.why__item:hover .why__icon { background: var(--lime); color: var(--white); border-color: var(--lime); }
.why__item h3 { font-size: var(--fs-h3); line-height: 1.3; color: var(--white); margin-bottom: 8px; }
.why__item p { line-height: 1.6; }

/* -------------------------------------------------------------- Platforms */
.platforms { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; margin-top: 64px; }
.platform { position: relative; border-radius: var(--r-card); overflow: hidden; isolation: isolate; padding: 48px; display: flex; flex-direction: column; gap: 40px; scroll-margin-top: 120px; transition: transform .4s var(--ease), box-shadow .4s; }
.platform:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.platform__title { font-size: 36px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin-top: 20px; }
.platform__sub { font-size: var(--fs-lead); margin: 8px 0 16px; }
.platform__body p:not(.platform__sub) { line-height: 1.6; margin-bottom: 28px; max-width: 560px; }
.platform--tsunami { background: linear-gradient(140deg, #00508f 0%, var(--regal) 45%, #00284a 100%); color: rgba(255, 255, 255, .78); }
.platform--tsunami .platform__title { color: var(--white); }
.platform--tsunami .platform__sub { color: var(--lime-300); }
.platform--tsunami::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(182, 242, 60, .16), transparent 60%); }
.platform--coral { background: var(--porcelain); }
.platform--coral .platform__title { color: var(--ebony); }
.platform--coral .platform__sub { color: var(--regent); }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge--live { background: rgba(182, 242, 60, .14); color: var(--lime-300); }
.badge--live i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-300); animation: ping 2s infinite; }
.badge--soon { color: var(--white); background: linear-gradient(90deg, var(--lime) 0%, #a6e22e 50%, var(--lime) 100%); background-size: 200% 100%; animation: shimmer 3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.mock { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: 28px 1fr; gap: 10px; height: 230px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.mock__bar { grid-column: 1 / -1; display: flex; gap: 6.5px; align-items: center; padding-left: 4px; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.mock__side { display: grid; gap: 8px; align-content: start; }
.mock__side b { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.mock__side b:first-child { background: var(--lime); }
.mock__main { display: grid; grid-template-rows: 54px 1fr; gap: 10px; }
.mock__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mock__cards span { border-radius: 8px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.mock__cards span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent); transform: translateX(-100%); animation: sweep 3.2s ease-in-out infinite; }
.mock__cards span:nth-child(2)::after { animation-delay: .4s; }
.mock__cards span:nth-child(3)::after { animation-delay: .8s; }
@keyframes sweep { 60%, 100% { transform: translateX(100%); } }
.mock__chart { display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.mock__chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(var(--lime-300), rgba(121, 184, 3, .35)); transform-origin: bottom; animation: bars 4s ease-in-out infinite; }
.mock__chart i:nth-child(odd) { animation-delay: -1.5s; }
.mock__chart i:nth-child(3n) { animation-delay: -2.6s; }
@keyframes bars { 50% { transform: scaleY(.7); } }
.coral-art { position: relative; height: 230px; margin-top: auto; }
.coral-art span { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; border-radius: 50%; border: 2px solid var(--lime); transform: translate(-50%, -50%); animation: pulse-ring 4s var(--ease) infinite; opacity: 0; }
.coral-art span:nth-child(1) { border-width: 18px; opacity: 1; animation: none; }
.coral-art span:nth-child(3) { animation-delay: 2s; }
@keyframes pulse-ring { 0% { width: 80px; height: 80px; opacity: .8; } 100% { width: 260px; height: 260px; opacity: 0; } }

/* -------------------------------------------------------------- Explore cards */
.section--explore { padding-top: 0; }
.explore { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.explore-card { display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--quill); background: var(--white); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.explore-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.explore-card__visual { position: relative; height: 274px; overflow: hidden; }
.explore-card__visual .art { transition: transform .8s var(--ease); }
.explore-card:hover .explore-card__visual .art { transform: scale(1.05); }
.explore-card__body { padding: 40px; }
.explore-card__body h3 { font-size: var(--fs-h3); color: var(--ebony); line-height: 1.3; }
.explore-card__body p { margin: 12px 0 28px; color: var(--regent); line-height: 1.5; }

/* -------------------------------------------------------------- CTA */
.section--cta { padding-top: 0; }
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-card); padding: 96px 80px; background: linear-gradient(125deg, #86c80a 0%, var(--lime) 45%, #5e9200 100%); color: var(--white); }
.cta__rings { position: absolute; right: -120px; top: 50%; width: 560px; height: 560px; margin-top: -280px; z-index: -1; }
.cta__rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); animation: breathe 7s ease-in-out infinite; }
.cta__rings span:nth-child(1) { border: 56px solid rgba(255, 255, 255, .14); inset: 140px; }
.cta__rings span:nth-child(2) { inset: 70px; animation-delay: -2s; }
.cta__rings span:nth-child(3) { animation-delay: -4s; }
.cta__body { max-width: 720px; }
.cta__title { font-size: var(--fs-h2); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.cta__text { margin-top: 20px; font-size: var(--fs-lead); line-height: 1.6; color: rgba(255, 255, 255, .92); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.cta .eyebrow--light { color: var(--white); }

/* -------------------------------------------------------------- Inner page hero + banner */
.page-hero { padding: 40px 0 0; }
.crumbs { display: none; gap: 10px; font-size: var(--fs-sm); color: var(--regent); margin-bottom: 20px; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current] { color: var(--ebony); font-weight: 600; }
.page-hero__title { font-size: var(--fs-h2); line-height: 1.2; font-weight: 700; color: var(--ebony); letter-spacing: -0.02em; }
.page-hero__lead { margin-top: 24px; max-width: 878px; font-size: 20px; line-height: 1.6; color: var(--regent); }
.page-hero .hero__ctas { margin-bottom: var(--section); }
.banner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 440px; margin-top: 48px; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-soft); }
.banner__visual { position: relative; min-height: 280px; }
.banner__panel { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 64px 80px; background-color: var(--river); background-image: linear-gradient(150deg, var(--river) 0%, var(--ebony) 100%); overflow: hidden; }
.banner__panel::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(121, 184, 3, .25); }
.banner__eyebrow { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime-300); margin-bottom: 20px; }
.banner__quote { position: relative; z-index: 1; font-size: var(--fs-quote); line-height: 1.22; font-weight: 700; color: var(--white); letter-spacing: -0.015em; text-wrap: balance; }

/* Abstract art (replaces photos) */
.art { position: absolute; inset: 0; overflow: hidden; isolation: isolate; background: var(--mint); }
.art__blob { position: absolute; border-radius: 50%; filter: blur(50px); will-change: transform; }
.art__blob--a { width: 70%; aspect-ratio: 1; left: -15%; top: -25%; background: var(--lime); opacity: .55; animation: drift-a 14s ease-in-out infinite alternate; }
.art__blob--b { width: 60%; aspect-ratio: 1; right: -15%; bottom: -30%; background: var(--regal); opacity: .45; animation: drift-b 18s ease-in-out infinite alternate; }
.art__blob--c { width: 40%; aspect-ratio: 1; left: 40%; top: 30%; background: #9fd8e0; opacity: .6; animation: drift-a 12s ease-in-out infinite alternate-reverse; }
.art__grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(37, 40, 54, .18) 1px, transparent 1.5px); background-size: 22px 22px; mask-image: linear-gradient(120deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%); }
.art__rings { position: absolute; width: 130%; max-width: none; left: -15%; top: 50%; margin-top: -65%; fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 1; animation: spin 60s linear infinite; }
.art__rings circle:nth-child(2) { stroke-dasharray: 3 9; }
.art__o { position: absolute; width: 46%; aspect-ratio: 1; left: 27%; top: 50%; margin-top: -23%; border-radius: 50%; border: clamp(16px, 3vw, 34px) solid rgba(255, 255, 255, .85); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .5); animation: breathe 7s ease-in-out infinite; }
.art--field { background: #dfeccc; }
.art--field .art__blob--a { background: #5d9a00; opacity: .7; }
.art--field .art__blob--b { background: #2e6b2a; opacity: .5; }
.art--field .art__blob--c { background: #c8f064; }
.art--tech { background: #0c2340; }
.art--tech .art__blob--a { background: var(--lime); opacity: .35; }
.art--tech .art__blob--b { background: #0a5aa0; opacity: .9; }
.art--tech .art__blob--c { background: #2fb8c4; opacity: .35; }
.art--tech .art__grid { background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 32px 32px; }
.art--tech .art__o { border-color: var(--lime); box-shadow: 0 0 60px rgba(121, 184, 3, .45); }
.art--tech .art__rings { stroke: rgba(182, 242, 60, .45); }
.art--people { background: #f6efe6; }
.art--people .art__blob--a { background: var(--lime); opacity: .5; }
.art--people .art__blob--b { background: #f2a65a; opacity: .4; }
.art--people .art__blob--c { background: var(--regent); opacity: .4; }

/* -------------------------------------------------------------- Columns, statement, split, band */
.section--cols { padding: 120px 0; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
.col__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--lime-tint); color: var(--lime); margin-bottom: 28px; flex: none; }
.col__num { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--lime); margin-bottom: 20px; }
.col__title { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; color: var(--ebony); margin-bottom: 20px; }
.col p, .split__text p, .benefit p, .norms p, .sol-row__body p, .activities p { line-height: 1.7; }
.col p + p, .benefit p + p, .split__text p + p { margin-top: 16px; }

.section--statement { padding: 80px 0; }
.statement { font-size: var(--fs-quote); line-height: 1.25; font-weight: 700; color: var(--regent); letter-spacing: -0.015em; max-width: 960px; text-wrap: balance; }
.statement em { font-style: normal; color: var(--ebony); background: linear-gradient(transparent 68%, rgba(121, 184, 3, .32) 0); }

.section--split { padding: 80px 0; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--r-card); overflow: hidden; min-height: 420px; }
.split--left .split__accent { order: -1; }
.split__text { padding: 80px; background: var(--porcelain); display: flex; flex-direction: column; justify-content: center; }
.split__title { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; color: var(--ebony); margin-bottom: 24px; }
.split__sub { color: var(--regent); font-size: var(--fs-lead); margin: -12px 0 16px; }
.split__accent { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 280px; }
.split__accent--lime { background: linear-gradient(135deg, #8ad00a, var(--lime) 50%, #659b00); }
.split__accent--grey { background: linear-gradient(135deg, #95a5ab, var(--regent)); }
.split__accent--blue { background: linear-gradient(135deg, #00539a, var(--regal)); }
.split__ring { position: absolute; width: 200px; height: 200px; border-radius: 50%; border: 34px solid rgba(255, 255, 255, .9); animation: breathe 6s ease-in-out infinite; }
.split__accent::before, .split__accent::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); width: 340px; height: 340px; animation: breathe 6s ease-in-out infinite -2s; }
.split__accent::after { width: 480px; height: 480px; animation-delay: -4s; border-style: dashed; }
.split__icon { position: relative; z-index: 1; color: var(--white); }
.split__icon svg { width: 44px; height: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips span { height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--quill); font-size: var(--fs-sm); font-weight: 600; color: var(--ebony); transition: border-color .2s, color .2s; }
.chips span:hover { border-color: var(--lime); color: var(--lime-600); }

.section--band { padding: 80px 0; }
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-card); overflow: hidden; min-height: 380px; }
.band__accent { position: relative; display: grid; place-items: center; background: linear-gradient(135deg, #8ad00a, var(--lime) 50%, #659b00); overflow: hidden; }
.band__text { display: flex; align-items: center; padding: 64px 80px; background: var(--porcelain); font-size: var(--fs-quote); line-height: 1.22; font-weight: 700; color: var(--ebony); letter-spacing: -0.015em; }
.band--blue .band__accent { background: var(--quill); }
.band--blue .band__accent .split__ring { border-color: var(--lime); }
.band--blue .band__text { background: linear-gradient(140deg, #00539a, var(--regal)); color: var(--white); }

/* Activities + process */
.section--activities { padding: 80px 0; }
.activities { border-top: 2px solid var(--lime); padding-top: 48px; }
.activities__title { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; color: var(--lime); margin-bottom: 40px; max-width: 720px; }
.process { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.process li { padding: 28px 24px; border-radius: var(--r-card); background: var(--porcelain); font-weight: 700; color: var(--ebony); line-height: 1.35; transition: background .3s, color .3s, transform .3s var(--ease); }
.process li span { display: block; font-size: var(--fs-sm); color: var(--lime); margin-bottom: 12px; }
.process li:hover { background: var(--ebony); color: var(--white); transform: translateY(-4px); }

.section--depts { padding: 40px 0 0; }
.section--depts .activities__title { margin-bottom: 0; }
.section--depts + .section--cols { padding-top: 64px; }

/* Cookie preference centre */
.prefs { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(37, 40, 54, .55); backdrop-filter: blur(6px); }
.prefs[hidden] { display: none; }
.prefs__panel { width: min(640px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow-lift); overflow: hidden; }
.prefs__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border-bottom: 1px solid var(--quill); }
.prefs__head h2 { font-size: var(--fs-h3); color: var(--ebony); line-height: 1.3; }
.prefs__close { border-color: var(--quill); color: var(--ebony); width: 44px; height: 44px; flex: none; }
.prefs__body { overflow-y: auto; padding: 8px 28px; }
.prefs__body section { padding: 20px 0; border-bottom: 1px solid var(--quill); }
.prefs__body section:last-child { border-bottom: 0; }
.prefs__body h3 { font-size: var(--fs-base); color: var(--ebony); margin-bottom: 6px; }
.prefs__body p { font-size: var(--fs-sm); line-height: 1.6; color: var(--slate); }
.prefs__body a { color: var(--lime-600); text-decoration: underline; }
.prefs__row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.prefs__always { font-size: var(--fs-sm); font-weight: 700; color: var(--lime-600); }
.prefs__foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 20px 28px; border-top: 1px solid var(--quill); background: var(--porcelain); }
.switch { position: relative; display: inline-block; width: 48px; height: 28px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 28px; background: var(--quill); transition: background .25s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--lime); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }

/* Benefits */
.section--benefits { padding: 40px 0 80px; }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.benefit { position: relative; padding: 40px; border-radius: var(--r-card); border: 1px solid var(--quill); overflow: hidden; isolation: isolate; transition: border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.benefit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(121, 184, 3, .09), transparent 60%); opacity: 0; transition: opacity .4s; }
.benefit:hover { border-color: rgba(121, 184, 3, .4); box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.benefit:hover::before { opacity: 1; }
.benefit__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--lime-tint); color: var(--lime); margin-bottom: 24px; }
.benefit h3 { font-size: var(--fs-h3); line-height: 1.3; color: var(--ebony); margin-bottom: 16px; }

.section--norms { padding: 80px 0 var(--section); }
.norms { display: grid; grid-template-columns: 56px 1fr; gap: 32px; padding: 56px; border-radius: var(--r-card); background: var(--porcelain); }
.norms .col__icon { margin: 0; }

/* Soluzioni page rows */
.sol-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.sol-tabs a { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 8px; border-radius: var(--r-pill); background: var(--white); font-weight: 600; color: var(--ebony); box-shadow: var(--shadow-soft); transition: background .25s, color .25s, transform .25s var(--ease); }
.sol-tabs a span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lime-tint); color: var(--lime); }
.sol-tabs a svg { width: 18px; height: 18px; }
.sol-tabs a:hover { background: var(--lime); color: var(--white); transform: translateY(-2px); }
.sol-tabs a:hover span { background: rgba(255, 255, 255, .2); color: var(--white); }
.sol-rows { margin-top: 56px; }
.sol-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; padding: 56px 0; border-top: 1px solid #cfd6d9; scroll-margin-top: 120px; }
.sol-row:last-child { border-bottom: 1px solid #cfd6d9; }
.sol-row__num { font-size: var(--fs-h2); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--regent); transition: color .3s; }
.sol-row:hover .sol-row__num, .sol-row:target .sol-row__num { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.sol-row__head .sol-card__icon { margin-bottom: 20px; }
.sol-row__body p { margin-bottom: 28px; }

/* Values ticker (Strumenti) */
.section--values { padding: 80px 0; }
.values { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-bottom: 40px; }
.values li { font-size: var(--fs-h2); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--quill); animation: glow 9s infinite; animation-delay: calc(var(--i) * 1.5s); }
@keyframes glow { 0%, 22%, 100% { color: var(--quill); } 6%, 14% { color: var(--lime); } }

/* Team offices */
.section--offices { padding: 80px 0; }
.offices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 80px; border-radius: var(--r-card); background: var(--ebony); color: rgba(255, 255, 255, .7); overflow: hidden; }
.offices .section-title { color: var(--white); }
.offices .section-lead { color: rgba(255, 255, 255, .62); }
.offices__map { position: relative; height: 320px; margin-right: 80px; }
.offices__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(182, 242, 60, .5); stroke-width: 1.5; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; animation: dash 6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -120; } }
.city { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 10px; transform: translate(-9px, -9px); font-weight: 700; color: var(--white); font-size: var(--fs-sm); }
.city i { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(121, 184, 3, .2); }
.city i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lime-300); animation: city 2.4s ease-out infinite; animation-delay: calc(var(--i) * .6s); }
@keyframes city { to { transform: scale(3); opacity: 0; } }

/* Contact */
.section--contact { padding: 64px 0 var(--section); }
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.form { display: grid; gap: 20px; padding: 48px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--quill); box-shadow: var(--shadow-soft); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: var(--fs-sm); font-weight: 600; color: var(--ebony); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ebony); padding: 14px 16px; border: 1px solid var(--quill); border-radius: 10px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px var(--lime-tint); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field--choice { display: flex; flex-wrap: wrap; gap: 10px; }
.field--choice legend { width: 100%; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--quill); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: all .2s; }
.choice input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); }
.check input { width: 18px; height: 18px; accent-color: var(--lime); margin: 1px 0 0; flex: none; }
.check a { color: var(--lime-600); text-decoration: underline; }
.check.is-invalid { color: #d23c3c; }
.form .btn { justify-self: start; }
.form__status { font-size: var(--fs-sm); font-weight: 600; color: var(--lime-600); min-height: 1.5em; }
.form__status.is-error { color: #d23c3c; }
.contact__aside { padding: 48px; border-radius: var(--r-card); background: var(--ebony); color: rgba(255, 255, 255, .7); position: sticky; top: 120px; }
.contact__aside h2 { font-size: var(--fs-h3); color: var(--white); margin-bottom: 12px; }
.contact__aside ul { display: grid; gap: 14px; margin-top: 28px; }
.contact__aside li { display: flex; gap: 12px; align-items: center; color: var(--white); font-weight: 600; }
.contact__aside li svg { color: var(--lime-300); width: 22px; height: 22px; }

/* -------------------------------------------------------------- Footer */
.footer { border-top: 1px solid var(--quill); }
.footer__grid { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); gap: 40px; padding-top: 80px; padding-bottom: 80px; }
.footer__brand p { max-width: 160px; margin-top: 20px; font-size: var(--fs-base); color: var(--regent); line-height: 1.5; }
.footer__list { display: grid; gap: 24px; align-content: start; }
.footer__list a { font-size: var(--fs-sm); font-weight: 700; color: var(--river); transition: color .2s; }
.footer__list a:hover, .footer__legal a:hover { color: var(--lime); }
.footer__legal { position: relative; padding: 80px 0 80px 72px; margin: -80px 0; border-left: 1px solid var(--quill); }
.footer__legal ul { display: grid; gap: 15px; }
.footer__legal a { font-size: var(--fs-sm); font-weight: 700; color: var(--regent); transition: color .2s; }
.footer__social { display: inline-grid; margin-top: 28px; width: 24px; color: var(--regent); }
.footer__social svg { width: 21px; height: 21px; }
.footer__top { position: absolute; right: 0; top: 140px; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); font-weight: 700; color: var(--lime); }
.footer__top::before { content: ""; width: 1px; height: 40px; background: currentColor; transition: height .3s var(--ease); }
.footer__top:hover::before { height: 60px; }
.footer__bottom { border-top: 1px solid var(--quill); padding-top: 32px; padding-bottom: 40px; text-align: center; }
.footer__bottom p { font-size: 15px; font-weight: 500; color: var(--regent); }
.footer__bottom a:hover { color: var(--lime); }

/* -------------------------------------------------------------- Overlay menu */
.menu { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; padding: 34px var(--pad) 48px; background: var(--ebony); color: var(--white); overflow-y: auto; opacity: 0; isolation: isolate; transition: opacity .4s var(--ease); }
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.menu__bg span { position: absolute; border-radius: 50%; filter: blur(90px); }
.menu__bg span:first-child { width: 500px; height: 500px; background: var(--regal); right: -100px; top: -120px; opacity: .8; }
.menu__bg span:last-child { width: 360px; height: 360px; background: var(--lime); left: 20%; bottom: -160px; opacity: .25; }
.menu__top { display: flex; align-items: center; justify-content: space-between; }
.menu__close { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; transition: background .25s, transform .4s var(--ease); }
.menu__close svg { width: 22px; height: 22px; }
.menu__close:hover { background: var(--lime); border-color: var(--lime); transform: rotate(90deg); }
.menu__nav { flex: 1; display: flex; align-items: center; padding: 40px 0; }
.menu__nav ul { display: grid; gap: 4px; }
.menu__nav li { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 60ms + 120ms); }
.menu.is-open .menu__nav li { opacity: 1; transform: none; }
.menu__nav a { display: inline-flex; align-items: baseline; gap: 20px; font-size: clamp(32px, 5vw, 64px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; transition: color .25s, transform .35s var(--ease); }
.menu__nav a small { font-size: var(--fs-sm); color: var(--regent); font-weight: 600; letter-spacing: .04em; }
.menu__nav a:hover, .menu__nav a[aria-current] { color: var(--lime-300); transform: translateX(12px); }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; font-weight: 500; color: var(--regent); }
.menu__foot ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.menu__foot a:hover { color: var(--white); }
body.menu-open { overflow: hidden; }

/* -------------------------------------------------------------- Cookie */
.cookie { position: fixed; z-index: 90; right: 24px; bottom: 24px; max-width: 400px; padding: 24px; border-radius: var(--r-card); background: var(--white); box-shadow: 0 24px 60px -20px rgba(37, 40, 54, .4), 0 0 0 1px var(--quill); transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.cookie.is-in { transform: none; opacity: 1; }
.cookie { max-width: 460px; }
.cookie p { font-size: var(--fs-xs); line-height: 1.55; color: var(--slate); }
.cookie p a { color: var(--lime-600); text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; margin-top: 16px; justify-content: flex-end; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Responsive tokens re-declared on body per width (backup for stale :root values after a resize) */
@media (min-width: 1280px) { body { --rail: 210px; --header-h: 120px; --pad: 80px; --section: 160px; --fs-h2: 46px; --fs-h3: 24px; --fs-quote: 36px; } }
@media (min-width: 1024px) and (max-width: 1279px) { body { --rail: 210px; --header-h: 120px; --pad: 56px; --section: 160px; --fs-h2: 46px; --fs-h3: 24px; --fs-quote: 36px; } }
@media (min-width: 768px) and (max-width: 1023px) { body { --rail: 0px; --header-h: 100px; --pad: 32px; --section: 112px; --fs-h2: 46px; --fs-h3: 24px; --fs-quote: 36px; } }
@media (min-width: 481px) and (max-width: 767px) { body { --rail: 0px; --header-h: 100px; --pad: 32px; --section: 80px; --fs-h2: 31px; --fs-h3: 21px; --fs-quote: 26px; } }
@media (max-width: 480px) { body { --rail: 0px; --header-h: 104px; --pad: 32px; --section: 64px; --fs-h2: 31px; --fs-h3: 21px; --fs-quote: 26px; } }

/* Explicit desktop geometry, so the layout never depends on custom properties left over from a narrower width */
@media (min-width: 1024px) {
  .shell { margin-left: 210px; }
  .rail { width: 210px; }
  .header { height: 120px; padding: 0 80px; }
  .header.is-scrolled { height: 88px; }
  .container { padding-inline: max(80px, calc((100% - 1520px) / 2)); }
  .cookie { right: 24px; left: auto; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .header { padding: 0 56px; }
  .container { padding-inline: 56px; }
}

@media (max-width: 1279px) {
  :root { --pad: 56px; }
  .split__text, .band__text, .banner__panel { padding: 56px; }
  .cta { padding: 80px 56px; }
  .offices { padding: 56px; }
  .footer__legal { padding-left: 40px; }
}

@media (max-width: 1023px) {
  :root { --rail: 0px; --header-h: 100px; --pad: 32px; --section: 112px; }
  .rail { display: none; }
  .shell { margin-left: 0; }
  .header { gap: 24px; background: rgba(255, 255, 255, .94); }
  .header.is-scrolled { height: 80px; }
  .header__logo { display: block; }
  .header__nav, .header__cta { display: none; }
  .header__menu { display: grid; width: 44px; height: 31px; }
  .crumbs { display: flex; }
  .page-hero { padding-top: 24px; }

  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 56px; gap: 24px; }
  .hero-visual { max-width: 380px; }
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .why__head { position: static; }
  .platforms { grid-template-columns: 1fr; }
  .mock { display: none; }
  .intro .stats { grid-template-columns: 1fr; gap: 12px; }
  .intro .stat { padding: 24px; }
  .intro .stat__value { font-size: 40px; }
  .sol-tabs, .values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
  .contact__aside { position: static; }
  .offices { grid-template-columns: 1fr; }
  .offices__map { margin-right: 60px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__legal { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--quill); margin: 0; padding: 40px 0 0; }
  .footer__top { top: 40px; }
  .cookie { left: 16px; right: 16px; bottom: 16px; max-width: none; padding: 16px 18px; }
  .cookie p { font-size: var(--fs-xs); }
  .cookie__actions { margin-top: 12px; }
  .sol-row { grid-template-columns: 64px minmax(0, 1fr); }
  .sol-row__body { grid-column: 2; }
}

@media (max-width: 767px) {
  :root { --section: 80px; --fs-h2: 31px; --fs-h3: 21px; --fs-quote: 26px; }
  .section--cols { padding: 80px 0; }
  .cols, .sol-grid, .explore, .benefits { grid-template-columns: 1fr; gap: 24px; }
  .cols { gap: 48px; }
  .banner, .split, .band { grid-template-columns: 1fr; }
  .banner { min-height: 0; margin-top: 32px; }
  .banner__visual { min-height: 240px; }
  .split--left .split__accent { order: 0; }
  .split__accent, .band__accent { min-height: 220px; }
  .split__text, .band__text, .banner__panel { padding: 40px 28px; }
  .sol-card, .benefit, .platform, .explore-card__body, .form, .contact__aside { padding: 28px; }
  .cta { padding: 56px 28px; }
  .cta__rings { width: 380px; height: 380px; margin-top: -190px; right: -200px; }
  .offices { padding: 40px 28px; }
  .offices__map { height: 260px; margin-right: 70px; }
  .norms { grid-template-columns: 1fr; padding: 32px 28px; gap: 20px; }
  .stat { padding: 24px; }
  .stat__value { font-size: 40px; }
  .platform__title { font-size: 28px; }
  .mock { height: 190px; }
  .values li { font-size: 28px; }
  .statement { font-size: 24px; }
  .marquee__track span { font-size: 18px; }
  .marquee { padding: 20px 0; }
  .hero__controls { flex-direction: column-reverse; align-items: stretch; gap: 24px; }
  .hero__arrows { display: none; }
  .hero__dot-label { display: none; }
  .hero-visual { max-width: 300px; }
  .chip { height: 40px; font-size: 12px; padding-right: 14px; }
  .chip b { width: 26px; height: 26px; }
  .chip svg { width: 14px; height: 14px; }
  .sol-row { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .sol-row__body { grid-column: auto; }
  .sol-row__num { font-size: 31px; }
  .form__row { grid-template-columns: 1fr; }
  .sol-tabs, .values { grid-template-columns: 1fr; }
  .explore-card__visual { height: 200px; }
  .section--split, .section--band, .section--statement, .section--activities, .section--offices, .section--values { padding: 48px 0; }
  .section--cols { padding: 64px 0; }
  .prefs__row { grid-template-columns: 1fr; }
  .prefs__foot .btn { width: 100%; }
  .menu { padding: 24px 32px 32px; }
  .cookie__actions .btn { flex: 1; }
}

@media (max-width: 480px) {
  :root { --header-h: 104px; }
  .hero__ctas .btn, .cta__actions .btn { width: 100%; }
  .stats { gap: 12px; }
  .stat { padding: 20px; }
  .stat__value { font-size: 34px; }
  .stat__note { display: none; }
  .stats--2, .process { grid-template-columns: 1fr; }
  :root { --section: 64px; }
  .hero__inner { padding-top: 40px; }
  .hero-visual { max-width: 200px; }
  .hero__lead { margin-top: 20px; }
  .hero__ctas { margin-top: 24px; }
  .sol-grid { margin-top: 40px; gap: 16px; }
  .sol-card { padding: 24px; }
  .sol-card__top { margin-bottom: 20px; }
  .sol-card__text { margin: 12px 0 20px; }
  .why__item { padding: 24px 0; gap: 16px; grid-template-columns: 44px 1fr; }
  .why__icon { width: 44px; height: 44px; }
  .platforms { margin-top: 40px; gap: 16px; }
  .platform { gap: 24px; }
  .coral-art { height: 160px; }
  .explore { gap: 16px; }
  .explore-card__visual { height: 160px; }
  .explore-card__body { padding: 24px; }
  .marquee { padding: 16px 0; }
  .page-hero__lead { font-size: var(--fs-lead); max-width: 913px; }
  .hero-visual { max-width: 240px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
  .slide__title { font-size: 31px; line-height: 1.12; }
  .chip--1 { left: -6%; }
  .chip--2 { right: -6%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .will-reveal { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------- Video scene */
.scene { --p: 1; position: relative; padding: 0 0 var(--section); }
.scene__stage {
  position: relative; height: clamp(520px, 82vh, 780px); overflow: hidden; isolation: isolate; color: var(--white); background: var(--ebony);
  clip-path: inset(calc((1 - var(--p)) * 7%) calc((1 - var(--p)) * var(--pad)) round calc((1 - var(--p)) * 28px + 0px));
  will-change: clip-path;
}
.scene__media { position: absolute; inset: 0; z-index: -2; transform: scale(calc(1.18 - var(--p) * .12)); transform-origin: 50% 50%; }
.scene__media img, .scene__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.scene__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.scene.is-ready .scene__video { opacity: 1; }
.scene__media { background: #1f3a1c center / cover no-repeat; }
.scene--zoom .scene__media img, .scene--zoom .scene__media video { animation: kb-zoom 24s ease-in-out infinite alternate; }
.scene--pan .scene__media img, .scene--pan .scene__media video { animation: kb-pan 26s ease-in-out infinite alternate; }
.scene--drift .scene__media img, .scene--drift .scene__media video { animation: kb-drift 22s ease-in-out infinite alternate; }
@keyframes kb-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes kb-pan { from { transform: scale(1.1) translateX(-2.5%); } to { transform: scale(1.1) translateX(2.5%); } }
@keyframes kb-drift { from { transform: scale(1.08) rotate(-1deg); } to { transform: scale(1.14) rotate(1deg); } }

.scene__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(37, 40, 54, .35) 0%, rgba(37, 40, 54, 0) 30%, rgba(37, 40, 54, .2) 55%, rgba(27, 29, 40, .88) 100%),
  linear-gradient(90deg, rgba(0, 63, 114, .45), transparent 55%); }

.scene__ring { position: absolute; left: 50%; top: 50%; width: clamp(120px, 16vw, 220px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.scene__ring i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(182, 242, 60, .9); box-shadow: 0 0 40px rgba(121, 184, 3, .45), inset 0 0 30px rgba(121, 184, 3, .25); }
.scene__ring i:last-child { border-width: 1px; animation: scene-ring 3.6s var(--ease) infinite; }
@keyframes scene-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

.scene__content { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 72px; }
.scene__pill { margin-bottom: 24px; }
.scene__title { max-width: 920px; font-size: var(--fs-h2); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.scene__title .w { display: inline-block; transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.scene.is-armed .scene__title .w { opacity: 0; transform: translateY(.45em); filter: blur(8px); }
.scene.is-armed.is-in .scene__title .w { opacity: 1; transform: none; filter: none; }

.scene__toggle { position: absolute; right: var(--pad); bottom: 72px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .25s, transform .25s var(--ease); }
.scene__toggle:hover { background: var(--lime); border-color: var(--lime); transform: scale(1.06); }
.scene__toggle svg { width: 20px; height: 20px; }
.scene__toggle .ico-play, .scene.is-playing .scene__toggle .ico-pause { display: block; }
.scene__toggle .ico-pause, .scene.is-playing .scene__toggle .ico-play { display: none; }

/* Scene shown inside an inner-page banner (picked at random) */
.banner__visual .scene-mini { position: absolute; inset: 0; overflow: hidden; }
.banner__visual .scene-mini img, .banner__visual .scene-mini video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kb-zoom 24s ease-in-out infinite alternate; }
.banner__visual .scene-mini video { opacity: 0; transition: opacity 1.2s var(--ease); }
.banner__visual .scene-mini.is-ready video { opacity: 1; }
.banner__visual .scene-mini::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0, 63, 114, .35), transparent 60%); }

@media (max-width: 1023px) {
  .scene__stage { height: 560px; }
  .scene__toggle { bottom: 56px; }
  .scene__content { padding-bottom: 56px; padding-right: 110px; }
}
@media (max-width: 767px) {
  .scene__stage { height: 480px; }
  .scene__content { padding-bottom: 40px; padding-right: 32px; }
  .scene__toggle { top: 24px; bottom: auto; right: 24px; width: 48px; height: 48px; }
  .scene__title { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene { --p: 1 !important; }
  .scene__media img, .scene__media video { animation: none !important; }
}

/* -------------------------------------------------------------- Login page */
.page-login { background: var(--ebony); }
.login {
  position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; isolation: isolate; color: var(--white);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 460px); grid-template-rows: auto 1fr auto;
  gap: 40px 80px; padding: 40px var(--pad); align-items: center;
}
.login__bg { position: absolute; inset: 0; z-index: -2; }
.login__bg img { width: 100%; height: 100%; object-fit: cover; animation: login-pan 30s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes login-pan { from { transform: scale(1.08) translate(-1.5%, 1%); } to { transform: scale(1.18) translate(1.5%, -1%); } }
.login__shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 70% at 15% 20%, rgba(0, 63, 114, .55), transparent 70%),
  linear-gradient(100deg, rgba(27, 29, 40, .9) 0%, rgba(27, 29, 40, .55) 45%, rgba(27, 29, 40, .78) 100%); }

/* Flowing lines, top left */
.login__lines { position: absolute; left: -40px; top: -30px; width: min(62vw, 720px); z-index: -1; overflow: visible; pointer-events: none; transform: translate3d(var(--lx, 0), var(--ly, 0), 0); transition: transform .8s var(--ease); }
.login__lines path {
  fill: none; stroke: var(--lime-300); stroke-width: 1.4; stroke-linecap: round; opacity: calc(.75 - var(--i) * .07);
  stroke-dasharray: 140 520; stroke-dashoffset: 660;
  animation: line-flow 7s linear infinite, line-sway 9s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -.75s), calc(var(--i) * -1.1s);
  transform-origin: 0 0;
}
.login__lines path:nth-child(3n) { stroke: rgba(255, 255, 255, .7); }
.login__lines path:nth-child(4n+1) { stroke-dasharray: 80 580; }
@keyframes line-flow { to { stroke-dashoffset: 0; } }
@keyframes line-sway { from { transform: rotate(-1.5deg) translateY(-6px); } to { transform: rotate(1.5deg) translateY(6px); } }

.login__brand { grid-column: 1 / -1; justify-self: start; }
.login__brand .logo__one { color: var(--lime-300); }
.login__intro { max-width: 560px; }
.login__intro h1 { margin: 24px 0 20px; font-size: clamp(36px, 4vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.login__intro p { font-size: var(--fs-lead); line-height: 1.6; color: rgba(255, 255, 255, .78); }

.login__card {
  display: grid; gap: 18px; padding: 44px 40px; border-radius: 20px; color: var(--river);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .5);
  animation: card-in .9s var(--ease) both .15s;
}
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.login__card h2 { font-size: 32px; line-height: 1.15; color: var(--ebony); letter-spacing: -0.02em; }
.login__sub { margin-top: -10px; font-size: var(--fs-sm); color: var(--regent); }
.field--pwd { position: relative; }
.field--pwd input { padding-right: 52px; }
.login__eye { position: absolute; right: 8px; bottom: 6px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; color: var(--regent); }
.login__eye:hover { color: var(--lime-600); background: var(--lime-tint); }
.login__eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.login__eye.is-on { color: var(--lime-600); }
.login__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.login__forgot, .login__help a { font-size: var(--fs-sm); font-weight: 600; color: var(--lime-600); }
.login__forgot:hover, .login__help a:hover { text-decoration: underline; }
.login__submit { width: 100%; margin-top: 4px; }
.login__submit.is-loading { pointer-events: none; opacity: .8; }
.login__submit.is-loading .ico-arrow { animation: spin 1s linear infinite; }
.login__help { font-size: var(--fs-sm); text-align: center; color: var(--slate); }
.login .form__status { text-align: center; min-height: 1.4em; margin: -6px 0; }

.login__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--fs-sm); color: rgba(255, 255, 255, .6); }
.login__foot a { color: var(--white); font-weight: 600; }
.login__foot a:hover { color: var(--lime-300); }

/* Header link to the reserved area */
.header__login { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--river); transition: color .2s; }
.header__login svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.header__login:hover { color: var(--lime); }

@media (max-width: 1023px) {
  .header__login span { display: none; }
  .login { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 28px var(--pad); align-content: start; }
  .login__intro h1 { font-size: 34px; }
  .login__card { max-width: 520px; width: 100%; }
}
@media (max-width: 480px) {
  .login__intro p { font-size: var(--fs-base); }
  .login__card { padding: 32px 24px; }
  .login__lines { width: 110vw; }
  .login__row { font-size: var(--fs-sm); }
}
@media (prefers-reduced-motion: reduce) {
  .login__bg img, .login__lines path, .login__card { animation: none !important; }
}
