* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #1a1407;
  --ink-soft: #5c5546;
  --paper: #fffdf7;
  --paper-warm: #faf3e3;
  --amber: #f59e0b;
  --amber-deep: #d97706;
  --amber-soft: #fef3c7;
  --line: #eadfc8;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.logo { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.logo span { color: var(--amber-deep); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-block; background: var(--amber); color: var(--ink);
  font-weight: 700; font-size: 16px; padding: 13px 26px;
  border: none; border-radius: 10px; cursor: pointer; text-decoration: none;
  box-shadow: 0 2px 0 var(--amber-deep);
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 3px 0 var(--amber-deep); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--amber-deep); }
.btn.small { padding: 9px 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 84px 0 72px; }
.badge {
  display: inline-block; background: var(--amber-soft); color: var(--amber-deep);
  font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
  border: 1px solid #f3d98b; margin-bottom: 26px; letter-spacing: 0.02em;
}
h1 {
  font-size: clamp(34px, 5.4vw, 58px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.08; max-width: 820px; margin: 0 auto 22px;
}
h1 em { font-style: normal; color: var(--amber-deep); }
.sub {
  font-size: clamp(17px, 2.2vw, 21px); color: var(--ink-soft);
  max-width: 640px; margin: 0 auto 38px;
}

/* ---------- opt-in form ---------- */
.optin { max-width: 660px; margin: 0 auto; }
.optin form { display: flex; gap: 10px; }
.optin input[type="email"] {
  flex: 1; font-size: 16px; padding: 13px 16px;
  border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.optin input[type="email"]:focus { outline: none; border-color: var(--amber); }
.fine { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }

/* ---------- audience strip ---------- */
.audience { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.audience .wrap { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; }
.audience span { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.audience b { color: var(--ink); }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.kicker {
  text-align: center; font-size: 13px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber-deep); margin-bottom: 14px;
}
h2 { text-align: center; font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 52px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px;
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px;
}
.feature .icon { font-size: 26px; margin-bottom: 14px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- final cta ---------- */
.cta { background: var(--ink); color: #fff; text-align: center; border-radius: 20px; padding: 64px 32px; margin-bottom: 84px; }
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { color: #cfc4a8; max-width: 520px; margin: 0 auto 34px; font-size: 17px; }
.cta .optin input[type="email"] { border-color: transparent; }
.cta .fine { color: #9c917a; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
footer p { font-size: 14px; color: var(--ink-soft); }

/* ---------- thank you page ---------- */
.ty-hero { text-align: center; padding: 96px 0 60px; }
.ty-hero .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 50%; background: var(--amber-soft);
  border: 2px solid #f3d98b; font-size: 36px; margin-bottom: 28px;
}
.ty-next { max-width: 640px; margin: 0 auto; padding-bottom: 84px; }
.ty-next .step { margin-bottom: 14px; display: flex; gap: 18px; align-items: flex-start; }
.ty-next .step .num { flex-shrink: 0; margin-bottom: 0; margin-top: 2px; }
.ty-next .step a { color: var(--amber-deep); font-weight: 700; }

@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .optin form { flex-direction: column; }
  section { padding: 60px 0; }
  .hero { padding: 56px 0 48px; }
}


/* ---------- Kit embed overrides (mobile + polish) ---------- */
.optin .formkit-form[data-uid] {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  display: flex !important;
}
.optin .formkit-form[data-uid] .formkit-background {
  flex: 0 0 44% !important;
  width: auto !important;
}
.optin .formkit-form[data-uid] .formkit-column {
  flex: 1 1 56% !important;
  width: auto !important;
}
.optin .formkit-form[data-uid] .formkit-header {
  color: #1a1407 !important;
  line-height: 1.25 !important;
}
@media (max-width: 640px) {
  .optin .formkit-form[data-uid] { flex-direction: column !important; }
  .optin .formkit-form[data-uid] .formkit-background {
    flex: none !important;
    width: 100% !important;
    height: 150px !important;
    min-height: 150px !important;
    background-image: url("https://embed.filekitcdn.com/e/2Tyf5otqFEQgBK1JWAWVwn/i1dwp5B2ftYMoBb2dj3rSn") !important;
    background-size: cover !important;
    background-position: center !important;
  }
  .optin .formkit-form[data-uid] .formkit-column { padding: 24px 20px 28px !important; }
  .optin .formkit-form[data-uid] .formkit-header { font-size: 23px !important; margin-bottom: 14px !important; }
}

/* ---------- thank you page v2 ---------- */
.ty-hero .check { border: none; background: var(--amber-soft); }
.ty-install, .ty-demo, .ty-expect { max-width: 720px; margin: 0 auto; padding-bottom: 72px; text-align: center; }
.ty-install .badge, .ty-demo .badge, .ty-expect .badge { margin-bottom: 16px; }
.ty-install h2, .ty-demo h2, .ty-expect h2 { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 18px; }
.ty-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 36px 28px 30px;
}
.ty-card p { color: var(--ink-soft); font-size: 16px; max-width: 520px; margin: 0 auto 24px; }
.ty-btn { font-size: 17px; padding: 15px 40px; }
.ty-card .fine { margin-top: 18px; margin-bottom: 0; }
.store-note {
  margin: 18px auto 0 !important; padding: 12px 18px; max-width: 460px !important;
  background: var(--amber-soft); border: 1px solid #f3d98b; border-radius: 10px;
  color: var(--amber-deep) !important; font-weight: 600; font-size: 14.5px !important;
}
.ty-video {
  aspect-ratio: 16 / 9; border: 2px dashed var(--line); border-radius: 14px;
  background: var(--paper-warm);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.ty-video .play {
  width: 64px; height: 64px; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
}
.ty-video p { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.ty-expect { padding-bottom: 96px; }
.ty-expect .steps { margin-top: 30px; text-align: left; }

/* ---------- footer links ---------- */
footer .foot-links { display: flex; gap: 18px; }
footer .foot-links a { font-size: 14px; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
footer .foot-links a:hover { color: var(--amber-deep); }
