:root {
  --bg: #FAF8F5;
  --sand: #F3EEE7;
  --ink: #1A1918;
  --text-2: #5C5853;
  --text-3: #6F6A63;
  --line: #ECE6DD;
  --line-2: #DDD5C9;
  --accent: #B8582E;
  --peach: #F2C9AE;
  --peach-soft: #FBEADF;
  --good: #2F6B45;
  --good-dot: #3E8E5C;
  --amber: #8A5A08;
  --amber-dot: #D69A2D;
  --white: #FFFFFF;
  --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; }
p { margin: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: clamp(20px, 4vw, 32px); padding-right: clamp(20px, 4vw, 32px); }
.narrow { max-width: 980px; }
.center { text-align: center; }
.muted { color: var(--text-2); }
.small { font-size: 15px; }
.strong { font-weight: 600; }
.accent { color: var(--accent); }

/* Buttons */
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: var(--bg);
  font: inherit; font-weight: 600; font-size: 17px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  transition: transform 150ms ease, background 150ms ease;
}
.btn:hover { background: #33302D; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, .nav-link:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-small { min-height: 44px; font-size: 15px; padding: 0 18px; }
.btn-big { min-height: 58px; font-size: 18px; padding: 0 30px; }
.btn-block { width: 100%; }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #FFFFFF; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--sand); }

.pill { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); background: var(--peach-soft); padding: 6px 14px; border-radius: 999px; }
.pill-green { color: var(--good); background: #E3F0E7; }
.step .pill { align-self: flex-start; }

/* Nav */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; }
.nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav-link { color: var(--text-2); text-decoration: none; font-size: 16px; }
.nav-link:hover { color: var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand-mark, .app-icon { width: 26px; height: 26px; border-radius: 999px; background: var(--peach); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-mark span, .app-icon span { width: 10px; height: 10px; border-radius: 999px; background: var(--ink); }

/* Hero */
.hero { text-align: center; padding-top: clamp(32px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { margin: 18px auto 0; font-size: clamp(42px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.035em; max-width: 980px; }
.hero h1 em { color: var(--accent); }
.lead { margin: 26px auto 0; max-width: 560px; font-size: clamp(18px, 1.7vw, 21px); color: var(--text-2); }
.hero-cta { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.founder-link { text-underline-offset: 3px; }

/* Demo */
.demo { margin-top: clamp(56px, 8vw, 96px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px clamp(24px, 5vw, 72px); }
.demo-side { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.demo-cap { font-size: 15px; color: var(--text-3); max-width: 240px; min-height: 46px; }

.keypad { width: 184px; height: 340px; background: #2A2725; border-radius: 30px; padding: 22px 18px; box-shadow: 0 30px 60px rgba(26, 25, 24, 0.18); transition: transform 160ms ease-in-out; }
.keypad-screen { height: 118px; border-radius: 10px; background: #CFE8D6; color: #1E2A22; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transition: background 400ms; }
.kp-top { font-size: 12px; font-weight: 600; opacity: 0.7; }
.kp-name { font-size: 20px; font-weight: 700; }
.kp-bottom { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.keys { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; }
.key { height: 16px; border-radius: 6px; background: #3D3936; }
.key-green { background: #4E8E63; }
.key-red { background: #C24A3A; }

.dots { display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--line-2); transition: background 250ms; }
.dot.on { background: var(--accent); }

.phone { width: 270px; height: 540px; background: var(--ink); border-radius: 46px; padding: 10px; box-shadow: 0 40px 80px rgba(26, 25, 24, 0.22); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #2E2A27; text-align: left; }
.lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 70px; color: var(--bg); transition: opacity 450ms; }
.lock-date { font-size: 15px; font-weight: 500; opacity: 0.8; }
.lock-time { font-size: 68px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.notif { position: absolute; left: 10px; right: 10px; top: 210px; background: rgba(250, 248, 245, 0.94); color: var(--ink); border-radius: 20px; padding: 12px 14px; display: flex; gap: 10px; opacity: 0; transform: translateY(-24px); transition: transform 500ms cubic-bezier(0.2, 0.9, 0.3, 1.15), opacity 350ms; }
.notif .app-icon { width: 34px; height: 34px; border-radius: 9px; }
.notif-body { min-width: 0; font-size: 13px; line-height: 1.35; display: flex; flex-direction: column; gap: 2px; }
.notif-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); }
.notif-head b { color: var(--ink); }
.chat { position: absolute; inset: 0; background: var(--sand); display: flex; flex-direction: column; opacity: 0; transform: translateY(16px); transition: opacity 450ms, transform 450ms; }
.chat-head { padding: 44px 16px 12px; background: var(--white); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #E8E1D7; font-size: 14px; font-weight: 600; }
.chat-head .app-icon { width: 30px; height: 30px; }
.chat-body { padding: 14px 12px; }
.bubble { background: var(--white); border-radius: 6px 18px 18px 18px; padding: 12px 14px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); }
.b-meta { font-size: 12px; color: var(--text-3); }
.b-status { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--good); display: flex; align-items: center; gap: 6px; }
.b-text { margin-top: 6px; font-size: 13px; line-height: 1.45; }
.b-ask { margin-top: 10px; font-size: 13px; line-height: 1.4; background: var(--peach-soft); border-radius: 10px; padding: 8px 10px; }
.b-time { margin-top: 6px; text-align: right; font-size: 11px; color: var(--text-3); }
.sdot { width: 8px; height: 8px; border-radius: 999px; background: var(--good-dot); display: inline-block; }

/* Sections */
.band-line { border-top: 1px solid var(--line); }
.band-sand { background: var(--sand); }
.band-dark { background: var(--ink); color: var(--bg); }
.section { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px); }
.statement { padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px); }
.big-quote { font-weight: 500; font-size: clamp(28px, 4.2vw, 56px); line-height: 1.15; letter-spacing: -0.025em; }
.faded { color: #A8A29A; }
.sub { margin: 28px auto 0; max-width: 520px; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; }

.split { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px); }
.split.top { align-items: flex-start; }
.col { flex: 1 1 400px; min-width: 0; }

.spec { margin: 40px 0 0; }
.spec div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.spec div:last-child { border-bottom: 1px solid var(--line-2); }
.spec dt { font-weight: 600; }
.spec dd { margin: 0; color: var(--text-2); text-align: right; }

.notes { display: flex; flex-direction: column; gap: 14px; }
.note { background: var(--white); border-radius: 24px; padding: 26px 28px; box-shadow: 0 1px 2px rgba(26, 25, 24, 0.04), 0 20px 50px rgba(26, 25, 24, 0.07); }
.note.offset { margin-left: clamp(0px, 4vw, 48px); }
.note-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.note-name { font-weight: 600; font-size: 20px; }
.note p.muted { margin-top: 10px; }
.note-ask { margin-top: 14px; padding-top: 14px; border-top: 1px solid #F0EAE1; }
.note-ask em { font-size: 22px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.status.good { color: var(--good); }
.status.amber { color: var(--amber); }
.status.amber .sdot { background: var(--amber-dot); }

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.steps li { flex: 1 1 260px; min-width: 0; padding: 28px 28px 0 0; }
.num { display: block; font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--accent); }
.step-title { margin-top: 16px; font-weight: 600; font-size: 21px; }
.steps .muted { margin-top: 6px; }

.checks { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks li::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6B45' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.price-card { flex: 0 1 380px; min-width: 0; background: var(--white); border-radius: 28px; padding: 36px 32px; box-shadow: 0 1px 2px rgba(26, 25, 24, 0.04), 0 24px 60px rgba(26, 25, 24, 0.08); display: flex; flex-direction: column; gap: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.price span:first-child { font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: -0.04em; }
.price-card .btn { margin-top: 18px; }

.band-dark .wrap { padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(80px, 11vw, 150px); }
.final { font-size: clamp(38px, 6.4vw, 88px); line-height: 1; letter-spacing: -0.035em; }
.final em { color: var(--peach); }
.band-dark .btn { margin-top: 40px; }
.dark-muted { margin-top: 18px; color: #BDB6AD; }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 28px; padding-bottom: 40px; font-size: 15px; }
.footer nav { display: flex; gap: 24px; }
.footer nav a { color: var(--text-2); min-height: 44px; display: inline-flex; align-items: center; }

/* Dialog */
dialog { border: 0; padding: 0; border-radius: 28px; width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: var(--bg); color: var(--ink); box-shadow: 0 40px 100px rgba(26, 25, 24, 0.3); }
dialog::backdrop { background: rgba(26, 25, 24, 0.45); backdrop-filter: blur(2px); }
.step { padding: 36px 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.step h3 { font-size: 30px; line-height: 1.1; margin-top: 6px; }
.step form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.step label { font-weight: 600; font-size: 15px; margin-top: 6px; }
.step input, .step select { height: 52px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--white); padding: 0 16px; font: inherit; font-size: 17px; color: var(--ink); }
.step .btn { margin-top: 10px; }
.close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.close:hover { background: var(--sand); }
.error { color: #A3262C; font-size: 15px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 14px; margin: 8px 0 2px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.done-mark { width: 60px; height: 60px; margin: 0 auto; border-radius: 999px; background: #E3F0E7; color: var(--good); display: flex; align-items: center; justify-content: center; }
.step.center { align-items: stretch; }
[hidden] { display: none !important; }

@media (max-width: 520px) {
  .checks { grid-template-columns: 1fr; }
  .spec div { flex-direction: column; gap: 2px; }
  .spec dd { text-align: left; }
  .dots { transform: rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* About */
.about-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.about-line { flex: 1 1 380px; min-width: 0; font-weight: 500; font-size: clamp(24px, 3vw, 36px); line-height: 1.2; letter-spacing: -0.02em; }
.about-label { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--accent); }

/* Footer: let links wrap on small screens */
.footer nav { flex-wrap: wrap; gap: 0 24px; }

/* Simple content pages */
.doc { max-width: 760px; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(64px, 9vw, 112px); }
.doc h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.035em; }
.doc .updated { margin-top: 14px; font-size: 15px; color: var(--text-3); }
.doc h2 { margin-top: 44px; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.doc p, .doc ul { margin: 14px 0 0; color: var(--text-2); }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--accent); text-underline-offset: 3px; }
.doc strong { color: var(--ink); }
.callout { margin-top: 28px; background: var(--peach-soft); border-radius: 18px; padding: 18px 22px; color: var(--ink); }
.contact-list { margin-top: 36px; display: grid; gap: 14px; }
.contact-item { background: var(--white); border-radius: 20px; padding: 22px 24px; box-shadow: 0 1px 2px rgba(26, 25, 24, 0.04), 0 16px 40px rgba(26, 25, 24, 0.06); }
.contact-item dt { font-size: 14px; font-weight: 600; color: var(--text-3); }
.contact-item dd { margin: 6px 0 0; font-size: 20px; font-weight: 600; color: var(--ink); }
.contact-item dd a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
