:root {
  color-scheme: light;
  --ink: #1e2933;
  --muted: #637083;
  --line: #d7dde5;
  --paper: #f7f5f0;
  --white: #ffffff;
  --blue: #2463eb;
  --green: #26735b;
  --coral: #c9573b;
  --gold: #a56f12;
  --shadow: 0 16px 48px rgba(28, 39, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(30, 41, 51, 0.08);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

main {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: end;
  padding: 72px 0 44px;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.95;
  margin-bottom: 22px;
  max-width: 850px;
}

h2 {
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 0;
}

h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.lede {
  color: var(--muted);
  font-size: 19px;
  max-width: 690px;
}

.quick-card,
.panel,
.worksheet {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-card {
  padding: 24px;
}

.quick-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.quick-card strong {
  display: block;
  font-size: 52px;
  line-height: 1;
  margin: 8px 0 12px;
}

.quick-card p,
.note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.panel {
  padding: 24px;
}

.section-title {
  margin-bottom: 22px;
}

.calculator {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.calculator .section-title {
  grid-column: 1 / -1;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 14px;
  font-weight: 700;
  gap: 7px;
}

.field {
  align-items: center;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
}

.field span {
  color: var(--muted);
}

input {
  appearance: textfield;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  font-weight: 750;
  min-width: 0;
  outline: 0;
  width: 100%;
}

.result {
  position: sticky;
  top: 18px;
}

output {
  color: var(--green);
  display: block;
  font-size: clamp(48px, 8vw, 74px);
  font-weight: 850;
  line-height: 1;
  margin-bottom: 18px;
}

.result-row {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.result-row span {
  color: var(--muted);
}

button,
.button {
  align-items: center;
  background: var(--blue);
  border: 0;
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
  width: 100%;
}

.content-band,
.faq {
  padding: 70px 0 0;
}

.columns,
.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.columns article {
  border-top: 3px solid var(--coral);
  padding-top: 16px;
}

.columns article:nth-child(2) {
  border-color: var(--green);
}

.columns article:nth-child(3) {
  border-color: var(--gold);
}

.inside-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.columns p,
.inside-grid p,
.worksheet p,
details p {
  color: var(--muted);
}

.check-list {
  color: var(--ink);
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.check-list li {
  align-items: center;
  display: flex;
  gap: 10px;
}

.check-list li::before {
  background: var(--green);
  border-radius: 50%;
  content: "";
  flex: 0 0 8px;
  height: 8px;
  width: 8px;
}

.worksheet {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 24px;
  margin-top: 70px;
  padding: 28px;
}

.worksheet .button {
  width: auto;
}

.offer {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.price-lockup {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 18px 0 4px;
}

.price-current {
  color: var(--green);
  font-size: 42px;
  font-weight: 850;
  line-height: 1;
}

.discount-pill {
  background: #fff5da;
  border: 1px solid #e5c77a;
  border-radius: 999px;
  color: #7a4e08;
  font-size: 13px;
  font-weight: 850;
  padding: 6px 10px;
}

.price-anchor {
  color: var(--muted);
  font-size: 20px;
  font-weight: 750;
  text-decoration: line-through;
}

.price-note,
.refund-note {
  color: var(--muted);
  font-size: 14px;
}

.refund-note {
  margin: 16px 0 0;
}

.offer-card {
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  position: relative;
}

.offer-ribbon {
  background: var(--coral);
  border-radius: 6px;
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  padding: 7px 10px;
  position: absolute;
  right: 14px;
  text-transform: uppercase;
  top: 14px;
  z-index: 1;
}

.product-preview {
  border: 1px solid var(--line);
  border-radius: 6px;
  display: block;
  margin-bottom: 16px;
  width: 100%;
}

.offer-card-header {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.offer-card-header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-card-header strong {
  color: var(--green);
  font-size: 16px;
}

.offer-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 16px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.countdown > span {
  display: block;
}

.countdown strong,
.countdown small {
  background: var(--white);
  border: 1px solid var(--line);
  display: block;
}

.countdown strong {
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
  padding: 12px 6px 6px;
}

.countdown small {
  border-radius: 0 0 6px 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 0 6px 8px;
  text-transform: uppercase;
}

.offer-card .button {
  width: 100%;
}

.checkout-note {
  margin-bottom: 0;
  text-align: center;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 70px auto 0;
  padding: 28px clamp(18px, 5vw, 64px);
  width: min(1120px, 100%);
}

footer nav {
  gap: 14px;
}

.legal-page {
  max-width: 760px;
  padding: 70px 0;
}

.legal-page h1 {
  font-size: clamp(38px, 6vw, 58px);
}

.legal-page h2 {
  font-size: 22px;
  margin: 30px 0 8px;
}

.legal-page p {
  color: var(--muted);
}

@media (max-width: 840px) {
  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .tool-grid,
  .columns,
  .inside-grid,
  .worksheet {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .calculator {
    grid-template-columns: 1fr;
  }

  .result {
    position: static;
  }

  nav {
    flex-wrap: wrap;
  }
}
