/* Showling — public site.
   Warm paper palette lifted from the product (web/src/styles.css) so the
   marketing site and the app read as one thing. No build step, no framework:
   this file and four HTML pages are the whole site. */

:root {
  --ink: #3a3222;
  --ink-soft: #756a53;
  --ink-faint: #9a8b6d;
  --paper: #fdf8f2;
  --paper-2: #f6efe2;
  --line: #e7dcc4;
  --gold: #c9a86a;
  --gold-ink: #7c5a1e;
  --shell: #1a1712;

  --measure: 34rem;
  --page: 62rem;
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #efe6d5;
    --ink-soft: #b9ad95;
    --ink-faint: #8d8271;
    --paper: #1a1712;
    --paper-2: #232019;
    --line: #38322a;
    --gold: #c9a86a;
    --gold-ink: #e0bd7c;
    --shell: #100e0a;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------- masthead */

header.top {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: ui-serif, Georgia, 'Times New Roman', serif;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark svg { display: block; }

nav.top-nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

nav.top-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

nav.top-nav a:hover,
nav.top-nav a[aria-current='page'] { color: var(--ink); }

/* ----------------------------------------------------------------- hero */

.hero { padding: 72px 0 64px; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 18px;
}

h1 {
  font-family: ui-serif, Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: 0;
}

/* The motif: an abstract screen. Deliberately not a screenshot — there is no
   public build yet, and a fake one would be a lie on a verification page. */
.motif {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 118%, rgba(201, 168, 106, 0.28), transparent 62%),
    var(--paper-2);
  overflow: hidden;
  position: relative;
}

.motif .sun {
  position: absolute;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
  top: 20%;
  left: 22%;
}

.motif .hill {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -46%;
  aspect-ratio: 2 / 1;
  border-radius: 50% 50% 0 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.motif .dot {
  position: absolute;
  width: 8%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.75;
  bottom: 27%;
  right: 26%;
}

/* --------------------------------------------------------------- blocks */

section { padding: 8px 0 64px; }

h2 {
  font-family: ui-serif, Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.25;
  margin: 0 0 8px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
}

.section-note {
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: 0 0 30px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}

.card .num {
  font-family: ui-serif, Georgia, serif;
  font-size: 15px;
  color: var(--gold-ink);
  display: block;
  margin-bottom: 12px;
}

.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.nots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 40px;
}

.nots li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.nots strong { color: var(--ink); font-weight: 600; display: block; }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  background: var(--paper-2);
}

.panel p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ documents */

.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 44rem; }
.doc h1 { font-size: clamp(1.9rem, 4.4vw, 2.4rem); margin-bottom: 6px; }
.doc .updated { color: var(--ink-faint); font-size: 15px; margin: 0 0 40px; }
.doc h2 { font-size: 1.25rem; margin-top: 40px; margin-bottom: 10px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); }

/* --------------------------------------------------------------- footer */

footer.bottom {
  border-top: 1px solid var(--line);
  padding: 30px 0 60px;
  margin-top: 24px;
}

footer.bottom .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink-faint);
}

footer.bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.bottom a { color: var(--ink-soft); text-decoration: none; }
footer.bottom a:hover { color: var(--ink); }

/* ------------------------------------------------------------ responsive */

@media (max-width: 820px) {
  .hero { padding: 48px 0 44px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .motif { max-width: 400px; }
  .cards { grid-template-columns: 1fr; }
  .nots { grid-template-columns: 1fr; }
}
