/* ==========================================================================
   theloyaltyapp.eu — design system
   Lane: retail counter / stamp card. Warm paper, ink type, one committed green,
   rubber-stamp orange for emphasis, brand blue as structure.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* surface */
  --paper:      oklch(0.973 0.011 95);
  --paper-2:    oklch(0.947 0.017 93);
  --paper-3:    oklch(0.906 0.024 91);
  --card:       oklch(0.995 0.005 95);

  /* ink */
  --ink:        oklch(0.235 0.022 155);
  --ink-2:      oklch(0.435 0.018 152);
  --ink-3:      oklch(0.515 0.016 150);

  /* brand */
  --green:      oklch(0.760 0.170 133);
  --green-2:    oklch(0.680 0.163 136);
  --green-deep: oklch(0.455 0.110 142);
  --blue:       oklch(0.705 0.132 232);
  --blue-deep:  oklch(0.470 0.105 240);
  --stamp:      oklch(0.520 0.170 35);

  --line:       oklch(0.868 0.020 92);
  --line-2:     oklch(0.800 0.026 92);

  /* type */
  --sans: "Archivo", "Archivo Fallback", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-900: clamp(2.35rem, 0.7rem + 8.2vw, 6.5rem);
  --fs-800: clamp(1.9rem, 0.95rem + 4.7vw, 4.25rem);
  --fs-700: clamp(1.6rem, 1.1rem + 2.5vw, 2.95rem);
  --fs-600: clamp(1.3rem, 1.05rem + 1.25vw, 2.05rem);
  --fs-500: clamp(1.1rem, 1.02rem + 0.4vw, 1.4rem);
  --fs-400: 1.0625rem;
  --fs-300: 0.9375rem;
  --fs-200: 0.8125rem;

  /* space */
  --s-1: 0.375rem;
  --s-2: 0.75rem;
  --s-3: 1.125rem;
  --s-4: 1.75rem;
  --s-5: 2.5rem;
  --s-6: 3.5rem;
  --s-7: clamp(3.5rem, 2rem + 5vw, 6rem);
  --s-8: clamp(4.5rem, 2rem + 8vw, 9rem);

  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3.5rem);
  --measure: 68ch;

  --r-1: 6px;
  --r-2: 12px;
  --r-3: 20px;
  --r-4: 32px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);          /* out-expo-ish */
  --ease-q: cubic-bezier(0.25, 1, 0.5, 1);        /* out-quart */

  --shadow-1: 0 1px 2px oklch(0.235 0.022 155 / 0.05),
              0 8px 24px -12px oklch(0.235 0.022 155 / 0.18);
  --shadow-2: 0 2px 4px oklch(0.235 0.022 155 / 0.06),
              0 24px 60px -24px oklch(0.235 0.022 155 / 0.30);
}

@font-face {
  font-family: "Archivo Fallback";
  src: local("Segoe UI"), local("Helvetica Neue"), local("Arial");
  size-adjust: 101%;
  ascent-override: 92%;
  descent-override: 24%;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-400);
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--green); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: var(--s-3); top: -100px; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 0.7rem 1.1rem; border-radius: var(--r-1);
  font-weight: 600; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: var(--s-3); }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- type ---------- */
h1, h2, h3, h4, .display {
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.028em;
  line-height: 1.03;
  text-wrap: balance;
}
h1, .fs-900 { font-size: var(--fs-900); line-height: 0.93; letter-spacing: -0.04em; }
h2, .fs-800 { font-size: var(--fs-800); }
h3, .fs-600 { font-size: var(--fs-600); line-height: 1.12; }
h4, .fs-500 { font-size: var(--fs-500); line-height: 1.25; letter-spacing: -0.015em; }
.fs-700 { font-size: var(--fs-700); }

p, li { text-wrap: pretty; }
.lede {
  font-size: var(--fs-500);
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 450;
  max-width: 52ch;
}
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-700); margin: 2.2em 0 0.5em; }
.prose h3 { font-size: var(--fs-600); margin: 1.9em 0 0.45em; }
.prose ul, .prose ol { margin: 1em 0 1em 1.3em; }
.prose li { margin-bottom: 0.45em; padding-left: 0.2em; }
.prose ul { list-style: none; margin-left: 0; }
.prose ul > li { position: relative; padding-left: 1.5rem; }
.prose ul > li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-2);
}
.prose a { color: var(--blue-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--ink); }

.kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: var(--fs-200); font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--green-deep);
  font-stretch: 100%;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--green-2);
}
.kicker--stamp { color: var(--stamp); }
.kicker--stamp::before { background: var(--stamp); }
.kicker--paper { color: oklch(0.93 0.05 130); }
.kicker--paper::before { background: currentColor; }
.band--ink .kicker { color: oklch(0.88 0.14 130); }
.band--ink .kicker::before { background: currentColor; }

.muted { color: var(--ink-2); }
.tiny { font-size: var(--fs-200); color: var(--ink-3); }

/* ---------- layout ---------- */
.wrap {
  width: min(100% - (var(--gutter) * 2), 1240px);
  margin-inline: auto;
}
.wrap--wide { width: min(100% - (var(--gutter) * 2), 1480px); }
.wrap--tight { width: min(100% - (var(--gutter) * 2), 880px); }

section { position: relative; }
.band { padding-block: var(--s-8); }
.band--sm { padding-block: var(--s-7); }
.band--paper2 { background: var(--paper-2); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ink .lede, .band--ink .muted { color: oklch(0.82 0.014 130); }
.band--green {
  background: var(--green);
  color: var(--ink);
  background-image:
    radial-gradient(circle at 12% 8%, oklch(0.86 0.14 128 / 0.55), transparent 42%),
    radial-gradient(circle at 88% 96%, oklch(0.62 0.15 145 / 0.42), transparent 46%);
}

.stack > * + * { margin-top: var(--s-3); }
.stack-4 > * + * { margin-top: var(--s-4); }
.stack-5 > * + * { margin-top: var(--s-5); }

.split {
  display: grid;
  gap: var(--s-6) var(--s-7);
  align-items: center;
}
@media (min-width: 62rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--7-5 { grid-template-columns: 7fr 5fr; }
  .split--5-7 { grid-template-columns: 5fr 7fr; }
  .split--start { align-items: start; }
  .split--flip > :first-child { order: 2; }
}

.grid { display: grid; gap: var(--s-4); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--auto-sm { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
@media (min-width: 48rem) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 62rem) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.section-head { max-width: 46rem; }
.section-head > * + * { margin-top: var(--s-3); }
.section-head--wide { max-width: 60rem; }

/* perforated tear line — the one recurring ornament */
.tear {
  height: 8px;
  background-image: radial-gradient(circle at 5px 4px, var(--line-2) 0 2.4px, transparent 2.6px);
  background-size: 14px 8px;
  background-repeat: repeat-x;
}
.tear--ink { background-image: radial-gradient(circle at 5px 4px, oklch(0.42 0.02 150) 0 2.4px, transparent 2.6px); }
.tear--green { background-image: radial-gradient(circle at 5px 4px, oklch(0.52 0.13 142 / 0.6) 0 2.4px, transparent 2.6px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700; font-size: var(--fs-300); font-stretch: 105%;
  letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease),
              box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--green-deep); box-shadow: var(--shadow-2); }

.btn--green { background: var(--green); color: var(--ink); box-shadow: var(--shadow-1); }
.btn--green:hover { background: var(--green-2); box-shadow: var(--shadow-2); }

.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--card); }

.btn--onink { background: var(--green); color: var(--ink); }
.btn--onink:hover { background: oklch(0.83 0.16 130); }
.btn--onink-ghost { border-color: oklch(0.45 0.02 150); color: var(--paper); }
.btn--onink-ghost:hover { border-color: var(--green); color: var(--green); }

.btn--sm { padding: 0.65rem 1.15rem; font-size: var(--fs-200); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); align-items: center; }

.arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow, .tlink:hover .arrow { transform: translateX(4px); }

.tlink {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: var(--fs-300); text-decoration: none;
  color: var(--green-deep);
  border-bottom: 2px solid oklch(0.76 0.17 133 / 0.45);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.tlink:hover { color: var(--ink); border-color: var(--ink); }
.tlink--ink { color: var(--paper); border-color: oklch(0.76 0.17 133 / 0.6); }
.tlink--ink:hover { color: var(--green); border-color: var(--green); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: oklch(0.973 0.011 95 / 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px oklch(0.235 0.022 155 / 0.5);
}
.nav {
  display: flex; align-items: center; gap: var(--s-4);
  min-height: 78px;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none; margin-right: auto; flex-shrink: 0;
}
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand__text { display: grid; line-height: 1; }
.brand__name {
  font-weight: 800; font-stretch: 108%; font-size: 1.02rem;
  letter-spacing: -0.02em; color: var(--green-deep);
  text-transform: uppercase;
}
.brand__tag {
  font-size: 0.66rem; letter-spacing: 0.06em; color: var(--blue-deep);
  font-weight: 600; margin-top: 2px;
}

.nav__links { display: none; align-items: center; gap: clamp(0.5rem, 1.4vw, 1.6rem); list-style: none; }
.nav__links a {
  text-decoration: none; font-size: var(--fs-300); font-weight: 600;
  color: var(--ink-2); padding: 0.4rem 0; position: relative;
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--green-2); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta { display: none; }
@media (min-width: 62rem) {
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle { display: none; }
}

.nav__toggle {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent; border: 2px solid var(--line-2);
  border-radius: 999px; padding: 0.5rem 0.9rem; cursor: pointer;
  font-size: var(--fs-200); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav__bars { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav__bars::before, .nav__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
  transition: transform 0.35s var(--ease);
}
.nav__bars::before { top: -6px; }
.nav__bars::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* very narrow phones: trim the header to the essentials */
@media (max-width: 26.5rem) {
  .nav { gap: var(--s-2); min-height: 68px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 0.94rem; }
  .brand__tag { font-size: 0.6rem; }
  .nav__toggle { padding: 0.5rem 0.7rem; }
  .nav__toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

.mobile-nav {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
  background: var(--paper-2); border-top: 1px solid var(--line);
}
.mobile-nav[data-open="true"] { grid-template-rows: 1fr; }
.mobile-nav > div { overflow: hidden; }
.mobile-nav ul { list-style: none; padding: var(--s-3) 0 var(--s-4); }
.mobile-nav li + li { border-top: 1px dashed var(--line-2); }
.mobile-nav a {
  display: block; padding: 0.9rem 0; text-decoration: none;
  font-size: var(--fs-500); font-weight: 700; font-stretch: 106%;
}
.mobile-nav .btn { margin-top: var(--s-3); width: 100%; }
@media (min-width: 62rem) { .mobile-nav { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(3rem, 1rem + 6vw, 6rem) var(--s-8); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 88% 12%, oklch(0.76 0.17 133 / 0.16), transparent 38%),
    radial-gradient(circle at 4% 78%, oklch(0.705 0.132 232 / 0.10), transparent 34%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero h1 { max-width: 15ch; }
.hero h1 em {
  font-style: normal; color: var(--green-deep);
  position: relative; white-space: nowrap;
}
.hero h1 em::after {
  content: ""; position: absolute; left: -1%; right: -1%; bottom: 0.08em; height: 0.16em;
  background: oklch(0.76 0.17 133 / 0.35); z-index: -1;
}
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-items: center; }
.hero__fact { display: flex; align-items: baseline; gap: 0.5rem; font-size: var(--fs-300); }
.hero__fact b { font-size: var(--fs-500); font-stretch: 110%; letter-spacing: -0.02em; }

.hero__art { position: relative; display: flex; justify-content: center; }
.hero__photo {
  position: absolute; right: -6%; bottom: -4%; width: 58%; max-width: 320px;
  border-radius: var(--r-3); overflow: hidden; box-shadow: var(--shadow-2);
  border: 6px solid var(--card); rotate: 3deg;
}
.hero__photo img { aspect-ratio: 6/5; object-fit: cover; width: 100%; }
@media (max-width: 61.99rem) { .hero__photo { display: none; } }

/* ---------- phone mockup ---------- */
.device {
  width: min(300px, 78vw);
  aspect-ratio: 300 / 610;
  background: var(--ink);
  border-radius: 42px;
  padding: 9px;
  box-shadow: var(--shadow-2), inset 0 0 0 1.5px oklch(0.45 0.02 150);
  position: relative;
  flex-shrink: 0;
}
.device::after {
  content: ""; position: absolute; top: 16px; left: 50%; translate: -50% 0;
  width: 78px; height: 20px; background: var(--ink); border-radius: 999px; z-index: 3;
}
.device__screen {
  height: 100%; border-radius: 34px; overflow: hidden;
  background: var(--paper); display: flex; flex-direction: column;
  font-size: 11px; line-height: 1.35;
}
.app__top {
  background: var(--green-deep); color: oklch(0.97 0.02 130);
  padding: 34px 14px 16px; position: relative;
}
.app__top-row { display: flex; align-items: center; justify-content: space-between; }
.app__brandline { font-weight: 800; font-size: 13px; letter-spacing: -0.01em; }
.app__icons { display: flex; gap: 8px; opacity: 0.9; }
.app__icons span {
  width: 16px; height: 16px; border-radius: 5px;
  border: 1.5px solid currentColor;
}
.app__balance {
  margin-top: 14px; background: oklch(0.99 0.01 120 / 0.16);
  border: 1px solid oklch(0.99 0.01 120 / 0.3);
  border-radius: 14px; padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.app__scan { display: flex; align-items: center; gap: 7px; font-weight: 700; }
.app__qr {
  width: 22px; height: 22px; border-radius: 4px;
  background:
    linear-gradient(currentColor 0 0) 0 0 / 8px 8px no-repeat,
    linear-gradient(currentColor 0 0) 100% 0 / 8px 8px no-repeat,
    linear-gradient(currentColor 0 0) 0 100% / 8px 8px no-repeat,
    linear-gradient(currentColor 0 0) 100% 100% / 5px 5px no-repeat;
  opacity: 0.95;
}
.app__points { text-align: right; line-height: 1.1; }
.app__points b { display: block; font-size: 17px; font-stretch: 112%; }
.app__points small { font-size: 8.5px; opacity: 0.85; letter-spacing: 0.06em; text-transform: uppercase; }

.app__body { padding: 12px 14px; flex: 1; overflow: hidden; background: var(--paper); }
.app__label {
  font-size: 8.5px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 7px;
}
.app__stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-bottom: 14px; }
.app__stamp {
  aspect-ratio: 1; border-radius: 50%;
  border: 1.5px dashed var(--line-2);
  display: grid; place-items: center;
  color: transparent;
  font-size: 9px; font-weight: 800;
}
.app__stamp.is-on {
  border-style: solid; border-color: var(--green-2);
  background: var(--green); color: var(--ink);
  animation: stampIn 0.5s var(--ease) backwards;
}
@keyframes stampIn {
  from { transform: scale(1.5) rotate(-12deg); opacity: 0; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}
.app__rewards { display: grid; gap: 8px; }
.app__reward {
  display: flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 8px 9px;
}
.app__thumb { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; }
.app__thumb--a { background: linear-gradient(140deg, oklch(0.83 0.13 60), oklch(0.72 0.16 40)); }
.app__thumb--b { background: linear-gradient(140deg, oklch(0.82 0.11 200), oklch(0.66 0.13 235)); }
.app__thumb--c { background: linear-gradient(140deg, oklch(0.86 0.14 128), oklch(0.68 0.16 140)); }
.app__reward b { display: block; font-size: 10.5px; font-weight: 700; }
.app__reward small { font-size: 9px; color: var(--ink-3); }
.app__pill {
  margin-left: auto; font-size: 8.5px; font-weight: 800; white-space: nowrap;
  background: var(--paper-3); border-radius: 999px; padding: 3px 7px;
}
.app__tabs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); background: var(--card);
  padding: 9px 6px 13px;
}
.app__tab { display: grid; gap: 4px; justify-items: center; font-size: 7.5px; color: var(--ink-3); font-weight: 600; }
.app__tab i { width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 5px; display: block; }
.app__tab.is-on { color: var(--green-deep); }
.app__tab.is-on i { background: var(--green); border-color: var(--green-2); }

/* ---------- punch card ---------- */
.punchcard {
  background: var(--card);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-3);
  padding: var(--s-4);
  box-shadow: var(--shadow-1);
  position: relative;
}
.punchcard__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.punchcard__grid {
  margin-top: var(--s-3);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.punchcard__hole {
  aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--line-2);
  display: grid; place-items: center; font-weight: 800; color: var(--ink-3);
  font-size: var(--fs-300);
}
.punchcard__hole.is-on {
  border-style: solid; border-color: var(--green-2);
  background: var(--green); color: var(--ink);
  rotate: -4deg;
}

/* ---------- cards & tiles ---------- */
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--s-4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: var(--line-2); }
.tile h3, .tile h4 {
  margin-bottom: 0.5rem;
  font-size: var(--fs-500);
  line-height: 1.2;
  hyphens: auto;
}
.tile p { color: var(--ink-2); font-size: var(--fs-300); }
.tile__num {
  font-size: var(--fs-700); font-stretch: 118%; font-weight: 800;
  color: var(--green-deep); line-height: 1; display: block; margin-bottom: var(--s-2);
}

/* numbered rubber-stamp steps */
.steps { counter-reset: step; display: grid; gap: var(--s-5); }
@media (min-width: 62rem) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: var(--s-2); }
.step__badge {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2.5px solid var(--stamp); color: var(--stamp);
  font-weight: 800; font-size: 1.35rem; font-stretch: 115%;
  rotate: -7deg; margin-bottom: var(--s-3);
  box-shadow: inset 0 0 0 3px oklch(0.598 0.185 38 / 0.14);
}
.step h3 { font-size: var(--fs-600); margin-bottom: 0.4rem; }
.step p { color: var(--ink-2); font-size: var(--fs-300); }
.band--green .step__badge { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 3px oklch(0.235 0.022 155 / 0.1); }
.band--green .step p { color: oklch(0.32 0.04 150); }

/* feature list, dense */
.featlist { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
@media (min-width: 40rem) { .featlist { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .featlist--4 { grid-template-columns: repeat(4, 1fr); } .featlist--3 { grid-template-columns: repeat(3, 1fr); } }
.featlist > div { background: var(--card); padding: var(--s-3) var(--s-4) var(--s-4); }
.featlist h4 { font-size: 1.02rem; letter-spacing: -0.015em; margin-bottom: 0.3rem; }
.featlist p { font-size: var(--fs-300); color: var(--ink-2); line-height: 1.55; }

/* key facts table — built for extraction */
.facts { border: 1.5px solid var(--ink); border-radius: var(--r-2); overflow: hidden; background: var(--card); }
.facts caption {
  text-align: left; padding: var(--s-3) var(--s-4);
  background: var(--ink); color: var(--paper);
  font-weight: 800; font-stretch: 108%; letter-spacing: -0.01em;
  font-size: var(--fs-500);
}
.facts th, .facts td {
  padding: 0.85rem clamp(0.7rem, 2.6vw, 1.75rem);
  text-align: left; font-size: var(--fs-300); vertical-align: top;
  overflow-wrap: anywhere;
}
.facts th { width: 38%; font-weight: 700; color: var(--ink); border-right: 1px dashed var(--line-2); }
.facts td { color: var(--ink-2); }
.facts caption { padding-inline: clamp(0.7rem, 2.6vw, 1.75rem); }
.facts tbody tr + tr { border-top: 1px solid var(--line); }
.facts tbody tr:nth-child(even) { background: var(--paper); }

/* answer block — the GEO lead */
.answer {
  background: var(--card);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-3);
  padding: var(--s-4) var(--s-5);
  position: relative;
}
.answer::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-3);
  box-shadow: inset 0 3px 0 var(--green);
  pointer-events: none;
}
.answer h2, .answer h3 { font-size: var(--fs-500); margin-bottom: 0.5rem; }
.answer p { font-size: 1.09rem; line-height: 1.6; }
.answer p + p { margin-top: 0.7em; }

/* ---------- pricing ---------- */
.toggle {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--paper-3); border-radius: 999px; padding: 4px;
  border: 1px solid var(--line-2);
}
.toggle button {
  border: 0; background: transparent; cursor: pointer;
  padding: 0.55rem 1.15rem; border-radius: 999px;
  font-weight: 700; font-size: var(--fs-300); color: var(--ink-2);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.toggle .save { color: var(--stamp); font-size: var(--fs-200); font-weight: 800; }
.toggle button[aria-pressed="true"] .save { color: var(--green); }

.plans { display: grid; gap: var(--s-4); align-items: start; }
@media (min-width: 46rem) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 76rem) { .plans { grid-template-columns: repeat(4, 1fr); } }

.plan {
  background: var(--card);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-3);
  padding: var(--s-4) var(--s-4) var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3);
  position: relative;
  -webkit-mask-image:
    radial-gradient(circle 13px at 0 148px, transparent 12.5px, #000 13px),
    radial-gradient(circle 13px at 100% 148px, transparent 12.5px, #000 13px);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(circle 13px at 0 148px, transparent 12.5px, #000 13px),
    radial-gradient(circle 13px at 100% 148px, transparent 12.5px, #000 13px);
  mask-composite: intersect;
}
.plan--featured { border-color: var(--ink); border-width: 2px; background: var(--paper); }
.plan__flag {
  position: absolute; top: -13px; left: var(--s-4);
  background: var(--stamp); color: oklch(0.98 0.01 60);
  font-size: var(--fs-200); font-weight: 800; letter-spacing: 0.07em;
  text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: var(--r-1);
}
.plan__name { font-size: var(--fs-600); }
.plan__price { display: flex; align-items: baseline; gap: 0.35rem; flex-wrap: wrap; }
.plan__amount {
  font-size: clamp(2.1rem, 1.5rem + 1.6vw, 2.7rem); font-weight: 800;
  font-stretch: 118%; letter-spacing: -0.035em; line-height: 1;
}
.plan__cur { font-size: var(--fs-300); font-weight: 700; color: var(--ink-2); }
.plan__per { font-size: var(--fs-200); color: var(--ink-3); }
.plan__was { font-size: var(--fs-300); color: var(--ink-3); text-decoration: line-through; }
.plan__note { font-size: var(--fs-200); color: var(--ink-3); min-height: 1.2em; }
.plan__hr { border: 0; border-top: 1px dashed var(--line-2); margin: 0; }
.plan__feats { list-style: none; display: grid; gap: 0.5rem; font-size: var(--fs-300); }
.plan__feats li { position: relative; padding-left: 1.55rem; color: var(--ink-2); line-height: 1.45; }
.plan__feats li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 13px; height: 8px; border-left: 2.2px solid var(--green-2); border-bottom: 2.2px solid var(--green-2);
  rotate: -45deg;
}
.plan .btn { width: 100%; margin-top: auto; }

/* ---------- industries ---------- */
.ind-grid { display: grid; gap: var(--s-3); }
@media (min-width: 40rem) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .ind-grid { grid-template-columns: repeat(12, 1fr); } }
.ind {
  position: relative; overflow: hidden; border-radius: var(--r-3);
  min-height: 240px; display: flex; align-items: flex-end;
  color: oklch(0.98 0.008 95); text-decoration: none;
  background: var(--ink);
  isolation: isolate;
}
.ind img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2; transition: transform 0.9s var(--ease); opacity: 0.85;
}
.ind::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, oklch(0.2 0.02 150 / 0.92) 8%, oklch(0.2 0.02 150 / 0.35) 55%, oklch(0.2 0.02 150 / 0.1));
}
.ind:hover img { transform: scale(1.06); }
.ind__body { padding: var(--s-4); }
.ind__body h3 { font-size: var(--fs-600); }
.ind__body p { font-size: var(--fs-300); color: oklch(0.9 0.01 95); margin-top: 0.3rem; max-width: 34ch; }
@media (min-width: 62rem) {
  .ind--wide { grid-column: span 7; min-height: 330px; }
  .ind--half { grid-column: span 5; min-height: 330px; }
  .ind--third { grid-column: span 4; }
}
.ind--flat { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.ind--flat::after { display: none; }
.ind--flat p { color: var(--ink-2); }

/* ---------- stats ---------- */
.stats { display: grid; gap: var(--s-4); }
@media (min-width: 46rem) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 2px solid var(--ink); padding-top: var(--s-3); }
.stat b { display: block; font-size: var(--fs-700); font-stretch: 118%; letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 0.5rem; font-size: var(--fs-300); color: var(--ink-2); }
.band--ink .stat { border-top-color: var(--green); }
.band--ink .stat span { color: oklch(0.8 0.012 130); }

/* ---------- offices ---------- */
.office { text-align: left; display: grid; gap: var(--s-3); }
.office img {
  width: 116px; height: 116px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--card); box-shadow: var(--shadow-1);
}
.office h3 { font-size: var(--fs-600); }
.office address { font-style: normal; color: var(--ink-2); font-size: var(--fs-300); }
.office a { color: var(--blue-deep); text-decoration: none; font-weight: 600; }
.office a:hover { text-decoration: underline; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s-3) 2.6rem var(--s-3) 0;
  font-weight: 700; font-size: var(--fs-500); font-stretch: 105%;
  position: relative; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.3rem; top: 1.5rem;
  width: 13px; height: 13px;
  border-right: 2.5px solid var(--green-deep); border-bottom: 2.5px solid var(--green-deep);
  rotate: 45deg; transition: rotate 0.35s var(--ease);
}
.faq details[open] summary::after { rotate: -135deg; }
.faq summary:hover { color: var(--green-deep); }
.faq .faq__a { padding: 0 2.6rem var(--s-4) 0; color: var(--ink-2); max-width: 62ch; }
.faq .faq__a p + p { margin-top: 0.8em; }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--s-3); }
@media (min-width: 40rem) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fs-300); font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-300);
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line-2); border-radius: var(--r-2);
  background: var(--card); color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green-2); box-shadow: 0 0 0 4px oklch(0.76 0.17 133 / 0.2);
  outline: none;
}

/* ---------- cta band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band h2 { max-width: 18ch; }
.cta-band__inner { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 62rem) { .cta-band__inner { grid-template-columns: 1.3fr 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: oklch(0.88 0.012 130); padding-block: var(--s-7) var(--s-5); }
.site-footer a { color: oklch(0.88 0.012 130); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-grid { display: grid; gap: var(--s-5); }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer h3 {
  font-size: var(--fs-200); text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--green); font-stretch: 100%; font-weight: 800; margin-bottom: var(--s-3);
}
.site-footer ul { list-style: none; display: grid; gap: 0.6rem; font-size: var(--fs-300); }
.footer-brand .brand__name { color: var(--green); }
.footer-brand .brand__tag { color: oklch(0.75 0.06 200); }
.footer-brand p { font-size: var(--fs-300); color: oklch(0.78 0.012 130); margin-top: var(--s-3); max-width: 34ch; }
.footer-bottom {
  margin-top: var(--s-6); padding-top: var(--s-4);
  border-top: 1px solid oklch(0.35 0.02 150);
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  justify-content: space-between; font-size: var(--fs-200);
  color: oklch(0.7 0.012 130);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- breadcrumb ---------- */
.crumbs { font-size: var(--fs-200); color: var(--ink-3); padding-top: var(--s-4); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-2); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--green-deep); }

/* ---------- page head ---------- */
.page-head { padding-block: var(--s-6) var(--s-7); }
.page-head h1 { max-width: 18ch; }
.page-head .lede { margin-top: var(--s-3); }

/* ---------- misc ---------- */
.photo { border-radius: var(--r-3); overflow: hidden; box-shadow: var(--shadow-1); }
.photo img { width: 100%; object-fit: cover; }
.photo--tall img { aspect-ratio: 4/5; }
.photo--wide img { aspect-ratio: 16/10; }
.photo--square img { aspect-ratio: 1; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  font-size: var(--fs-200); font-weight: 700;
  border: 1.5px solid var(--line-2); border-radius: 999px;
  padding: 0.35rem 0.8rem; color: var(--ink-2); background: var(--card);
}
.pill--on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.note {
  font-size: var(--fs-300); color: var(--ink-2);
  border-left: 0; padding: var(--s-3) var(--s-4);
  background: var(--paper-2); border-radius: var(--r-2);
}

.updated { font-size: var(--fs-200); color: var(--ink-3); }

/* ---------- reveal ---------- */
/* Only hides when JS is running, so the page is fully readable without it. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease-q), transform 0.7s var(--ease-q);
  transition-delay: var(--d, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .app__stamp.is-on { animation: none; }
  .btn:hover, .tile:hover { transform: none; }
  .ind:hover img { transform: none; }
}
