/* salfetch.app — the SALFETCH NI site. One dark look, the product's own:
   ink surfaces, gold accent, Space Grotesk (SIL OFL, assets/fonts/OFL.txt). */

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0E1116;
  --bg-deep: #0B0E13;
  --card: #171C26;
  --card-2: #141924;
  --line: #242C3B;
  --line-soft: #1B2230;
  --ink: #E6E8ED;
  --ink-2: #C2C8D4;
  --muted: #9AA3B4;
  --gold: #D9A441;
  --gold-hi: #E4B55C;
  --gold-deep: #B9862B;
  --gold-tint: #2A2210;
  --gold-tint-fg: #EFC97F;
  --on-gold: #12161F;
  --ok: #3FA86A;
  --radius: 14px;
  --gutter: 20px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.gold { color: var(--gold); }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; color: var(--on-gold); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 10px;
  font: inherit; font-size: 15.5px; font-weight: 600; letter-spacing: .005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn small { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hi); color: var(--on-gold); }
.btn-ghost { background: rgba(255, 255, 255, .02); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--ink); }

/* ------------------------------------------------------------ header */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(14, 17, 22, .86);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 68px; padding-top: env(safe-area-inset-top, 0px); }
.lockup { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; }
.mark { width: 132px; height: auto; }
.mark .g { fill: var(--ink); }
.mark .c { fill: none; stroke: var(--gold); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.ni {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--on-gold);
  font-weight: 700; font-size: 12.5px; letter-spacing: .06em; line-height: 1;
  border-radius: .28em; padding: .26em .42em .22em;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); font-size: 15px; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .03); }
.nav a.nav-cta { color: var(--on-gold); margin-left: 10px; min-height: 40px; padding: 0 18px; }
.nav a.nav-cta:hover { color: var(--on-gold); background: var(--gold-hi); }
.menu { display: none; }
@media (max-width: 1180px) {
  .top-in { gap: 16px; }
  .nav a { padding: 8px 10px; font-size: 14.5px; }
}
@media (pointer: coarse) and (min-width: 1011px) {
  .nav a, .nav a.nav-cta { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 1010px) {
  .menu {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; padding: 0 11px;
    background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  }
  .menu span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-deep); border-bottom: 1px solid var(--line);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 18px max(var(--gutter), env(safe-area-inset-left, 0px));
    max-height: calc(100vh - 69px - env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - 69px - env(safe-area-inset-top, 0px));
    overflow-y: auto; overscroll-behavior: contain;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; font-size: 16px; }
  .nav a.nav-cta { margin: 14px 0 0; border-bottom: 0; border-radius: 10px; min-height: 48px; justify-content: center; }
}
@media (max-width: 1010px) and (max-height: 500px) {
  .nav a { padding: 10px 4px; }
  .nav a.nav-cta { margin-top: 10px; min-height: 44px; }
}

/* ------------------------------------------------------------ type helpers */
.eyebrow, .kicker {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  color: var(--gold); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before, .kicker::before {
  content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--gold); flex: none;
}
.tag {
  letter-spacing: .08em; font-size: 11px; color: var(--gold-tint-fg);
  border: 1px solid rgba(217, 164, 65, .4); background: var(--gold-tint);
  padding: 3px 9px; border-radius: 999px;
}

/* ------------------------------------------------------------ opening */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 88px) 0; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  background: radial-gradient(closest-side, rgba(217, 164, 65, .13), rgba(217, 164, 65, 0) 70%);
  pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-text { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.35rem); line-height: 1.03; letter-spacing: -0.03em; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 34em; line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--muted); font-size: 14.5px; }
.hero-note a { text-decoration: underline; text-decoration-color: rgba(217, 164, 65, .55); text-underline-offset: 3px; }

.hero-media { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 520px; }
.hero-media figcaption { margin-top: 16px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 13.5px; }
.rings { position: absolute; inset: -9%; pointer-events: none; }
.rings::before, .rings::after { content: ""; position: absolute; border-radius: 50%; }
.rings::before { inset: 0; border: 1px solid rgba(217, 164, 65, .16); }
.rings::after {
  inset: 6%; border: 2px solid transparent; border-top-color: rgba(217, 164, 65, .75); border-right-color: rgba(217, 164, 65, .28);
  animation: orbit 48s linear infinite;
}
@keyframes orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rings::after { animation: none; } }
.video-frame {
  position: relative; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden;
  background: var(--bg-deep); border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(217, 164, 65, .06);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.vbtn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 13px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.vbtn:hover { border-color: var(--gold); color: var(--ink); }
.vbtn .i-pause { width: 9px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.vbtn .i-play { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.vbtn[data-state="playing"] .i-play, .vbtn[data-state="paused"] .i-pause { display: none; }
@media (pointer: coarse) { .vbtn { min-height: 44px; padding: 0 18px 0 16px; } }

.principles {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.principles li { display: flex; align-items: flex-start; gap: 14px; padding: 26px 22px 28px; min-width: 0; }
.principles li + li { border-left: 1px solid var(--line); }
.principles div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.principles b { font-weight: 600; font-size: 1.06rem; }
.principles span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.ic { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ sections */
.sec { padding-block: clamp(72px, 9vw, 120px); }
.sec-alt { background: var(--bg-deep); border-block: 1px solid var(--line-soft); }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 860px; min-width: 0; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; }
.sub { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.7; max-width: 46em; }
.sub a { text-decoration: underline; text-decoration-color: rgba(217, 164, 65, .55); text-underline-offset: 3px; }
.split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 64px); align-items: center; }

/* ------------------------------------------------------------ platform */
.platform-head { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.art { margin: 0; justify-self: center; width: 100%; max-width: 470px; }
.constellation { display: block; width: 100%; height: auto; overflow: visible; }
.constellation .orbit { fill: none; stroke: rgba(217, 164, 65, .16); stroke-width: 1; }
.constellation .orbit.dashed { stroke: rgba(217, 164, 65, .26); stroke-dasharray: 3 7; transform-origin: 270px 270px; animation: orbit 120s linear infinite; }
.constellation .links line { stroke: rgba(217, 164, 65, .38); stroke-width: 1.2; }
.constellation .nb { fill: var(--card); stroke: var(--line); stroke-width: 1.2; }
.constellation .na { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
.constellation text { fill: var(--ink-2); font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.constellation .cb { fill: var(--bg-deep); }
.constellation .cr { fill: none; stroke: var(--gold); stroke-width: 2.2; }
.constellation .ch { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.constellation .ch2 { opacity: .55; }
.constellation .ct { fill: var(--muted); font-size: 10px; letter-spacing: .22em; }
@media (prefers-reduced-motion: reduce) { .constellation .orbit.dashed { animation: none; } }

.caps { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.caps li {
  background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.caps li:target { border-color: rgba(217, 164, 65, .6); }
.caps .ic { width: 30px; height: 30px; margin-bottom: 6px; }
.caps h3 { font-size: 1.14rem; letter-spacing: -0.01em; }
.caps p { color: var(--muted); font-size: 15px; line-height: 1.65; }

.ffp {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px;
  border: 1px solid rgba(217, 164, 65, .28); background: linear-gradient(90deg, var(--gold-tint), rgba(42, 34, 16, .2));
  border-radius: var(--radius); padding: 24px 28px;
}
.ffp ol { display: flex; align-items: center; gap: 10px; flex: none; }
.ffp li { font-weight: 700; font-size: 1.15rem; color: var(--gold-tint-fg); letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.ffp li + li::before {
  content: ""; width: 9px; height: 9px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
  transform: rotate(45deg); margin-right: 6px; flex: none;
}
.ffp p { flex: 1 1 360px; min-width: 0; color: var(--ink-2); }

/* ------------------------------------------------------------ SALFETCH AI */
.asks { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.asks li {
  background: var(--gold-tint); color: var(--gold-tint-fg); border: 1px solid rgba(217, 164, 65, .38);
  border-radius: 12px; padding: 10px 16px; font-size: 15.5px;
}
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.ai-points { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ai-points li {
  display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; min-width: 0;
  background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: 14px;
}
.ai-points div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ai-points b { font-weight: 600; font-size: 1.05rem; }
.ai-points span { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ------------------------------------------------------------ emulation */
.emu {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(28px, 5vw, 56px); align-items: center;
  border: 1px solid rgba(217, 164, 65, .3); border-radius: 20px; padding: clamp(28px, 5vw, 56px);
  background: radial-gradient(90% 130% at 100% 50%, rgba(217, 164, 65, .12), rgba(217, 164, 65, 0) 60%), var(--card);
}
.emu-text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ticks { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.ticks li { display: flex; align-items: baseline; gap: 12px; color: var(--ink); }
.ticks li::before {
  content: ""; width: 10px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-3px) rotate(-45deg); flex: none;
}
.emu-art { position: relative; justify-self: center; width: min(100%, 300px); aspect-ratio: 1 / 1; }
.emu-art .r { position: absolute; border-radius: 50%; border: 1px solid rgba(217, 164, 65, .2); }
.emu-art .r1 { inset: 0; }
.emu-art .r2 { inset: 14%; border-color: rgba(217, 164, 65, .3); }
.emu-art .r3 { inset: 28%; border: 2px solid transparent; border-top-color: var(--gold); border-right-color: rgba(217, 164, 65, .4); animation: orbit 30s linear infinite; }
.emu-art svg { position: absolute; left: 34%; top: 33%; width: 32%; height: 32%; }
.emu-art path { fill: none; stroke: var(--gold); stroke-width: 44; stroke-linecap: round; stroke-linejoin: round; }
.emu-art path.b { opacity: .55; }
@media (prefers-reduced-motion: reduce) { .emu-art .r3 { animation: none; } }

/* ------------------------------------------------------------ Kingdom */
.kingdom { position: relative; overflow: hidden; }
.kingdom::after {
  content: ""; position: absolute; right: -90px; top: 40px; width: 560px; height: 560px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M116 296 L256 156 L396 296' fill='none' stroke='%23D9A441' stroke-width='40' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M116 408 L256 268 L396 408' fill='none' stroke='%23D9A441' stroke-width='40' stroke-linecap='round' stroke-linejoin='round' opacity='.55'/%3E%3C/svg%3E") no-repeat center / contain; opacity: .06; pointer-events: none;
}
.kingdom .wrap { position: relative; z-index: 1; }
.pillars { margin-top: 44px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.pillars li:nth-child(-n+3) { grid-column: span 2; }
.pillars li:nth-child(n+4) { grid-column: span 3; }
.pillars li {
  background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0;
}
.pillars b { font-weight: 600; font-size: 1.06rem; }
.pillars span { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ------------------------------------------------------------ delivery */
.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps li {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0;
  padding: 24px 24px 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
}
.steps li + li::before {
  content: ""; position: absolute; left: -15px; top: 34px; width: 16px; height: 1px; background: var(--gold);
}
.steps .num { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.steps b { font-weight: 600; font-size: 1.12rem; }
.steps span:not(.num) { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ------------------------------------------------------------ support */
.support-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.support-grid li {
  background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.support-grid .ic { width: 28px; height: 28px; margin-bottom: 4px; }
.support-grid b { font-weight: 600; font-size: 1.1rem; }
.support-grid span { color: var(--muted); font-size: 15px; line-height: 1.6; }
.support-grid .mail { margin-top: auto; padding-top: 6px; color: var(--ink); font-size: 15.5px; overflow-wrap: anywhere; }
.support-grid .more {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  font-weight: 600; font-size: 15px;
}
.support-grid .more::after {
  content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); flex: none;
}
.support-grid .more small { font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }
@media (pointer: coarse) { .support-grid .more { min-height: 44px; } }

.faq { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 24px clamp(32px, 5vw, 64px); align-items: start; }
.faq-head { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.faq-head h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.15; }
.faq-head p { color: var(--muted); font-size: 15.5px; }
.faq-list { border-top: 1px solid var(--line); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 56px; padding: 14px 2px; font-weight: 600; font-size: 1.04rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 9px; height: 9px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; flex: none; margin-right: 6px;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover { color: var(--gold-hi); }
.faq details p { padding: 0 2px 20px; color: var(--ink-2); max-width: 46em; }
.faq details p a { text-decoration: underline; text-decoration-color: rgba(217, 164, 65, .55); text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ------------------------------------------------------------ contact */
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "intro form" "more form"; align-content: center;
  column-gap: clamp(28px, 5vw, 56px); row-gap: 20px;
  border: 1px solid rgba(217, 164, 65, .3); border-radius: 20px; padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(217, 164, 65, .12), rgba(217, 164, 65, 0) 55%),
    var(--card);
}
.contact-intro { grid-area: intro; align-self: end; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.contact-more { grid-area: more; align-self: start; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.contact .trial { grid-area: form; align-self: center; }
.details { margin: 0; display: flex; flex-direction: column; gap: 0; min-width: 0; }
.details > div { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; min-height: 58px; }
.details > div:first-child { border-top: 1px solid var(--line); }
.details dt { color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.details dd { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; overflow-wrap: anywhere; }
.mail { user-select: all; }
/* LinkedIn's own [in] logo (white, for dark backgrounds), used as supplied: no recolor, no effects */
.li { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 8px; flex: none; }
.li img { display: block; width: auto; height: 28px; }
.trial { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: clamp(20px, 3vw, 28px); background: var(--bg-deep); border: 1px solid var(--line); border-radius: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.field input {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field input:hover { border-color: #33405A; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 164, 65, .22); }
.field input[aria-invalid="true"] { border-color: #E06C5A; }
.trial .btn { margin-top: 4px; }
.trial .btn[disabled] { opacity: .7; cursor: progress; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.4em; font-size: 14.5px; color: var(--ink-2); }
.form-msg.ok { color: #8FD6A8; }
.form-msg.err { color: #F0A090; }
.form-note { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin-top: -6px; }
.form-note a { text-decoration: underline; text-decoration-color: rgba(217, 164, 65, .55); text-underline-offset: 3px; white-space: nowrap; }

/* ------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-deep); padding-block: clamp(48px, 6vw, 72px) calc(24px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.05fr) minmax(0, .85fr) minmax(0, 1fr); gap: 36px clamp(28px, 4vw, 48px); }
.foot-brand { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.foot-name { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; min-height: 44px; color: var(--ink); }
.foot-name:hover { color: var(--ink); }
.foot-name img { border-radius: 8px; }
.foot-name span { display: flex; flex-direction: column; line-height: 1.25; }
.foot-name b { font-weight: 600; font-size: 1.05rem; }
.foot-name small { color: var(--muted); font-size: 13.5px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; line-height: 1.65; max-width: 30em; }
.foot-h { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; color: var(--ink); margin-bottom: 12px; }
.foot-col { min-width: 0; }
.foot-col ul { display: flex; flex-direction: column; gap: 2px; }
.foot-col li a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-2); font-size: 14.5px; line-height: 1.35; }
.foot-col li a:hover { color: var(--ink); }
.foot-contact { display: flex; flex-direction: column; }
.foot-contact dl { margin: 0 0 20px; display: flex; flex-direction: column; gap: 14px; }
.foot-contact dt { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.foot-contact dd { margin: 3px 0 0; color: var(--ink); font-size: 15px; user-select: all; overflow-wrap: anywhere; }
.foot-contact .btn { align-self: flex-start; }
.foot-bar {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 18px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px;
}
.foot-bar p { color: var(--muted); font-size: 13.5px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-2); font-size: 13.5px; }
.foot-legal a:hover { color: var(--ink); }
.foot-bar .li { margin-left: auto; justify-content: flex-end; }
.foot-bar .li img { height: 24px; }
@media (pointer: coarse) {
  .foot-col ul { gap: 0; }
  .foot-col li a, .foot-legal a { min-height: 44px; }
}

/* ------------------------------------------------------------ privacy page */
.top-back { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: 15px; }
.top-back:hover { color: var(--ink); }
.prose { max-width: 46em; display: flex; flex-direction: column; gap: 16px; }
.prose h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.025em; }
.prose h2 { font-size: 1.22rem; letter-spacing: -0.01em; margin-top: 20px; }
.prose p { color: var(--ink-2); line-height: 1.75; }
.prose .lead-in { font-size: 1.12rem; color: var(--ink); }
.prose .updated { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.foot-slim { padding-block: 8px calc(18px + env(safe-area-inset-bottom, 0px)); }
.foot-slim .foot-bar { margin-top: 0; border-top: 0; }

/* ------------------------------------------------------------ narrow screens */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 440px; margin-top: 12px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles li:nth-child(3) { border-left: 0; }
  .principles li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .platform-head, .ai-grid { grid-template-columns: minmax(0, 1fr); }
  .art { max-width: 480px; }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ai-points li { flex-direction: column; gap: 12px; }
  .emu { grid-template-columns: minmax(0, 1fr) 200px; }
  .emu-art { width: 200px; }
  .contact { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "more"; row-gap: 28px; }
  .contact-intro, .contact-more, .contact .trial { align-self: auto; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars li:nth-child(n) { grid-column: auto; }
  .pillars li:last-child { grid-column: 1 / -1; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .foot-contact { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .ai-points { grid-template-columns: minmax(0, 1fr); }
  .ai-points li { flex-direction: row; gap: 14px; }
  .emu { grid-template-columns: minmax(0, 1fr); }
  .emu-art { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li + li::before { left: 34px; top: -15px; width: 1px; height: 16px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .mark { width: 116px; }
  .principles li { padding: 20px 10px 22px 12px; gap: 10px; }
  .principles .ic { width: 22px; height: 22px; }
  .caps { grid-template-columns: minmax(0, 1fr); }
  .caps li { padding: 22px 20px 24px; }
  .btn { width: 100%; }
  .cta-row { flex-direction: column; }
  .ffp { padding: 20px; }
  .contact { padding: 26px 20px; }
  .trial { padding: 20px 18px; }
  .details > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rings { inset: -4%; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .support-grid { grid-template-columns: minmax(0, 1fr); }
  .support-grid li { padding: 22px 20px 24px; }
  .kingdom::after { width: 320px; height: 320px; right: -110px; top: 24px; }
  /* the emblem uses its own side margin, so it can reach into the gutter */
  .constellation { width: 108%; margin-left: -4%; }
  .constellation text { font-size: 15px; }
  .constellation .ct { font-size: 11px; }
}
/* phones turned sideways: text and the teaser side by side, the teaser sized to the screen height */
@media (orientation: landscape) and (max-height: 560px) and (min-width: 600px) {
  .hero-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .hero-media { max-width: min(100%, calc(100vh - 150px)); margin-top: 0; }
}
