/* Signs & Skies, the app · the landing page of the web app. Tokens from the brand kit
   (signs-and-skies-brand/src/templates/brand.css) in their night setting:
   deep ink sky, cream type, gold accents, the almanac double rule,
   Instrument Serif with one italic accent, Satoshi labels. */

@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/InstrumentSerif-Regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/InstrumentSerif-Italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/Satoshi-Variable.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --night: #161A26; --night-2: #1F2536; --night-3: #252C40;
  --cream: #F3EBDC; --cream-soft: rgba(243, 235, 220, .74); --cream-faint: rgba(243, 235, 220, .6);
  --gold: #D9A441; --gold-deep: #C8952E;
  --rule: rgba(243, 235, 220, .62); --line: rgba(243, 235, 220, .2); --card: rgba(22, 26, 38, .62);
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1120px; --gut: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--cream); font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background:
    radial-gradient(120% 70% at 50% -10%, #232B45 0%, rgba(35, 43, 69, 0) 60%),
    radial-gradient(90% 50% at 50% 115%, rgba(217, 164, 65, .10) 0%, rgba(217, 164, 65, 0) 60%),
    var(--night);
  background-attachment: fixed;
}
.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
body > :not(.sky) { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--cream); color: var(--night); padding: 10px 14px; }

.label { font: 700 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.acc { font-style: italic; color: var(--gold); }

/* The almanac double rule: 2px, a gap, 1px. */
.rule2 { height: 6px; border-top: 2px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dr {
  border: 2px solid var(--rule);
  box-shadow: inset 0 0 0 5px var(--night), inset 0 0 0 6px var(--rule);
}

/* Header */
.top { padding: 14px 0 12px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.brand img { height: 30px; width: auto; }
.top-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; text-decoration: none; color: var(--cream-soft); }
.top-link:hover { color: var(--gold); }

/* Account links in the header */
.top-nav { display: flex; align-items: center; gap: 6px; }
.top-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--gold); border-radius: 999px; text-decoration: none; color: var(--gold); }
.top-cta:hover { background: rgba(217, 164, 65, .12); }
@media (max-width: 400px) { .top-nav .top-link { display: none; } }

/* Buttons */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s ease, background-color .2s ease; }
.btn.gold { background: var(--gold); color: var(--night); }
.btn.gold:hover { background: #E4B55A; color: var(--night); }
.btn.ghost { border: 1px solid rgba(243, 235, 220, .45); color: var(--cream); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn:active { transform: translateY(1px); }
@media (max-width: 420px) { .cta .btn { flex: 1 1 100%; } }

/* Hero */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(24px, 4vw, 48px); display: grid; gap: 40px; align-items: center; }
.soon {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 9px 16px 9px 14px;
  border: 1px solid rgba(217, 164, 65, .55); border-radius: 999px; color: var(--gold); background: rgba(217, 164, 65, .08);
}
.soon .dot { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 {
  margin: 24px 0 0; font: 400 clamp(2.9rem, 10.5vw, 6.4rem)/.95 var(--serif); letter-spacing: -.02em;
  text-wrap: balance;
}
.hero h1 .nw, .hero h1 .acc { white-space: nowrap; }
.hero .lede { margin: 26px 0 0; max-width: 34rem; font-size: clamp(1.1rem, 2.3vw, 1.32rem); line-height: 1.55; color: var(--cream-soft); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--cream-soft); }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts li::before { content: ''; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }
.note { margin: 30px 0 0; padding-top: 18px; max-width: 34rem; border-top: 1px solid var(--line); color: var(--cream-faint); font-size: .98rem; }
.note b { color: var(--cream); font-weight: 600; }
.note a { color: var(--cream); font-weight: 600; }

/* The roundel with a slow orbit, wide screens only. */
.orbit { display: none; position: relative; width: clamp(260px, 28vw, 340px); aspect-ratio: 1; }
.orbit img { position: absolute; inset: 9%; width: 82%; height: 82%; }
.orbit .ring { position: absolute; inset: 0; border: 1px solid rgba(217, 164, 65, .35); border-radius: 50%; animation: spin 60s linear infinite; }
.orbit .moon { position: absolute; top: -6px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 14px 3px rgba(243, 235, 220, .45); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr auto; } .orbit { display: block; } }

/* Sections */
section { padding: clamp(48px, 8vw, 88px) 0 0; }
.sec-head { display: grid; gap: 10px; margin-bottom: 28px; }
.sec-head .label { color: var(--gold); }
.sec-head h2 { margin: 0; font: 400 clamp(2.2rem, 6vw, 3.6rem)/1 var(--serif); letter-spacing: -.015em; }
.sec-head p { margin: 4px 0 0; max-width: 38rem; color: var(--cream-soft); }

/* The three sites */
.sites { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 820px) { .sites { grid-template-columns: repeat(3, 1fr); } }
.site {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 24px; background: var(--card);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  transition: transform .2s ease, border-color .2s ease;
}
.site:hover { transform: translateY(-3px); }
.site:focus-within { border-color: var(--gold); }
.site .num { font: italic 400 1.15rem/1 var(--serif); color: var(--gold); }
.site .label { color: var(--cream-soft); }
.site h3 { margin: 0; font: 400 2.25rem/1 var(--serif); letter-spacing: -.01em; }
.site h3 a { text-decoration: none; }
.site h3 a:focus-visible { outline: none; }
.site h3 a::after { content: ''; position: absolute; inset: 0; }
.site p { margin: 0; color: var(--cream-soft); flex: 1; }
.site .go { display: flex; align-items: center; gap: 8px; min-height: 44px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.site .go svg { width: 16px; height: 16px; transition: transform .2s ease; }
.site:hover .go { color: var(--gold); }
.site:hover .go svg { transform: translateX(4px); }

/* Follow panel */
.panel { padding: clamp(28px, 5vw, 52px); background: rgba(31, 37, 54, .72); box-shadow: inset 0 0 0 6px rgba(31, 37, 54, 1), inset 0 0 0 7px var(--rule); }
.panel .inner { display: grid; gap: 26px; }
@media (min-width: 820px) { .panel .inner { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; } }
.panel .glyph { width: 46px; height: 46px; margin-bottom: 14px; }
.panel .label { color: var(--gold); }
.panel h2 { margin: 10px 0 0; font: 400 clamp(2.2rem, 6vw, 3.4rem)/1 var(--serif); }
.panel p { margin: 14px 0 0; color: var(--cream-soft); max-width: 30rem; }
.socials { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.socials a {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 12px 20px; text-decoration: none; color: var(--cream);
  border: 1px solid rgba(243, 235, 220, .28); border-radius: 999px; transition: background-color .2s ease, border-color .2s ease;
}
.socials a:hover { background: rgba(243, 235, 220, .07); border-color: var(--gold); color: var(--cream); }
.socials svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.socials .name { font-weight: 700; }
.socials .handle { margin-left: auto; color: var(--cream-soft); font-size: .92rem; overflow-wrap: anywhere; text-align: right; }

/* Inside the app: three real screens */
.shots { display: grid; gap: 28px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .shots { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.shots figure { margin: 0; display: grid; gap: 16px; justify-items: center; }
.phone { width: min(100%, 300px); aspect-ratio: 390 / 844; border-radius: 34px; padding: 8px; background: #0B0D14; box-shadow: 0 0 0 1px rgba(243, 235, 220, .22), 0 24px 60px rgba(0, 0, 0, .45); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }
.shots figcaption { max-width: 300px; color: var(--cream-soft); text-align: center; }
.shots figcaption .label { display: block; margin-bottom: 6px; color: var(--gold); }

/* Plus */
.plus .perks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.plus .perks li { display: flex; gap: 12px; align-items: baseline; color: var(--cream); }
.plus .perks li::before { content: ''; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg) translateY(-2px); flex: none; }
.plus .plans { margin: 20px 0 18px; color: var(--cream-soft); }
.plus .plans b { color: var(--cream); }

/* Footer */
.foot { margin-top: clamp(56px, 9vw, 104px); padding-bottom: 40px; }
.foot .row { display: flex; align-items: center; gap: 14px; padding-top: 22px; }
.foot .mark { width: 42px; height: 42px; }
.foot small { color: var(--cream-faint); font-size: .88rem; }

/* 404 */
.lost { padding: clamp(56px, 12vw, 140px) 0 0; }
.lost h1 { margin: 18px 0 0; font: 400 clamp(2.8rem, 9vw, 5.6rem)/1 var(--serif); letter-spacing: -.02em; }
.lost p { margin: 18px 0 0; color: var(--cream-soft); max-width: 32rem; }
.lost .label { color: var(--gold); }
.lost a.home { display: inline-flex; align-items: center; min-height: 48px; margin-top: 26px; padding: 0 22px; border: 1px solid var(--gold); border-radius: 999px; text-decoration: none; font-weight: 700; }

/* Privacy and other text pages */
.foot .links { margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; }
.foot .links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream-faint); font-size: .88rem; }
.foot .links a:hover { color: var(--gold); }
.doc { padding: clamp(48px, 9vw, 104px) 0 0; max-width: 46rem; }
.doc > .label { color: var(--gold); }
.doc h1 { margin: 18px 0 0; font: 400 clamp(2.6rem, 8vw, 4.8rem)/1 var(--serif); letter-spacing: -.02em; }
.doc .lede { margin: 22px 0 0; font-size: clamp(1.08rem, 2.2vw, 1.25rem); line-height: 1.55; color: var(--cream-soft); }
.doc .updated { margin: 18px 0 0; color: var(--cream-faint); font-size: .92rem; }
.doc h2 { margin: 48px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font: 400 clamp(1.7rem, 4.4vw, 2.3rem)/1.1 var(--serif); }
.doc h3 { margin: 26px 0 0; font: 700 1.02rem/1.4 var(--sans); color: var(--cream); }
.doc p, .doc li { color: var(--cream-soft); }
.doc p { margin: 12px 0 0; }
.doc ul { margin: 12px 0 0; padding-left: 1.2em; }
.doc li { margin: 8px 0 0; }
.doc li::marker { color: var(--gold); }
.doc b { color: var(--cream); font-weight: 600; }
.doc a { overflow-wrap: anywhere; }
.doc .summary { margin: 30px 0 0; padding: clamp(20px, 4vw, 30px); background: rgba(31, 37, 54, .72); box-shadow: inset 0 0 0 6px rgba(31, 37, 54, 1), inset 0 0 0 7px var(--rule); }
.doc .summary ul { margin: 0; }

@media (max-width: 520px) {
  .brand img { height: 26px; }
  .socials .handle { font-size: .86rem; }
}
@media (max-width: 380px) {
  .socials .handle { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Questions on /the-app (14 Nov 2026) */
.faq { display: grid; gap: 10px; max-width: 46rem; }
.faq details { border: 1px solid var(--line); border-radius: 6px; background: rgba(22, 26, 38, .62); }
/* The browser's own marker sat outside the card (list-style-position: outside) and was cut off at the
   screen edge on phones (Dylan, 14 Nov 2026). Our own triangle sits in a first column inside the card,
   and the question and its answer hang from one indent beside it. */
.faq { --faq-pad: 20px; --faq-mark: .55em; --faq-gap: 12px; }
.faq summary { cursor: pointer; display: grid; grid-template-columns: var(--faq-mark) minmax(0, 1fr); column-gap: var(--faq-gap); padding: 16px var(--faq-pad); min-height: 44px; font: 700 1.02rem/1.4 var(--sans); color: var(--cream); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ''; }
.faq summary::before { content: ''; align-self: start; justify-self: center; margin-top: .38em; width: 0; height: 0; border-style: solid; border-width: .32em 0 .32em .5em; border-color: transparent transparent transparent var(--gold); transition: transform .2s ease; }
.faq details[open] > summary::before { transform: rotate(90deg); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.faq details p { margin: 0; padding: 0 var(--faq-pad) 18px calc(var(--faq-pad) + var(--faq-mark) + var(--faq-gap)); color: var(--cream-soft); overflow-wrap: anywhere; }
@media (max-width: 380px) { .faq { --faq-pad: 16px; --faq-gap: 10px; } }
.plans a { color: var(--gold); }
