/* ==========================================================================
   Luseed — luseed.org homepage
   Layout: header / hero (3 builds) / features + comparison / about / footer
   ========================================================================== */

/* Cinzel — self-hosted, latin subset, variable wght axis. Google ships one
   variable woff2 for 400 and 500 alike, so this is a single 25KB file rather
   than two static instances. Never load it from a CDN. SIL OFL: fonts/OFL.txt */
@font-face {
  font-family: 'Cinzel';
  src: url('fonts/cinzel-var.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --text: #f4f1ff;
  --muted: #b5afc3;
  --violet: #a375ff;
  --violet-soft: #c7a9ff;
  --violet-deep: #7c63c8;
  --lime: #96e05f;
  --amber: #e0a44a;
  --line: rgba(145, 101, 255, .28);
  --line-soft: rgba(145, 101, 255, .15);
  --panel-bg: linear-gradient(115deg, rgba(18, 16, 39, .93), rgba(7, 7, 17, .88));
  /* --serif is the brand face: wordmark, headlines, numerals, INTERCODE.
     Cinzel renders lowercase as small capitals, which is right for those but
     wrong for running phrases — those use --serif-text. */
  --serif: 'Cinzel', Georgia, "Times New Roman", serif;
  --serif-text: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 58% 40%, rgba(93, 46, 181, .13), transparent 32rem),
    linear-gradient(180deg, #060611 0%, #080716 52%, #05050d 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit }
button { font: inherit }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden }

.icon {
  width: 1em; height: 1em; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
/* Each <symbol> carries its own fill/stroke attributes, which win over the
   inherited values above — stroke-width is deliberately left to CSS so rules
   like .compare .icon can thicken a mark. */

/* ---------- shell ---------------------------------------------------- */

.site-shell { position: relative; isolation: isolate; min-height: 100svh; overflow: hidden }

/* star field */
.site-shell:before {
  content: ""; position: absolute; z-index: -3; inset: 0; opacity: .7;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .62) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(166, 125, 255, .65) 0 1px, transparent 1.5px);
  background-position: 9% 17%, 87% 24%;
  background-size: 173px 173px, 251px 251px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

/* ground haze */
.site-shell:after {
  content: ""; position: absolute; z-index: -1; left: -8%; right: -8%; bottom: 0; height: 34%;
  background:
    radial-gradient(ellipse at 22% 60%, rgba(71, 39, 131, .21), transparent 56%),
    radial-gradient(ellipse at 78% 68%, rgba(78, 42, 151, .2), transparent 54%);
  pointer-events: none; /* gradients are already soft — a blur() filter here just
                           bought a full-width offscreen surface for nothing */
}

/* ---------- header --------------------------------------------------- */

/* logo hard left, links + portal pill grouped hard right */
.header {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  width: min(100% - 64px, 1280px); height: 92px; margin-inline: auto;
}

.brand { display: inline-flex; align-items: center; text-decoration: none }
.brand img { display: block; height: 34px; width: auto }

.header-right { display: flex; align-items: center; gap: 40px }

.nav { display: flex; align-items: center; gap: 40px; height: 100% }
.nav a {
  position: relative; padding: 12px 0; color: #a79eca;
  font-size: 12.5px; letter-spacing: .19em; text-transform: uppercase;
  text-decoration: none; transition: color .2s;
}
.nav a:after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 1px;
  background: var(--violet); box-shadow: 0 0 8px var(--violet); transition: right .2s;
}
.nav a:hover, .nav a:focus-visible { color: #dcceff }
.nav a:hover:after, .nav a:focus-visible:after { right: 0 }
/* current page: brighter, with a persistent rule 3px under the text */
.nav a.is-current { color: #e7e1fa }
.nav a.is-current:after { right: 0; bottom: 3px; background: #6e56c8; box-shadow: none }

.header-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 24px; border: 1px solid rgba(157, 108, 255, .55); border-radius: 999px;
  color: #e9ddff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; transition: .2s;
}
.header-cta .icon { font-size: 18px; color: var(--violet-soft) }
.header-cta:hover, .header-cta:focus-visible {
  border-color: var(--violet-soft); background: rgba(132, 86, 231, .12); transform: translateY(-1px);
}

.menu-button { display: none }

/* ---------- layout --------------------------------------------------- */

/* no bottom padding — the footer butts straight onto the About section's rule */
.main { width: min(100% - 64px, 1280px); margin-inline: auto; padding: 0 }

/* ---------- hero ----------------------------------------------------- */

.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr);
  align-items: center; gap: 10px;
  /* breathing room above/below the hero — scales with viewport height, so a
     short or small window tightens up instead of holding a desktop-sized gap */
  padding-block: clamp(18px, 12vh, 130px) clamp(10px, 5vh, 48px);
}

/* full-bleed night-sky plate behind the hero and header */
.hero:before {
  content: ""; position: absolute; z-index: -2;
  top: -150px; bottom: -40px; left: 50%; width: 100vw; transform: translateX(-50%);
  background: url("/assets/backgrounds/bg-desktop-2560x1440.webp") center top / cover no-repeat;
  mask-image: linear-gradient(180deg, #000 0 58%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0 58%, transparent 100%);
  pointer-events: none;
}

/* The medallion is the only in-flow layer, so the art box is exactly as tall as
   the artwork. Glow and shadow are absolutely positioned: given a percentage
   width they would otherwise contribute their intrinsic 1024px height to the
   row and wrap the hero in ~500px of dead space. */
.hero-art {
  position: relative; justify-self: center;
  width: min(560px, 100%);
}
.hero-medallion {
  position: relative; z-index: 2; display: block; width: 100%; height: auto;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, .6));
}
.hero-glow {
  position: absolute; z-index: 0; top: 50%; left: 50%;
  width: 118%; max-width: none; height: auto;
  transform: translate(-50%, -50%);
  /* No mix-blend-mode here: blending an *animating* layer forces the compositor
     to re-read and re-blend the backdrop every single frame. Straight alpha over
     a dark sky is visually near-identical and costs nothing. */
  opacity: .6; pointer-events: none;
}
.hero-shadow {
  position: absolute; z-index: 1; bottom: -4%; left: 50%;
  width: 68%; height: auto;
  transform: translateX(-50%);
  opacity: .62; pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; padding: 0 12px; text-align: center }

.hero-title { margin: 0; font-weight: 400 }
.eyebrow {
  display: block; color: #b7a6e6; font-family: var(--serif-text);
  font-size: clamp(21px, 2.2vw, 32px); letter-spacing: .02em; line-height: 1.2;
}
.wordmark {
  display: block; margin-top: 2px;
  font-family: var(--serif); font-size: clamp(56px, 7.4vw, 106px);
  letter-spacing: .1em; line-height: 1; text-indent: .1em;
  background: linear-gradient(180deg, #ffffff 0%, #d7d1e6 30%, #8f88a3 52%, #efeaf8 68%, #a49cb8 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .5)) drop-shadow(0 0 26px rgba(148, 111, 225, .22));
}
.wm-star {
  width: .3em; height: .3em; vertical-align: .2em; margin-inline: -.02em;
  color: var(--violet); fill: currentColor; stroke: none;
  filter: drop-shadow(0 0 8px currentColor);
}

.ornament {
  display: block; width: min(100%, 330px); height: 12px; margin: 16px auto 22px;
  color: var(--violet-deep); stroke-width: 1;
}

.intro {
  max-width: 560px; margin: 0 auto 26px;
  color: #d9d4e5; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55;
}

/* --- the three builds --- */

.builds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }

.build {
  /* icon over label; each card is a size container so the name can be sized
     against the card width rather than the viewport (see .build-name) */
  position: relative; container-type: inline-size;
  display: grid; justify-items: center; align-content: start;
  gap: 12px; padding: 26px 16px 26px;
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(160deg, rgba(22, 19, 46, .84), rgba(9, 8, 20, .8));
  text-align: center; text-decoration: none;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.build:hover, .build:focus-visible { transform: translateY(-3px) }

.build-icon { display: grid; place-items: center; font-size: 40px; line-height: 0 }
.build-text { display: grid; justify-items: center; gap: 5px }
.build-eyebrow {
  color: #a99cc8; font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
}
/* cqi = 1% of the card's own content box, so the name is sized against the card
   rather than a viewport guess. Measured in Cinzel at .07em tracking,
   "DREAM PORTAL" (the longest label) is 8.778em wide => it stays on one line at
   any size up to 11.39cqi. 10.5cqi keeps ~8% headroom at every breakpoint. */
.build-name {
  color: #efeaff; font-family: var(--serif); font-size: clamp(13px, 10.5cqi, 21px);
  font-weight: 400; letter-spacing: .07em; line-height: 1.1; white-space: nowrap;
}
/* the chevron is a mobile-row affordance; the desktop card ends at the name */
.build-go { display: none; color: var(--violet-soft); font-size: 20px; line-height: 0; transition: transform .22s }
.build:hover .build-go { transform: translateX(3px) }

.build-flag {
  position: absolute; top: -10px; right: 14px;
  padding: 4px 11px; border-radius: 999px;
  font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
}

.build--android { border-color: rgba(150, 224, 95, .5); box-shadow: 0 0 32px rgba(120, 200, 70, .1) }
.build--android .build-icon { color: var(--lime) }
.build--android .build-go { color: var(--lime) }
.build--android .build-flag { border: 1px solid rgba(150, 224, 95, .55); color: var(--lime); background: #0d1509 }
.build--android:hover, .build--android:focus-visible {
  border-color: rgba(150, 224, 95, .8); box-shadow: 0 12px 34px rgba(0, 0, 0, .4), 0 0 42px rgba(120, 200, 70, .2);
}

.build--ios { border-color: rgba(167, 117, 255, .55); box-shadow: 0 0 32px rgba(126, 78, 226, .12) }
.build--ios .build-icon { color: var(--violet-soft) }
.build--ios .build-flag { border: 1px solid rgba(167, 117, 255, .6); color: var(--violet-soft); background: #120c22 }
.build--ios:hover, .build--ios:focus-visible {
  border-color: var(--violet-soft); box-shadow: 0 12px 34px rgba(0, 0, 0, .4), 0 0 42px rgba(126, 78, 226, .26);
}

.build--web .build-icon { color: var(--violet-soft) }
.build--web:hover, .build--web:focus-visible {
  border-color: rgba(157, 108, 255, .55); box-shadow: 0 12px 34px rgba(0, 0, 0, .4);
}

.builds-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 18px 0 0; color: #9d8ac8;
  font-family: var(--serif-text); font-size: 15px; font-style: italic;
}
.builds-note .icon { font-size: 19px }

/* ---------- features + comparison panel ------------------------------ */

.panel {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  margin: 26px 22px 0;
  border: 1px solid var(--line); border-radius: 24px;
  background: var(--panel-bg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .015);
  overflow: hidden;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr) }
.feature {
  display: grid; grid-template-rows: auto auto 1fr; justify-items: center;
  padding: 26px 14px 24px; text-align: center;
}
.feature-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 12px;
  border: 1px solid rgba(151, 100, 255, .26); border-radius: 50%;
  color: var(--violet); font-size: 30px;
  background: radial-gradient(circle, rgba(97, 55, 174, .12), transparent 70%);
  box-shadow: 0 0 22px rgba(106, 62, 195, .1);
}
.feature-icon .icon { filter: drop-shadow(0 0 5px rgba(157, 104, 255, .5)) }
.feature h2 {
  margin: 0 0 8px; font-size: 13px; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
}
.feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5 }

.compare-wrap { padding: 20px 24px 22px; border-left: 1px solid var(--line-soft) }

.compare { width: 100%; border-collapse: collapse; font-size: 13px }
.compare th, .compare td { padding: 9px 6px; text-align: center; font-weight: 400 }
.compare thead th {
  padding-bottom: 14px; color: #e6e0f5;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-soft);
}
.compare thead th span { vertical-align: middle }
/* neutral platform dots — the Android robot and Apple mark are trademarks and
   were removed from the page in v2 */
.compare thead th .dot {
  display: inline-block; width: 8px; height: 8px; margin-right: 8px;
  border-radius: 50%; vertical-align: 1px;
}
.compare thead .col-android .dot { background: var(--lime); box-shadow: 0 0 8px rgba(150, 224, 95, .5) }
.compare thead .col-ios .dot,
.compare thead .col-web .dot { background: var(--violet-soft); box-shadow: 0 0 8px rgba(167, 117, 255, .5) }
.compare .compare-rowhead { color: #8d86a3 }
.compare tbody th {
  width: 40%; padding-left: 2px; color: #cfc9de; text-align: left; white-space: nowrap;
}
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid rgba(145, 101, 255, .1) }
.compare tbody td { border-left: 1px solid rgba(145, 101, 255, .1) }
.compare tbody td .icon { font-size: 19px; stroke-width: 2 }
.compare .is-yes { color: var(--violet-soft) }
.compare .col-android.is-yes { color: var(--lime) }
.compare .is-no { color: #5d5673 }

/* ---------- about (full-bleed) ---------------------------------------- */

.about {
  position: relative;
  margin-inline: calc(50% - 50vw);   /* edge to edge, out of .main's gutters */
  padding: clamp(56px, 7vw, 104px) clamp(20px, 4vw, 56px) clamp(60px, 7.5vw, 108px);
  border-top: 1px solid #1a1433; border-bottom: 1px solid #1a1433;
  /* tile at half strength (2nd layer stands in for opacity:.5) under the scrim */
  background:
    linear-gradient(90deg, rgba(7, 5, 15, .96) 26%, rgba(7, 5, 15, .55) 62%, rgba(7, 5, 15, .85) 100%),
    linear-gradient(rgba(7, 5, 15, .5), rgba(7, 5, 15, .5)),
    url("backgrounds/bg-tile-1440x900.webp") center / cover no-repeat;
  overflow: hidden;
}

.about-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(360px, 33vw, 500px);
  gap: clamp(40px, 5vw, 76px); align-items: center;
  max-width: 1328px; margin-inline: auto;
}

.about-copy { display: flex; flex-direction: column; gap: 28px }

.about-eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0;
  color: var(--violet); font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
}
.about-rule { width: 26px; height: 1px; background: #5b47a6 }

.about-title {
  margin: 0; max-width: 15ch;
  color: #f3effc; font-family: var(--serif); font-size: clamp(30px, 3.6vw, 54px);
  font-weight: 400; line-height: 1.16; text-wrap: pretty;
}

.about-body { display: flex; flex-direction: column; gap: 18px; max-width: 58ch }
.about-body p { margin: 0; color: #a79fc2; font-size: 16.5px; line-height: 1.72; text-wrap: pretty }

/* three-beat spine — journal / reality checks & MILD / WBTB */
.about-spine {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  margin: 0; padding: 12px 0 0; list-style: none;
  border-top: 1px solid #1e1740;
}
.about-spine li { display: flex; flex-direction: column; gap: 9px; padding-top: 20px }
.about-num { color: #6e5cb0; font-family: var(--serif); font-size: 13px; letter-spacing: .2em }
.about-step { color: #e4ddf7; font-size: 13px; letter-spacing: .16em; text-transform: uppercase }
.about-note { color: #8c83ac; font-size: 13.5px; line-height: 1.6; text-wrap: pretty }

.about-closer {
  display: flex; align-items: center; gap: 14px; margin: 0; padding-top: 6px;
  color: var(--violet-soft); font-family: var(--serif); font-size: clamp(17.5px, 1.6vw, 22px);
}
.about-closer .icon { flex: none; font-size: 20px; color: var(--violet) }

.about-art { position: relative; height: clamp(420px, 44vw, 640px); margin: 0 }
.about-art:before {
  content: ""; position: absolute; inset: -70px -50px; pointer-events: none;
  background: radial-gradient(circle at 50% 42%, rgba(140, 104, 235, .24), rgba(90, 56, 190, 0) 68%);
}
.about-art picture, .about-art img {
  position: relative; display: block; width: 100%; height: 100%;
  object-fit: cover; border-radius: 20px;
}
.about-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 150px; pointer-events: none;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(180deg, rgba(7, 5, 15, 0), rgba(7, 5, 15, .62));
}

/* ---------- footer ---------------------------------------------------- */
/* Flat #07050f, matching the About scrim above it. No artwork — the v1 ridge
   image was drift from an older design and is gone. Markup lives in
   include/partials/footer.php, shared with /support. */

.footer {
  display: flex; flex-direction: column; align-items: center; gap: 34px;
  padding: 64px 56px 56px;
  background: #07050f;
}
.footer-flourish {
  display: block; width: 280px; height: auto; opacity: .7;
  color: var(--violet-deep); fill: none; stroke: currentColor;
  stroke-width: 1; stroke-linecap: round;
}

.footer-pledge {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.footer-headline {
  margin: 0; color: #e0b970; font-size: 16px;
  letter-spacing: .13em; text-transform: uppercase;
}
.footer-sub { margin: 0; color: #b2a9ce; font-size: 16px }

.trust {
  display: flex; align-items: center; justify-content: center; gap: 64px;
  width: 100%; margin: 8px 0 0; padding: 24px 0 0;
  list-style: none; border-top: 1px solid #17122c;
}
.trust-item { display: flex; align-items: center; gap: 12px }
.trust-item svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: #7a6bae; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.trust-item span {
  color: #9187b4; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
}
.trust-short { display: none }

.maker {
  display: flex; flex-direction: column; align-items: center; gap: 15px;
  width: 100%; margin-top: 14px; padding-top: 30px;
  border-top: 1px solid #17122c;
}
.maker-kicker {
  color: #5f5684; font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
}
.maker-link { display: flex; align-items: center; gap: 18px; text-decoration: none }
.maker-rule { display: block; width: 40px; height: 1px; background: #2a2247 }
.maker-name {
  color: #cfc4ec; font-family: var(--serif); font-weight: 500;
  font-size: 24px; letter-spacing: .30em;
  padding-left: .3em;  /* offsets the trailing letter-space so it optically centers */
  transition: color .18s ease;
}
.maker-link:hover .maker-name, .maker-link:focus-visible .maker-name { color: #eae2fb }
.maker-url {
  color: #7a6fa4; font-size: 12.5px; letter-spacing: .12em;
  text-decoration: none; transition: color .18s ease;
}
.maker-url:hover, .maker-url:focus-visible { color: #b79cff }

/* ==========================================================================
   Tablet / small desktop
   ========================================================================== */

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, .7fr) minmax(460px, 1.3fr) }
  .header-right { gap: 26px }
  .nav { gap: 26px }
  .nav a { font-size: 12px; letter-spacing: .14em }
  .panel { grid-template-columns: 1fr; margin-inline: 0 }
  .compare-wrap { border-left: 0; border-top: 1px solid var(--line-soft) }

  .about-inner { grid-template-columns: minmax(0, 1fr); gap: 40px }
  .about-art { order: -1; height: clamp(300px, 40vw, 420px) }
  .about-title { max-width: none }
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 920px) {
  .header {
    grid-template-columns: 1fr auto;
    width: min(100% - 38px, 680px); height: 78px;
  }
  .brand img { height: 28px }

  .nav {
    position: fixed; inset: 70px 18px auto;
    display: grid; gap: 0; height: auto; padding: 14px;
    border: 1px solid var(--line); border-radius: 18px;
    background: rgba(8, 7, 20, .97); box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
    opacity: 0; transform: translateY(-10px); visibility: hidden; transition: .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible }
  .nav a { padding: 13px 12px; border-radius: 10px }
  .nav a:hover { background: rgba(140, 91, 231, .1) }
  .nav a:after { display: none }

  .header-cta { display: none }
  .menu-button {
    display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
    border: 0; color: var(--violet); background: transparent; cursor: pointer; font-size: 26px;
  }

  .main { width: min(100% - 32px, 680px); padding-top: 0 }

  .hero { display: block; padding-block: 6px 16px }
  .hero:before {
    top: -110px; bottom: 0;
    background-image: url("/assets/backgrounds/bg-mobile-1170x2532.webp");
    mask-image: linear-gradient(180deg, #000 0 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0 72%, transparent 100%);
  }

  .hero-art { width: min(400px, 80vw); margin: 0 auto 6px }
  .hero-shadow { display: none }
  .hero-glow { width: 108% }

  .hero-copy { padding: 0 }
  .ornament { width: min(100%, 260px); margin: 12px auto 18px }
  .intro { max-width: 460px; margin-bottom: 22px; font-size: 16px }

  /* builds stack into full-width rows */
  .builds { grid-template-columns: 1fr; gap: 14px }
  .build {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-content: center; align-items: center;
    gap: 16px; padding: 16px 18px; text-align: left;
  }
  .build-icon { font-size: 34px }
  .build-text { justify-items: start; gap: 3px; text-align: left }
  .build-eyebrow { font-size: 10px }
  .build-name { font-size: 21px }
  .build-go { display: block }   /* the row's tap affordance */
  .build-flag { top: -9px; right: 12px }
  .builds-note { margin-top: 20px; font-size: 14px }

  /* feature strip: no panel chrome, table keeps its own card */
  .panel {
    display: block; margin: 26px 0 0;
    border: 0; border-radius: 0; background: none; box-shadow: none;
  }
  .features { grid-template-columns: repeat(3, 1fr) }
  .feature { padding: 4px 8px 0 }
  .feature + .feature { border-left: 1px solid var(--line-soft) }
  .feature-icon { width: 48px; height: 48px; margin-bottom: 9px; font-size: 26px }
  .feature h2 { font-size: 11px; letter-spacing: .05em }
  .feature p { font-size: 11.5px; line-height: 1.45 }

  .compare-wrap {
    margin-top: 24px; padding: 14px 16px 16px;
    border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 20px;
    background: var(--panel-bg);
  }
  .compare { font-size: 12px }
  .compare thead th { font-size: 11px }
  .compare tbody th { width: 38%; white-space: normal }

  .footer { padding: 52px 24px 44px }
  .trust { gap: 34px }
  .trust-item span { font-size: 11px; letter-spacing: .13em }
}

@media (max-width: 620px) {
  .site-shell:before { opacity: .48 }
  .header { width: calc(100% - 32px); height: 70px }
  .brand img { height: 25px }
  .main { width: calc(100% - 28px) }

  .hero-art { width: min(300px, 74vw) }
  /* small-caps eyebrow + 66px headline is the mobile hero treatment */
  .eyebrow {
    font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--violet-soft);
  }
  .wordmark { font-size: clamp(46px, 15.4vw, 66px) }
  .ornament { width: 210px }
  .intro { max-width: 330px; margin-bottom: 20px; font-size: 14.5px }

  .build { gap: 13px; padding: 14px 15px }
  .build-icon { font-size: 30px }
  .build-name { font-size: 19px }
  .builds-note { font-size: 13px }
  .builds-note .icon { font-size: 17px }

  /* compact 3-up cards rather than a divided strip */
  .features { grid-template-columns: repeat(3, 1fr); gap: 10px }
  .feature {
    padding: 20px 8px; border: 1px solid #1e1735; border-radius: 14px; background: #0a0716;
  }
  .feature + .feature { border-left: 1px solid #1e1735 }
  .feature-icon { width: 46px; height: 46px; margin-bottom: 8px; font-size: 21px }
  .feature h2 { font-size: 10.5px; letter-spacing: .12em }
  .feature p { font-size: 11.5px; line-height: 1.5 }

  /* fixed narrow platform columns, label column takes the rest */
  .compare { table-layout: fixed }
  .compare thead th:not(.compare-rowhead) { width: 62px }
  .compare tbody th, .compare .compare-rowhead { width: auto }
  .compare tbody th { font-size: 12.5px }
  .compare thead th { font-size: 10px; letter-spacing: .06em }
  .compare thead th .dot { width: 6px; height: 6px; margin-right: 5px }
  .compare th, .compare td { padding: 8px 4px }
  .compare tbody td .icon { font-size: 16px }

  .footer { padding: 38px 20px 34px; gap: 22px }
  .footer-flourish { width: 200px }
  .footer-headline { font-size: 13px; letter-spacing: .12em }
  .footer-sub { font-size: 14px }

  /* trust row: 3-up grid, icon above label */
  .trust {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    margin: 0; padding-top: 18px;
  }
  .trust-item { flex-direction: column; gap: 8px; text-align: center }
  .trust-item svg { width: 18px; height: 18px }
  .trust-item span { font-size: 9.5px; letter-spacing: .14em }
  .trust-full { display: none }
  .trust-short { display: inline }

  .maker { margin-top: 6px; padding-top: 24px; gap: 11px }
  .maker-kicker { font-size: 9.5px; letter-spacing: .24em }
  .maker-link { gap: 14px }
  .maker-rule { width: 26px }
  .maker-name { font-size: 18px; letter-spacing: .28em; padding-left: .28em }
  .maker-url { font-size: 11px }

  .about { padding: 52px 20px 56px }
  .about-copy { gap: 22px }
  .about-title { font-size: 35px; line-height: 1.18 }
  .about-body p { font-size: 14.5px; line-height: 1.7 }
  .about-art { height: 300px }
  .about-art picture, .about-art img { border-radius: 16px }
  .about-fade { display: none }
  .about-spine { grid-template-columns: 1fr; gap: 18px }
  .about-spine li {
    display: grid; grid-template-columns: 34px 1fr; gap: 6px 14px; align-items: baseline;
  }
  .about-num { grid-row: 1 / span 2 }
  .about-step { font-size: 12px }
  .about-note { font-size: 13px }
  .about-closer { align-items: flex-start; font-size: 17.5px; line-height: 1.4 }
  .about-closer .icon { margin-top: 3px }
}

/* ==========================================================================
   Motion — the three hero layers share one 7s period so they stay in phase.
   Desktop only: below 920px the hero stacks and the medallion sits directly
   above the copy, where a floating headpiece just shoves the page around.
   The glow/cast transforms carry their centering translate so the layers
   stay put while they animate.
   ========================================================================== */

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) }
  50%      { transform: translate3d(0, -20px, 0) }
}
@keyframes glow {
  0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(1) }
  50%      { opacity: .9;  transform: translate(-50%, -50%) scale(1.07) }
}
@keyframes cast {
  0%, 100% { opacity: .62; transform: translateX(-50%) scaleX(1) }
  50%      { opacity: .38; transform: translateX(-50%) scaleX(.88) }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 921px) {
  /* will-change promotes each layer up front, so the compositor animates them
     without a main-thread repaint — no first-frame promotion hitch either */
  .hero-medallion { animation: float 7s ease-in-out infinite; will-change: transform }
  .hero-glow { animation: glow 7s ease-in-out infinite; will-change: transform, opacity }
  .hero-shadow { animation: cast 7s ease-in-out infinite; will-change: transform, opacity }
}

@media (prefers-reduced-motion: reduce) {
  .hero-medallion, .hero-glow, .hero-shadow { animation: none }
}
