:root {
  --paper: #FAF9F6;
  --ink: #111111;
  --muted: #6E6E6E;
  --line: #E6E4DF;
  --tile: #F0EEEA;
  --gutter: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; max-width: 18ch; }
h3 { font-size: 17px; margin-top: 14px; }
p { margin: 12px 0 0; }
.kicker { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.small, .note { font-size: 13px; color: var(--muted); }
.mark { font-weight: 600; letter-spacing: .36em; text-decoration: none; font-size: 15px; }

.bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(250, 249, 246, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar nav { display: flex; gap: 28px; font-size: 14px; }
.bar nav a { text-decoration: none; color: var(--muted); }
.bar nav a:hover { color: var(--ink); }

section { padding: clamp(56px, 9vw, 120px) var(--gutter); border-bottom: 1px solid var(--line); }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-top: clamp(40px, 6vw, 80px); }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: #333; max-width: 46ch; margin-top: 22px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; border: 1px solid var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn:hover { opacity: .85; }
.note { margin-top: 18px; }
.hero-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: var(--tile); }

.steps article { display: flex; flex-direction: column; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 48px; }
.phone { border: 9px solid var(--ink); border-radius: 34px; overflow: hidden; background: var(--paper); aspect-ratio: 780 / 1328; box-shadow: 0 18px 40px rgba(17,17,17,.12); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.steps .phone { max-width: 300px; }
.hero-img { position: relative; }
.hero-phone { position: absolute; left: -48px; bottom: -36px; width: 34%; min-width: 130px; border-width: 7px; border-radius: 26px; }
.steps p { color: var(--muted); font-size: 15px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; background: #fff; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
figure { margin: 0; }
figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; letter-spacing: .04em; }
.compare-copy p { color: #333; max-width: 44ch; }
.compare-copy .small { color: var(--muted); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 44px 0 20px; }
.grid3 > div { background: var(--paper); padding: 28px; }
.grid3 h3 { margin: 0; }
.grid3 p { color: var(--muted); font-size: 15px; }

.contact { text-align: center; border-bottom: 0; }
.contact h2 { margin: 0 auto; }
.contact p { color: var(--muted); }
.email { font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); text-underline-offset: 6px; }

footer { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding: 56px var(--gutter) 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer .mark { color: var(--ink); }
footer .foot-brand p { max-width: 28ch; }
.foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-links div { display: flex; flex-direction: column; gap: 8px; }
.foot-links h4 { margin: 0 0 4px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
footer .legal { grid-column: 1 / -1; font-size: 12px; border-top: 1px solid var(--line); padding-top: 20px; margin: 0; }
.doc h2[id] { scroll-margin-top: 90px; }
.doc ul { padding-left: 20px; }
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }

.doc { max-width: 720px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter); }
.doc h1 { font-size: clamp(32px, 4vw, 44px); }
.doc h2 { font-size: 20px; margin-top: 36px; max-width: none; }
.doc p, .doc li { color: #333; }

@media (max-width: 820px) {
  .bar nav { gap: 18px; }
  .bar nav a:not(:last-child) { display: none; }
  .hero, .compare { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .steps, .grid3 { grid-template-columns: 1fr; }
  .steps .phone { max-width: 280px; }
  .hero-img { margin-bottom: 36px; }
  .hero-phone { left: 12px; bottom: -28px; width: 32%; }
  footer, .foot-links { grid-template-columns: 1fr; }
}
