:root {
  --navy: #14213D;
  --navy-soft: #1E2E52;
  --teal: #0F7B7B;
  --teal-dark: #0B5F5F;
  --amber: #D97706;
  --red: #B91C1C;
  --surface: #EEF3F3;
  --border: #C9D3D3;
  --ink: #14213D;
  --ink-muted: #4A5568;
  --white: #FFFFFF;
  --radius: 6px;
  --measure: 66ch;
  --font: Inter, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "kern", "liga", "tnum";
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .6em; font-weight: 650; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.06rem; font-weight: 650; }
p  { margin: 0 0 1em; max-width: var(--measure); }
a  { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

.wrap { width: min(1080px, calc(100% - 2.5rem)); margin-inline: auto; }
section { padding: 3.4rem 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: 0; }
.lede { font-size: 1.12rem; color: var(--ink-muted); }

/* ---------- header ---------- */
.masthead { background: var(--navy); color: #E8EDF5; padding: .85rem 0; }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-weight: 700; letter-spacing: .02em; color: #FFF; text-decoration: none; font-size: 1.05rem; }
.brand span { color: #7FD1D1; }
.masthead nav { display: flex; gap: 1.3rem; font-size: .93rem; flex-wrap: wrap; }
.masthead nav a { color: #C4D0E4; text-decoration: none; }
.masthead nav a:hover { color: #FFF; text-decoration: underline; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #FFF; padding: 3.6rem 0 3.9rem; }
.hero h1 { color: #FFF; max-width: 20ch; }
.hero .lede { color: #C4D0E4; max-width: 56ch; font-size: 1.16rem; }
.hero-points { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: .55rem; }
.hero-points li { padding-left: 1.5rem; position: relative; color: #DCE4F0; max-width: 58ch; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: .5rem; height: .5rem; border-radius: 50%; background: #7FD1D1;
}
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: .72rem 1.35rem; border-radius: var(--radius);
  font-weight: 600; font-size: .97rem; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; font-family: inherit; line-height: 1.4;
}
.btn-primary { background: var(--teal); color: #FFF; }
.btn-primary:hover { background: var(--teal-dark); color: #FFF; }
.btn-ghost { background: transparent; color: #FFF; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #FFF; }
.btn-plan { background: var(--navy); color: #FFF; width: 100%; text-align: center; }
.btn-plan:hover { background: var(--navy-soft); color: #FFF; }
.btn:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 2px;
}

/* ---------- weekly ---------- */
.weekly { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: step; }
.weekly li {
  display: grid; grid-template-columns: 2.1rem 1fr; gap: .9rem; align-items: start;
  max-width: 68ch;
}
.weekly li::before {
  counter-increment: step; content: counter(step);
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--surface); color: var(--teal-dark); border: 1px solid var(--border);
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.weekly strong { display: block; }
.weekly span { color: var(--ink-muted); font-size: .97rem; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 1.6rem; }
.plan { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; background: var(--white); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.plan h3 { margin-bottom: .2rem; font-size: 1.15rem; }
.price { font-size: 2.1rem; font-weight: 700; letter-spacing: -.02em; }
.price small { font-size: .92rem; font-weight: 500; color: var(--ink-muted); letter-spacing: 0; }
.retail { background: var(--surface); border-radius: 4px; padding: .55rem .75rem; font-size: .9rem; margin: .9rem 0 1.1rem; }
.retail b { color: var(--teal-dark); }
.plan ul { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .48rem; font-size: .95rem; flex: 1; }
.plan li { padding-left: 1.35rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: .15rem; top: .48em; width: .42rem; height: .42rem; border-radius: 50%; background: var(--teal); }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); background: var(--surface); border-radius: 3px; padding: .18rem .45rem; vertical-align: .18em; margin-left: .4rem; }

.table-scroll { overflow-x: auto; margin-top: 1.4rem; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
caption { text-align: left; color: var(--ink-muted); font-size: .9rem; padding-bottom: .6rem; }
th, td { text-align: left; padding: .68rem .8rem; border-bottom: 1px solid var(--border); }
thead th { background: var(--surface); font-weight: 650; border-bottom: 1px solid var(--border); }
tbody th { font-weight: 500; }
td.yes { color: var(--teal-dark); font-weight: 600; }
td.no  { color: var(--ink-muted); }

/* ---------- form ---------- */
.check { background: var(--surface); }
.form-grid { display: grid; gap: .9rem; max-width: 34rem; margin-top: 1.4rem; }
label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: .28rem; }
input[type=url], input[type=email], input[type=text] {
  width: 100%; padding: .62rem .7rem; font: inherit; font-size: .97rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: #FFF; color: var(--ink);
}
input::placeholder { color: #98A6A6; }
.hint { font-size: .86rem; color: var(--ink-muted); margin: .2rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { border-left: 3px solid var(--teal); background: #FFF; padding: .8rem 1rem; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 1.4rem; }
.notice.bad { border-left-color: var(--red); }

/* ---------- faq ---------- */
.faq { display: grid; gap: .1rem; margin-top: 1.4rem; max-width: 74ch; }
details { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; padding: .9rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal-dark); font-weight: 700; font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { padding-bottom: .3rem; font-size: .97rem; color: var(--ink-muted); }
details p:last-child { padding-bottom: 1rem; }

/* ---------- footer ---------- */
footer { background: var(--navy); color: #B9C6DC; padding: 2.4rem 0; font-size: .92rem; border-top: 0; }
footer a { color: #A9D8D8; }
footer .cols { display: flex; flex-wrap: wrap; gap: 1.4rem 2.6rem; justify-content: space-between; }
footer p { max-width: 46ch; margin-bottom: .5rem; }
footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- prose pages ---------- */
.prose { padding: 2.6rem 0 3.4rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { max-width: var(--measure); padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose .meta { color: var(--ink-muted); font-size: .92rem; }
.prose table { min-width: 0; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 2.4rem 0; }
  .hero { padding: 2.6rem 0 2.8rem; }
  .masthead .wrap { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

@media print {
  .masthead, footer nav, .hero-actions { display: none; }
  body { font-size: 11pt; color: #000; }
}
