/* SeySo landing (SS-252). Colours follow apps/web/src/styles.css. No client JavaScript. */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f6f2ea;
  --paper: #fffdf8;
  --surface: #ffffff;
  --muted: #f1ece2;
  --border: #e7e0d4;
  --text: #1a1a1a;
  --text-muted: #665b50;
  --ink: #171b22;
  --accent: #6d4aff;
  --accent-hover: #5b38f0;
  --accent-soft: #efeaff;
  --peach: #f49a61;
  --chat: #e7f8dc;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --gutter: 16px;
  --max: 1120px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px / 1.55 var(--font);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--accent-hover);
}
h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus {
  left: 8px;
}

/* Header */
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
}
.top .lang {
  color: var(--text-muted);
}
.top .signin {
  border: 1.5px solid var(--ink);
}
.top nav a:hover {
  background: var(--muted);
}

/* Buttons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--ink);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease;
}
.cta:hover {
  background: var(--accent-hover);
  transform: translateY(2px);
  box-shadow: 0 4px 0 var(--ink);
}
.cta:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 var(--ink);
}
.cta-block {
  width: 100%;
  margin-top: 18px;
}
.cta-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter) 56px;
  display: grid;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
  margin-right: 8px;
  vertical-align: 1px;
}
.hero h1 {
  font-size: clamp(2.3rem, 9vw, 4.1rem);
  font-weight: 700;
  color: var(--ink);
  max-width: 13ch;
}
.lead {
  margin: 20px 0 28px;
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.demo-link {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 5px;
}
.hero-art {
  margin: 0 auto;
  width: min(100%, 390px);
}
.hero-art img {
  border-radius: 12px;
  box-shadow: 12px 16px 0 var(--border);
  width: 100%;
  height: auto;
}
.hero-art figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* Sections */
.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--gutter);
}
.band h2,
.final h2 {
  font-size: clamp(1.75rem, 6vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  max-width: 22ch;
}
.section-lead {
  margin-top: 12px;
  color: var(--text-muted);
  max-width: 40rem;
}
.small {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}

/* A complete example, followed by three exports of the same writing. */
.demo {
  scroll-margin-top: 20px;
}
.demo-input {
  padding: 22px 26px;
  background: var(--muted);
  border-left: 3px solid var(--peach);
  border-radius: 0 14px 14px 0;
}
.demo-input h3,
.demo-output figcaption,
.demo-caption h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.demo-input p {
  margin-top: 10px;
  max-width: 58rem;
}
.demo-output {
  display: grid;
  gap: 24px;
  margin-top: 26px;
  align-items: start;
}
.demo-output figure {
  margin: 0;
}
.demo-output figcaption {
  margin-bottom: 12px;
}
.demo-output img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.demo-caption {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
}
.demo-caption p {
  margin-top: 18px;
}
.demo-caption .delivery-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.gallery-grid {
  margin-top: 28px;
  display: grid;
  gap: 22px;
}
.gallery-grid figure {
  margin: 0;
  min-width: 0;
}
.gallery-grid img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}
.gallery-grid figcaption {
  font-weight: 600;
  margin-top: 12px;
}
.gallery-hint {
  display: none;
}
.more-features {
  margin-top: 26px;
}
.more-features summary {
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 8px 0;
}

.why-grid {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 22px;
}
.why-grid li {
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}
.why-grid li:nth-child(even) {
  border-left-color: var(--peach);
}
.why-grid p {
  margin-top: 6px;
  color: var(--text-muted);
}

.plan-grid {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.plan.featured {
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--accent);
}
.badge {
  position: absolute;
  top: -13px;
  left: 20px;
  background: var(--peach);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 999px;
}
.price {
  margin-top: 10px;
  color: var(--text-muted);
}
.price b {
  font-size: 2.1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.price-alt {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.plan ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.plan li {
  padding-left: 26px;
  position: relative;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

.faq details {
  margin-top: 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 20px;
}
.faq details:first-of-type {
  margin-top: 28px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 18px 28px 18px 0;
  list-style: none;
  position: relative;
  color: var(--ink);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  padding-bottom: 18px;
  color: var(--text-muted);
}

.final {
  margin: 24px var(--gutter) 56px;
  padding: 48px 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.final h2 {
  color: #fff;
  margin: 0 auto;
}
.final p {
  color: #d9d4ea;
  margin-bottom: 10px;
}
.final .cta {
  box-shadow: 0 6px 0 var(--peach);
}
.final .cta:hover {
  box-shadow: 0 4px 0 var(--peach);
}

/* Footer */
.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.foot-links a {
  color: var(--text-muted);
}

/* Legal and 404 */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px var(--gutter) 56px;
}
.legal h1 {
  font-size: clamp(2rem, 7vw, 2.8rem);
  color: var(--ink);
}
.legal h2 {
  font-size: 1.25rem;
  margin: 32px 0 10px;
}
.legal p,
.legal li {
  color: #3a332c;
}
.legal p + p {
  margin-top: 10px;
}
.legal ul {
  margin: 10px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 6px;
}
.legal > article > p:last-child {
  margin-top: 36px;
}
.draft {
  margin-top: 16px;
  display: inline-block;
  background: #fdf5e4;
  color: #92400e;
  border: 1px solid #f3dfb5;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.92rem;
}
.updated {
  margin: 10px 0 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.not-found p {
  margin-top: 14px;
}

@media (min-width: 720px) {
  :root {
    --gutter: 28px;
  }
  .hero {
    grid-template-columns: 1.05fr 1fr;
    padding-top: 48px;
    padding-bottom: 80px;
  }
  .band {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .hero-art {
    width: min(100%, 370px);
  }
  .demo-output {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
  }
  .demo-caption {
    margin-top: 32px;
    padding: 32px;
  }
  .plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
  }
  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
  .final {
    margin: 24px auto 72px;
    max-width: calc(var(--max) - 2 * var(--gutter));
    padding: 64px 32px;
  }
  .foot {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .foot-links {
    justify-content: center;
  }
}

@media (max-width: 719px) {
  .hero {
    gap: 28px;
    padding-bottom: 32px;
  }
  .hero-art {
    width: min(100%, 320px);
  }
  .hero-art img {
    box-shadow: 7px 9px 0 var(--border);
  }
  .hero-actions {
    gap: 18px;
  }
  .gallery-hint {
    display: block;
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  .gallery-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 0 12px;
  }
  .gallery-grid figure {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  .demo-caption {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cta {
    transition: none;
  }
}
