:root {
  --cream: #faf6ee;
  --cream-2: #f3eddf;
  --ink: #1a1210;
  --ink-2: rgba(26, 18, 16, 0.66);
  --ink-3: rgba(26, 18, 16, 0.44);
  --line: rgba(26, 18, 16, 0.12);
  --red: #8b2020;
  --red-dark: #6f1818;
  --highlight: #fff2a8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 12px 32px rgba(26, 18, 16, 0.08);
  --shadow-soft-lg: 0 24px 60px rgba(26, 18, 16, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  background: var(--cream-2);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: "SF Mono", Menlo, monospace;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─────────── nav ─────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 22px;
  color: var(--red);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a {
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: var(--ink);
}

/* ─────────── buttons ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.05s ease, background 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--red);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--red-dark);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(26, 18, 16, 0.04);
}

.btn-ghost-sm {
  font-size: 13px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost-sm:hover {
  background: rgba(26, 18, 16, 0.04);
}

/* ─────────── hero ─────────── */
.hero {
  padding-top: 80px;
  padding-bottom: 100px;
  text-align: center;
}

.hero-headline {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--ink);
}

.emph {
  font-style: italic;
  color: var(--red);
}
.strike {
  position: relative;
  display: inline-block;
  color: var(--ink-3);
}
.strike::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 52%;
  height: 4px;
  background: var(--red);
  transform: rotate(-2deg);
  border-radius: 2px;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-note {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 56px;
}

.hide-sm {
  display: inline;
}
@media (max-width: 600px) {
  .hide-sm {
    display: none;
  }
}

/* hero card mock */
.hero-card {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft-lg);
  text-align: left;
  overflow: hidden;
  transform: translateY(0);
}
.hc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--cream-2);
}
.hc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(26, 18, 16, 0.18);
}
.hc-title {
  margin-left: 6px;
  font-size: 13px;
  color: var(--ink-2);
}
.hc-body {
  padding: 22px 22px 14px;
  font-size: 15px;
  color: var(--ink);
}
.hc-sig {
  color: var(--ink-3);
  font-size: 13px;
}
.hc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.hc-pill {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(139, 32, 32, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.hc-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-3);
}
.hc-strike {
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1.5px;
}

/* ─────────── features ─────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 100px;
}
@media (max-width: 760px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.feature-icon {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 32px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 12px;
}
.feature h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}

/* ─────────── section headlines ─────────── */
.section-headline {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 600px;
  margin: 0 0 36px;
}

/* ─────────── demo ─────────── */
.demo {
  padding-top: 60px;
  padding-bottom: 100px;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
  align-items: stretch;
}
@media (max-width: 820px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
}
.demo-col {
  display: flex;
  flex-direction: column;
}
.demo-label {
  margin-bottom: 10px;
}
.demo-pill {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.demo-pill-before {
  background: rgba(26, 18, 16, 0.08);
  color: var(--ink-2);
}
.demo-pill-after {
  background: var(--red);
  color: var(--cream);
}
.demo-text {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px;
  font-size: 15.5px;
  line-height: 1.6;
  flex: 1;
  min-height: 220px;
}
.demo-text-before {
  color: var(--ink-2);
}
.demo-text mark {
  background: var(--highlight);
  color: inherit;
  padding: 1px 3px;
  border-radius: 3px;
}

.slider-wrap {
  margin-top: 18px;
}
.slider {
  position: relative;
  height: 26px;
  margin: 0 12px;
  cursor: pointer;
  user-select: none;
}
.slider-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 4px;
  background: rgba(26, 18, 16, 0.14);
  border-radius: 2px;
}
.slider-fill {
  position: absolute;
  left: 0;
  top: 11px;
  height: 4px;
  width: 50%;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.2s ease;
}
.slider-thumb {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  background: var(--cream);
  border: 2px solid var(--red);
  border-radius: 50%;
  cursor: grab;
  transition: left 0.2s ease;
  box-shadow: 0 2px 6px rgba(26, 18, 16, 0.12);
}
.slider-thumb:active {
  cursor: grabbing;
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.slabel {
  cursor: pointer;
  transition: color 0.15s ease;
}
.slabel.active {
  color: var(--red);
  font-weight: 600;
}

/* ─────────── providers ─────────── */
.providers {
  padding-top: 40px;
  padding-bottom: 100px;
}
.provider-grid {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .provider-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .provider-grid {
    grid-template-columns: 1fr;
  }
}
.provider-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.provider-grid li:hover {
  border-color: rgba(139, 32, 32, 0.3);
  transform: translateY(-1px);
}
.provider-grid strong {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
}
.provider-grid span {
  font-size: 13px;
  color: var(--ink-3);
}

/* ─────────── how it works ─────────── */
.how {
  padding-top: 40px;
  padding-bottom: 100px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.steps li {
  position: relative;
}
.step-num {
  display: block;
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-size: 28px;
  color: var(--red);
  margin-bottom: 4px;
}
.steps h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.steps p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}

/* ─────────── privacy ─────────── */
.privacy {
  padding-top: 40px;
  padding-bottom: 100px;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  max-width: 880px;
}
@media (max-width: 760px) {
  .checks {
    grid-template-columns: 1fr;
  }
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
}
.check {
  color: var(--red);
  font-weight: 700;
  margin-top: 1px;
}

/* ─────────── about ─────────── */
.about {
  padding-top: 40px;
  padding-bottom: 100px;
  max-width: 760px;
}
.about .section-headline {
  margin-bottom: 24px;
}
.about-body {
  font-size: 16.5px;
  color: var(--ink-2);
  margin: 0 0 14px;
  max-width: 640px;
  line-height: 1.7;
}
.about-link {
  color: var(--red);
  border-bottom: 1px solid rgba(139, 32, 32, 0.3);
  font-style: italic;
  transition: border-color 0.15s ease;
}
.about-link:hover {
  border-bottom-color: var(--red);
}
.about-body em {
  color: var(--ink);
  font-style: italic;
}
.about-thanks {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: rgba(139, 32, 32, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
  color: var(--ink);
}

.hero-credit {
  color: var(--red);
  border-bottom: 1px solid rgba(139, 32, 32, 0.3);
  transition: border-color 0.15s ease;
}
.hero-credit:hover {
  border-bottom-color: var(--red);
}

/* ─────────── install ─────────── */
.install {
  padding-top: 40px;
  padding-bottom: 120px;
  text-align: left;
}
.install-steps {
  margin: 24px 0 32px;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.9;
}
.install-cta {
  margin-top: 4px;
}

/* ─────────── footer ─────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  background: var(--cream-2);
}
.footer-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.brand-foot {
  font-size: 18px;
}
.footer-tag {
  font-size: 14px;
  color: var(--ink-2);
}
.footer-credit {
  font-size: 13px;
  color: var(--ink-3);
  margin-left: auto;
}
.footer-credit a {
  color: var(--red);
  border-bottom: 1px solid rgba(139, 32, 32, 0.3);
}
.footer-credit a:hover {
  border-bottom-color: var(--red);
}
@media (max-width: 600px) {
  .footer-credit {
    margin-left: 0;
    flex-basis: 100%;
    margin-top: 6px;
  }
}
