:root {
  --bg: #fff8f0;
  --surface: #ffffff;
  --ink: #2b1d14;
  --ink-soft: #5c4636;
  --line: #ead8c6;
  --brand: #c2410c;
  --brand-dark: #9a3412;
  --brand-soft: #fde4d3;
  --green: #3f6212;
  --green-soft: #e7f0d6;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 22px; }
.brand img { width: 40px; height: 40px; }
.top nav { display: flex; gap: 18px; align-items: center; font-size: 15px; }
.top nav a { color: var(--ink-soft); text-decoration: none; }
.top nav a:hover { color: var(--brand); }
.top nav a.btn, .top nav a.btn:hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 700;
  padding: 15px 26px; border-radius: 999px; font-size: 17px;
  box-shadow: 0 6px 18px rgba(194, 65, 12, .28);
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn.small { padding: 10px 18px; font-size: 15px; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); box-shadow: none; }
.btn.ghost:hover { background: var(--brand-soft); }

/* Hero */
.hero { padding: 36px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 6vw, 66px); }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 20px; color: var(--ink-soft); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }
.hero-phones { position: relative; display: flex; justify-content: center; min-height: 560px; }
.hero-phones .phone { position: absolute; left: 50%; width: 260px; }
.hero-phones .phone.back { transform: translateX(calc(-50% - 95px)) rotate(-6deg) scale(.9); top: 40px; opacity: .97; }
.hero-phones .phone.front { transform: translateX(calc(-50% + 95px)) rotate(4deg); top: 0; }
.hero-phones .potsy { position: absolute; width: 120px; bottom: 10px; left: calc(50% - 360px); filter: drop-shadow(0 8px 14px rgba(0,0,0,.15)); }

/* Phone frame */
.phone {
  border-radius: 38px; padding: 9px; background: #1c130d;
  box-shadow: 0 30px 60px rgba(43, 29, 20, .22), 0 4px 10px rgba(43, 29, 20, .1);
}
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 440 / 956; object-fit: cover; object-position: top; background: var(--bg); }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
section.alt .feature { background: var(--bg); }
.feature .icon { font-size: 30px; line-height: 1; margin-bottom: 12px; }
.feature h3 { font-size: 21px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Screenshot rail */
.rail { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 34px; margin: 0 -20px; -webkit-overflow-scrolling: touch; }
.rail figure { margin: 0; flex: 0 0 240px; scroll-snap-align: center; text-align: center; }
.rail figcaption { margin-top: 14px; font-weight: 700; font-size: 15px; }
.rail figcaption span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 14px; }

/* Potsy band */
.potsy-band .wrap { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; background: var(--brand-soft); border-radius: 32px; padding: 40px; }
.potsy-band img { width: 100%; }
.potsy-band h2 { font-size: clamp(28px, 3.6vw, 40px); }
.potsy-band p { color: var(--ink-soft); margin: 0 0 20px; font-size: 18px; }

/* Final CTA */
.final { text-align: center; }
.final h2 { font-size: clamp(32px, 4.5vw, 50px); }
.final p { color: var(--ink-soft); font-size: 19px; margin: 0 auto 26px; max-width: 32em; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; font-size: 15px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--ink-soft); }

/* Legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 24px 20px 72px; }
.legal h1 { font-size: clamp(36px, 5vw, 48px); }
.legal h2 { font-size: 24px; margin-top: 1.6em; }
.legal .updated { color: var(--ink-soft); font-size: 15px; }
.legal p, .legal li { color: var(--ink); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero { text-align: center; padding-top: 16px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-phones { min-height: 480px; }
  .hero-phones .phone { width: 220px; }
  .hero-phones .phone.back { transform: translateX(calc(-50% - 30px)) rotate(-6deg) scale(.9); }
  .hero-phones .phone.front { transform: translateX(calc(-50% + 110px)) rotate(4deg); }
  .hero-phones .potsy { width: 90px; left: calc(50% - 250px); }
  .features { grid-template-columns: 1fr 1fr; }
  .potsy-band .wrap { grid-template-columns: 1fr; text-align: center; padding: 30px 22px; }
  .potsy-band img { width: 140px; margin: 0 auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top nav .hide-sm { display: none; }
  .features { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero-phones { min-height: 400px; }
  .hero-phones .phone { width: 180px; border-radius: 30px; padding: 7px; }
  .hero-phones .phone img { border-radius: 24px; }
  .hero-phones .phone.back { transform: translateX(calc(-50% - 12px)) rotate(-6deg) scale(.9); }
  .hero-phones .phone.front { transform: translateX(calc(-50% + 90px)) rotate(4deg); }
  .hero-phones .potsy { width: 64px; left: 2px; bottom: 0; }
  .rail figure { flex-basis: 210px; }
}
