/* qwenturo.com — same look as the app (dark, gold accent, Fraunces + Inter). Fonts are hosted here; nothing loads from elsewhere. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/fraunces-latin-700-normal.woff2) format('woff2'); }

:root {
  --bg: #0a0d12; --surface: #12151b; --surface2: #171b22; --border: #23272e;
  --gold: #c9a84c; --gold-light: #d4b970; --gold-dim: #c9a84c1a; --gold-border: #c9a84c55; --on-accent: #12151b;
  --text: #ece9e2; --text-mid: #aaa89f; --text-dim: #8b8981; --green: #63c267;
  --font: 'Inter', -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --radius: 10px; --wrap: 1080px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf6f1; --surface: #ffffff; --surface2: #f3eee7; --border: #e2dbd1;
    --gold-light: #7d6624; --text: #1b1b1b; --text-mid: #474747; --text-dim: #5f5f5f; --green: #2e7d32;
    color-scheme: light;
  }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 16px; }
a { color: var(--gold-light); }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--on-accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-accent); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { border-bottom: 1px solid var(--border); background: var(--bg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--gold-light); text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.top nav a:not(.btn) { color: var(--text-mid); text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--gold); color: var(--on-accent); font-weight: 600;
  text-decoration: none; border-radius: 10px; padding: 13px 22px; font-size: 16px; border: 1px solid transparent; transition: filter .15s; min-height: 48px; }
.btn:hover { color: var(--on-accent); filter: brightness(1.07); }
.btn.small { padding: 8px 14px; font-size: 14px; min-height: 38px; }
.btn.ghost { background: none; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--gold-border); color: var(--text); }

/* Hero */
.hero { padding: 56px 0 44px; }
.hero h1 { font-size: clamp(34px, 7vw, 58px); max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.pitch { font-size: clamp(17px, 2.4vw, 20px); color: var(--text-mid); margin: 16px 0 26px; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.note { font-size: 13.5px; color: var(--text-dim); margin-top: 14px; }

/* Sections */
section { padding: 44px 0; border-top: 1px solid var(--border); }
section h2 { font-size: clamp(25px, 4vw, 34px); margin-bottom: 8px; }
.lead { color: var(--text-mid); margin-bottom: 24px; max-width: 60ch; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.card h3 { font-family: var(--font); font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--text); letter-spacing: 0; }
.card p { color: var(--text-mid); font-size: 15px; }
.icon { display: inline-flex; width: 36px; height: 36px; border-radius: 9px; background: var(--gold-dim); color: var(--gold-light); align-items: center; justify-content: center; margin-bottom: 10px; }
.icon svg { width: 20px; height: 20px; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.steps li::before { content: counter(step); display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--on-accent);
  font-weight: 600; align-items: center; justify-content: center; margin-bottom: 10px; }
.steps strong { display: block; margin-bottom: 4px; }
.steps span { color: var(--text-mid); font-size: 15px; }
.checks { list-style: none; display: grid; gap: 10px; max-width: 62ch; }
.checks li { padding-left: 30px; position: relative; color: var(--text-mid); }
.checks li strong { color: var(--text); }
.checks li::before { content: ''; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--surface); border: 1px solid var(--gold-border); border-radius: 14px; padding: 24px; }
.price .amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 5vw, 38px); color: var(--gold-light); }
.price p { color: var(--text-mid); max-width: 52ch; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 600; list-style-position: outside; }
details p { color: var(--text-mid); margin-top: 8px; }

/* Legal pages: the markdown text, styled */
.legal { padding: 36px 0 56px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(30px, 6vw, 42px); margin-bottom: 14px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--text-mid); margin-bottom: 10px; }
.legal strong { color: var(--text); }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 12px; }
.legal li { margin-bottom: 6px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0 18px; border: 1px solid var(--border); border-radius: var(--radius); }
.legal table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.legal th { background: var(--surface2); color: var(--text); font-weight: 600; }
.legal tr:last-child td { border-bottom: none; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 26px 0 34px; color: var(--text-dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--text-mid); }

@media (max-width: 640px) {
  .top nav .hide-sm { display: none; }
  .hero { padding: 36px 0 32px; }
  .cta-row .btn { width: 100%; }
  section { padding: 34px 0; }
}
