/* Home page only (loaded after site.css). System fonts for body text, Space Grotesk (self-hosted, see _headers) for headings. No scripts. */
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/SpaceGrotesk.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
:root { --amber: #f2a93b; --shadow: 0 18px 50px rgba(20, 12, 70, .22), 0 0 90px -20px rgb(155 140 255 / .35); }
@media (prefers-color-scheme: dark) { :root { --shadow: 0 18px 50px rgba(0, 0, 0, .6), 0 0 110px -20px rgb(155 140 255 / .45); } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.wide { max-width: 70rem; margin: 0 auto; padding: 0 20px; }
body.home h1, body.home h2, body.home .brand { font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif; }
body.home header.site .wide { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; display: block; }
body.home main { padding: 0; }

/* Hero */
/* The website illustration fills the band; the left is calm and dark so the text reads on it. (Light mode keeps it too: it is the brand.) */
.hero-band { position: relative; padding: 56px 0 24px; overflow: hidden; background: #07061a url("/assets/img/hero-art.jpg") right center / cover no-repeat; color: #ece9ff; }
.hero-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #07061a 0, rgb(7 6 26 / .88) 38%, rgb(7 6 26 / .25) 70%, transparent), linear-gradient(180deg, transparent 80%, var(--bg)); }
.hero-band .hero-grid { position: relative; --ink: #ece9ff; --muted: #c0bce0; --accent: #9b8cff; --soft: rgb(155 140 255 / .14); --soft-ink: #cfc6ff; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: end; }
.eyebrow { font: 500 .74rem/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 14px; }
.wordmark { font-size: clamp(3.4rem, 10vw, 7rem); font-weight: 500; line-height: 1; letter-spacing: -.03em; margin: 0; padding-bottom: .06em; background: linear-gradient(100deg, #fff 30%, #9b8cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-grid h1 { font-size: clamp(1.5rem, 2.9vw, 2.2rem); line-height: 1.2; letter-spacing: -0.02em; margin: 20px 0 14px; color: var(--ink); }
.hero-grid h1 em { font-style: normal; background: linear-gradient(100deg, #fff 20%, #9b8cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 34rem; margin: 0 0 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.pills li { margin: 0; background: var(--soft); color: var(--soft-ink); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .95rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.soon { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #07061a; border-radius: 14px; padding: 12px 20px; font-weight: 600; }
.soon small { display: block; font-weight: 500; opacity: .75; font-size: .8rem; line-height: 1.2; }
.cta a.notify { font-weight: 600; }
.phones { position: relative; display: flex; justify-content: flex-end; gap: 0; min-height: 0; margin-bottom: -105px; right: 275px; }
.phones .phone { width: min(45%, 155px); }
.phones .phone:nth-child(1) { transform: translate(2%, 40px) rotate(-3deg); z-index: 1; }
.phones .phone:nth-child(2) { transform: translate(-2%, 0) rotate(3deg); }

.phone { margin: 0; border-radius: 12% / 5.5%; background: #030606; padding: 2.6%; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .2), var(--shadow); }
.phone img { display: block; width: 100%; height: auto; border-radius: 10% / 4.6%; }

/* Features */
.section { padding: 64px 0 8px; }
.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 10px; }
.section > .wide > .intro { color: var(--muted); font-size: 1.1rem; max-width: 40rem; margin: 0 0 8px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature.flip .copy { order: 2; }
.feature .phone { width: min(100%, 290px); margin: 0 auto; }
.feature h3 { font-family: "Space Grotesk", -apple-system, sans-serif; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 10px; }
.tag { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.feature p { color: var(--muted); font-size: 1.08rem; margin: .5rem 0; }
.feature ul { margin: .8rem 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 28px; margin: .55rem 0; }
.feature li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: var(--soft); box-shadow: inset 0 0 0 4px var(--accent); }

/* Bands */
.band { background: var(--soft); color: var(--soft-ink); border: 1px solid var(--line); border-radius: 28px; padding: 40px 32px; margin: 40px 0; }
.band h2 { margin-top: 0; }
.band p, .band li { font-size: 1.08rem; }
.band .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.band .col { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.band .col h3 { margin: 0 0 4px; font-size: 1.05rem; }
.band .col p { margin: 0; color: var(--muted); font-size: 1rem; }
.band a { color: inherit; font-weight: 600; }
.sources { color: var(--muted); font-size: .98rem; }
.sources strong { color: var(--ink); }
.closing { text-align: center; padding: 48px 20px 64px; }
.closing h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 10px; }
.closing p { color: var(--muted); }
.closing .cta { justify-content: center; margin-top: 18px; }

@media (max-width: 860px) {
  .hero-grid, .feature { grid-template-columns: 1fr; gap: 28px; }
  .hero-band { padding-top: calc(50vw + 12px); background-size: 100% auto; background-position: center top; }
  .hero-band::before { background: linear-gradient(180deg, transparent 0, transparent 26vw, rgb(7 6 26 / .85) 46vw, #07061a 54vw), linear-gradient(180deg, transparent 80%, var(--bg)); }
  .phones { min-height: 0; right: 0; margin-bottom: -60px; justify-content: center; }
  .phones .phone { width: min(44%, 220px); }
  .phones .phone:nth-child(1) { transform: translate(8%, 0) rotate(-3deg); }
  .phones .phone:nth-child(2) { transform: translate(-4%, 22px) rotate(3deg); }
  .feature.flip .copy { order: 0; }
  .feature { padding: 32px 0; }
  .band { padding: 28px 20px; border-radius: 22px; }
  .band .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { .phone { transition: transform .3s ease; } }

/* Vault feature: the unlocked screen in front, the locked one peeking out from behind it. */
.pair { position: relative; width: min(100%, 400px); margin: 0 auto; }
.pair .phone { width: 62%; margin: 0; }
.pair .front { position: relative; z-index: 1; margin-left: auto; }
.pair .back { position: absolute; top: 5%; left: 0; transform: rotate(-5deg); transform-origin: 50% 100%; filter: brightness(.8); }
@media (max-width: 860px) { .pair { width: min(100%, 340px); } }
