/* Stone: tokens, base, chrome and the components every page shares */

/* 1. Tokens */
:root {
  --ground: #efeeea;
  --ground-2: #e6e4df;
  --surface: #ffffff;
  --canvas: #f7f6f3;
  --card: #f7f6f3;
  --ink: #1c1b19;
  --ink-2: #5e5b55;
  --faint: #77746d;
  --accent: #3b30a8;
  --accent-2: #5b4fd6;
  --accent-tint: #ecebfb;
  --danger: #b42318;
  --danger-tint: #fdecec;
  --line: rgba(28, 27, 25, .08);
  --line-2: rgba(28, 27, 25, .14);
  --ring: rgba(28, 27, 25, .09);

  --font: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;

  --fs-1: 13px;
  --fs-2: 15px;
  --fs-3: 18px;
  --fs-4: 24px;
  --fs-5: clamp(32px, 18px + 2.2vw, 48px);
  --fs-6: clamp(36px, 20.8px + 4.23vw, 80px);

  --r-xl: 24px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;

  --edge: inset 0 1px 0 rgba(255, 255, 255, .9);
  --shadow-card: 0 0 0 1px var(--ring), 0 1px 2px rgba(28, 27, 25, .05), 0 12px 24px -12px rgba(28, 27, 25, .1), 0 32px 64px -32px rgba(28, 27, 25, .1);
  --shadow-frame: var(--edge), 0 0 0 1px rgba(28, 27, 25, .07), 0 1px 2px rgba(28, 27, 25, .04), 0 12px 24px -14px rgba(28, 27, 25, .1), 0 40px 80px -32px rgba(28, 27, 25, .16);

  --wrap: 1200px;
  --gutter: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* A column, so the footer of a short page sits on the bottom edge of the viewport */
body { display: flex; flex-direction: column; min-height: 100svh; }
body > main { flex-grow: 1; }

h1, h2, h3, p, ul { margin: 0; }
h2 { line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
/* Only lists that say they are lists lose their markers, so content lists keep theirs. Zero specificity, so every component class still sets its own padding. */
:where(ul[role="list"], ol[role="list"]) { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.skip:focus { top: 16px; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  top: 16px;
  left: 16px;
  z-index: 100000;
  display: block;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip-path: none;
  border-radius: var(--r-sm);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  font-size: var(--fs-2);
  font-weight: 600;
  line-height: normal;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Functional: the contact form's honeypot stays off screen, or people fill it and their message is dropped as spam */
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* The admin bar is fixed above 600px */
.admin-bar .site-header { top: 32px; }
.admin-bar .skip:focus { top: 48px; }
html:has(body.admin-bar) { scroll-padding-top: 120px; }
/* WordPress moves html down by the admin bar's height */
body.admin-bar { min-height: calc(100svh - 32px); }

/* 3. Brand and buttons */
/* The brand files are trimmed to the artwork. The clear space of one cap height (96% of the image height) comes from the bar and its gap. */
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
  border-radius: var(--r-sm);
}
.brand img { width: 100px; height: auto; }
/* Raised so the wordmark's baseline sits on the nav's */
.bar .brand { position: relative; top: -5px; }

.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  font-size: var(--fs-2);
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
button.btn { border: 0; font-family: inherit; line-height: inherit; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { --h: 40px; position: relative; padding: 0 18px; }
.btn-sm::before { content: ''; position: absolute; inset: -2px 0; }

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(28, 27, 25, .24);
}
.btn-dark:hover { background: #2b2a27; }
.btn-hero { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(28, 27, 25, .24), 0 4px 10px -4px rgba(28, 27, 25, .32); }
.btn-hero:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(28, 27, 25, .24), 0 8px 16px -6px rgba(28, 27, 25, .32); }

.btn-light {
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  box-shadow: var(--edge), 0 0 0 1px var(--line-2), 0 1px 2px rgba(28, 27, 25, .05);
}
.btn-light:hover { background: #fff; }

/* 4. Header and phone menu */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 238, 234, 0);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(239, 238, 234, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: var(--fs-2);
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: rgba(28, 27, 25, .05); }

.menu { display: none; position: relative; }
.menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  font-size: 22px;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute;
  right: 0;
  top: 52px;
  display: grid;
  min-width: 200px;
  padding: 8px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.menu-panel a {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  font-weight: 500;
}
.menu-panel a:hover { background: var(--canvas); }

/* Current page, or the section a page sits in: ink and a dot, so the pill stays a hover state */
.nav a[aria-current] { position: relative; color: var(--ink); }
.nav a[aria-current]::after,
.menu-panel a[aria-current]::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
}
.nav a[aria-current]::after { position: absolute; left: calc(50% - 2px); bottom: 5px; }
.menu-panel a[aria-current]::after { margin-left: auto; }
.foot a[aria-current] { color: var(--ink); }

/* 5. Cart badge: cart.js puts it before the header's Get Gratora button */
.nav-cart {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  box-shadow: var(--edge), 0 0 0 1px var(--line-2), 0 1px 2px rgba(28, 27, 25, .05);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.nav-cart::before { content: ''; position: absolute; inset: -2px; border-radius: 999px; }
.nav-cart:hover { background: #fff; transform: translateY(-1px); }
.nav-cart svg { width: 18px; height: 18px; }
.nav-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 0 2px var(--ground);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 19px;
  text-align: center;
}

/* 6. Hero */
.hero {
  position: relative;
  padding-top: 56px;
  overflow-x: clip;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -72px 0 auto;
  height: 760px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(56% 64% at 50% 0%, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0) 72%);
}
.hero-copy { position: relative; z-index: 2; text-align: center; }
.hero h1 {
  max-width: 12em;
  margin-inline: auto;
  font-size: var(--fs-6);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.lede {
  max-width: 44em;
  margin: 24px auto 0;
  font-size: var(--fs-3);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: balance;
}
.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* The inner pages' hero: a smaller H1 and no bottom band */
.hero-compact { padding-top: 36px; }
.hero-compact h1 { max-width: none; font-size: var(--fs-5); line-height: 1.05; }
.hero-compact h1 span { display: inline-block; }
.hero-compact .lede { max-width: 46em; margin-top: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* 7. Shared components */

/* Tray and cards: white cards in a tray, each icon a white glyph on an ink tile left of its title */
.feature-grid {
  --tray-r: var(--r-xl);
  --tray-pad: 12px;
  --feat-ring: 0 0 0 1px rgba(28, 27, 25, .07);
  --feat-shadow: var(--feat-ring), 0 1px 2px rgba(28, 27, 25, .05), 0 2px 6px -2px rgba(28, 27, 25, .06), 0 14px 24px -14px rgba(28, 27, 25, .14);
  --feat-shadow-up: 0 0 0 1px rgba(28, 27, 25, .1), 0 1px 2px rgba(28, 27, 25, .05), 0 6px 12px -6px rgba(28, 27, 25, .1), 0 16px 32px -14px rgba(28, 27, 25, .2);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--tray-pad);
  margin-top: 56px;
  padding: var(--tray-pad);
  border-radius: var(--tray-r);
  background: linear-gradient(180deg, #f6f5f2, #f2f1ed);
  box-shadow: var(--shadow-frame);
}
/* The tile overhangs the title's line box by --hang above and below, so the first row is the title's height and the tile's top inset equals --pad */
.feat {
  --pad: 36px;
  --tile: 32px;
  --hang: calc((var(--tile) - 1.3 * var(--fs-3)) / 2);
  display: grid;
  grid-template-columns: var(--tile) minmax(0, 1fr);
  column-gap: 12px;
  align-content: start;
  align-items: start;
  padding: calc(var(--pad) + var(--hang)) var(--pad) calc(var(--pad) + 4px);
  border-radius: calc(var(--tray-r) - var(--tray-pad));
  background: var(--surface);
  box-shadow: var(--feat-shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
/* Centered on the title's first line box, about 1px below the cap height's center, which reads centered for mixed-case titles */
.feat-tile {
  display: grid;
  place-items: center;
  width: var(--tile);
  height: var(--tile);
  margin-block: calc(var(--hang) * -1);
  border-radius: 9px;
  color: #fff;
  background: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(28, 27, 25, .24), 0 4px 8px -4px rgba(28, 27, 25, .28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feat .ico {
  display: block;
  font-size: 18px;
  color: inherit;
  stroke: currentColor;
  stroke-width: 2.25;
}
.feat-tile .ico { display: block; font-size: 18px; stroke-width: 2.25; }
.feat h3 {
  margin: 0;
  font-size: var(--fs-3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.feat p {
  grid-column: 1 / -1;
  max-width: 22em;
  margin-top: 12px;
  color: var(--ink-2);
}

/* Hover only where a real pointer can rest; the lift and the tile's rise only when motion is allowed */
@media (hover: hover) and (pointer: fine) {
  .feat:hover { box-shadow: var(--feat-shadow-up); }
  .feat:hover .feat-tile { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 4px rgba(28, 27, 25, .24), 0 6px 12px -5px rgba(28, 27, 25, .38); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .feat:hover { transform: translateY(-2px); }
  .feat:hover .feat-tile { transform: translateY(-1px); }
}

/* Check list: hairline rows, an accent check before each */
.caps li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-2);
  font-size: var(--fs-2);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: pretty;
}
.caps .ico,
.feat .caps .ico {
  display: block;
  flex: none;
  margin-top: 2px;
  font-size: 17px;
  color: var(--accent);
  stroke-width: 2.2;
}
.caps li.is-all { color: var(--ink-2); }

/* Plan price and the small line under a plan list */
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin-top: 8px;
  font-size: 32px;
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.price .per { font-size: var(--fs-1); font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.price .per-month { flex-basis: 100%; }
.plans-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: 16px;
  padding-inline: 4px;
  font-size: var(--fs-1);
  color: var(--ink-2);
}

/* The currency switch opens the foot on a row of its own */
.plans-foot-currency { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: center; gap: 4px 12px; }

/* Currency switch: two segments, the showing one raised. Drawn from the html attribute, so it is right before script syncs the radios. */
.currency-switch {
  display: inline-flex;
  flex: none;
  margin: 0;
  padding: 2px;
  border: 0;
  border-radius: 999px;
  background: var(--ground-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.currency-switch label { position: relative; display: grid; }
.currency-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.currency-switch span {
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-2);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.currency-switch label:hover span { color: var(--ink); }
html[data-currency="usd"] .currency-switch input[value="usd"] + span,
html[data-currency="eur"] .currency-switch input[value="eur"] + span {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(28, 27, 25, .08);
}
.currency-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Section heads: a hairline, the H2 left and a sentence right */
.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.group-head h2 {
  font-size: var(--fs-4);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.group-head p { color: var(--ink-2); }

/* Links: standalone in accent with an arrow, inline in ink with an underline */
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 600;
  color: var(--accent);
}
.link .ico { transition: transform .2s var(--ease); }
.link:hover .ico { transform: translateX(3px); }
.inline {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.inline:hover { text-decoration-color: currentColor; }

/* Terms list: three quiet columns on the ground, each titled like a card */
.terms-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 48px;
  margin-top: 32px;
}
.terms-list li {
  --tile: 32px;
  --hang: calc((var(--tile) - 1.3 * var(--fs-3)) / 2);
  display: grid;
  grid-template-columns: var(--tile) minmax(0, 1fr);
  column-gap: 12px;
  align-content: start;
  align-items: start;
  padding-top: var(--hang);
}
.terms-list h3 {
  font-size: var(--fs-3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.terms-list p { grid-column: 1 / -1; max-width: 26em; margin-top: 12px; color: var(--ink-2); }

/* Questions: the heading left, native disclosures right, so every answer opens without JavaScript */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: 64px;
  border-top: 1px solid var(--line-2);
}
.faq-head { padding-top: 20px; }
.faq-head h2 {
  font-size: var(--fs-4);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.faq-head p { margin-top: 8px; color: var(--ink-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  margin-inline: -10px;
  padding: 18px 10px;
  border-radius: 10px;
  font-size: var(--fs-3);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.015em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
/* The ring sits on the summary's own box, 10px wider than the text on each side, so it never crosses the answer */
.faq-list summary:focus-visible { outline-offset: 0; }
.faq-list summary .ico {
  font-size: 18px;
  color: var(--ink-2);
  stroke-width: 2;
  transition: transform .25s var(--ease), color .2s;
}
.faq-list summary:hover .ico { color: var(--ink); }
.faq-list details[open] summary .ico { transform: rotate(180deg); }
.faq-list details p { max-width: 40em; padding: 0 48px 22px 0; color: var(--ink-2); }

/* Closing band */
.cta {
  position: relative;
  padding-block: 120px;
  isolation: isolate;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(40% 50% at 50% 45%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
}
.cta-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}
.cta-mark { --g: 40px; width: auto; height: var(--g); margin-bottom: calc(var(--g) * .96); }
.cta h2 {
  font-size: var(--fs-5);
  font-weight: 560;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.cta .actions { margin-top: 32px; }

/* Footer: the brand, every link in one row, then the copyright */
.site-footer { padding-bottom: 48px; container-type: inline-size; }
.foot {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  font-size: var(--fs-1);
  color: var(--ink-2);
}
/* Raised with its link, so the wordmark sits on the footer baseline and its focus ring stays centered */
.foot .brand-sm { position: relative; top: -4.5px; }
.brand-sm img { width: 92px; }
.foot nav { margin-left: auto; }
.foot ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot a:hover { color: var(--ink); }
.foot nav :is(a, button) { display: inline-flex; align-items: center; min-height: 44px; }
.foot nav button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.foot nav button:hover { color: var(--ink); }
.foot .copy { white-space: nowrap; }

/* Panel: one wide white surface for a form or a block of copy */
.panel {
  padding: 48px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #fff, #fbfaf8);
  box-shadow: var(--shadow-frame);
}

/* Form fields */
.field {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-sm);
  background: #fff;
  box-shadow: var(--edge), 0 0 0 1px var(--line-2);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}
.field::placeholder { color: var(--faint); opacity: 1; }
.field:focus-visible { border-radius: var(--r-sm); }
textarea.field {
  height: auto;
  min-height: 150px;
  padding-block: 12px;
  resize: vertical;
}
select.field {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e5b55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px 18px;
}
.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-1);
  font-weight: 600;
  color: var(--ink);
}
.field-req { margin-left: 2px; color: var(--accent); }

/* Notices */
.notice {
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: var(--fs-2);
  line-height: 1.5;
}
.notice-ok {
  background: var(--accent-tint);
  box-shadow: inset 0 0 0 1px rgba(59, 48, 168, .16);
  color: var(--ink);
}
.notice-bad {
  background: var(--danger-tint);
  box-shadow: inset 0 0 0 1px rgba(180, 35, 24, .2);
  color: var(--danger);
}

/* Prose: long text in one reading column, content lists keep their markers */
.prose {
  max-width: 44em;
  margin-inline: auto;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  overflow-wrap: break-word;
}
.prose > * + * { margin-top: 1em; }
.prose h2 {
  margin-top: 2em;
  font-size: var(--fs-4);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.prose h3,
.prose h4 {
  margin-top: 1.6em;
  font-size: var(--fs-3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.prose h4 { font-size: 16px; }
.prose > :first-child { margin-top: 0; }
.prose :is(h2, h3, h4) + * { margin-top: .6em; }
.prose ul,
.prose ol { padding-left: 1.3em; list-style: revert; }
.prose li + li,
.prose li > :is(ul, ol) { margin-top: .4em; }
.prose li::marker { color: var(--ink-2); }
.prose a:not([class]) {
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.prose a:not([class]):hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 600; }
.prose code {
  padding: .15em .35em;
  border-radius: 6px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
}
.prose pre {
  padding: 16px;
  overflow: auto;
  border-radius: var(--r-md);
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  line-height: 1.6;
}
.prose pre code { padding: 0; background: none; box-shadow: none; font-size: inherit; }
.prose blockquote {
  margin-inline: 0;
  padding-left: 16px;
  border-left: 2px solid var(--line-2);
  color: var(--ink-2);
}
.prose :is(.table-wrap, .wp-block-table) { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-2); }
.prose th,
.prose td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { font-size: var(--fs-1); font-weight: 600; color: var(--ink-2); border-bottom-color: var(--line-2); }
.prose img { border-radius: var(--r-md); }
.prose > img,
.prose figure { margin-block: 1.5em; margin-inline: 0; }
.prose figure img { margin: 0; }
.prose figcaption { margin-top: 8px; font-size: var(--fs-1); color: var(--ink-2); }
.prose hr { margin-block: 2em; border: 0; border-top: 1px solid var(--line-2); }

/* 8. Consent banner: server rendered, hidden until site.js knows no choice is stored */
.gratora-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.gratora-consent__text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.gratora-consent__text a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
}
.gratora-consent__text a:hover { text-decoration-color: currentColor; }
.gratora-consent__actions { display: flex; flex: 0 0 auto; gap: 8px; }
.gratora-consent__btn {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  box-shadow: var(--edge), 0 0 0 1px var(--line-2);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.gratora-consent__btn:hover { background: var(--canvas); }
.gratora-consent__btn--accept {
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(28, 27, 25, .24);
}
.gratora-consent__btn--accept:hover { background: #2b2a27; }

/* 9. Steps */
@media (max-width: 1200px) {
  .feat { --pad: 32px; }
}

@media (max-width: 1100px) {
  .panel { padding: 40px; }
}

/* Two columns below 1024px; an odd last card spans both */
@media (max-width: 1023px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid > .feat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .feature-grid > .feat:last-child:nth-child(odd) p { max-width: 36em; }
}

/* Ten footer links need 1070px on one row beside the brand and copyright (1075px in the fallback font), and twelve never fit there, so a narrower footer, or one with the withdraw and cancel links, puts them on a row of their own under the brand and copyright */
@container (max-width: 1074px) {
  .foot { flex-wrap: wrap; row-gap: 8px; }
  .foot nav { margin-left: 0; order: 3; width: 100%; }
  .foot .copy { margin-left: auto; }
}

/* Without container queries the viewport decides, 25px wider to leave room for a scrollbar */
@supports not (container-type: inline-size) {
  @media (max-width: 1099px) {
    .foot { flex-wrap: wrap; row-gap: 8px; }
    .foot nav { margin-left: 0; order: 3; width: 100%; }
    .foot .copy { margin-left: auto; }
  }
}

.foot-long { flex-wrap: wrap; row-gap: 8px; }
.foot-long nav { margin-left: 0; order: 3; width: 100%; }
.foot-long .copy { margin-left: auto; }

@media (max-width: 880px) {
  :root { --gutter: 24px; }
  .nav { display: none; }
  .menu { display: block; }
  .bar { gap: 12px; }
  .bar > .btn { margin-left: auto; }
  .bar > .nav-cart { margin-left: auto; }
  .bar > .nav-cart + .btn { margin-left: 0; }
  .hero { padding-top: 48px; }
  .lede { max-width: 26em; }
  .feature-grid { margin-top: 48px; }
  .feat { --pad: 28px; }
  .group-head { display: grid; gap: 6px; }
  .terms-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .terms-list p { max-width: 36em; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-list { margin-top: 16px; border-top: 1px solid var(--line-2); }
  .cta { padding-block: 96px; }
}

/* Tablet: each term is one row, its title beside its text */
@media (min-width: 640px) and (max-width: 880px) {
  .terms-list { gap: 0; }
  .terms-list li { grid-template-columns: var(--tile) 136px minmax(0, 1fr); padding-block: calc(18px + var(--hang)) 18px; border-top: 1px solid var(--line); }
  .terms-list li:first-child { border-top: 0; padding-top: var(--hang); }
  .terms-list p { grid-column: 3; grid-row: 1; margin-top: 0; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .skip:focus { top: 62px; }
  body.admin-bar { min-height: calc(100svh - 46px); }
  html:has(body.admin-bar) { scroll-padding-top: 134px; }
}

/* The admin bar scrolls with the page here */
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  html:has(body.admin-bar) { scroll-padding-top: 88px; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .bar { height: 64px; }
  .bar > .btn { display: none; }
  .bar .brand { top: 0; }
  .menu { margin-left: auto; }
  .bar > .nav-cart ~ .menu { margin-left: 0; }
  .hero { padding-top: 40px; }
  .actions { margin-top: 32px; }
  .actions .btn { flex: 1 1 0; padding: 0 16px; }
  .feature-grid { --tray-r: 20px; --tray-pad: 8px; grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .feat { --pad: 20px; }
  .faq-list summary { font-size: 17px; padding-block: 16px; }
  .faq-list details p { padding-right: 0; }
  .cta { padding-block: 88px; }
  .cta-mark { --g: 36px; }
  .panel { padding: 28px 20px 24px; border-radius: 20px; }
  .gratora-consent { flex-direction: column; align-items: stretch; }
  .gratora-consent__text { flex: 0 1 auto; }
  .gratora-consent__btn { flex: 1; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* A printed page, or a PDF saved from the print dialog, is the text alone:
   no header, footer, cookie banner or buttons. Used for the legal pages. */
@media print {
  .site-header, .site-footer, .gratora-consent, .page-print, .skip-link { display: none !important; }
  html, body { background: #fff !important; color: #000; }
  .hero, .page-body, .wrap { padding: 0 !important; margin: 0 !important; max-width: none !important; background: none !important; }
  .prose { max-width: none; font-size: 11pt; }
  .prose a { color: inherit; text-decoration: underline; }
  .prose :is(h2, h3) { break-after: avoid; }
  .prose :is(p, li, blockquote) { break-inside: avoid; }
}
