/* CrossLangWord marketing page — the app's own newsprint palette. */
:root {
  --paper: #e4e0d2;
  --panel: #dbd6c6;
  --card: #fcfbf6;
  --ink: #14130e;
  --ink-soft: #5e5a4e;
  --muted: #8f8a7b;
  --pen: #1b4ca1;
  --hl: #f5dc7c;
  --rule: #14130e;
  --shadow: rgba(20, 19, 14, 0.16);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16150f;
    --panel: #1e1c15;
    --card: #23211a;
    --ink: #ece8da;
    --ink-soft: #b3ae9d;
    --muted: #8f8a7b;
    --pen: #8fb2ec;
    --hl: #f5dc7c;
    --rule: #4a463a;
    --shadow: rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 56rem; margin: 0 auto; padding: 0 22px; }

.hero {
  padding: 68px 0 46px;
  border-bottom: 3px solid var(--rule);
  margin-bottom: 12px;
}

.stamp {
  display: inline-block;
  background: var(--hl);
  color: #14130e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 16px;
}

h1 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: clamp(2.4rem, 9vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.lede {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 0 20px;
}

.soon {
  display: inline-block;
  border: 2px solid var(--rule);
  border-radius: 7px;
  padding: 9px 16px;
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--card);
}

h2 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

section { margin: 46px 0; }

p { margin: 0 0 14px; }

a { color: var(--pen); text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* Screenshot strip — scrolls sideways on a phone rather than shrinking. */
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin: 30px 0 46px;
  scroll-snap-type: x mandatory;
}

.shots figure { scroll-snap-align: start; }

figure { margin: 0; }

.shots img,
.wide img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 8px 22px var(--shadow);
  background: var(--card);
}

.wide { margin: 22px 0 0; }
.wide img { border-radius: 10px; }

figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.links ul { padding-left: 1.2rem; }
.links li { margin: 8px 0; }

footer {
  border-top: 1px solid var(--rule);
  margin-top: 56px;
  padding-top: 18px;
  padding-bottom: 56px;
  color: var(--muted);
  font-size: 0.87rem;
}

@media (min-width: 760px) {
  .wide img { max-width: 78%; margin: 0 auto; }
}
