/* ============================================================
   THE CREATOR VOCABULARY — landing page (v2, October 2026)
   Loaded after styles.css on index.html only. Mirrors the app's
   current language: light over lines, luminance cards, one glow.
   ============================================================ */
body.home { font-size: 17px; }
.home h1, .home h2, .home h3 { letter-spacing: -0.035em; }
.home section { padding: 88px 0; position: relative; }
@media (max-width: 720px) { .home section { padding: 56px 0; } }

/* Nav + buttons: rounder, quieter */
.home .nav { border-bottom-color: transparent; background: rgba(10,10,11,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.home .nav-cta { border-radius: 999px; padding: 9px 16px; font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; text-transform: none; font-weight: 700; }
.home .btn { border-radius: 999px; }
.home .btn.btn-outline { border-color: transparent; background: var(--surface-2); }
.home .btn.btn-outline:hover { background: #202024; border-color: transparent; }

.kick {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--yellow); font-weight: 500;
}
.kick svg { height: 22px; width: auto; flex: none; }
.lede { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; max-width: 34em; margin: 20px 0 0; }
.h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; line-height: 1.04; margin-top: 18px; max-width: 16em; text-wrap: balance; }
.hero h1, .home .download h2 { text-wrap: balance; }
.center { text-align: center; }
.center .h2, .center .lede { margin-left: auto; margin-right: auto; }

/* The app's luminance card */
.lum {
  border-radius: 22px; padding: 28px;
  background: linear-gradient(160deg, #1B1A1D 0%, #0F0E11 100%);
}
.lum[data-tint] { background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 16%, #1B1A1D) 0%, color-mix(in srgb, var(--tint) 5%, #0F0E11) 100%); }

/* ---------- Hero ---------- */
.home .hero { border-bottom: 0; overflow: visible; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-weight: 800; line-height: 0.98; margin-top: 22px; }
.hero .lede { font-size: clamp(18px, 1.9vw, 21px); }
.home .cta-row { margin-top: 34px; }
.home .cta-meta { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink-3); margin-top: 18px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art::before {
  content: ""; position: absolute; inset: -12% -22%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(245,197,24,0.26), rgba(245,197,24,0.08) 55%, transparent 78%);
  animation: breathe 3.6s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: 0.55; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-art::before { animation: none; } .home .ticker-track { animation: none; } }

/* iPhone frame. Height-driven so it can be fitted to the viewport; the screen
   reserves the real status-bar and home-indicator bands (59pt / 34pt of 932pt)
   so app content sits exactly where it does on a phone, clear of the corners. */
.phone {
  --ph: 640px;
  position: relative; z-index: 1; height: var(--ph); aspect-ratio: 448 / 950; flex: none;
  border-radius: 14.2% / 6.7%; padding: calc(var(--ph) * 0.0095); background: #1C1C20;
  box-shadow: 0 0 0 1px #2c2c31, 0 40px 90px -30px rgba(0,0,0,0.9);
}
.phone .screen {
  container-type: inline-size; height: 100%; overflow: hidden; background: #0A0A0B;
  border-radius: 12.6% / 5.82%;
  display: grid; grid-template-rows: 6.33% 1fr 3.65%;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; min-height: 0; }
.phone .sb { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 1.2cqw 7.4cqw 0 12cqw; }
.phone .sb-t { font-size: 3.95cqw; font-weight: 600; color: #fff; letter-spacing: -0.01em; line-height: 1; }
.phone .sb-r { height: 3cqw; width: auto; }
.phone .island { position: absolute; left: 50%; top: 2.6cqw; width: 29cqw; height: 8.6cqw; margin-left: -14.5cqw; border-radius: 99px; background: #000; }
.phone .hi { justify-self: center; align-self: center; width: 32.5cqw; height: 1.15cqw; border-radius: 99px; background: #fff; opacity: 0.9; }

/* First screen = nav + hero + ticker, exactly. Nothing is cut by the fold. */
.home .hero {
  --nav: 62px; --tick: 59px;
  min-height: calc(100svh - var(--nav) - var(--tick)); padding: 28px 0;
  display: flex; align-items: center;
}
.home .hero > .wrap { width: 100%; }
.hero .phone { --ph: clamp(380px, calc(100svh - var(--nav) - var(--tick) - 72px), 700px); }
.hero h1 { font-size: clamp(40px, min(7vw, 11.5svh), 86px); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .home .hero { display: block; min-height: 0; padding: 48px 0 72px; }
  .hero .phone { --ph: min(640px, calc(100svh - 96px), 164vw); }
}

/* ---------- Ticker (things people ask) ---------- */
.home .ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home .ticker-item { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 18px 22px; gap: 22px; }
.home .ticker-item::after { content: "✦"; font-size: 11px; }

/* ---------- CC: what it does ---------- */
.does { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 52px; }
.does .lum h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-top: 18px; }
.does .lum p { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin: 8px 0 0; }
.does .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--tint, var(--yellow)); }
@media (max-width: 980px) { .does { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .does { grid-template-columns: 1fr; } }

/* ---------- Conversation demo ---------- */
.demo-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; gap: 40px; } }
.demo-grid.flip { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 900px) { .demo-grid.flip { grid-template-columns: 1fr; } .demo-grid.flip > .chat { order: 2; } }
.chat { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.chat .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-4); }
.chat .q { align-self: flex-end; max-width: 85%; background: #26262B; border-radius: 18px; padding: 12px 16px; font-size: 15.5px; line-height: 1.45; }
.chat .a { font-size: 15.5px; line-height: 1.62; color: #E7E8EA; }
.chat .a p { margin: 0 0 12px; }
.chat .a p:last-child { margin-bottom: 0; }
.chat .a b { color: var(--ink); }
.chat .a .t { color: var(--yellow); font-weight: 600; border-bottom: 1px solid rgba(245,197,24,0.35); }
.chat .bar { display: flex; align-items: center; gap: 10px; margin-top: 4px; border: 1.5px solid var(--yellow); border-radius: 999px; padding: 11px 16px; color: var(--ink-4); font-size: 15px; box-shadow: 0 0 26px rgba(245,197,24,0.18); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.checks li b { color: var(--ink); }
.checks li::before { content: "✦"; color: var(--yellow); font-size: 13px; line-height: 1.9; }

/* ---------- Library ---------- */
.lib-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .lib-grid { grid-template-columns: 1fr; gap: 48px; } }
.phones { display: flex; justify-content: center; gap: 0; }
.phones .phone:first-child { transform: translateY(26px) rotate(-3deg); margin-right: -34px; }
.phones .phone:last-child { transform: translateY(-14px) rotate(3deg); }
.phones .phone { --ph: min(560px, calc(100svh - 150px), 96vw); }
.disc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.disc span {
  font-size: 14px; font-weight: 700; padding: 9px 14px; border-radius: 999px; color: var(--ink);
  background: color-mix(in srgb, var(--tint) 16%, #17171A);
}
.disc span i { font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--tint); margin-left: 6px; }
.stats { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 36px; }
.stats div b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stats div span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); display: block; margin-top: 8px; }

/* ---------- Pro ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 52px; text-align: left; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan-card { padding: 34px; display: flex; flex-direction: column; }
.plan-card h3 { font-size: 22px; font-weight: 800; }
.plan-card .price { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; margin-top: 14px; line-height: 1; }
.plan-card .price small { font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 6px; }
.plan-card .also { color: var(--ink-3); font-size: 14px; margin-top: 8px; }
.plan-card ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; }
.plan-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.plan-card li::before { content: "✦"; color: var(--yellow); font-size: 12px; line-height: 1.9; }
.plan-card.pro { box-shadow: inset 0 0 0 1.5px rgba(245,197,24,0.45); }
.badge { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow-ink); background: var(--yellow); padding: 4px 9px; border-radius: 999px; margin-left: 10px; vertical-align: middle; font-weight: 700; }
.fine { color: var(--ink-4); font-size: 13.5px; margin-top: 22px; }
.fine a { color: var(--ink-3); text-decoration: underline; }

/* ---------- Download ---------- */
.home .download { padding-bottom: 96px; }
.home .download p { max-width: 34em; text-wrap: balance; }
.home .download .mascot { height: 92px; width: auto; margin: 0 auto 30px; display: block; filter: drop-shadow(0 0 34px rgba(245,197,24,0.45)); }
.home .download h2 { font-size: clamp(38px, 6.4vw, 76px); font-weight: 800; }
.home .footer { border-top-color: var(--line); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 10px; margin-top: 40px; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--yellow); font-size: 24px; font-weight: 500; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 26px 24px; color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 44em; }
.footer .socials { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.footer .socials a { color: var(--ink-3); font-size: 13.5px; font-weight: 600; }
.footer .socials a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 700px) { .footer .socials { justify-content: center; } }

/* ---------- Phone-width tightening ---------- */
.home .cta-meta { text-wrap: balance; }
@media (max-width: 720px) {
  .home .hero { padding: 36px 0 52px; }
  .hero-grid { gap: 44px; }
  .lede { margin-top: 16px; }
  .does { gap: 10px; margin-top: 32px; }
  .does .lum { padding: 22px; }
  .does .lum h3 { margin-top: 12px; }
  .demo-grid { gap: 32px; }
  .checks { margin-top: 22px; gap: 12px; }
  .chat { padding: 20px; gap: 14px; }
  /* Words before pictures on a phone: the section label shouldn't trail the art. */
  .lib-grid { gap: 28px; }
  .lib-grid .phones { order: 2; margin: 8px 0 26px; }
  .stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; margin-top: 28px; }
  .stats div b { font-size: 26px; }
  .stats div span { font-size: 10px; letter-spacing: 0.1em; }
  .disc { margin-top: 24px; }
  .plans { margin-top: 32px; }
  .plan-card { padding: 26px; }
  .faq { margin-top: 28px; }
  .faq summary { padding: 18px 20px; font-size: 16.5px; }
  .faq details p { padding: 0 20px 20px; }
  .home .download { padding-bottom: 64px; }
  .home .download .mascot { height: 76px; margin-bottom: 22px; }
  .home .footer { padding: 44px 0 40px; }
}

/* Apple's official App Store badge. Shown at its natural proportions with clear space around it; never tinted or cropped. */
.store { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 6px; text-decoration: none; }
.store img { display: block; height: 54px; width: auto; }
.store small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
a.store:hover img { transform: translateY(-1px); }
