/* Adire indigo, receipt paper, danfo yellow: the same palette as the till. */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url("fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 800; font-display: swap; src: url("fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2"); }

:root {
  --ink: #1f2a5c;
  --ink-2: #3c4f8f;
  --ink-3: #8b97c2;
  --paper: #f7f8fb;
  --line: #dce1ec;
  --danfo: #f2c230;
  --danfo-deep: #d9a915;
  --paid: #1e7a4f;
  --muted: #5d6680;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.55 "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif; }
img { display: block; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-bottom: 12px; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 8px; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--danfo-deep); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding-top: 72px; padding-bottom: 72px; }
.band { background: var(--paper); padding: 72px 0; }
.sub { color: var(--muted); max-width: 62ch; margin-bottom: 32px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: #fff; padding: 8px 12px; border-radius: 8px; }

.top { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; text-decoration: none; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 700; font-size: 0.95rem; color: var(--ink-2); }
.top nav a:hover { color: var(--ink); text-decoration: underline; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 12px; background: var(--danfo); color: var(--ink); font-weight: 800; text-decoration: none; }
.btn:hover { background: var(--danfo-deep); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.hero .btn-ghost { color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.section .btn-ghost:hover { background: var(--paper); }

.hero { background: var(--ink); color: #fff; padding: 72px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--danfo); font-weight: 700; margin-bottom: 16px; }
.lead { font-size: 1.2rem; color: #d9def0; margin: 22px 0 30px; max-width: 54ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The torn receipt edge from the till. */
.receipt {
  margin: 0; background: #fff; color: var(--ink); padding: 24px 24px 38px;
  border-radius: 14px 14px 0 0; transform: rotate(1.5deg); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
  --tooth: 9px;
  -webkit-mask: radial-gradient(var(--tooth) at 50% 100%, transparent 98%, #000) 0 100% / calc(var(--tooth) * 2) 100% repeat-x;
  mask: radial-gradient(var(--tooth) at 50% 100%, transparent 98%, #000) 0 100% / calc(var(--tooth) * 2) 100% repeat-x;
}
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--paid); margin-bottom: 14px; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--paid); }
.r-title { font-weight: 800; font-size: 1.25rem; margin-bottom: 12px; }
.r-line, .r-total { display: flex; justify-content: space-between; gap: 16px; }
.r-line { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.r-line small { display: block; color: var(--muted); font-size: 0.85rem; }
.r-total { padding-top: 14px; font-weight: 800; font-size: 1.5rem; }
.r-note { color: var(--muted); font-size: 0.85rem; margin-top: 10px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.cards article, .kinds article, .plans article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.cards p { color: var(--muted); font-size: 0.98rem; }

.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.kinds article { display: flex; flex-direction: column; align-items: flex-start; }
.kinds p { color: var(--muted); margin-bottom: 14px; }
.kinds .fine { font-size: 0.85rem; margin: 10px 0 0; }
.kinds li, .plans li { position: relative; padding: 4px 0 4px 20px; }
.kinds li::before, .plans li::before { content: ""; position: absolute; left: 0; top: 13px; width: 9px; height: 9px; border-radius: 2px; background: var(--danfo); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plans article { display: flex; flex-direction: column; }
.plans ul { margin-bottom: 20px; }
.plan-cta { margin-top: auto; width: 100%; text-align: center; }
.btn-outline { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.btn-outline:hover { background: var(--paper); }
.custom { background: var(--ink) !important; color: #fff; border-color: var(--ink) !important; }
.custom h3, .custom .price b { color: #fff; }
.custom .price, .custom .year { color: #d9def0; }
.plan-call { display: block; margin-top: 10px; text-align: center; color: #d9def0; font-weight: 700; font-size: 0.92rem; }
.plan-call:hover { color: #fff; }
.plans-note { margin-top: 18px; text-align: center; color: var(--muted); font-size: 0.92rem; }
.price { font-size: 1rem; margin-top: 4px; color: var(--muted); }
.price b { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.year { color: var(--muted); font-size: 0.92rem; margin-bottom: 14px; }
.plans article { position: relative; }
.featured { border: 2px solid var(--ink) !important; }
.tag { position: absolute; top: -13px; left: 22px; background: var(--danfo); font-weight: 800; font-size: 0.8rem; padding: 3px 10px; border-radius: 999px; }

.foot { background: var(--ink); color: #d9def0; padding: 28px 0; font-size: 0.95rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.foot .brand { color: #fff; font-size: 1.05rem; }
.foot a { margin-left: auto; }

@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .hero-grid, .cards, .kinds { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 60px; }
  .hero-grid { gap: 36px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
}
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } .foot a { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Help centre */
.help { padding-top: 32px; padding-bottom: 56px; max-width: 820px; }
.help h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; margin: 0 0 8px; }
.help h2 { font-size: 1.35rem; font-weight: 800; margin: 28px 0 10px; }
.help h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 6px; }
.help-lead { font-size: 1.1rem; margin: 0 0 14px; }
.prose { max-width: 760px; }
.prose h2 { margin: 28px 0 8px; font-size: 1.3rem; }
.prose li { margin: 0 0 6px; }
.help-for { font-size: 0.95rem; font-weight: 700; margin: 0 0 12px; }
.help-search { display: block; margin: 18px 0; font-weight: 700; }
.help-search input { display: block; width: 100%; box-sizing: border-box; min-height: 50px; margin-top: 6px; padding: 0 14px; font: inherit; font-weight: 400; border: 2px solid var(--ink); border-radius: 12px; }
.help-list { list-style: none; margin: 0; padding: 0; border: 1px solid #dce1ec; border-radius: 12px; background: #fff; overflow: hidden; }
.help-list li + li { border-top: 1px solid #dce1ec; }
.help-list a { display: block; padding: 12px 14px; color: inherit; text-decoration: none; }
.help-list a:hover { background: #f7f8fb; }
.help-list strong, .help-list span { display: block; }
.help-steps { padding: 16px 16px 16px 40px; margin: 0 0 12px; border: 1px solid #dce1ec; border-radius: 12px; background: #fff; }
.help-steps li + li { margin-top: 10px; }
.help-note { margin: 0 0 10px; padding: 12px 14px; border-radius: 12px; background: #fdf4d3; }
.help-figure { margin: 0 0 16px; }
.help-figure img { display: block; max-width: 100%; height: auto; border: 1px solid #dce1ec; border-radius: 12px; background: #fff; }
.help-figure figcaption { margin-top: 6px; font-size: 0.95rem; color: #5d6680; }
.help video { width: 100%; margin-bottom: 12px; border-radius: 12px; }
.help-manual-item { margin-bottom: 24px; }
@media print { .top, .foot, .skip { display: none; } .help-manual-item { break-inside: avoid; } }
