/* Landing page. Loaded after style.css, which supplies the palette. */

body.landing {
  height: auto;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(255, 138, 61, 0.13), transparent 62%),
    radial-gradient(820px 520px at 4% 12%, rgba(74, 127, 181, 0.1), transparent 60%),
    var(--bg);
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 26px; }
.wrap.narrow { max-width: 780px; }

/* ------------------------------------------------------------------ nav --- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 26px;
  padding: 14px 26px;
  background: rgba(15, 17, 21, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.stuck { border-bottom-color: var(--line); background: rgba(15, 17, 21, 0.92); }
.nav-links { display: flex; gap: 22px; margin-left: 14px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 13.5px;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.ghost-link { color: var(--muted); text-decoration: none; font-size: 13.5px; }
.ghost-link:hover { color: var(--text); }

.btn-primary {
  display: inline-block; text-decoration: none;
  background: linear-gradient(135deg, var(--accent), #ff6f43);
  color: #1a1004; font-weight: 700; font-size: 13.5px;
  padding: 9px 18px; border-radius: 10px;
  box-shadow: 0 6px 20px rgba(255, 111, 67, 0.24);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255, 111, 67, 0.34); }
.btn-primary.big { font-size: 16px; padding: 15px 30px; border-radius: 12px; }

.btn-ghost {
  display: inline-block; text-decoration: none;
  color: var(--text); border: 1px solid var(--line);
  padding: 9px 18px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
  transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: var(--muted); background: rgba(255,255,255,.03); }
.btn-ghost.big { font-size: 16px; padding: 14px 28px; border-radius: 12px; }

@media (max-width: 900px) { .nav-links { display: none; } }

/* ----------------------------------------------------------------- hero --- */
.hero { position: relative; padding: 58px 0 0; overflow: hidden; }
.hero-glow {
  position: absolute; left: 50%; top: -260px; width: 1000px; height: 620px;
  transform: translateX(-30%);
  background: radial-gradient(ellipse at center, rgba(255,138,61,.16), transparent 66%);
  pointer-events: none;
}
.hero-grid {
  position: relative; max-width: 1160px; margin: 0 auto; padding: 0 26px;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 46px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--accent-2); font-weight: 600;
  background: rgba(255,138,61,.1); border: 1px solid rgba(255,138,61,.28);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero h1 {
  margin: 0 0 20px; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02;
  letter-spacing: -0.045em; font-weight: 800;
  background: linear-gradient(180deg, #fff 30%, #b9c1cf);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede {
  margin: 0 0 30px; font-size: 16.5px; line-height: 1.65; color: #a8b0bf; max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.hero-points li {
  position: relative; padding-left: 24px; font-size: 13.5px; color: #99a1b0;
}
.hero-points li::before {
  content: '✓'; position: absolute; left: 3px; color: var(--ok); font-weight: 800; font-size: 12px;
}

.hero-stage { position: relative; aspect-ratio: 1 / 0.86; min-height: 380px; }
.hero-viewer {
  position: absolute; inset: 0; border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(700px 420px at 50% 22%, rgba(255,138,61,.07), transparent 70%),
    #0c0e13;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04);
  cursor: grab;
}
.hero-viewer:active { cursor: grabbing; }
.hero-loading {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  gap: 12px; color: var(--muted); font-size: 13px; pointer-events: none;
  transition: opacity .5s;
}
.hero-loading.gone { opacity: 0; }
.hero-caption {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  display: flex; flex-direction: column; gap: 2px; pointer-events: none;
  opacity: 0; transition: opacity .6s .2s;
}
.hero-caption.show { opacity: 1; }
.hero-caption b { font-size: 13.5px; }
.hero-caption span { font-size: 11.5px; color: var(--muted); }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-stage { min-height: 340px; order: -1; }
  .hero h1 { font-size: clamp(36px, 9vw, 52px); }
}

/* -------------------------------------------------------------- marquee --- */
.marquee {
  display: flex; gap: 34px; flex-wrap: wrap; justify-content: center;
  margin: 56px 26px 0; padding: 20px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: #6f7787;
}
.marquee b { color: #9aa3b2; font-weight: 600; }

/* ------------------------------------------------------------ sections --- */
.section { padding: 92px 0; }
.section.alt { background: rgba(255,255,255,.014); border-block: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sec-head h2 {
  margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.035em; line-height: 1.12; font-weight: 800;
}
.sec-head p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.sec-head em { color: var(--accent-2); font-style: normal; }

/* ---------------------------------------------------------------- steps --- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px 24px 0; overflow: hidden;
  display: flex; flex-direction: column;
}
.step-n {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #ff5f6d); color: #1a1004;
  font-weight: 800; font-size: 14px; margin-bottom: 16px;
}
.step-card h3 { margin: 0 0 9px; font-size: 17px; letter-spacing: -0.015em; }
.step-card p { margin: 0 0 22px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.step-art {
  margin: auto -24px 0; height: 116px; position: relative;
  background: var(--panel-2); border-top: 1px solid var(--line);
  display: grid; place-items: center;
}
.art-map {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 22px 22px; background-color: var(--panel-2);
}
.art-sel {
  width: 92px; height: 62px; border: 2px solid var(--accent); border-radius: 2px;
  box-shadow: 0 0 0 9999px rgba(8,10,14,.55); position: relative;
}
.art-sel::before, .art-sel::after {
  content: ''; position: absolute; width: 9px; height: 9px;
  background: #fff; border: 2px solid var(--accent); border-radius: 2px;
}
.art-sel::before { left: -5px; top: -5px; }
.art-sel::after { right: -5px; bottom: -5px; }
.art-frames svg { width: 84%; }
.art-file { gap: 10px; grid-auto-flow: column; }
.file-chip {
  font-family: ui-monospace, Menlo, monospace; font-size: 12px;
  background: linear-gradient(135deg, var(--accent), #ff6f43); color: #1a1004;
  padding: 9px 15px; border-radius: 9px; font-weight: 700;
}
.file-chip.alt { background: var(--panel); color: var(--muted); border: 1px solid var(--line); }

@media (max-width: 880px) { .steps-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ features --- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 15px; padding: 24px;
  transition: border-color .18s, transform .18s;
}
.feature:hover { border-color: #414b5b; transform: translateY(-2px); }
.feature h3 { margin: 0 0 9px; font-size: 16px; letter-spacing: -0.015em; }
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.62; }
.feature.big {
  grid-column: span 2;
  background: linear-gradient(150deg, rgba(255,138,61,.09), var(--panel) 55%);
  border-color: rgba(255,138,61,.28);
}
.feature.big h3 { font-size: 19px; }
.feature.big p { font-size: 14.5px; }
.stat-strip { display: flex; gap: 28px; margin-top: 20px; flex-wrap: wrap; }
.stat-strip div { display: flex; flex-direction: column; }
.stat-strip b { font-size: 21px; letter-spacing: -0.03em; }
.stat-strip span { font-size: 11.5px; color: var(--muted); }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature.big { grid-column: span 2; }
}
@media (max-width: 660px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature.big { grid-column: span 1; }
}

/* ------------------------------------------------------ pricing on page --- */
#pricing .tiers { max-width: 1000px; margin: 0 auto; }
#pricing .tier { cursor: default; }
#pricing .tier:hover { transform: none; border-color: var(--line); }
#pricing .tier.featured:hover { border-color: rgba(255,138,61,.55); }
#pricing .tier .pick { cursor: pointer; text-decoration: none; display: block; text-align: center; }
.fine { color: #6b7382; font-size: 12.5px; line-height: 1.6; }
#pricingFine { text-align: center; margin: 26px auto 0; max-width: 560px; }

/* ------------------------------------------------------------------ faq --- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 0 20px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 28px 17px 0;
  font-size: 15px; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 2px; top: 15px;
  color: var(--accent); font-size: 19px; font-weight: 400; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.68; }
.faq b { color: #c9d0dc; }

/* ------------------------------------------------------------ final cta --- */
.final-cta { padding: 96px 0; text-align: center; }
.final-cta h2 {
  margin: 0 0 12px; font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em; font-weight: 800;
}
.final-cta p { margin: 0 0 30px; color: var(--muted); font-size: 16px; }

/* --------------------------------------------------------------- footer --- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.foot-inner { display: grid; gap: 22px; }
.foot .brand { font-size: 15px; margin-bottom: 6px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; }
.foot-links a:hover { color: var(--text); }
.attribution { max-width: 640px; }
.attribution a { color: #7e8798; }

/* -------------------------------------------------------------- showcase --- */
.showcase { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; }
.showcase-stage { position: relative; aspect-ratio: 1 / 0.82; min-height: 380px; }
.showcase-viewer {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden;
  background: radial-gradient(620px 380px at 50% 20%, rgba(255,138,61,.06), transparent 70%), #0c0e13;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
  cursor: grab;
}
.showcase-viewer:active { cursor: grabbing; }
.sc-meta {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  opacity: 0; transition: opacity .45s;
}
.sc-meta.show { opacity: 1; }
.sc-meta b { font-size: 14px; }
.sc-meta > span { font-size: 11.5px; color: var(--muted); flex: 1 1 100%; margin-top: -8px; }
.sc-meta .btn-primary { margin-left: auto; font-size: 12.5px; padding: 8px 15px; }

.showcase-list { display: flex; flex-direction: column; gap: 8px; }
.sc-item {
  text-align: left; cursor: pointer; display: block; width: 100%;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 15px; color: var(--text);
  transition: border-color .16s, background .16s, transform .16s;
}
.sc-item:hover { border-color: #4a5464; transform: translateX(2px); }
.sc-item.on { border-color: var(--accent); background: rgba(255,138,61,.07); }
.sc-tag {
  display: inline-block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent-2); font-weight: 700; margin-bottom: 5px;
}
.sc-item b { display: block; font-size: 15px; letter-spacing: -.015em; }
.sc-place { font-size: 12px; color: var(--muted); }
.sc-blurb { display: block; font-size: 12.5px; color: #8b93a2; margin-top: 5px; line-height: 1.5; }

@media (max-width: 940px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase-stage { min-height: 320px; }
}

/* ------------------------------------------------------------- occasions --- */
.occasions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 34px; }
.occasion {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 15px; padding: 24px;
}
.occ-tag {
  display: inline-block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em;
  font-weight: 800; color: #1a1004; background: linear-gradient(135deg, var(--accent), #ff8f5f);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.occasion h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.02em; }
.occasion p { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.chip-row { display: flex; gap: 7px; flex-wrap: wrap; }
.chip-row.wide { justify-content: center; }
.chip {
  display: inline-block; text-decoration: none;
  background: var(--panel-2); border: 1px solid var(--line);
  color: #b6bdc9; font-size: 12.5px; padding: 7px 13px; border-radius: 999px;
  transition: border-color .15s, color .15s, background .15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-2); background: rgba(255,138,61,.08); }

.idea-cloud { text-align: center; padding-top: 8px; }
.idea-cloud h4 {
  margin: 0 0 14px; font-size: 12px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted); font-weight: 700;
}

@media (max-width: 780px) { .occasions { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- coming soon --- */
.soon-badge {
  font-size: 12px; font-weight: 700; color: var(--accent-2);
  background: rgba(255,138,61,.12); border: 1px solid rgba(255,138,61,.32);
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
}
.notify { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; max-width: 480px; }
.notify input {
  flex: 1 1 220px; padding: 14px 16px; font-size: 15px;
  background: var(--panel-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 12px; outline: none;
}
.notify input:focus { border-color: var(--accent); }
.notify button { border: none; cursor: pointer; font-family: inherit; }
.notify-msg { flex: 1 1 100%; margin: 0; font-size: 12.5px; color: #ff8f8f; min-height: 16px; }
.notify-msg.ok { color: var(--ok); font-size: 14px; }
.chip.is-static { cursor: default; opacity: .82; }
.chip.is-static:hover { border-color: var(--line); color: #b6bdc9; background: var(--panel-2); }
.admin-link { opacity: .45; }
.admin-link:hover { opacity: 1; }

/* ------------------------------------------------------------- hero film --- */
.hero-crop {
  position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: 0;
  border: 2px solid var(--accent); border-radius: 3px;
  box-shadow: 0 0 0 9999px rgba(8, 10, 14, 0.62);
}
.hero-crop::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,138,61,.3) 1px, transparent 1px) 0 33.33% / 100% 33.34%,
    linear-gradient(90deg, rgba(255,138,61,.3) 1px, transparent 1px) 33.33% 0 / 33.34% 100%;
}

.film-caption {
  position: absolute; left: 0; right: 0; top: 18px; z-index: 4;
  text-align: center; font-size: 13.5px; font-weight: 600; color: var(--text);
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(-6px);
  transition: opacity .35s, transform .35s; pointer-events: none;
}
.film-caption.show { opacity: 1; transform: none; }

.film-replay {
  position: absolute; right: 14px; top: 14px; z-index: 5;
  background: rgba(23,26,33,.9); backdrop-filter: blur(8px);
  border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 6px 14px; font-size: 12px; cursor: pointer;
}
.film-replay:hover { color: var(--text); border-color: var(--muted); }
.film-replay[hidden] { display: none; }

/* The flat map the film opens on, sitting over the canvas until it tips away. */
.hero-map {
  position: absolute; inset: 0; z-index: 2; overflow: hidden;
  border-radius: 20px; background: #0c0e13;
  opacity: 0; pointer-events: none;
  transform-origin: 50% 62%;
  will-change: transform, opacity;
}
.hero-map img { user-select: none; -webkit-user-drag: none; }
.hero-map::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, transparent 45%, rgba(8,10,14,.55) 100%);
}

/* The crop rectangle is placed in pixels over the map, not as an inset. */
.hero-crop {
  position: absolute; inset: auto; left: 0; top: 0; width: 0; height: 0;
  pointer-events: none; z-index: 3; opacity: 0;
  border: 2px solid var(--accent); border-radius: 2px;
  box-shadow: 0 0 0 9999px rgba(8, 10, 14, 0.55);
}
