/* Wordglint's website: the app's palette (always dark, one amber accent). The home page is
   wider (body.home); support and privacy are one readable column. */
@font-face {
  font-family: "Montserrat"; src: url("/fonts/montserrat.woff2") format("woff2");
  font-weight: 700 800; font-style: normal; font-display: swap;
}
:root {
  color-scheme: dark;
  --canvas: #0D0C0B;
  --panel: #1A1917;
  --hairline: #33302B;
  --text: #EDE8E1;
  --secondary: #B5B0A8;
  --tertiary: #8A847B;
  --accent: #F5B83D;
  --on-accent: #1F1608;
}
* { box-sizing: border-box; }
html { background: var(--canvas); }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
header, main, footer { max-width: 720px; margin: 0 auto; padding: 0 24px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--hairline); }
header img { height: 30px; width: auto; display: block; }
picture { display: block; }
nav { display: flex; gap: 20px; font-size: 15px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
nav a { color: var(--secondary); }
nav a:hover, nav a[aria-current] { color: var(--text); text-decoration: none; }
main { padding-top: 40px; padding-bottom: 56px; }
h1 { font-family: "Montserrat", -apple-system, sans-serif; font-weight: 800; font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-family: "Montserrat", -apple-system, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.3; margin: 40px 0 8px; }
h3 { font-size: 17px; margin: 28px 0 4px; }
p, li { color: var(--secondary); }
strong { color: var(--text); font-weight: 600; }
.updated { color: var(--tertiary); font-size: 15px; margin: 0 0 32px; }
.summary { background: var(--panel); border: 1px solid var(--hairline); border-radius: 12px; padding: 20px 24px; margin: 0 0 8px; }
.summary p { margin: 0; color: var(--text); }
footer { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--hairline); color: var(--tertiary); font-size: 14px; }
@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; }
  header { flex-direction: column; align-items: flex-start; }
}

/* Home page. */
.home header, .home main, .home footer { max-width: 1160px; }
.home header { border-bottom: 0; }
footer a { color: var(--secondary); }

.hero { text-align: center; padding-top: 24px; }
.hero .lede { max-width: 34em; margin: 20px auto 0; font-size: 20px; line-height: 1.5; }
.get { margin: 32px auto 56px; }
.get p { color: var(--tertiary); font-size: 15px; margin: 14px 0 0; }
.store {
  display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 17px;
  padding: 13px 26px; border-radius: 999px;
}
.store:hover { text-decoration: none; filter: brightness(1.06); }
/* Before launch: not a link yet. */
.store.soon { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.store:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* The headline speaks like a caption: one word lit at a time (the spoken one), then "light up"
   stays lit. The page's one animation; still for people who prefer less motion. */
.spoken { font-size: clamp(40px, 7vw, 84px); line-height: 1.12; letter-spacing: -0.03em; max-width: 13em; margin: 0 auto; text-wrap: balance; }
.spoken span { display: inline-block; padding: 0 0.12em; margin: 0 -0.12em; border-radius: 0.14em; }
.spoken span { animation: speak 0.38s calc(0.5s + var(--i) * 0.38s) both; }
.spoken .key { animation: speak 0.38s calc(0.5s + var(--i) * 0.38s) both, stay 0.3s calc(0.5s + 6 * 0.38s) forwards; }
@keyframes speak {
  0%, 100% { background: transparent; color: var(--text); }
  8%, 92% { background: var(--accent); color: var(--on-accent); }
}
@keyframes stay { to { background: var(--accent); color: var(--on-accent); } }
@media (prefers-reduced-motion: reduce) {
  .spoken span { animation: none; }
  .spoken .key { animation: none; background: var(--accent); color: var(--on-accent); }
}

.shot {
  display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--hairline);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: center; margin: 120px 0; }
.feature:nth-of-type(odd) { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.feature:nth-of-type(odd) > div { order: 2; }
.feature h2, .facts h2, .pricing h2, .faq h2 { font-size: 30px; margin: 0 0 12px; letter-spacing: -0.01em; }
.feature p { font-size: 18px; margin: 0; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.facts p { margin: 0; }

.pricing { max-width: 640px; margin: 96px auto 40px; }
.pricing dl { margin: 24px 0; }
.pricing dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.pricing dt { color: var(--text); font-weight: 600; }
.pricing dd { margin: 0; color: var(--secondary); white-space: nowrap; }
.pricing .note, .faq .note { color: var(--tertiary); font-size: 15px; }

.faq { max-width: 640px; margin: 72px auto 40px; }
.faq h3 { color: var(--text); margin: 24px 0 4px; }
.faq p { margin: 0; }
.faq .note { margin-top: 24px; }

@media (max-width: 820px) {
  .feature, .feature:nth-of-type(odd) { grid-template-columns: 1fr; gap: 24px; margin: 72px 0; }
  .feature:nth-of-type(odd) > div { order: 0; }
  .facts { grid-template-columns: 1fr; gap: 32px; }
  .hero .lede { font-size: 18px; }
  .home header, .home main, .home footer { padding-left: 16px; padding-right: 16px; }
}
