/* ==========================================================================
   Retail EPOS Awards — style.css
   Palette (3 colours): Navy #0F2742 · Gold #B58A2E · Cream #F6F2EA
   Tints/shades of those three are used for text, borders and hovers.
   ========================================================================== */

:root {
  --navy: #0F2742;
  --navy-900: #0A1C31;
  --navy-700: #1B3A5E;
  --gold: #B58A2E;
  --gold-light: #D8B25A;
  --gold-text: #8A6417;      /* AA contrast on cream/white */
  --cream: #F6F2EA;
  --cream-200: #EDE6D8;
  --white: #FFFFFF;
  --ink: #0F2742;
  --ink-soft: #3D5068;        /* navy tint, 8:1 on white */
  --line: #DCD4C4;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15,39,66,.06), 0 8px 24px rgba(15,39,66,.08);
  --shadow-lg: 0 2px 4px rgba(15,39,66,.08), 0 24px 48px rgba(15,39,66,.14);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .8em; }
.eyebrow-gold { color: var(--gold-light); }
.lead { font-size: 1.15rem; }
.fine-print { font-size: .86rem; color: var(--ink-soft); margin-top: 1.4em; }
.note { font-size: .92rem; color: var(--ink-soft); border-left: 3px solid var(--gold); padding-left: 12px; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; line-height: 1.2; text-align: center; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-700); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-900); }
.btn-light { background: var(--cream); color: var(--navy); }
.btn-light:hover { color: var(--navy); background: var(--white); }
.btn-outline-light { border-color: var(--cream); color: var(--cream); }
.btn-outline-light:hover { background: var(--cream); color: var(--navy); }
.btn-block { width: 100%; margin-top: auto; }
.text-link { font-weight: 600; margin-top: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; }
.brand-name em { font-style: normal; color: var(--gold-text); }
.brand-tag { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--navy); }
.site-nav a:hover, .site-nav a.is-active { background: var(--cream); color: var(--navy); }
.site-nav .nav-cta { background: var(--navy); color: var(--white); margin-left: 6px; }
.site-nav .nav-cta:hover { background: var(--gold); color: var(--navy-900); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .2s ease; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 18px; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .no-js .site-nav { display: block; position: static; box-shadow: none; }
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); padding: 56px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-sub { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--gold-text); font-weight: 600; line-height: 1.35; }
.hero-lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 60ch; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.hero-points li::before { content: "★"; color: var(--gold); margin-right: 6px; }
.hero-art { position: relative; margin: 0; }
.hero-art > img:first-child { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-badge { position: absolute; left: -36px; bottom: -44px; width: 150px; filter: drop-shadow(0 10px 20px rgba(15,39,66,.3)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(-2deg); } }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--ink-soft); }
.section-head.light h2, .section-head.light p { color: var(--cream); }

.intro p { font-size: 1.08rem; }
.disclosure { margin-top: 28px; background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 10px; font-size: .94rem; color: var(--ink-soft); }
.disclosure strong { color: var(--navy); }

/* Provider cards */
.provider-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.provider-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.provider-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.provider-card.featured { grid-column: 1 / -1; border: 2px solid var(--gold); background: linear-gradient(135deg, #FFFDF7 0%, var(--white) 60%); padding: 54px 34px 32px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.provider-card.featured > * { grid-column: 1; }
.provider-card.featured .card-summary, .provider-card.featured .ticks, .provider-card.featured .btn-block { grid-column: 2; }
.provider-card.featured .card-summary { grid-row: 1; align-self: end; }
.provider-card.featured .ticks { grid-row: 2 / span 2; }
.provider-card.featured .btn-block { grid-row: 4; }
.ribbon { position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); color: var(--navy-900); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; text-align: center; padding: 9px 12px; border-radius: 20px 20px 0 0; }
.card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.card-top h3 { margin: 0; font-size: 1.5rem; }
.featured .card-top h3 { font-size: 2rem; }
.rank { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--cream); font-weight: 800; font-size: .95rem; }
.featured .rank { background: var(--gold); color: var(--navy-900); }
.card-badge { margin-left: auto; width: 84px; margin-top: -10px; }
.rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.stars { --pct: calc(var(--rating) / 5 * 100%); font-size: 1.45rem; letter-spacing: 2px; line-height: 1; background: linear-gradient(90deg, var(--gold) var(--pct), var(--cream-200) var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.featured .stars { font-size: 1.9rem; }
.score { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--navy); }
.score span { font-size: .9rem; color: var(--ink-soft); font-family: var(--font-body); font-weight: 600; }
.rating-label { flex-basis: 100%; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.customer-rating { font-size: .82rem; color: var(--ink-soft); margin: 8px 0 12px; padding: 6px 10px; background: var(--cream); border-radius: 8px; }
.card-summary { color: var(--ink-soft); font-size: .98rem; }
.featured .card-summary { color: var(--ink); font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { position: relative; padding: 7px 0 7px 30px; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2742' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Recommended */
.recommended { background: var(--white); }
.rec-head { display: grid; grid-template-columns: 132px 1fr; gap: 32px; align-items: center; margin-bottom: 44px; }
.rec-head .eyebrow-gold { color: var(--gold-text); }
.rec-grid { display: grid; grid-template-columns: 1fr 360px 1fr; gap: 36px; align-items: center; margin-bottom: 40px; }
.rec-figure { margin: 0; }
.rec-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.pill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.pill-card { background: var(--cream); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.pill-card p { margin: 0; font-size: .97rem; }
.pill-gold { background: var(--navy); border-color: var(--navy); }
.pill-gold h3 { color: var(--gold-light); }
.pill-gold p { color: var(--cream); }
.value-panel { border: 2px solid var(--gold); border-radius: var(--radius-lg); padding: 30px 34px; background: linear-gradient(135deg, #FFFDF7, var(--white)); }
.value-panel p { margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 860px; }
th, td { padding: 13px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy); color: var(--cream); font-size: .85rem; letter-spacing: .03em; position: sticky; top: 0; }
thead th.col-featured { background: var(--gold); color: var(--navy-900); }
tbody th, tfoot th { font-weight: 700; color: var(--navy); background: var(--white); position: sticky; left: 0; min-width: 170px; box-shadow: 1px 0 0 var(--line); }
td.col-featured { background: #FBF5E6; font-weight: 600; }
tbody tr:hover td { background: var(--cream); }
tbody tr:hover td.col-featured { background: #F6ECD3; }
.score-table td { text-align: center; }
.score-table tfoot td, .score-table tfoot th { border-top: 2px solid var(--navy); font-size: 1rem; }
.methodology { margin-top: 56px; }
.methodology > p { max-width: 780px; color: var(--ink-soft); }

/* Features */
.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .2s ease, transform .2s ease; }
.feature-grid li:hover { border-color: var(--gold); transform: translateY(-2px); }
.feature-grid h3 { font-size: 1.05rem; margin: 14px 0 6px; }
.feature-grid p { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--cream); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Grocery */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; margin-bottom: 44px; }
.split-figure { margin: 0; }
.split-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list.two-col { columns: 2; column-gap: 24px; }
.check-list li { break-inside: avoid; position: relative; padding: 5px 0 5px 26px; font-size: .97rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 5px; color: var(--gold-text); font-weight: 800; }
.sector-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 36px; }
.sector { background: var(--white); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.sector h3 { font-size: 1.04rem; }
.sector p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.callout { background: var(--navy); color: var(--cream); border-radius: var(--radius-lg); padding: 32px 36px; }
.callout h3 { color: var(--gold-light); }
.callout p { margin: 0; }
.callout a, .cost-section a, .final a:not(.btn) { color: var(--gold-light); }
.callout a:hover, .final a:not(.btn):hover { color: var(--white); }

/* How to choose */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 74px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--gold-text); }
.steps h3 { font-size: 1.08rem; margin: 0 0 4px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.pull { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.45; color: var(--navy); border-left: 4px solid var(--gold); padding: 6px 0 6px 22px; margin: 0; }

/* True cost */
.cost-section { background: var(--navy); color: var(--cream); position: relative; }
.cost-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 90% 0%, rgba(216,178,90,.14), transparent 60%); pointer-events: none; }
.cost-section .container { position: relative; }
.checklist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 56px; }
.checklist { background: var(--navy-700); border: 1px solid rgba(246,242,234,.12); border-radius: var(--radius); padding: 22px 22px 14px; }
.checklist h3 { color: var(--gold-light); font-size: 1.08rem; }
.checklist ul { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 0 0 10px 28px; font-size: .94rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border: 2px solid var(--gold-light); border-radius: 4px; }
.sub-title { color: var(--cream); font-size: 1.5rem; }
.table-wrap.on-dark { border-color: transparent; }
.cost-table tr.row-featured th, .cost-table tr.row-featured td { background: #FBF5E6; font-weight: 600; }
.cost-table tr.row-featured th { box-shadow: inset 4px 0 0 var(--gold); }
.on-dark-text { color: rgba(246,242,234,.78); }
.tco { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; margin: 56px 0; background: var(--navy-700); border-radius: var(--radius-lg); padding: 34px; border: 1px solid rgba(216,178,90,.35); }
.tco h3 { color: var(--gold-light); font-size: 1.4rem; }
.tco p { margin: 0; }
.tco-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; color: var(--cream); }
.field input { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 2px solid transparent; background: var(--cream); color: var(--navy); font: inherit; font-weight: 700; }
.field input:focus { border-color: var(--gold); outline: none; }
.tco-results { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.tco-results div { background: var(--navy); border-radius: 12px; padding: 14px; text-align: center; border: 1px solid rgba(246,242,234,.15); }
.tco-results span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(246,242,234,.75); }
.tco-results strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-light); }
.conclusion { margin: 0; padding: 30px 34px; border-radius: var(--radius-lg); background: var(--gold); color: var(--navy-900); }
.conclusion p { margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.45; font-weight: 600; }

/* Flexibility */
.flex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.flex-grid > div { padding: 22px; background: var(--cream); border-radius: var(--radius); }
.flex-grid h3 { font-size: 1.08rem; }
.flex-grid p { margin: 0; font-size: .96rem; color: var(--ink-soft); }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq details[open] { border-color: var(--gold); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 700; color: var(--navy); position: relative; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 1.2rem; color: var(--gold-text); transition: transform .2s ease; }
.faq details[open] summary::after { content: "–"; background: var(--gold); color: var(--navy-900); }
.faq details > div { padding: 0 20px 18px; color: var(--ink-soft); }
.faq details > div p { margin: 0; }

/* Final CTA */
.final { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }
.final-panel { display: grid; grid-template-columns: 170px 1fr; gap: 40px; align-items: center; background: var(--navy); color: var(--cream); border-radius: 28px; padding: 48px; box-shadow: var(--shadow-lg); border: 2px solid var(--gold); }
.final-panel h2 { color: var(--white); }
.final-panel p { color: rgba(246,242,234,.9); }
.final-links { font-size: .92rem; margin: 22px 0 0; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(246,242,234,.82); padding: 56px 0 24px; font-size: .93rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; }
.brand-footer { color: var(--cream); margin-bottom: 14px; }
.brand-footer em { color: var(--gold-light); }
.footer-title { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(246,242,234,.14); margin-top: 36px; padding-top: 20px; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom p { margin: 0; }

/* Reveal animation (enabled by JS only) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .rec-grid { grid-template-columns: 1fr 300px; }
  .rec-grid .rec-block:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .hero-grid, .split, .tco { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin: 8px auto 0; }
  .hero-badge { left: auto; right: -6px; bottom: -24px; width: 120px; }
  .provider-list { grid-template-columns: 1fr 1fr; }
  .provider-card.featured { display: flex; padding: 54px 24px 26px; }
  .pill-grid, .checklist-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .rec-grid { grid-template-columns: 1fr; }
  .rec-figure { max-width: 380px; }
  .final-panel { grid-template-columns: 1fr; padding: 36px 28px; }
  .final-panel img { width: 120px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .hero { padding: 36px 0 52px; }
  .btn-row .btn { width: 100%; }
  .provider-list, .pill-grid, .checklist-grid, .feature-grid, .sector-grid, .flex-grid { grid-template-columns: 1fr; }
  .rec-head { grid-template-columns: 1fr; gap: 16px; }
  .rec-head img { width: 96px; }
  .check-list.two-col { columns: 1; }
  .tco { padding: 24px 18px; }
  .tco-calc { grid-template-columns: 1fr; }
  .tco-results { grid-template-columns: 1fr; }
  .callout, .value-panel, .conclusion { padding: 24px 20px; }
  .card-badge { width: 64px; }
  .steps li { padding-left: 62px; }
  .brand-tag { display: none; }
}

@media print {
  .site-header, .nav-toggle, .tco-calc, .hero-badge { display: none !important; }
  .section { padding: 24px 0; }
  .cost-section, .callout, .final-panel, .pill-gold { background: #fff !important; color: #000 !important; }
}

/* Fixes after visual QA */
.table-wrap table { color: var(--ink); }
.provider-card.featured .customer-rating { align-self: start; }
.provider-card.featured .ribbon { top: -2px; left: -2px; right: -2px; }

/* Photography */
picture { display: block; }
.hero-art picture img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.rec-figure img, .split-figure img { width: 100%; height: auto; }
.wide-figure { margin: 28px 0 8px; }
.wide-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Featured card ribbon: span the full card width (abs-pos grid items otherwise sit inside grid column 1) */
.provider-card.featured > .ribbon { grid-column: auto; grid-row: auto; }