/* ---------- Tokens ---------- */
:root {
  --bg: #fdfdfb;
  --fg: #0a0a0a;
  --muted: #6b6b6b;
  --muted-2: #9a9a9a;
  --card: #f7f6f2;
  --border: #ebeae4;
  --brand-blue: #2f6bff;
  --radius-card: 20px;
  --shadow-nav: 0 2px 20px -8px rgba(0, 0, 0, 0.08);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  padding-top: 1rem;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  display: inline-block;
}

/* ---------- Navbar ---------- */
.nav-wrap {
  position: sticky;
  top: 1rem;
  z-index: 50;
  width: 100%;
  padding: 0 1rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 9999px;
  box-shadow: var(--shadow-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-logo {
  height: 20px;
  width: 20px;
  object-fit: contain;
}
.nav-logo.small {
  height: 16px;
  width: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.15s ease;
  cursor: pointer;
  border: none;
}
.btn:hover {
  transform: scale(1.02);
}
.btn-dark {
  background: var(--fg);
  color: var(--bg);
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 13px;
  gap: 0.375rem;
}
.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 14px;
}
.icon,
.icon-sm,
.icon-xs {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon {
  width: 16px;
  height: 16px;
}
.icon-sm {
  width: 14px;
  height: 14px;
}
.icon-xs {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

/* ---------- Hero ---------- */
.hero {
  max-width: 64rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .hero {
    padding-top: 8rem;
  }
}
.hero-title {
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.circled {
  position: relative;
  display: inline-block;
  padding: 0 1.5rem;
}
.circled-text {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brand-blue);
  font-weight: 400;
}
.ellipse {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118%;
  height: 150%;
  transform: translate(-50%, -50%);
}
.hero-sub {
  margin: 2.5rem 0 0;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.price {
  margin-top: 3.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
}
.price-old {
  position: relative;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 500;
  color: var(--muted-2);
}
.price-old span {
  text-decoration: line-through;
  text-decoration-thickness: 2.5px;
}
.price-new {
  font-size: clamp(48px, 6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.hero .btn-lg {
  margin-top: 2.5rem;
}
.caption {
  margin-top: 1.25rem;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* ---------- Section ---------- */
.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}
.section-title {
  text-align: center;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.muted {
  color: var(--muted-2);
}

/* ---------- Cards ---------- */
.cards {
  margin-top: 4rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--card);
  padding: 1.75rem;
}
.kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.card-before {
  margin: 0.75rem 0 0;
  font-size: 18px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.card-after {
  margin: 0.75rem 0 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg);
}
.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---------- Final CTA ---------- */
.final {
  max-width: 64rem;
  margin: 0 auto;
  padding: 7rem 1.5rem;
  text-align: center;
}
.final-title {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.final .btn-lg {
  margin-top: 3.5rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.copy {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* ============================================== */
/* Thank You page                                  */
/* ============================================== */

.nav-early {
  font-size: 13px;
  font-weight: 500;
  color: rgba(10, 10, 10, 0.8);
}

.ty-hero {
  max-width: 48rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .ty-hero { padding-top: 7rem; }
}

.confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.check-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: var(--brand-blue);
}
.check-circle.small { width: 1.5rem; height: 1.5rem; }
.check {
  width: 0.75rem;
  height: 0.75rem;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.check-circle.small .check { width: 0.875rem; height: 0.875rem; }

.ty-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
@media (min-width: 640px) {
  .ty-title { font-size: 3.5rem; }
}
.brand { color: var(--brand-blue); }

.ty-lead {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: var(--muted);
}
.ty-sub {
  margin-top: 0.75rem;
  max-width: 28rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.ty-hero .btn { margin-top: 2.5rem; }
.ty-hero .caption { margin-top: 1.25rem; }

/* What's next */
.ty-next { max-width: 64rem; }
.next-cards { margin-top: 3.5rem; }
.next-card { padding: 1.75rem; }
.next-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
}
.next-icon {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: var(--brand-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.next-title {
  margin: 1.25rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}
.next-desc {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Form */
.ty-form-section {
  max-width: 40rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.ty-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 2px 30px -12px rgba(0, 0, 0, 0.1);
}
@media (min-width: 640px) {
  .ty-form-card { padding: 2.5rem; }
}
.form-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
@media (min-width: 640px) {
  .form-title { font-size: 1.875rem; }
}
.form-sub {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.ty-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.field { display: block; }
.field-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--fg);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18);
}
.btn-block { width: 100%; margin-top: 0.5rem; }

.form-success {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 12px;
  padding: 1rem;
}
.form-success p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}

[hidden] { display: none !important; }
