/* Skiper advertorial — editorial / news-website feel. */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700&family=Quicksand:wght@600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --ink:        #111110;
  --ink-soft:   #2a2a28;
  --ink-mute:   #5e5e5a;
  --ink-light:  #8b8b87;
  --line:       #e2e0d9;
  --line-strong:#c8c5bc;
  --rule:       #1a1a18;
  --bg:         #fafaf6;
  --bg-paper:   #ffffff;
  --bg-soft:    #f3f1e9;
  --skiper:     #0f5132;
  --skiper-2:   #157a4b;
  --skiper-soft:#e7f0ec;
  --skiper-tint:#f0f8f3;
  --warn:       #a04308;
  --gold:       #927206;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max:        780px;
  --brand-quandoo:      #F8B333;
  --brand-thefork:      #0A6E48;
  --brand-opentable:    #DA3743;
  --brand-covermanager: #1E4D8C;
  --brand-resmio:       #F0701E;
  --brand-zenchef:      #3E2C8F;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============= Masthead ============= */

.masthead {
  background: var(--bg-paper);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-mark .brand-logo { height: 22px; width: auto; display: block; }

.masthead-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.brand-mark .brand-dot {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: var(--skiper);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.masthead-meta {
  display: flex; gap: 16px; align-items: center;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.masthead-meta .sep { color: var(--line-strong); }

.sponsored-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 10px 24px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.sponsored-bar strong {
  color: var(--ink);
  letter-spacing: 0.14em;
  border: 1px solid var(--ink);
  padding: 2px 8px;
  margin-right: 10px;
  font-weight: 700;
  font-size: 11px;
}

/* ============= Layout (TOC rail + article) ============= */

.layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  /* article is the centred middle column; TOC lives in the left gutter
     and the empty right column balances it so the article stays centred */
  grid-template-columns: 1fr min(var(--max), 100%) 1fr;
  column-gap: 40px;
  padding: 48px 24px 80px;
  align-items: start;
}

article {
  grid-column: 2;
  max-width: var(--max);
  background: transparent;
  min-width: 0;
}

/* ============= Sticky table of contents ============= */

.toc {
  grid-column: 1;
  justify-self: end;
  width: 240px;
  position: sticky;
  top: 24px;
  font-family: var(--sans);
  align-self: start;
}

.toc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}

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

.toc li { margin: 0; }

.toc a {
  display: block;
  padding: 7px 0 7px 12px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-mute);
  text-decoration: none;
  border-left: 2px solid var(--line);
  transition: color 0.15s, border-color 0.15s;
}

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

.toc a.active {
  color: var(--skiper);
  font-weight: 600;
  border-left-color: var(--skiper);
}

/* ============= Winners at a glance ============= */

.winners {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--bg-paper);
  overflow: hidden;
  margin: 0 0 36px;
}

.winners-head {
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
}

.winners-head .t {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.winners-head .s {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}

.winner-row {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.winner-row:last-child { border-bottom: none; }

/* The recommended pick stands out clearly: tint + accent rail + label */
.winner-row.pick {
  background: var(--skiper-tint);
  border-left: 4px solid var(--skiper);
  padding-left: 16px;
}

.winner-award {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  line-height: 1.4;
}

.winner-row.pick .winner-award {
  color: var(--skiper);
  font-size: 12px;
}

.winner-award .star { color: var(--skiper); font-size: 13px; }

.winner-mid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

/* normalise every vendor logo to one height so rows don't look ragged */
.winner-mid .logo { height: 22px; align-self: flex-start; }
.winner-mid img.logo-skiper { height: 24px; }

.winner-why {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.winner-jump {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mute);
  text-decoration: none;
  white-space: nowrap;
}

.winner-jump:hover { color: var(--skiper); }

/* offset anchor jumps so sticky elements don't cover headings */
article h2[id] { scroll-margin-top: 24px; }

@media (max-width: 1080px) {
  .layout {
    display: block;
    padding: 40px 18px 64px;
  }
  article { max-width: var(--max); margin: 0 auto; }
  .toc {
    position: static;
    width: auto;
    max-width: var(--max);
    margin: 0 auto 32px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px 18px;
    background: var(--bg-paper);
  }
  .toc a { padding: 6px 0 6px 12px; }
  .winner-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .winner-jump { justify-self: start; }
}

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--skiper);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

h1 {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.dek {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 400;
  margin: 0 0 28px;
  letter-spacing: -0.005em;
}

.byline {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 32px;
}

.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--skiper);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.byline-meta {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
}

.byline-meta .author {
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

.byline-meta .author::after {
  content: "";
}

.byline-meta a {
  color: var(--ink-mute);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 2px;
}

/* ============= Body type ============= */

article p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

article p strong { color: var(--ink); font-weight: 600; }

/* lede matches body size for an even read; emphasis comes from colour, not scale */
article p.lede {
  font-size: 19px;
  line-height: 1.62;
  color: var(--ink);
  font-weight: 500;
}

article h2 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  margin: 56px 0 16px;
  letter-spacing: -0.012em;
  color: var(--ink);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

article h2 .sec-num {
  display: inline;
  color: var(--ink-light);
  font-style: italic;
  font-weight: 400;
  margin-right: 10px;
  font-size: 0.7em;
  vertical-align: baseline;
}

article h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 28px 0 10px;
}

article ul {
  font-family: var(--serif);
  padding-left: 22px;
  margin: 0 0 24px;
}

article ul li {
  font-size: 19px;
  line-height: 1.55;
  margin-bottom: 10px;
  color: var(--ink-soft);
}

article ul li strong { color: var(--ink); }

/* ============= Pull quote ============= */

.pullquote {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin: 36px 0;
  padding: 20px 0 20px 26px;
  border-left: 4px solid var(--skiper);
}

.pullquote cite {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 12px;
}

/* ============= Inline figure ============= */

.figure {
  margin: 32px 0;
}

.figure svg {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 4px;
}

.figure figcaption {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-mute);
  margin-top: 10px;
  padding-left: 4px;
  border-left: 2px solid var(--line-strong);
  padding: 4px 0 4px 10px;
}

.figure figcaption strong { color: var(--ink); }

/* ============= Shutdown timeline (responsive, replaces fixed SVG) ============= */
.timeline {
  list-style: none;
  margin: 0;
  padding: 30px 22px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.timeline .tl-step {
  position: relative;
  padding: 24px 12px 0;
  text-align: center;
  color: #d83a3a;
}
.tl-step.tl-open  { color: #15a35a; }
.tl-step.tl-warn  { color: #e08a1e; }
.tl-step.tl-final { color: #d83a3a; }
/* connector runs from THIS dot to the NEXT — guarantees a continuous line.
   Desktop: horizontal (span one column to the right). */
.timeline .tl-step::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 100%;
  height: 3px;
  background: var(--line-strong);
  z-index: 0;
}
.timeline .tl-step:last-child::before { display: none; }
.timeline .tl-dot {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: currentColor;
  border: 3px solid var(--bg-paper);
  box-shadow: 0 0 0 2px currentColor;
  z-index: 1;
}
.timeline .tl-date {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.timeline .tl-label {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ink-mute);
  margin-top: 3px;
}
@media (max-width: 600px) {
  .timeline {
    grid-template-columns: 1fr;
    padding: 6px 20px;
  }
  .timeline .tl-step {
    text-align: left;
    padding: 16px 0 16px 34px;
  }
  /* vertical: from this dot straight down to the next (height:100% = one row) */
  .timeline .tl-step::before {
    top: 24px;
    left: 9px;
    width: 3px;
    height: 100%;
    transform: none;
  }
  .timeline .tl-dot {
    top: 16px; left: 9px;
    transform: translateX(-50%);
  }
}

/* ============= Vendor logos (inline SVG wordmarks) ============= */

.logo {
  display: inline-block;
  height: 22px;
  vertical-align: middle;
}

.logo-sm { height: 18px; }
.logo-lg { height: 26px; }
/* Real Skiper lockup (mint/blue S + wordmark) — sized a touch larger so the
   icon + "skiper" read cleanly at small sizes */
img.logo-skiper { height: 26px; width: auto; }

/* Skiper lockups link to the landing page */
.logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.logo-link img { display: block; }
.logo-link:hover { opacity: 0.82; }

/* ============= Competitor brand names =============
   Brand colour + geometric wordmark font (Montserrat) are applied ONLY
   in the headline. Inline prose mentions stay as plain body text; the
   comparison table renders its own inline-SVG wordmarks. No real logos. */
h1 .brand-quandoo,
h1 .brand-thefork,
h1 .brand-opentable,
h1 .brand-covermanager,
h1 .brand-resmio,
h1 .brand-zenchef {
  font-family: 'Montserrat', var(--sans);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 .brand-quandoo      { color: var(--brand-quandoo); }
h1 .brand-thefork      { color: var(--brand-thefork); }
h1 .brand-opentable    { color: var(--brand-opentable); }
h1 .brand-covermanager { color: var(--brand-covermanager); }
h1 .brand-resmio       { color: var(--brand-resmio); }
h1 .brand-zenchef      { color: var(--brand-zenchef); }

/* ============= Comparison table ============= */

.scroll-hint {
  display: none;                 /* desktop: no scroll needed */
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--skiper);
  margin: 24px 0 6px;
}
.scroll-hint .arr { display: inline-block; animation: nudge 1.3s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

.compare-wrap {
  margin: 8px 0 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--bg-paper);
  border-radius: 4px;
  -webkit-overflow-scrolling: touch;
}

/* keep the vendor column pinned while the metric columns scroll */
table.compare thead th.vendor-col,
table.compare tbody td:first-child {
  position: sticky;
  left: 0;
  background: var(--bg-paper);
  border-right: 1px solid var(--line);
  z-index: 1;
}
table.compare thead th.vendor-col { background: var(--bg-soft); z-index: 2; }
table.compare tbody tr:hover td:first-child { background: var(--bg-soft); }

@media (max-width: 720px) {
  .scroll-hint { display: block; }
  /* scroll-shadow: a soft shadow on the right edge signals "more columns →"
     and fades away once scrolled to the end */
  .compare-wrap {
    background:
      linear-gradient(to right, var(--bg-paper) 30%, rgba(255,255,255,0)) left center,
      linear-gradient(to left,  var(--bg-paper) 30%, rgba(255,255,255,0)) right center,
      radial-gradient(farthest-side at 0 50%, rgba(17,17,16,0.16), rgba(0,0,0,0)) left center,
      radial-gradient(farthest-side at 100% 50%, rgba(17,17,16,0.16), rgba(0,0,0,0)) right center;
    background-repeat: no-repeat;
    background-size: 44px 100%, 44px 100%, 16px 100%, 16px 100%;
    background-attachment: local, local, scroll, scroll;
  }
}

table.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--sans);
  font-size: 14px;
}

table.compare thead th {
  background: var(--bg-soft);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  padding: 12px 12px;
  text-align: left;
  border-bottom: 2px solid var(--rule);
  vertical-align: bottom;
}

table.compare th.vendor-col { min-width: 104px; width: 1%; white-space: nowrap; }
/* keep vendor wordmarks compact so they don't crowd out the metric columns */
table.compare .logo { height: 17px; }
table.compare img.logo-skiper { height: 19px; }
table.compare tbody td:first-child { padding-right: 16px; }

table.compare tbody td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--ink-soft);
}

/* vertical dividers between columns (rows already have them) */
table.compare thead th + th,
table.compare tbody td + td { border-left: 1px solid var(--line); }

table.compare tbody tr:last-child td {
  border-bottom: none;
}

table.compare tbody tr:hover td {
  background: var(--bg-soft);
}

/* best value(s) per column = highlighted cell (all ties highlighted) */
table.compare td.cell-best {
  background: #e6f4ec;
  color: var(--ink);
  font-weight: 700;
}

.bestbadge { display: none; }

table.compare caption,
.table-source {
  caption-side: bottom;
  text-align: left;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-mute);
  font-style: italic;
  padding: 12px 4px 0;
}

/* ============= Calculator ============= */

.calc-shell { margin: 28px 0 8px; }

.calc-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 10px;
}

.vendor-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0 0 18px;
  padding: 12px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.vendor-pills-label {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--ink-mute);
  align-self: center;
  margin-right: 4px;
}

.vendor-pill {
  font: inherit;
  font-family: var(--sans);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-soft);
  transition: all 0.15s;
}

.vendor-pill:hover { border-color: var(--ink); color: var(--ink); }
.vendor-pill.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-card {
  border: 1px solid var(--line);
  background: var(--bg-paper);
  border-radius: 4px;
  padding: 22px;
  display: flex; flex-direction: column;
  font-family: var(--sans);
}

.calc-card.skiper {
  border-color: var(--line);
  border-top: 3px solid var(--skiper);
}

.calc-card .vendor-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  min-height: 30px;
}

.calc-row-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.calc-row-line:last-of-type { border-bottom: none; padding-bottom: 4px; }

.calc-row-line .lbl { color: var(--ink-mute); }
.calc-row-line .val {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

.calc-card .total {
  margin-top: auto;
  padding-top: 16px;
  border-top: 2px solid var(--rule);
}

.calc-card .total .total-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: 4px;
  font-weight: 600;
}

.calc-card .total .total-val {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.calc-card.skiper .total .total-val { color: var(--skiper); }

.calc-inputs {
  margin-top: 18px;
  padding: 18px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.calc-inputs .input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}

.calc-inputs label {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}

.calc-inputs input[type="number"] {
  width: 72px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 15px;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  text-align: right;
  background: #fff;
}

.calc-inputs input[type="number"]:focus {
  outline: none;
  border-color: var(--skiper);
}

/* hide native vertical spinner — replaced by horizontal −/+ buttons */
.calc-inputs input[type="number"]::-webkit-outer-spin-button,
.calc-inputs input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-inputs input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.calc-inputs .stepper { display: inline-flex; align-items: center; gap: 8px; }
.calc-inputs .stepper-btns { display: inline-flex; }
.calc-inputs .step-btn {
  width: 34px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-size: 19px; line-height: 1; font-weight: 600;
  cursor: pointer; user-select: none;
  transition: background .12s, border-color .12s, color .12s;
}
.calc-inputs .step-btn:first-child { border-radius: 4px 0 0 4px; }
.calc-inputs .step-btn:last-child { border-radius: 0 4px 4px 0; margin-left: -1px; }
.calc-inputs .step-btn:hover { background: var(--skiper-tint); border-color: var(--skiper); color: var(--skiper); z-index: 1; }
.calc-inputs .step-btn:active { background: var(--skiper-soft); }

.savings-banner {
  margin-top: 16px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #15a35a 0%, #0f8f4d 100%);
  color: #fff;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(21, 163, 90, 0.28);
}

.savings-banner.negative {
  background: var(--warn);
  box-shadow: none;
}

.savings-banner .amt {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ===== Calculator: single comparison table (whole deal in one glance) ===== */
.calc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--sans);
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.calc-table thead th {
  text-align: center;
  vertical-align: middle;
  height: 32px;
  padding: 14px 10px;
  background: var(--bg-soft);
  border-bottom: 2px solid var(--rule);
}
.calc-table thead th.metric-col { width: 38%; }
.calc-table thead th .logo,
.calc-table thead th #comp-logo svg { display: block; margin: 0 auto; height: 21px; max-width: 100%; width: auto; }
.calc-table thead th #comp-logo { display: block; }
.calc-table thead th.col-skiper { background: var(--skiper-soft); }
.calc-table tbody th,
.calc-table tfoot th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-mute);
  font-size: 13px;
  padding: 10px 12px;
}
.calc-table tbody td,
.calc-table tfoot td {
  text-align: right;
  font-size: 13.5px;
  padding: 10px 12px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  border-left: 1px solid var(--line);
}
.calc-table tbody tr th,
.calc-table tbody tr td { border-bottom: 1px solid var(--line); }
.calc-table .col-skiper { background: var(--skiper-tint); }
.calc-table tfoot .total-row th,
.calc-table tfoot .total-row td { border-top: 2px solid var(--rule); }
.calc-table tfoot .total-row th { color: var(--ink); font-weight: 700; }
.calc-table tfoot .total-row td {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}
.calc-table tfoot .total-row .col-skiper { color: var(--skiper); }

@media (max-width: 560px) {
  .calc-table thead th { padding: 10px 6px; }
  .calc-table thead th .logo { height: 16px; }
  .calc-table thead th.metric-col { width: 34%; }
  .calc-table tbody th, .calc-table tfoot th,
  .calc-table tbody td, .calc-table tfoot td { padding: 8px 7px; font-size: 12px; }
  .calc-table tfoot .total-row td { font-size: 17px; }
}

.calc-note {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 12px;
  line-height: 1.55;
  font-style: italic;
}

/* ============= Footnotes ============= */

sup.fn {
  font-size: 0.65em;
  vertical-align: super;
  line-height: 0;
  color: var(--skiper);
  margin-left: 1px;
  font-weight: 600;
}

sup.fn a { color: inherit; text-decoration: none; }

.footnotes {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-mute);
}

.footnotes ol {
  padding-left: 22px;
  margin: 0;
}

.footnotes li {
  margin-bottom: 8px;
}

/* ============= CTA ============= */

.cta-block {
  margin: 48px 0 0;
  padding: 36px 28px;
  border: none;
  border-radius: 14px;
  text-align: center;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(21,122,75,0.10), rgba(21,122,75,0) 60%),
    var(--skiper-tint);
  box-shadow: inset 0 0 0 1px var(--skiper-soft);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 34px;
  background: linear-gradient(135deg, var(--skiper-2) 0%, var(--skiper) 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 20px rgba(15,81,50,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button .arrow { transition: transform 0.15s ease; }
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15,81,50,0.34), inset 0 1px 0 rgba(255,255,255,0.2);
}
.cta-button:hover .arrow { transform: translateX(3px); }

.cta-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.cta-secondary {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--skiper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.12s;
}
.cta-secondary:hover { border-bottom-color: var(--skiper); }

.cta-sub {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 16px;
}

/* ============= Site footer ============= */

footer.site {
  margin-top: 64px;
  background: var(--bg-paper);
  border-top: 1px solid var(--line);
}

.site-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
}

.site-inner a { color: var(--ink-mute); text-decoration: underline; text-decoration-color: var(--line-strong); }
.site-inner strong { color: var(--ink); font-weight: 600; }

/* ============= Responsive ============= */

@media (max-width: 760px) {
  .calc-grid { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  .dek { font-size: 19px; }
  article p { font-size: 18px; }
  article h2 { font-size: 24px; }
  .pullquote { font-size: 21px; }
  .masthead-inner { flex-direction: column; align-items: flex-start; }
  article { padding: 36px 18px 64px; }
}
