/* meetaivin.com — property stylesheet.

   This page is not aivin.ai and is not the marketing site's long-form template.
   It is the page someone lands on after an outbound email, so it has one job:
   establish the proposition and the credibility behind it in one screenful and
   one scroll, then offer two ways forward.

   What changed from site.css, and why:
   · One ground, not two. The light body band turned the page into a document.
     The system is dark-first; the page is now dark throughout, with the close
     lifted by the brand gradient rather than by an inversion.
   · An editorial grid. Every section is a numbered rail plus a content column,
     so the page reads as composed rather than stacked.
   · The comparison is an ExchangeTable, which is the brand's actual argument
     unit, not a bulleted definition list.
   · The photograph is allowed to be a photograph. One directional scrim over
     the copy column instead of two full-frame passes.

   No colour is defined here that is not a token or a scrim over one. */

@import url("/tokens/colors.css");
@import url("/tokens/typography.css");
@import url("/tokens/spacing.css");
@import url("/tokens/radius.css");
@import url("/tokens/elevation.css");
@import url("/tokens/motion.css");

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--night-900);color:var(--text-body);font-family:var(--font-body);font-size:17px;line-height:1.62;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%}

:where(a,button,summary,[tabindex]):focus-visible{outline:2.5px solid var(--aivin-mint);outline-offset:4px;border-radius:2px}
a{color:var(--aivin-blue);text-decoration:none}
a:hover{color:var(--aivin-mint)}

.wrap{width:100%;max-width:1166px;margin-inline:auto;padding-inline:clamp(22px,5vw,40px)}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-head{padding-block:clamp(20px,3vh,30px);position:absolute;top:0;left:0;right:0;z-index:3}
.site-head .wrap{display:flex;align-items:center}
.brand{display:inline-flex;line-height:0}
.brand img{height:27px;width:auto}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero{position:relative;isolation:isolate;min-height:min(92vh,880px);display:flex;align-items:flex-end;padding-block:clamp(140px,22vh,210px) clamp(56px,9vh,96px);overflow:hidden;background:var(--night-900)}
.hero-bg{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%);filter:saturate(.78) contrast(1.08) brightness(.86)}
/* One directional pass so the room stays legible on the right, plus a short
   foot fade that closes the band into the section below. */
.hero-scrim{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(94deg,rgba(6,12,26,.94) 0%,rgba(6,12,26,.86) 34%,rgba(6,12,26,.52) 62%,rgba(6,12,26,.22) 100%),linear-gradient(180deg,rgba(6,12,26,.72) 0%,rgba(6,12,26,0) 26%,rgba(6,12,26,0) 62%,rgba(10,17,32,.92) 100%)}
.hero .wrap{position:relative;z-index:2}
.eyebrow{display:inline-flex;align-items:center;gap:16px;margin:0 0 clamp(20px,3.2vh,30px);font-family:var(--font-body);font-size:var(--fs-eyebrow);letter-spacing:var(--ls-eyebrow);text-transform:uppercase;font-weight:600;color:var(--aivin-mint)}
.eyebrow::after{content:"";height:1px;flex:1 1 auto;max-width:96px;background:linear-gradient(90deg,rgba(0,248,196,.55),rgba(0,248,196,0))}
.hero h1{font-family:var(--font-display);font-weight:300;font-size:clamp(40px,7.4vw,84px);line-height:.98;letter-spacing:-.03em;color:#fff;margin:0;max-width:14ch;text-wrap:balance}
.hero .lead{font-size:clamp(17px,1.55vw,20px);line-height:1.6;color:rgba(255,255,255,.84);margin:clamp(22px,3.4vh,34px) 0 0;max-width:46ch}
.hero-credit{position:absolute;z-index:2;right:clamp(22px,5vw,40px);bottom:14px;margin:0;font-size:var(--fs-micro);letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.5)}

/* ── Editorial section grid ─────────────────────────────────────────────── */
.body{background:var(--night-900)}
.sec{padding-block:clamp(56px,9vh,104px);border-top:1px solid var(--border-subtle)}
.sec .wrap{display:grid;grid-template-columns:minmax(0,9rem) minmax(0,1fr);gap:clamp(24px,4vw,56px)}
.sec p.rail{margin:0;padding-top:.75em;font-family:var(--font-display);font-size:var(--fs-eyebrow);line-height:1.4;letter-spacing:.14em;font-weight:600;color:var(--night-200);white-space:nowrap}
.col{min-width:0;max-width:44rem}
.sec h2{font-family:var(--font-display);font-weight:300;font-size:clamp(26px,3.4vw,40px);line-height:1.1;letter-spacing:-.022em;color:#fff;margin:0;max-width:22ch;text-wrap:pretty}
.sec p{margin:clamp(16px,2vh,22px) 0 0;font-size:17px;line-height:1.66;color:var(--text-body)}
.sec p.first{margin-top:clamp(20px,2.6vh,28px)}

/* ── Teaser list: label plus one line, hairline-separated ──────────────── */
.teaser{list-style:none;margin:clamp(26px,3.6vh,34px) 0 0;padding:0;display:grid}
.teaser li{display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr);gap:6px 28px;padding:16px 0;border-top:1px solid var(--border-subtle)}
.teaser li:last-child{border-bottom:1px solid var(--border-subtle)}
.teaser b{font-family:var(--font-display);font-weight:500;font-size:17px;line-height:1.35;color:#fff}
.teaser span{font-size:15.5px;line-height:1.55;color:var(--text-muted)}
.sec p.more{margin-top:clamp(24px,3.2vh,32px)}

/* ── ExchangeTable — the brand's argument unit ──────────────────────────── */
.exchange{margin:clamp(28px,4vh,40px) 0 0;border:1px solid var(--border-subtle);border-radius:var(--radius-md,12px);overflow:hidden;background:var(--surface-card)}
.exchange .xhead{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:22px;background:var(--surface-header);padding:13px 22px;font-size:var(--fs-eyebrow);letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:var(--night-100)}
.exchange dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);margin:0;align-items:stretch}
.exchange dt,.exchange dd{margin:0;padding:17px 0;border-top:1px solid rgba(255,255,255,.05)}
.exchange dt{padding-inline:22px 22px;font-family:var(--font-display);font-weight:500;font-size:17px;line-height:1.35;color:#fff}
/* The exchange glyph is the brand ornament that joins the two columns. */
.exchange dd{padding-right:22px;font-size:15.5px;line-height:1.55;color:var(--text-muted);position:relative}
.exchange dd::before{content:"⇆";position:absolute;left:-22px;top:17px;font-size:14px;line-height:1.55;color:var(--night-400)}
/* The last row is the payoff; it carries the accent. */
.exchange dl>*:nth-last-child(-n+2){background:rgba(0,248,196,.05)}
.exchange dl>dt:last-of-type{color:var(--aivin-mint)}
.exchange dl>dd:last-of-type{color:var(--night-100)}
.exchange dl>dd:last-of-type::before{color:var(--mint-5)}

/* ── Figure: the number is the graphic ──────────────────────────────────── */
.fig{margin:clamp(28px,4vh,38px) 0 0;padding:clamp(22px,3vh,28px) 0;border-block:1px solid var(--border-subtle);display:grid;gap:10px}
.fig .fval{font-family:var(--font-display);font-weight:300;font-size:clamp(28px,4.4vw,46px);line-height:1.04;letter-spacing:-.025em;color:#fff;margin:0}
.fig figcaption{font-size:var(--fs-meta);letter-spacing:.02em;color:var(--text-muted);margin:0}

/* ── Quote: type, not a card ────────────────────────────────────────────── */
.quote{margin:clamp(30px,4.5vh,44px) 0 0;padding:0 0 0 clamp(20px,3vw,30px);border-left:1.5px solid var(--aivin-mint)}
.quote blockquote{margin:0}
.quote blockquote p{font-family:var(--font-display);font-weight:300;font-size:clamp(19px,2.2vw,26px);line-height:1.34;letter-spacing:-.015em;color:#fff;margin:0;max-width:36ch;text-wrap:pretty}
.quote figcaption{margin-top:18px;font-size:var(--fs-meta);letter-spacing:.02em;color:var(--text-muted)}

/* ── Close: the one gradient in the page ────────────────────────────────── */
.close{position:relative;isolation:isolate;padding-block:clamp(66px,11vh,124px);overflow:hidden;background:linear-gradient(104deg,#00263F 0%,#0B4C6E 38%,#0A5E63 72%,#0B4A55 100%)}
.close::before{content:"";position:absolute;inset:0;z-index:0;background:radial-gradient(85% 110% at 50% 118%,rgba(10,17,32,.86) 0%,rgba(10,17,32,0) 62%),linear-gradient(180deg,rgba(10,17,32,.5) 0%,rgba(10,17,32,0) 34%)}
.close .wrap{position:relative;z-index:1}
.close h2{font-family:var(--font-display);font-weight:300;font-size:clamp(28px,4vw,46px);line-height:1.06;letter-spacing:-.025em;color:#fff;margin:0;max-width:18ch}
.paths{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:clamp(30px,4vw,56px);margin-top:clamp(36px,5.5vh,56px)}
.path{display:flex;flex-direction:column;align-items:flex-start;padding-top:22px;border-top:1px solid rgba(255,255,255,.26)}
.path h3{font-family:var(--font-display);font-weight:500;font-size:clamp(18px,1.9vw,21px);line-height:1.25;color:#fff;margin:0}
.path p{color:rgba(255,255,255,.82);font-size:16px;line-height:1.6;margin:10px 0 0;max-width:32ch}
.path .act{margin-top:auto;padding-top:26px}
.btn{display:inline-flex;align-items:center;min-height:48px;background:var(--aivin-mint);color:var(--ink-on-mint);font-weight:600;font-size:16px;padding:12px 28px;border-radius:999px;transition:transform 150ms cubic-bezier(.4,0,.2,1),box-shadow 150ms cubic-bezier(.4,0,.2,1)}
.btn:hover{color:var(--ink-on-mint);transform:translateY(-1px);box-shadow:0 8px 26px rgba(0,248,196,.22)}
.btn:active{transform:scale(.985)}
.lnk{display:inline-flex;align-items:center;min-height:0;padding-block:13px;font-size:16px;color:#fff;border-bottom:0;background-image:linear-gradient(rgba(255,255,255,.45),rgba(255,255,255,.45));background-repeat:no-repeat;background-size:100% 1px;background-position:0 calc(100% - 12px);transition:color 120ms ease,background-image 120ms ease}
.lnk:hover{color:var(--aivin-mint);background-image:linear-gradient(var(--aivin-mint),var(--aivin-mint))}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-foot{padding-block:26px;background:var(--night-900);border-top:1px solid var(--border-subtle);font-size:var(--fs-meta);color:var(--night-200)}
.site-foot p{margin:0}

@media (max-width:46rem){
  .teaser li{grid-template-columns:minmax(0,1fr);gap:4px}
  .sec .wrap{grid-template-columns:minmax(0,1fr);gap:0}
  .sec p.rail{padding-top:0;margin-bottom:14px}
  .exchange .xhead,.exchange dl{grid-template-columns:minmax(0,1fr)}
  .exchange .xhead span:nth-child(2){display:none}
  .exchange dt{padding:16px 20px 0;border-top:1px solid rgba(255,255,255,.05)}
  .exchange dd{padding:6px 20px 16px;border-top:0}
  .exchange dd::before{display:none}
}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}}

@media print{
  body,.body,.close,.hero,.site-foot{background:#fff!important;color:#000}
  .hero{min-height:0;padding-block:24px}
  .hero-bg,.hero-scrim,.hero-credit,.close::before{display:none}
  .hero h1,.sec h2,.close h2,.path h3,.quote blockquote p,.fig .fval,.exchange dt{color:#000}
  .hero .lead,.sec p,.path p,.exchange dd{color:#222}
  .site-head{position:static}
}
