/* =============================================================================
   styles.css  —  VISUAL DESIGN  (you do NOT need to edit this file)
   -----------------------------------------------------------------------------
   All wording, prices, and links live in config.js. This file only controls
   how the site looks.
   ============================================================================= */

/* --- design tokens -------------------------------------------------------- */
:root {
  --paper:      #FBFAF7;  /* page background */
  --surface:    #FFFFFF;  /* cards */
  --ink:        #15181E;  /* headings + strong text */
  --body:       #3D4350;  /* body text */
  --muted:      #6B7280;  /* secondary text */
  --line:       #E9E6DF;  /* hairline borders */
  --brand:      #0E7C66;  /* primary accent (CTAs, links, checks) */
  --brand-dark: #0A5F4E;  /* hover */
  --brand-soft: #E6F2EE;  /* badge + icon fills */
  --band:       #0F1A16;  /* dark green-ink (closing band + footer) */
  --band-text:  #D7E4DE;  /* text on the dark band */

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1100px;
  --header-h: 68px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(21, 24, 30, .04), 0 1px 3px rgba(21, 24, 30, .06);
  --shadow-md: 0 8px 24px rgba(21, 24, 30, .07);
}

/* --- base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

img, svg { display: block; max-width: 100%; }

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

.container--narrow { max-width: 760px; }

section { scroll-margin-top: var(--header-h); }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .8rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease,
              border-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #d8d3c8;
  transform: translateY(-1px);
}

.btn--invert {
  background: var(--paper);
  color: var(--band);
}
.btn--invert:hover {
  background: #fff;
  color: var(--band);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--sm { padding: .6rem 1rem; font-size: .92rem; }
.btn--block { width: 100%; }

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* --- header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 250, 247, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav a:not(.btn) {
  color: var(--body);
  font-weight: 500;
  font-size: .98rem;
}
.site-nav a:not(.btn):hover { color: var(--ink); }

/* --- hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(64px, 11vw, 128px) 0 clamp(56px, 9vw, 104px);
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(14, 124, 102, .10), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%);
}
.hero__inner {
  max-width: 820px;
  margin: 0 auto;
}
.badge {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .02em;
  padding: .42rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero__headline {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero__valueprop {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--body);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.hero__note {
  color: var(--muted);
  font-size: .95rem;
}

/* --- generic sections ----------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 92px) 0; }
.section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section__title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 1rem;
}
.section__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--body);
  font-size: 1.1rem;
}
.eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: .75rem;
}

/* --- benefits ------------------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.benefit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 1rem;
}
.benefit__title {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}
.benefit__text {
  color: var(--body);
  font-size: .98rem;
  line-height: 1.55;
}

/* --- pricing -------------------------------------------------------------- */
.pricing { display: flex; justify-content: center; }
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.plan::before {
  content: "";
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--brand);
}
.plan__name {
  font-weight: 600;
  color: var(--brand-dark);
  letter-spacing: .02em;
  margin-bottom: 1rem;
}
.plan__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .25rem;
  margin-bottom: .5rem;
}
.plan__price #plan-price {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.plan__period { color: var(--muted); font-size: 1.05rem; font-weight: 500; }
.plan__terms {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.75rem;
}
.features {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  text-align: left;
}
.features li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .55rem 0;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: .98rem;
  line-height: 1.45;
}
.features li:first-child { border-top: none; }
.feature__icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--brand);
  margin-top: .1rem;
}
.plan__setup {
  color: var(--muted);
  font-size: .88rem;
  margin-top: 1.2rem;
  line-height: 1.5;
}
.plan__reassurance {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: .92rem;
  padding: .6rem 1rem;
  border-radius: 12px;
  margin-top: 1rem;
}

/* --- closing band --------------------------------------------------------- */
.closing {
  background: var(--band);
  color: var(--band-text);
  text-align: center;
  padding: clamp(64px, 9vw, 104px) 0;
}
.closing__inner { max-width: 680px; margin: 0 auto; }
.closing__title {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}
.closing__text {
  color: var(--band-text);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* --- footer --------------------------------------------------------------- */
.site-footer {
  background: var(--band);
  color: var(--band-text);
  padding: 3rem 0 2rem;
}
.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer__brand .brand { color: #fff; }
.site-footer__tagline {
  color: var(--band-text);
  font-size: .95rem;
  margin-top: .5rem;
  max-width: 320px;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: flex-end;
}
.site-footer__links a {
  color: var(--band-text);
  font-size: .95rem;
}
.site-footer__links a:hover { color: #fff; }
.site-footer__copyright {
  color: rgba(215, 228, 222, .7);
  font-size: .85rem;
  padding-top: 1.5rem;
}

/* --- policy pages (terms / privacy / refund) ------------------------------ */
.policy { padding: clamp(40px, 7vw, 72px) 0 clamp(56px, 9vw, 96px); }
.policy__back {
  display: inline-block;
  font-size: .95rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.policy__title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 2rem;
}
.policy__body { line-height: 1.75; color: var(--body); }
.policy__body h2 {
  font-size: 1.4rem;
  margin: 2.2rem 0 .8rem;
}
.policy__body h3 {
  font-size: 1.12rem;
  margin: 1.6rem 0 .6rem;
}
.policy__body p { margin: 0 0 1rem; }
.policy__body ul { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.policy__body li { margin: 0 0 .5rem; }

/* --- entrance animation --------------------------------------------------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .badge,
.hero__headline,
.hero__valueprop,
.hero__actions,
.hero__note {
  animation: riseIn .6s ease both;
}
.hero .badge        { animation-delay: .06s; }
.hero__headline     { animation-delay: .12s; }
.hero__valueprop    { animation-delay: .18s; }
.hero__actions      { animation-delay: .24s; }
.hero__note         { animation-delay: .30s; }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-nav a:not(.btn) { display: none; }
  .hero__actions .btn { width: 100%; }
}

@media (max-width: 520px) {
  .site-footer__inner { flex-direction: column; }
  .site-footer__links { align-items: flex-start; }
}

/* --- reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
