:root { --bg: #ffffff; --soft-bg: #f6f4ef; --ink: #111111; --soft: #5f5f5f; --line: #e8e5de; --accent: #ff4d2e; --card: #ffffff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0e0e0e; --soft-bg: #161616; --ink: #f3f3f3; --soft: #a3a3a3; --line: #2a2a2a; --card: #181818; } }
:root[data-theme="dark"] { --bg: #0e0e0e; --soft-bg: #161616; --ink: #f3f3f3; --soft: #a3a3a3; --line: #2a2a2a; --card: #181818; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: clamp(48px, 7vw, 88px); line-height: .98; margin: 0 0 22px; }
h1 em { color: var(--accent); }
h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; margin: 0 0 28px; }
h3 { font-size: 17px; margin: 0 0 6px; }
p { margin: 0; }
main > section { max-width: 1120px; margin: 0 auto; padding: 88px 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 14px 20px; max-width: 1120px; margin: 0 auto; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--soft); }
.top nav a:hover { color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 800 21px/1 Inter, sans-serif; letter-spacing: -.035em; color: var(--ink); }
.logo b { color: var(--accent); font-weight: 800; }
.mark { width: 24px; height: 24px; }
.logo.small { font-size: 16px; } .logo.small .mark { width: 18px; height: 18px; }

/* buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg) !important; font: 600 15px Inter, sans-serif; padding: 14px 22px; cursor: pointer; text-decoration: none; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.small { padding: 9px 16px; font-size: 13.5px; }
.join { display: flex; flex-wrap: wrap; gap: 10px; max-width: 480px; }
.join input[type=email] { flex: 1 1 220px; min-width: 0; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 13px 18px; font: 15px Inter, sans-serif; }
.join input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.join .msg { flex-basis: 100%; min-height: 22px; font-size: 14px; color: var(--soft); }
.join .msg.ok { color: #15803d; } .join .msg.err { color: #c2410c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 56px !important; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 18px; }
.lead { font-size: 18.5px; color: var(--soft); max-width: 560px; margin-bottom: 28px; }
.fine { font-size: 13.5px; color: var(--soft); margin-top: 6px; }

.phone { justify-self: center; width: min(300px, 78vw); aspect-ratio: 9 / 16; border-radius: 34px; padding: 10px; background: #111; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06) inset; transform: rotate(2deg); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #fbf7ef; }
.scene { display: block; width: 100%; height: 100%; }
.sun { animation: pulse 4s ease-in-out infinite; transform-origin: 196px 118px; }
.hill.back { animation: drift 9s ease-in-out infinite alternate; }
.coin { animation: hop 3.2s cubic-bezier(.45,0,.2,1) infinite; }
.trail { stroke-dashoffset: 0; animation: dash 3.2s linear infinite; }
@keyframes pulse { 50% { transform: scale(1.08); } }
@keyframes drift { to { transform: translateX(-14px); } }
@keyframes hop { 0% { transform: translate(40px, 290px) rotate(0); } 50% { transform: translate(115px, 225px) rotate(180deg); } 100% { transform: translate(178px, 235px) rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -44; } }
.caption { position: absolute; left: 8%; right: 8%; top: 74%; text-align: center; font: 800 19px/1.25 Inter, sans-serif; color: #111; min-height: 48px; }
.caption span { transition: color .15s; } .caption span.on { color: var(--accent); }
.bar { position: absolute; left: 10%; right: 10%; bottom: 5%; height: 3px; background: rgba(0,0,0,.1); border-radius: 3px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: #111; }
@media (prefers-reduced-motion: reduce) { .sun, .hill.back, .coin, .trail { animation: none; } .coin { transform: translate(115px, 225px); } }

/* strip */
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; padding: 22px 20px !important; border-block: 1px solid var(--line); max-width: none !important; font-size: 14px; color: var(--soft); }
.strip span::before { content: "✄ "; color: var(--accent); }

/* how */
.how ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how li { background: var(--soft-bg); border-radius: 20px; padding: 28px; }
.how li b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; margin-bottom: 18px; }
.how li p, .why p, .who p, .faq p { color: var(--soft); font-size: 15px; }

/* why */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.why > div p { font-size: 17px; }
.why ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.why li { border-top: 2px solid var(--ink); padding-top: 14px; }

/* who */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards article { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: var(--card); }

/* faq */
.faq { max-width: 760px !important; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; }

/* cta */
.cta { text-align: center; }
.cta .join { margin: 0 auto; justify-content: center; }
.cta .join .msg { text-align: center; }

/* footer */
.foot { max-width: 1120px; margin: 0 auto; padding: 28px 20px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--soft); }
.foot .grow { flex: 1; }
.foot a { text-decoration: none; }

/* small screens */
@media (max-width: 900px) {
  .hero, .why { grid-template-columns: 1fr; }
  .hero { gap: 44px; }
  .how ol, .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  main > section { padding: 64px 16px; }
  .top { padding: 12px 16px; }
  .top nav a:not(.btn) { display: none; }
  .how ol, .cards, .why ul { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
}
