/* Ardenly — shared styles */

:root {
  --ink: #14103a;
  --ink-soft: #4a4470;
  --violet: #6c4cf1;
  --violet-dark: #5334e0;
  --lime: #c6f24e;
  --cream: #fff9f2;
  --white: #ffffff;
  --border: #e8e0d6;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(20, 16, 58, 0.35);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--violet-dark); }

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1.1em; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 249, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.logo .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--violet);
  display: grid;
  place-items: center;
  color: var(--lime);
  font-size: 1rem;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover { color: var(--ink); }

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

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--violet); color: var(--white); }
.btn-primary:hover { background: var(--violet-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 13px 26px;
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 88px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero-lede {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 40ch;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- waitlist form ---------- */

.waitlist {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  max-width: 480px;
}

.waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 1rem;
  padding: 15px 20px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}

.waitlist input[type="email"]:focus {
  outline: none;
  border-color: var(--violet);
}

.waitlist .btn { white-space: nowrap; }

@media (max-width: 520px) {
  .waitlist { flex-direction: column; }
  .waitlist input[type="email"] { width: 100%; }
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* ---------- price card mock ---------- */

.card-mock {
  background: var(--white);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 26px;
  border: 1px solid var(--border);
}

.card-mock .mock-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.card-mock .mock-head .mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--violet);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 6px;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}

.row:last-child { border-bottom: 0; }

.row .store { font-weight: 600; color: var(--ink-soft); }
.row .price { font-weight: 800; font-variant-numeric: tabular-nums; }

.row.best { background: rgba(198, 242, 78, 0.28); border-radius: 12px; padding-left: 14px; padding-right: 14px; }
.row.best .store { color: var(--ink); }
.row.current .price { text-decoration: line-through; color: var(--ink-soft); }

.tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  margin-left: 8px;
}

.tag.alt { background: var(--violet); color: var(--white); }

.mock-foot {
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
}

/* ---------- sections ---------- */

section { padding: clamp(56px, 8vw, 96px) 0; }

.section-band { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 46ch; margin-bottom: 46px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.section-band .step { background: var(--cream); }

.step .num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.step p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* ---------- money / transparency ---------- */

.money {
  background: var(--ink);
  color: var(--white);
  border-radius: 28px;
  padding: clamp(34px, 5vw, 60px);
}

.money h2 { color: var(--white); }
.money p { color: #c9c4e8; }
.money strong { color: var(--lime); }

.money-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 820px) {
  .money-grid { grid-template-columns: 1fr; gap: 26px; }
}

.checklist { list-style: none; margin: 0; padding: 0; }

.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 16px;
  color: #d8d4f0;
  font-size: 1rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 8px;
  height: 4px;
  border-left: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: rotate(-45deg);
}

/* ---------- faq ---------- */

.faq { max-width: 760px; }

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-weight: 700;
  color: var(--violet);
  font-size: 1.5rem;
  line-height: 1;
}

.faq details[open] summary::after { content: "\2013"; }

.faq details p {
  color: var(--ink-soft);
  margin: 14px 0 0;
  font-size: 1rem;
  max-width: 62ch;
}

/* ---------- cta strip ---------- */

.cta-strip {
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 0;
}

.cta-strip .waitlist { margin-left: auto; margin-right: auto; }
.cta-strip p { color: var(--ink-soft); max-width: 46ch; margin-left: auto; margin-right: auto; }

/* ---------- article pages ---------- */

.page-head {
  background: var(--ink);
  color: var(--white);
  padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 6vw, 64px);
}

.page-head h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.2rem); }
.page-head p { color: #c9c4e8; margin: 0; max-width: 56ch; }

.prose {
  max-width: 72ch;
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}

.prose h2 { font-size: 1.55rem; margin-top: 2.2em; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin-top: 1.8em; }
.prose ul { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.55em; }
.prose .meta { color: var(--ink-soft); font-size: 0.92rem; }

.callout {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--violet);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 0 0 2em;
}

.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #a9a3cc;
  padding: 56px 0 40px;
  font-size: 0.92rem;
}

.site-footer .logo { color: var(--white); margin-bottom: 16px; }

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.site-footer a { color: #d8d4f0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-disclosure {
  max-width: 60ch;
  color: #8f89b8;
  font-size: 0.85rem;
  margin-top: 14px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 50;
}
