:root {
  --bg: #fbf8f1; --bg-2: #f4eee1; --fg: #1f1b14; --muted: #6b6457; --accent: #c98a12; --accent-ink: #1a1400;
  --accent-soft: #f6e6c2; --card: #ffffff; --line: #e8e1d2; --shadow: 0 1px 2px rgb(31 27 20 / 6%), 0 8px 24px rgb(31 27 20 / 6%);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #17140f; --bg-2: #1d1913; --fg: #f3eee4; --muted: #a59d8e; --accent: #e8a93a; --accent-ink: #1a1400;
          --accent-soft: #3a2e17; --card: #211d16; --line: #332d23; --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { margin-left: auto; display: flex; gap: 20px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--fg); }
@media (max-width: 640px) { .top nav a.hide-sm { display: none; } }

/* Hero */
.hero { padding: 72px 0 40px; background: radial-gradient(1200px 500px at 70% -10%, var(--accent-soft), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
h1 { font-size: clamp(36px, 5.5vw, 56px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; }
.lede { font-size: 20px; color: var(--muted); margin: 0 0 24px; }
.claims { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.claims li { padding-left: 30px; position: relative; }
.claims li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 6px; background: var(--accent); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8 13.2 4.8 10l-1.4 1.4L8 16l9-9-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--fg); background: var(--card); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn:hover { filter: brightness(1.04); }
.trust { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* Phones */
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 230px; border-radius: 34px; overflow: hidden; border: 8px solid #1f1b14; box-shadow: var(--shadow); background: #000; }
.phone img { width: 100%; }
.phone.a { left: 8%; top: 0; transform: rotate(-4deg); z-index: 2; }
.phone.b { right: 6%; top: 46px; transform: rotate(5deg); }
@media (max-width: 860px) { .phones { height: 480px; } .phone { width: 200px; } .phone.a { left: 4%; } .phone.b { right: 4%; } }
@media (max-width: 460px) { .phones { height: 420px; } .phone { width: 170px; } }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-2); }
h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 18px; margin: 0 0 36px; max-width: 680px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.step .n { width: 30px; height: 30px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center; margin-bottom: 12px; }
.step h3, .card h3 { margin: 0 0 6px; font-size: 18px; }
.step p, .card p { margin: 0; color: var(--muted); font-size: 16px; }
.say { font-style: italic; color: var(--fg); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card .ico { font-size: 22px; margin-bottom: 8px; }

/* Gallery */
.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; flex: 0 0 220px; scroll-snap-align: start; }
.gallery img { border-radius: 26px; border: 6px solid #1f1b14; box-shadow: var(--shadow); }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 10px; }

/* Two columns */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.check b { display: block; margin-bottom: 2px; }
.check span { color: var(--muted); font-size: 16px; }
ol.run { margin: 0; padding-left: 22px; display: grid; gap: 12px; }
ol.run li::marker { color: var(--accent); font-weight: 700; }
code, pre { font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre { background: #1f1b14; color: #f3eee4; border-radius: 12px; padding: 14px 16px; overflow-x: auto; margin: 10px 0 0; }
:not(pre) > code { background: var(--accent-soft); padding: 1px 6px; border-radius: 6px; }
.note { color: var(--muted); font-size: 15px; margin-top: 18px; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 2px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer .tag { color: var(--fg); font-weight: 600; margin-right: auto; }
footer a { color: var(--muted); }
