/* The public site: the home page (/, /en/, /ar/) and the public profile and
   post pages the linkPreview function draws (/u/<handle>, /p/<id>).
   The app's own colours, light only. Every face is served from this origin
   (tools/website/build_fonts.py); the CSP allows nothing else. */

/* The wordmark only — the app's splash face (lib/splash/udress_splash.dart):
   Oswald, its variable wght pinned to 600, subset to capitals. */
@font-face {
  font-family: "Oswald";
  src: url("/assets/fonts/oswald-wordmark.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Cairo";
  src: url("/assets/fonts/cairo.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #FAF7F4;
  --linen: #E9E1D3;
  --paper: #F1EAE0;
  --leather: #7A4A2B;
  --ink: #33241A;
  --ink-soft: #6E5945;
  --gold: #C9A24B;
  --night: #2A1D15;
  --night-soft: #B9A893;
  --sans: "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
  --measure: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1rem/1.7 var(--sans);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--leather); outline-offset: 3px; border-radius: 4px; }
.night :focus-visible { outline-color: var(--gold); }
.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── The bar: the masthead is small, the picture is the subject ─────── */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px var(--gutter); min-height: 60px;
  background: rgba(250, 247, 244, .96); border-bottom: 1px solid var(--linen);
}
/* The wordmark never shrinks; the end group gives way first (short labels). */
.lockup { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; text-decoration: none; color: var(--ink); }
.lockup img { width: 30px; height: auto; }
/* The app's home top bar wordmark (lib/screens/home_feed/home_feed_screen.dart):
   Oswald wght 600, fontSize 24, letterSpacing 2 (2/24 = 0.0833em), StudioTokens.primary. */
.lockup span {
  font-family: "Oswald", var(--sans); font-weight: 600; font-variation-settings: "wght" 600;
  font-size: 1.5rem; line-height: 1; letter-spacing: .0833em; color: var(--leather); direction: ltr;
}
.bar nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.bar nav a {
  min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px; white-space: nowrap; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem;
}
.lang { color: var(--leather); }
.get { background: var(--leather); color: var(--ground); }
.bar .short { display: none; }
@media (max-width: 419px) {
  .bar { gap: 10px; }
  .bar nav a { padding: 0 12px; font-size: .9rem; }
  .lang .long { display: none; }
  .lang .short { display: inline; }
}
@media (max-width: 339px) {
  .get .long { display: none; }
  .get .short { display: inline; }
}
.sections { display: none; }

/* ── The opening: the figure in its own frame, the words in clear space ── */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-media {
  position: relative; overflow: hidden; background: var(--linen);
  height: 58svh; min-height: 400px; max-height: 620px;
}
.hero-media img, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
}
.hero-media video { opacity: 0; transition: opacity .8s ease; }
.hero-media video.on { opacity: 1; }
.hero-copy { padding: 26px var(--gutter) 40px; }
.hero h1 {
  margin: 0 0 10px; font: 800 2.15rem/1.15 var(--sans); letter-spacing: -.03em; max-width: 15ch; text-wrap: balance;
}
[lang="ar"] .hero h1 { line-height: 1.4; letter-spacing: 0; max-width: 18ch; }
.hero .lede { margin: 0 0 22px; max-width: 30rem; text-wrap: pretty; font-size: 1.05rem; color: var(--ink-soft); }
.cover-lines { display: none; }
.pause {
  position: absolute; z-index: 3; inset-inline-end: 12px; bottom: 12px;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(250, 247, 244, .9); color: var(--ink); cursor: pointer; display: none;
  align-items: center; justify-content: center;
}
.pause.ready { display: inline-flex; }
.pause svg { width: 18px; height: 18px; }
.pause .play-icon { display: none; }
.pause[aria-pressed="true"] .play-icon { display: block; }
.pause[aria-pressed="true"] .pause-icon { display: none; }

/* ── The way in: the beta, then the stores' own badges ──────────────── */
.stores { display: grid; gap: 14px; justify-items: start; }
.beta-btn {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 28px;
  border: 0; border-radius: 999px; background: var(--leather); color: var(--ground); text-decoration: none;
  font: 800 1.05rem/1 var(--sans); cursor: pointer;
}
.beta-btn:hover { background: #6A3F24; }
.beta-btn[disabled] { opacity: .7; cursor: default; }
.beta-note { margin: 0; max-width: 30rem; color: var(--ink-soft); font-size: .95rem; }
/* The badges are the stores' artwork, unmodified (Google's and Apple's
   guidelines): same visible height (40 px, Apple's on-screen minimum), a
   quarter of that as clear space, never links while neither listing is public. */
.badges { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 4px 0 0; padding: 0; list-style: none; }
.badges li { display: grid; justify-items: center; gap: 6px; padding: 10px; }
.badges img { height: 40px; width: auto; }
.badges span { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.closing .stores { justify-items: center; }
.closing .beta-note { margin: 0 auto; }

/* ── Spreads ─────────────────────────────────────────────────────────── */
main section { padding: 72px var(--gutter); }
.intro { padding-block: 64px 48px; }
.intro p {
  margin: 0 auto; max-width: 22ch; font: 300 1.9rem/1.3 var(--sans); text-align: center; letter-spacing: -.02em;
}
[lang="ar"] .intro p { font-weight: 600; line-height: 1.6; max-width: 24ch; }
.stitch {
  display: block; width: 120px; height: 2px; margin: 28px auto 0; border: 0;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
}
.spread { display: grid; gap: 28px; max-width: 1180px; margin: 0 auto; align-items: center; grid-template-columns: minmax(0, 1fr); }
.spread > * { min-width: 0; }
.spread h2 {
  margin: 0 0 14px; font: 800 2.2rem/1.12 var(--sans); letter-spacing: -.025em; text-wrap: balance;
}
[lang="ar"] h2 { line-height: 1.4 !important; letter-spacing: 0 !important; }
.spread p { margin: 0 0 14px; max-width: var(--measure); color: var(--ink); }
.spread .note { color: var(--ink-soft); font-size: .92rem; }
.kicker { display: block; margin-bottom: 8px; font-weight: 700; color: var(--leather); font-size: .95rem; }
.night .kicker { color: var(--gold); }
figure { margin: 0; }
.frame { position: relative; overflow: hidden; border-radius: 6px; background: var(--linen); }
.frame img { width: 100%; height: auto; }

/* Posts: the grid, Instagram's own width on a desktop */
.feed-head { max-width: 935px; margin: 0 auto 26px; }
.feed-head h2 { margin: 0 0 12px; font: 800 2.2rem/1.12 var(--sans); letter-spacing: -.025em; }
.feed-head p { margin: 0; max-width: var(--measure); }
.feed-foot { margin: 18px auto 0; }
.feed-foot .note { color: var(--ink-soft); font-size: .92rem; }
.grid {
  max-width: 935px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px;
  list-style: none; padding: 0;
}
.grid li { aspect-ratio: 3 / 4; overflow: hidden; background: var(--linen); }
.grid img { width: 100%; height: 100%; object-fit: cover; }
.feed section { padding: 0; }

/* Clips: the phone */
.phone {
  position: relative; width: min(290px, 74vw); margin: 0 auto;
  border-radius: 34px; padding: 9px; background: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(51, 36, 26, .55);
}
.phone > .screen { position: relative; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: var(--night); }
.phone .screen img, .phone .screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone .screen video { opacity: 0; transition: opacity .6s ease; }
.phone .screen video.on { opacity: 1; }
/* The photograph and the app's own screen side by side: the phone never
   covers the person in the picture. */
/* The try-on: the photo, the pieces, the real result — a sequence. */
.tryon-steps { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.tryon-steps > li { counter-increment: step; }
.tryon-steps figure { margin: 0; }
.tryon-steps img { width: 100%; height: auto; border-radius: 6px; background: var(--linen); }
.tryon-steps figcaption { margin-top: 8px; font-weight: 800; font-size: .95rem; }
.tryon-steps figcaption::before { content: counter(step) "  "; color: var(--leather); }
.step-result { grid-column: 1 / -1; }
.pieces { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pieces li { background: #fff; border-radius: 6px; padding: 6px; }
.pieces img { aspect-ratio: 5 / 4; object-fit: contain; border-radius: 4px; background: #fff; }

/* A real cover, made by the app's own renderer. */
.cover-real { max-width: 380px; margin: 0 auto; }
.cover-real img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 24px 50px -28px rgba(51, 36, 26, .55); }

/* Chat and games: the one night spread */
.night { background: var(--night); color: var(--ground); }
.night p { color: rgba(250, 247, 244, .92); }
.night .note { color: var(--night-soft); }
.games {
  grid-column: 1 / -1; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none;
  margin: 12px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 12px;
  scrollbar-width: thin; scrollbar-color: var(--night-soft) transparent;
}
.games li { flex: 0 0 132px; scroll-snap-align: start; }
.games img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; object-fit: cover; }
.games span { display: block; margin-top: 8px; font-weight: 700; font-size: .92rem; line-height: 1.3; }

/* Daily */
.dailies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 640px; margin: 0 auto; list-style: none; padding: 0; }
.dailies li { position: relative; aspect-ratio: 9 / 14; overflow: hidden; border-radius: 10px; background: var(--linen); }
.dailies img { width: 100%; height: 100%; object-fit: cover; }
.dailies li::before {
  content: ""; position: absolute; z-index: 1; inset: 8px 8px auto 8px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(250, 247, 244, .95) var(--seen, 100%), rgba(250, 247, 244, .45) 0);
}
[dir="rtl"] .dailies li::before { background: linear-gradient(270deg, rgba(250, 247, 244, .95) var(--seen, 100%), rgba(250, 247, 244, .45) 0); }
.dailies li:nth-child(2) { --seen: 62%; }
.dailies li:nth-child(3) { --seen: 0%; }

/* Privacy */
.controls { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 0; max-width: var(--measure); }
.controls li { padding: 14px 0; border-top: 1px solid var(--linen); }
.controls li:last-child { border-bottom: 1px solid var(--linen); }
.controls b { display: block; font-weight: 800; }

/* The end */
.closing { text-align: center; background: var(--paper); }
.closing h2 { margin: 0 0 10px; font: 900 2.6rem/1.1 var(--sans); letter-spacing: -.03em; }
.closing p { margin: 0 auto 22px; max-width: var(--measure); }
.closing .stores { justify-content: center; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.foot { padding: 40px var(--gutter) 48px; color: var(--ink-soft); font-size: .92rem; border-top: 1px solid var(--linen); }
.foot-in { max-width: 1180px; margin: 0 auto; display: grid; gap: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot nav a { color: var(--ink); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.foot nav a:hover, .foot nav a:focus-visible { text-decoration: underline; }
.foot p { margin: 0; }
.foot a.mail { color: var(--leather); }

/* ── Wider screens ───────────────────────────────────────────────────── */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .hero h1 { font-size: 3.2rem; }
  [lang="ar"] .hero h1 { font-size: 2.7rem; }
  .hero-media { height: 64svh; max-height: 760px; }
  .intro p { font-size: 2.9rem; }
  [lang="ar"] .intro p { font-size: 2.3rem; }
  .spread { grid-template-columns: repeat(12, 1fr); gap: 32px; }
  .spread > .media { grid-column: 1 / span 7; }
  .spread > .words { grid-column: 9 / span 4; }
  .spread.flip > .media { grid-column: 6 / span 7; grid-row: 1; }
  .spread.flip > .words { grid-column: 1 / span 4; grid-row: 1; }
  .spread h2, .feed-head h2 { font-size: 3.2rem; }
  .games li { flex-basis: 150px; }
  .tryon-steps { grid-template-columns: minmax(0, 1fr) minmax(0, .55fr) minmax(0, 1fr); align-items: start; }
  .step-result { grid-column: auto; }
  main section { padding-block: 104px; }
  .foot-in { grid-template-columns: 1fr auto; align-items: start; }
}
@media (min-width: 1040px) {
  .sections { display: flex; gap: 0; }
  .sections a { font-weight: 600 !important; color: var(--ink); padding: 0 10px !important; }
  /* The opening becomes a spread: the words on the start side, the figure
     filling the end side, edge to edge. */
  .hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); min-height: calc(100svh - 60px); max-height: 960px; }
  .hero-media { order: 2; height: auto; min-height: 640px; max-height: none; }
  .hero-copy {
    order: 1; align-self: center; padding: 64px 56px 64px max(32px, calc((100vw - 1180px) / 2 + 32px));
    padding-inline-start: max(32px, calc((100vw - 1180px) / 2 + 32px)); padding-inline-end: 56px;
  }
  .hero h1 { font-size: clamp(3.4rem, 5vw, 4.6rem); }
  [lang="ar"] .hero h1 { font-size: clamp(2.8rem, 4.2vw, 3.8rem); }
  .cover-lines {
    display: grid; grid-template-columns: repeat(2, minmax(0, 15rem)); gap: 18px 28px;
    margin: 44px 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--linen);
  }
  .cover-lines a { text-decoration: none; display: block; }
  .cover-lines b { display: block; font: 800 1.05rem/1.35 var(--sans); }
  .cover-lines span { display: block; font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
  .cover-lines a:hover b, .cover-lines a:focus-visible b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  .pause { inset-inline-end: 20px; bottom: 20px; }
  .games { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; overflow: visible; margin: 28px 0 0; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero video, .phone .screen video { display: none !important; }
  .pause { display: none !important; }
}

/* ════════════════════════════════════════════════════════════════════════
   The public profile and post pages (functions/src/link_preview.ts)
   ════════════════════════════════════════════════════════════════════════ */
.pub { max-width: 935px; margin: 0 auto; padding: 28px var(--gutter) 40px; }
.pub-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center; margin-bottom: 26px; }
.pub-head .avatar {
  width: 86px; height: 86px; border-radius: 50%; object-fit: cover; background: var(--linen);
  grid-row: span 2;
}
.pub-head .avatar.none { display: grid; place-items: center; font: 800 2.2rem/1 var(--sans); color: var(--leather); }
.who { min-width: 0; }
.who h1 { margin: 0; font: 800 1.35rem/1.3 var(--sans); overflow-wrap: anywhere; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.who .handle { margin: 0; color: var(--ink-soft); direction: ltr; unicode-bidi: isolate; display: inline-block; }
.shield { display: inline-flex; align-items: center; gap: 4px; font: 700 .75rem/1 var(--sans); color: var(--leather); background: var(--paper); padding: 4px 8px 4px 6px; border-radius: 999px; }
.shield svg { width: 14px; height: 14px; }
.counts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 4px 0 0; padding: 0; list-style: none; }
.counts li { white-space: nowrap; }
.counts b { font-weight: 800; }
.bio { grid-column: 1 / -1; margin: 6px 0 0; white-space: pre-line; overflow-wrap: anywhere; max-width: 36rem; }
.pub-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; font-size: .95rem;
  border-radius: 999px; text-decoration: none; font-weight: 800; background: var(--leather); color: var(--ground);
}
.btn.ghost { background: transparent; color: var(--leather); border: 1px solid var(--leather); }
.btn.soon { background: transparent; color: var(--ink-soft); border: 1px dashed var(--ink-soft); font-weight: 700; }
.pub .grid { margin-top: 0; }
.pub .grid li { position: relative; }
.pub .grid a { display: block; width: 100%; height: 100%; }
.tile-video { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.pub-empty { text-align: center; color: var(--ink-soft); padding: 40px 0; border-top: 1px solid var(--linen); }

.post { display: grid; gap: 18px; }
.post .shot { border-radius: 6px; overflow: hidden; background: var(--linen); }
.post .shot img, .post .shot video { width: 100%; height: auto; max-height: 80vh; object-fit: contain; background: var(--night); }
.byline { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.byline img, .byline .avatar.none { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--linen); }
.byline .avatar.none { display: grid; place-items: center; font: 800 1.1rem/1 var(--sans); color: var(--leather); }
.byline b { font-weight: 800; }
.post h1 { margin: 0; font: 800 1.7rem/1.3 var(--sans); letter-spacing: -.015em; overflow-wrap: anywhere; }
.post h1:lang(ar), .post h1[dir="rtl"] { font: 800 1.6rem/1.45 var(--sans); }
.post .story { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.neutral { text-align: center; padding: 64px 0 24px; }
.neutral img { width: 64px; height: auto; margin: 0 auto 18px; }
.neutral h1 { margin: 0 0 8px; font: 800 1.9rem/1.3 var(--sans); }
[lang="ar"] .neutral h1 { font: 800 1.7rem/1.4 var(--sans); }
.neutral p { margin: 0 auto 22px; color: var(--ink-soft); max-width: 26rem; }
.neutral .pub-actions { justify-content: center; }
@media (min-width: 720px) {
  .pub { padding-top: 44px; }
  .pub-head { grid-template-columns: 150px 1fr; column-gap: 56px; }
  .pub-head .avatar { width: 150px; height: 150px; }
  .pub-head .avatar.none { font-size: 3.4rem; }
  .bio, .pub-actions { grid-column: 2; }
  .post { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
}

/* The Runway: the walk on the app's own stage */
.stage { background: var(--paper); }
.walk { position: relative; max-width: 380px; margin: 0 auto; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 6px; background: var(--linen); }
.walk img, .walk video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.walk video { opacity: 0; transition: opacity .6s ease; }
.walk video.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .walk video { display: none !important; } }
section[id] { scroll-margin-top: 72px; }

/* The beta sign-up page */
main.beta { max-width: 34rem; margin: 0 auto; padding: 40px var(--gutter) 64px; }
main.beta h1 { margin: 0 0 10px; font: 800 2.2rem/1.15 var(--sans); letter-spacing: -.025em; }
main.beta .lede { margin: 0 0 22px; color: var(--ink-soft); }
/* One column that never grows past the gutters: a fieldset's default
   min-width (min-content) and a grid track sized by its widest content both
   pushed the fields past the 16 px edge at 360. */
.beta-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.beta-form > * { min-width: 0; max-width: 100%; }
.beta-form fieldset { min-width: 0; }
.beta-form > label { margin-top: 10px; font-weight: 700; }
.beta-form input[type=text], .beta-form input[type=email] {
  box-sizing: border-box; display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #B9A893; border-radius: 12px; padding: 10px 14px;
}
.beta-form input[aria-invalid=true] { border-color: #A1311F; box-shadow: 0 0 0 2px rgba(161, 49, 31, .18); }
.beta-form fieldset { border: 0; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.beta-form legend { font-weight: 700; padding: 0; margin-bottom: 6px; width: 100%; }
.beta-form .choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 400; }
.beta-form .choice input { width: 20px; height: 20px; accent-color: var(--leather); }
.beta-form .consent { align-items: flex-start; margin-top: 12px; }
.beta-form .consent input { margin-top: 4px; flex: 0 0 auto; }
.beta-form .hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* never left: -10000px — in Arabic that widens the page */
.beta-form .beta-btn { margin-top: 18px; justify-self: start; }
.beta-form .status { min-height: 1.6em; margin: 6px 0 0; font-weight: 700; color: #A1311F; }
.beta-done { text-align: center; padding: 40px 0; }
.beta-done p { color: var(--ink-soft); margin: 0 0 24px; }
/* The quieter second way in (the beta, under "Apply to be a founding creator"). */
.beta-alt { margin: 0; font-weight: 700; }
.beta-alt a { color: var(--leather); text-underline-offset: 3px; }
main.beta .beta-alt { margin: 0 0 22px; }

/* The founding creators' application (/founders/, 2026-10-27) */
main.founders { max-width: 38rem; }
main.founders section { padding: 0; margin: 30px 0 0; }
main.founders h2 { margin: 0 0 10px; font: 800 1.3rem/1.25 var(--sans); }
.founders-list { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 6px; }
.founders-list li::marker { color: var(--leather); }
.founders-filtered { background: var(--paper); border: 1px solid var(--linen); border-radius: 16px; padding: 18px 20px !important; }
.founders-filtered p { margin: 0; color: var(--ink); }
.founders-closed { margin: 0; padding: 16px 20px; background: var(--paper); border-radius: 16px; font-weight: 700; }
.beta-form input[type=date], .beta-form input[type=url], .beta-form select {
  box-sizing: border-box; display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #B9A893; border-radius: 12px; padding: 10px 14px;
}
.beta-form select[aria-invalid=true] { border-color: #A1311F; box-shadow: 0 0 0 2px rgba(161, 49, 31, .18); }
.beta-form .field-note { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.beta-form .field-note[data-state="free"] { color: #2F6B3A; font-weight: 700; }
.beta-form .field-note[data-state="taken"], .beta-form .field-note[data-state="held"],
.beta-form .field-note[data-state="reserved"], .beta-form .field-note[data-state="words"],
.beta-form .field-note[data-state="shape"] { color: #A1311F; font-weight: 700; }
.beta-form .field-note a { color: var(--leather); }
.beta-form .founders-socials { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.beta-form .founders-socials label { margin-top: 6px; font-weight: 700; }
.beta-form .optional { font-style: normal; font-size: .85rem; font-weight: 700; color: var(--ink-soft); margin-inline-start: 4px; }
.beta-form .status.ok { color: #2F6B3A; }
.founders-brands { margin-top: 40px; border-top: 1px solid var(--linen); padding-top: 18px; }
.founders-brands summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 800; color: var(--leather); }
.founders-brands > p { color: var(--ink-soft); margin: 6px 0 4px; }

/* ── 2026-10-31 (the owner): the wordmark sits in the MIDDLE of the bar; the
   mark stays at the start. Wide screens: the true middle. Narrow screens: the
   middle of the room between the mark and the end group, so it never runs into
   the buttons. The section links wait for a screen wide enough to keep clear of it. */
.lockup { flex: 1 1 auto; min-width: 0; }
.lockup span { margin-inline: auto; }
@media (min-width: 720px) {
  .pbar-in { position: relative; }
  .lockup { flex: 0 0 auto; }
  .lockup span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }
}
@media (min-width: 1040px) and (max-width: 1439px) { .sections { display: none !important; } }
