/* mythngs.app (D-067): same palette as the app (docs/DESIGN.md): paper, ink, one quiet green.
   No gradients or glows; the screenshots are the colour. */
:root {
  --paper: #f6f5f1; --surface: #fff; --surface-2: #eeece6; --ink: #1a1a18; --muted: #6b6a64;
  --accent: #1f6f5c; --line: rgba(26, 26, 24, .1); color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #121211; --surface: #1b1b1a; --surface-2: #262624; --ink: #ededea; --muted: #9a9993; --accent: #6fc2a6; --line: rgba(237, 237, 234, .1); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Header and footer */
.top { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 900; font-size: 20px; letter-spacing: -.4px; }
.brand:hover { text-decoration: none; }
.mark { width: 28px; height: 28px; }
.mark rect { fill: var(--ink); }
.mark .g { fill: var(--accent); }
nav { margin-left: auto; display: flex; gap: 28px; }
nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
nav a:hover { color: var(--ink); text-decoration: none; }
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 48px 0 32px; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 10px; font-size: 14px; }
.foot .cols div a:not(.brand) { display: block; color: var(--muted); font-size: 15px; margin: 6px 0; }
.legal { margin-top: 32px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.legal a { color: var(--muted); text-decoration: underline; }
.soon { background: var(--ink); color: var(--paper); text-align: center; font-size: 14px; font-weight: 600; padding: 9px 16px; }

/* Type */
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 20px; font-weight: 800; }
.page h1 { font-size: clamp(34px, 5vw, 48px); }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 16px; font-weight: 800; }
.article h2, .cat h2 { font-size: 24px; margin: 36px 0 8px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.kicker { color: var(--accent); font-weight: 700; font-size: 15px; letter-spacing: .02em; margin: 0 0 12px; }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); margin: 0 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 16px; padding: 14px 24px; border-radius: 999px; }
.btn:hover { text-decoration: none; opacity: .9; }
.btn[aria-disabled] { background: var(--surface-2); color: var(--ink); cursor: default; }
.cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.cta.center { justify-content: center; }
.link { font-weight: 600; }

/* Phones */
.phone { margin: 0; border: 10px solid #111; border-radius: 52px; overflow: hidden; background: #111; width: 100%; max-width: 330px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.phone img { width: 100%; height: auto; border-radius: 42px; }

/* Home */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-phone { justify-self: center; transform: rotate(2deg); }
.how { padding: 24px 0 8px; }
.how .grid3 { margin-top: 0; }
.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step .num { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--paper); font-weight: 700; font-size: 15px; align-items: center; justify-content: center; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }
.features { padding: 40px 0; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 24px; }
.feature .phone { justify-self: center; }
.feature.flip .copy { order: 2; }
.more, .pricing, .faq { padding: 80px 0; }
.more { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.tile p { color: var(--muted); margin: 0; }
.pricing .grid3 { align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.plan.best { border: 2px solid var(--accent); }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 0; }
.plan ul { padding: 0; margin: 20px 0 0; list-style: none; }
.plan li { padding: 7px 0 7px 26px; border-top: 1px solid var(--line); position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 12px 0; }
summary { cursor: pointer; font-weight: 650; font-size: 18px; }
details p { color: var(--muted); margin: 10px 0 0; }
.closing { padding: 80px 0 40px; }

/* Help and pages */
.page { padding: 56px 0 24px; }
.search { width: 100%; font: inherit; font-size: 18px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); margin: 8px 0 8px; }
.search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.list { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 12px; }
.row { display: flex; flex-direction: column; padding: 16px 20px; border-top: 1px solid var(--line); color: var(--ink); }
.row:first-child { border-top: 0; }
.row:hover { background: var(--surface-2); text-decoration: none; }
.row span { font-size: 15px; }
.crumbs { color: var(--muted); font-size: 15px; }
.article p, .article li { font-size: 18px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin: 8px 0; }
ol.steps { counter-reset: s; list-style: none; padding: 0; }
ol.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--paper); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.shots { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; margin: 28px 0 12px; }
.phone.small { max-width: 250px; border-width: 8px; border-radius: 40px; }
.phone.small img { border-radius: 32px; }
.note { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 18px; }
.related { margin-top: 40px; }
.related a { display: block; margin: 6px 0; }
.help-cta { margin-top: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.help-cta p { color: var(--muted); }
.link-tile { color: var(--ink); background: var(--surface); }
.link-tile:hover { text-decoration: none; border-color: var(--accent); }
.link-tile span { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; }

@media (max-width: 860px) {
  nav { gap: 18px; }
  .hero { padding-top: 40px; }
  .hero-grid, .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature { padding: 48px 24px; }
  .feature.flip .copy { order: 0; }
  .hero-phone { transform: none; }
  .phone { max-width: 290px; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .foot .cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  nav a[href*="#features"] { display: none; }
  .lead { font-size: 18px; }
}
