:root {
  --bg: #faf8f3; --surface: #f2efe7; --raised: #fff; --text: #26272a; --text-2: #6a6b66; --text-3: #9a9a93;
  --accent: #49705d; --accent-soft: #e3ebe5; --separator: #e6e2d8; --warm: #8a6414;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #151614; --surface: #1f201d; --raised: #282925; --text: #ecebe6; --text-2: #a3a39c; --text-3: #6e6e68;
    --accent: #8fbca4; --accent-soft: #25322b; --separator: #2d2e2a; --warm: #d9ae5b; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

.nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--separator) 60%, transparent); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--text); text-decoration: none; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.nav nav a { color: var(--text-2); text-decoration: none; }
.nav nav a:hover { color: var(--text); }
@media (max-width: 640px) { .nav nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 9px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 20px; border-radius: 14px; transition: transform 0.15s, filter 0.15s; }
@media (prefers-color-scheme: dark) { .btn { color: #151614; } }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn.small { padding: 8px 14px; font-size: 14px; border-radius: 10px; color: #fff !important; }
@media (prefers-color-scheme: dark) { .btn.small { color: #151614 !important; } }
.btn.ghost { background: none; color: var(--accent); padding-left: 6px; }

main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

.hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: clamp(40px, 8vw, 96px) 0 48px; }
.eyebrow { color: var(--accent); font-weight: 650; font-size: 14px; letter-spacing: 0.02em; margin: 0 0 12px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 7vw, 84px); line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 20px; }
.lead { font-size: clamp(18px, 2vw, 20px); color: var(--text-2); margin: 0 0 28px; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fine { font-size: 14px; color: var(--text-3); margin-top: 16px; }
.hero-art { position: relative; padding: 0 0 40px 0; }
.browser { background: var(--raised); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(38, 39, 42, 0.18), 0 2px 6px rgba(0,0,0,0.06); border: 1px solid var(--separator); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--separator); }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--separator); }
.bar span { margin: 0 auto; font-size: 12px; color: var(--text-3); background: var(--bg); padding: 2px 14px; border-radius: 6px; }
.phone { position: absolute; right: -10px; bottom: 0; width: 34%; border-radius: 30px; overflow: hidden; border: 6px solid #1c1c1e; box-shadow: 0 30px 60px rgba(0,0,0,0.25); background: #000; }
.phone img { border-radius: 24px; }
.phone.small { position: static; width: 100%; max-width: 280px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .browser { transform: none; } }

.type-demo { text-align: center; padding: 48px 0 64px; }
.type-demo .field { display: inline-flex; align-items: center; gap: 12px; background: var(--raised); border: 1px solid var(--separator); border-radius: 16px; padding: 14px 20px; box-shadow: 0 10px 30px rgba(38, 39, 42, 0.08); font-size: clamp(16px, 2vw, 19px); max-width: 100%; }
.type-demo .plus { color: var(--accent); font-weight: 700; }
.typed { overflow: hidden; white-space: nowrap; border-right: 2px solid var(--accent); animation: type 3.4s steps(42) 0.4s both, caret 0.9s step-end infinite; max-width: 42ch; }
@keyframes type { from { width: 0; } to { width: 42ch; } }
@keyframes caret { 50% { border-color: transparent; } }
.chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.chips span { background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 14px; padding: 4px 12px; border-radius: 20px; opacity: 0; animation: pop 0.4s ease-out forwards; }
.chips span:nth-child(1) { animation-delay: 1.9s; } .chips span:nth-child(2) { animation-delay: 2.5s; } .chips span:nth-child(3) { animation-delay: 3.1s; } .chips span:nth-child(4) { animation-delay: 3.7s; }
.chips .warm { background: color-mix(in srgb, var(--warm) 14%, transparent); color: var(--warm); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(0.95); } to { opacity: 1; transform: none; } }
.type-demo p { color: var(--text-2); margin: 0; }
@media (prefers-reduced-motion: reduce) { .typed, .chips span { animation: none; opacity: 1; width: auto; border: 0; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 24px 0 72px; }
.features article { background: var(--surface); border-radius: 20px; padding: 26px; }
.features .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.features h2 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.01em; }
.features p { margin: 0; color: var(--text-2); font-size: 15.5px; }

.showcase { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; padding: 24px 0 80px; }
.showcase h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin: 0 0 14px; }
.showcase p { color: var(--text-2); margin: 0 0 18px; }
.showcase ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.showcase li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 10px; }
@media (max-width: 760px) { .showcase { grid-template-columns: 1fr; justify-items: center; } }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; max-width: 760px; margin: 0 auto; padding: 0 0 80px; }
.plan { background: var(--raised); border: 1px solid var(--separator); border-radius: 22px; padding: 28px; }
.plan.pro { border: 2px solid var(--accent); }
.plan h3 { margin: 0; font-size: 16px; color: var(--text-2); }
.plan.pro h3 { color: var(--accent); }
.price { font-size: 38px; font-weight: 700; margin: 6px 0 16px; letter-spacing: -0.02em; }
.price span { font-size: 16px; font-weight: 500; color: var(--text-3); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--text-2); font-size: 15.5px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 10px; }

.faq { max-width: 760px; margin: 0 auto; padding: 0 0 80px; }
.faq h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; margin: 0 0 16px; }
.faq details { border-top: 1px solid var(--separator); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--text-2); margin: 10px 0 0; }

.foot { border-top: 1px solid var(--separator); padding: 28px clamp(16px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--text-3); }
.foot div { display: flex; align-items: center; gap: 10px; }
.foot img { width: 22px; height: 22px; border-radius: 6px; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--text-2); text-decoration: none; }
