:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --ink: #1f2933;
  --ink-soft: #3d4751;
  --ink-mute: #5c656e;
  --amber: #f59e0b;
  --amber-deep: #c77a0a;
  --line: rgba(31, 41, 51, 0.1);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14), 0 8px 20px rgba(15, 23, 42, 0.06);
  --radius: 12px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--amber-deep); }

h1, h2, h3 { margin: 0 0 16px; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.15; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 12px; color: var(--ink-soft); }

.micro { font-size: 0.85rem; color: var(--ink-mute); }
.center { text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 60ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #000; color: var(--bg); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(31, 41, 51, 0.04); color: var(--ink); }
.btn-lg { padding: 14px 24px; font-size: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(251, 250, 248, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.site-header nav { display: flex; align-items: center; gap: 24px; font-size: 0.95rem; color: var(--ink-soft); }
.site-header nav a:not(.btn) { color: var(--ink-soft); }
.site-header nav a:not(.btn):hover { color: var(--ink); }

main > section { padding: 96px max(24px, calc((100vw - var(--max)) / 2)); }

.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px;
  align-items: center;
  padding-top: 80px; padding-bottom: 64px;
}
.hero h1 em { color: var(--amber-deep); font-style: normal; }
.tagline { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 28px; max-width: 38ch; }
.cta-row { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.hero-shot { position: relative; }
.hero-shot img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}

.features { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features h2 { text-align: center; margin-bottom: 48px; }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
}
.feature-grid article {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.feature-grid article:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature-grid img {
  width: 100%; height: auto; display: block;
  border-radius: 8px; margin-bottom: 16px;
  border: 1px solid var(--line);
}
.feature-grid h3 { margin-bottom: 6px; }
.feature-grid p { margin: 0; font-size: 0.95rem; }

.pricing h2 { text-align: center; max-width: 32ch; margin: 0 auto 48px; }
.price-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  align-items: stretch; margin-bottom: 20px;
}
.price-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.price-card.featured {
  border: 2px solid var(--amber); box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.price-card .badge {
  position: absolute; top: -12px; right: 18px;
  background: var(--amber); color: var(--ink);
  font-size: 0.75rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.02em;
}
.price-card .price { font-size: 2.4rem; font-weight: 800; margin: 8px 0 4px; color: var(--ink); }
.price-card .price span { font-size: 0.9rem; font-weight: 500; color: var(--ink-mute); margin-left: 4px; }
.price-card .savings { font-size: 0.85rem; color: var(--amber-deep); font-weight: 600; margin: 0 0 12px; }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; }
.price-card li { padding: 4px 0 4px 22px; position: relative; font-size: 0.92rem; color: var(--ink-soft); }
.price-card li::before {
  content: '✓'; position: absolute; left: 0; top: 4px;
  color: var(--amber-deep); font-weight: 700; font-size: 0.9rem;
}
.price-card .btn { width: 100%; }

.privacy { background: var(--surface); border-top: 1px solid var(--line); }
.privacy h2 { text-align: center; max-width: 28ch; margin: 0 auto 48px; }
.privacy-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  max-width: 880px; margin: 0 auto;
}
.privacy-grid > div {
  background: var(--bg); border-left: 3px solid var(--amber);
  padding: 20px 24px; border-radius: 6px;
}
.privacy-grid h3 { color: var(--amber-deep); margin-bottom: 8px; }
.privacy-grid p { margin: 0; font-size: 0.95rem; }

.site-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 32px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.site-footer .brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.site-footer nav { display: flex; gap: 20px; font-size: 0.9rem; color: var(--ink-mute); }
.site-footer nav a { color: var(--ink-mute); }
.site-footer nav a:hover { color: var(--ink); }
.site-footer .micro { margin: 4px 0 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .feature-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .site-header nav { gap: 14px; }
  .site-header nav a:not(.btn) { display: none; }
}
@media (max-width: 540px) {
  .price-grid { grid-template-columns: 1fr; }
  main > section { padding-top: 56px; padding-bottom: 56px; }
}
