/* Duovo website — the same look as the Duovo app: warm cream, ink, Lexend,
   and the four pillar colours. */
:root {
  --cream: #F6F3ED;
  --surface: #FFFFFF;
  --ink: #1B1915;
  --body: #4A4741;
  --muted: #8A867D;
  --border: #E2DFD6;
  --green: #5C9A57;
  --blue: #3F73B4;
  --orange: #E0812B;
  --red: #C7423B;
  --band: #EEEAE1;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(27, 25, 21, 0.04), 0 8px 24px rgba(27, 25, 21, 0.06);
  --display: 'Lexend Zetta', 'Lexend', system-ui, sans-serif;
  --text: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); font-size: 15px; }

/* Icons */
.i, .nav svg, .ticks svg, .f-icon svg, .p-icon svg, .phone svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.i { width: 18px; height: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px;
  font-family: var(--text); font-weight: 600; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 15px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 243, 237, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 2px solid var(--ink);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 32px; color: var(--ink); }
.brand-name { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: 1px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a, .link { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--body); }
.nav-links a:hover, .link:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.link { color: var(--ink); font-weight: 600; }
.only-phone { display: none; }
.menu { display: none; background: none; border: 0; padding: 6px; color: var(--ink); cursor: pointer; }
.menu svg { width: 26px; height: 26px; }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; }
.hero-copy { max-width: 900px; }
.badge {
  display: inline-block; padding: 7px 14px; border: 2px solid var(--ink); border-radius: 10px;
  font-weight: 600; font-size: 14px; background: var(--surface);
}
.display {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 5.2vw, 62px); line-height: 1.12; letter-spacing: 0.5px;
  margin: 26px 0 22px;
}
.lede { font-size: 20px; color: var(--body); max-width: 680px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.fine { margin-top: 20px; font-size: 14px; color: var(--muted); font-weight: 400; }

/* Strip */
.strip { background: var(--ink); color: #fff; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; font-weight: 500; font-size: 15px; }
.strip span { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); display: inline-block; }

/* Sections */
.section { padding: 96px 0; }
.band { background: var(--band); }
.eyebrow { font-weight: 600; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; letter-spacing: .3px; max-width: 820px; }
h2.center { margin: 0 auto; }
.section-lede { margin-top: 18px; color: var(--body); font-size: 18px; max-width: 720px; }
h3 { font-weight: 600; font-size: 19px; line-height: 1.35; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.pillar {
  background: var(--surface); border: 1px solid var(--border); border-top: 6px solid var(--c);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start;
}
.p-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--t); color: var(--c); display: grid; place-items: center; }
.p-icon svg { width: 22px; height: 22px; }
.p-ex { color: var(--c); font-weight: 600; font-size: 14px; line-height: 1.45; }
.pillar p:last-child { color: var(--body); font-size: 15.5px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.feature p { color: var(--body); font-size: 15.5px; }
.feature-lead { grid-column: span 2; grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); padding: 34px; }
.feature-lead h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.3; }
.feature-lead p { color: rgba(255,255,255,.78); font-size: 17px; }
.feature-lead .f-icon { background: var(--green); color: #fff; }
.f-icon { width: 44px; height: 44px; border-radius: 13px; background: var(--cream); display: grid; place-items: center; }
.f-icon svg { width: 21px; height: 21px; }
.ticks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--green); stroke-width: 3; }

/* Pricing ladder */
.ladder { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
.rung { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px; display: grid; gap: 8px; }
.rung:nth-child(1) { min-height: 250px; }
.rung:nth-child(2) { min-height: 300px; }
.rung-top { min-height: 350px; background: var(--ink); color: #fff; }
.rung-top p { color: rgba(255,255,255,.78); }
.rung-n { font-family: var(--display); font-size: 38px; line-height: 1; margin-bottom: 8px; }
.rung-short { font-weight: 600; }
.rung p:last-child { color: var(--body); font-size: 15.5px; }
.rung-top p:last-child { color: rgba(255,255,255,.78); }
.rung-top .rung-short { color: #fff; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); display: grid; gap: 10px; align-content: start; }
.step-n { font-family: var(--display); font-size: 28px; color: var(--muted); }
.step p { color: var(--body); font-size: 15.5px; }

/* Plans */
.plans { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; }
.plan-card { background: var(--surface); border: 2px solid var(--ink); border-radius: 22px; padding: 38px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow); }
.plan-card .btn { justify-self: start; margin-top: 10px; }
.price { font-family: var(--display); font-size: 56px; line-height: 1; }
.price .from { font-family: var(--text); font-size: 16px; font-weight: 500; color: var(--muted); vertical-align: middle; }
.price .per { font-family: var(--text); font-size: 18px; color: var(--muted); }
.price-sub { color: var(--body); }
.zero { background: var(--green); color: #fff; border-radius: 22px; padding: 38px; display: grid; gap: 10px; align-content: center; }
.zero-n { font-family: var(--display); font-size: 88px; line-height: 1; }
.zero-t { font-weight: 600; font-size: 22px; line-height: 1.3; }
.zero p:last-child { color: rgba(255,255,255,.88); }

/* About */
.noun { max-width: 760px; margin: 0 auto; text-align: center; }
.noun-word { font-family: var(--display); font-size: clamp(36px, 5vw, 56px); letter-spacing: 1px; }
.noun-type { font-style: italic; color: var(--muted); margin-top: 4px; }
.noun-def { font-size: 21px; color: var(--body); margin-top: 14px; }
.symbol { margin: 48px auto 0; max-width: 900px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.symbol svg { width: 100%; height: auto; }
.symbol figcaption { text-align: center; color: var(--muted); font-size: 14px; padding: 6px 16px 10px; }
.node-icon use { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sym-name { font-family: var(--display); font-size: 22px; letter-spacing: 4px; fill: var(--ink); }
.sl-t { font-family: var(--text); font-weight: 600; font-size: 19px; fill: var(--ink); }
.sl-s { font-family: var(--text); font-weight: 600; font-size: 14px; fill: var(--body); }

.letter {
  max-width: 640px; margin: 56px auto 0; background: #FFFDF8; border: 1px solid var(--border);
  border-radius: 22px; padding: 44px 44px 36px; box-shadow: var(--shadow); display: grid; gap: 14px;
  color: var(--body); font-size: 17.5px;
}
.letter-mark { width: 50px; height: 42px; color: var(--ink); }
.letter-greet { font-family: var(--display); font-size: 22px; color: var(--ink); margin-top: 8px; }
.letter-sign { font-weight: 600; color: var(--ink); }
.letter-from { color: var(--muted); margin-top: -8px; }
.rules { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 18px; }
.rules-t { font-weight: 700; color: var(--ink); }
.rules ol { margin: 8px 0 0; padding-left: 22px; display: grid; gap: 6px; }

/* Closing */
.closing { background: var(--ink); color: #fff; padding: 88px 0; }
.closing-inner { text-align: center; display: grid; gap: 16px; justify-items: center; }
.closing h2 { color: #fff; }
.closing p { color: rgba(255,255,255,.75); font-size: 18px; }

/* Footer */
.footer { padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.2fr; gap: 32px; }
.footer-grid > div { display: grid; gap: 10px; align-content: start; }
.footer-grid a:not(.brand) { text-decoration: none; color: var(--body); font-size: 15px; }
.footer-grid a:not(.brand):hover { color: var(--ink); text-decoration: underline; }
.f-head { font-weight: 600; font-size: 14px; }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

/* Tablet */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature-lead { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-inner { height: 64px; gap: 12px; }
  .menu { display: block; }
  .nav-actions .link { display: none; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream); border-bottom: 2px solid var(--ink);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px; border-top: 1px solid var(--border); font-size: 16px; }
  .hero { padding: 44px 0 48px; }
  .lede { font-size: 17px; }
  .section { padding: 64px 0; }
  .pillars, .features, .steps, .ladder, .plans { grid-template-columns: 1fr; }
  .feature-lead { grid-column: auto; padding: 26px; }
  .feature-lead h3 { font-size: 22px; }
  .rung, .rung:nth-child(1), .rung:nth-child(2), .rung-top { min-height: 0; }
  .plan-card, .zero { padding: 28px; }
  .price { font-size: 46px; }
  .zero-n { font-size: 68px; }
  .sym-label { display: none; }
  .symbol svg { max-width: 340px; margin: 0 auto; aspect-ratio: 428 / 456; }
  .nav-links .only-phone { display: block; font-weight: 600; color: var(--ink); }
  .letter { padding: 30px 22px 26px; font-size: 16.5px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
