:root {
  --canvas: #F6F5F2;
  --canvas-top: #FBF7F1;
  --surface: #FFFFFF;
  --sunken: #F0EEEA;
  --line: #E8E6E1;
  --ink: #111113;
  --ink2: #6B6B70;
  --ink3: #93939A;
  --ink-inv: #FFFFFF;
  --done: #12A37A;
  --done-tint: #E2F5EE;
  --done-text: #0B7A58;
  --waiting: #C7801F;
  --waiting-tint: #FBF1E2;
  --waiting-text: #9A5F10;
  --place: #4C7DF0;
  --place-tint: #E7EEFD;
  --lock: #8A6FD1;
  --lock-strong: #7A5CC0;
  --lock-tint: #F0EBFA;
  --shadow-card: 0 4px 20px rgba(17, 17, 19, 0.05);
  --shadow-phone: 0 30px 70px rgba(17, 17, 19, 0.16), 0 10px 24px rgba(17, 17, 19, 0.08);
  --r-card: 26px;
  --r-btn: 20px;
  --r-tile: 14px;
  --r-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

body {
  background: linear-gradient(180deg, var(--canvas-top) 0%, var(--canvas) 420px, var(--canvas) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(251, 247, 241, 0.82);
  border-bottom: 1px solid rgba(232, 230, 225, 0.7);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(17, 17, 19, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--r-btn);
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--ink);
  color: var(--ink-inv);
}

.btn-secondary {
  background: var(--sunken);
  color: var(--ink);
}

.btn-sm {
  font-size: 13px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--sunken);
  color: var(--ink2);
}

.chip-done { background: var(--done-tint); color: var(--done-text); }
.chip-lock { background: var(--lock-tint); color: var(--lock-strong); }
.chip-place { background: var(--place-tint); color: var(--place); }
.chip-waiting { background: var(--waiting-tint); color: var(--waiting-text); }
.chip svg { width: 14px; height: 14px; }

/* Hero */
.hero {
  padding: 68px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-grid > *,
.showcase > *,
.pricing-grid > *,
.feature-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink2);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--ink);
}

.hero h1 .muted { color: var(--ink3); }

.hero-sub {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink2);
  max-width: 480px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink3);
}

.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.phone-frame {
  background: #141417;
  border-radius: 42px;
  padding: 9px;
  box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, 0.18);
  position: relative;
}

.phone-frame img {
  border-radius: 34px;
  width: 100%;
  height: auto;
}

.hero-phone-main {
  width: 266px;
  z-index: 3;
}

.hero-phone-left {
  width: 222px;
  position: absolute;
  left: -6px;
  top: 48px;
  transform: rotate(-7deg);
  z-index: 1;
}

.hero-phone-right {
  width: 222px;
  position: absolute;
  right: -6px;
  top: 60px;
  transform: rotate(7deg);
  z-index: 1;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.section-head h2 .muted { color: var(--ink3); }

.section-head p {
  margin-top: 12px;
  font-size: 17px;
  color: var(--ink2);
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.card-lock {
  background: linear-gradient(155deg, #FBF9FF 0%, #F0EBFA 100%);
  box-shadow: none;
}

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: var(--r-tile);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sunken);
  color: var(--ink);
  margin-bottom: 16px;
}

.icon-tile svg { width: 20px; height: 20px; }
.icon-tile-done { background: var(--done-tint); color: var(--done-text); }
.icon-tile-lock { background: var(--lock-tint); color: var(--lock-strong); }
.icon-tile-place { background: var(--place-tint); color: var(--place); }
.icon-tile-waiting { background: var(--waiting-tint); color: var(--waiting-text); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 15px;
  color: var(--ink2);
}

/* Showcase rows */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border-radius: 32px;
  padding: 44px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.showcase.reverse .showcase-media { order: -1; }

.showcase h3 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 14px;
}

.showcase h3 .muted { color: var(--ink3); }

.showcase p {
  margin-top: 14px;
  font-size: 16px;
  color: var(--ink2);
}

.showcase-list {
  margin-top: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
}

.showcase-list .dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--done-tint);
  color: var(--done-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
}

.showcase-list .dot-lock {
  background: var(--lock-tint);
  color: var(--lock-strong);
}

.showcase-media {
  display: flex;
  justify-content: center;
}

.showcase-media .phone-frame {
  width: 268px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.plan-card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.plan-card.pro {
  background: var(--ink);
  color: var(--ink-inv);
}

.plan-card.pro .plan-sub,
.plan-card.pro .plan-note { color: rgba(255, 255, 255, 0.72); }
.plan-card.pro .plan-list li { color: rgba(255, 255, 255, 0.92); }
.plan-card.pro .btn-primary { background: #FFFFFF; color: var(--ink); }

.plan-price {
  margin-top: 14px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.plan-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink3);
}

.plan-card.pro .plan-price span { color: rgba(255, 255, 255, 0.6); }

.plan-sub {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink2);
}

.plan-list {
  list-style: none;
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.plan-list li {
  font-size: 15px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink3);
}

/* CTA Banner */
.cta-box {
  background: var(--surface);
  border-radius: 32px;
  padding: 56px 36px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.cta-box img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 20px;
  box-shadow: 0 12px 26px rgba(17, 17, 19, 0.18);
}

.cta-box h2 {
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.cta-box p {
  margin: 12px auto 28px;
  max-width: 480px;
  font-size: 17px;
  color: var(--ink2);
}

/* Document / Legal / Support pages */
.doc-hero {
  padding: 56px 0 32px;
}

.doc-hero h1 {
  font-size: clamp(32px, 5vw, 46px);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-top: 10px;
}

.doc-hero p {
  margin-top: 12px;
  font-size: 17px;
  color: var(--ink2);
}

.doc-card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

.doc-card h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 28px;
  margin-bottom: 10px;
}

.doc-card h2:first-child { margin-top: 0; }

.doc-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 6px;
}

.doc-card p {
  font-size: 15px;
  color: var(--ink2);
  margin-bottom: 12px;
}

.doc-card ul {
  margin: 8px 0 14px 20px;
  color: var(--ink2);
  font-size: 15px;
}

.doc-card li { margin-bottom: 6px; }
.doc-card strong { color: var(--ink); font-weight: 600; }
.doc-card a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item:first-child { padding-top: 0; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--ink3);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "−"; color: var(--ink); }

.faq-item p,
.faq-item ul {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink2);
}

/* Footer */
.footer {
  padding: 48px 0 60px;
  border-top: 1px solid var(--line);
  margin-top: 56px;
  color: var(--ink2);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid,
  .showcase,
  .pricing-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .showcase { padding: 28px; }
  .showcase.reverse .showcase-media { order: 0; }
  .hero-phones { min-height: 440px; }
  .hero-phone-main { width: 224px; }
  .hero-phone-left, .hero-phone-right { width: 176px; }
}

@media (max-width: 640px) {
  .container, .narrow { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; flex-wrap: wrap; row-gap: 10px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 10px; font-size: 13px; }
  .nav-links a { white-space: nowrap; }
  .nav-cta { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-phone-left, .hero-phone-right { display: none; }
  .hero-phones { min-height: auto; }
  .hero-phone-main { width: 256px; }
  .doc-card { padding: 24px; }
}
