/* Hosmere — site styles. Plus Jakarta Sans, navy #262F3E.
   Brand orange #DF6029 is for the logo, illustrations, decorative marks
   and accents on dark backgrounds. Orange text on light backgrounds
   uses --accent-text (#A84418) so it meets WCAG AA (4.5:1). Primary
   buttons keep --btn-primary (#C2501F, white text, 4.71:1). */
:root {
  --navy: #262F3E;
  --navy-2: #1C2430;
  --navy-3: #323C4D;
  --ink: #1A212C;
  --muted: #5B6573;
  --muted-2: #8A93A0;
  --line: rgba(38, 47, 62, 0.12);
  --line-strong: rgba(38, 47, 62, 0.2);
  --cream: #F6F3EE;
  --cream-2: #EFEBE3;
  --paper: #FFFcf8;
  --white: #ffffff;
  --orange: #DF6029;
  --accent-text: #A84418;
  --accent-text-hover: #8E3913;
  --btn-primary: #C2501F;
  --btn-primary-hover: #A84418;
  --orange-soft: rgba(194, 80, 31, 0.12);
  --shadow: 0 18px 50px rgba(26, 33, 44, 0.18);
  --shadow-lg: 0 40px 80px -24px rgba(26, 33, 44, 0.45);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1120px;
  --nav-h: 76px; /* 44px lockup + 16px padding either side */
  --nav-menu-bg: #111111;
  --nav-menu-ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  /* Keep the H mark spinning on macOS Reduce Motion — just slower, with a longer pause. */
  .logo-mark-spin,
  .logo-mark-spin::before,
  .logo-mark-spin::after {
    -webkit-animation-name: logo-mark-spin-gentle !important;
    animation-name: logo-mark-spin-gentle !important;
    -webkit-animation-duration: 8s !important;
    animation-duration: 8s !important;
    -webkit-animation-iteration-count: infinite !important;
    animation-iteration-count: infinite !important;
    -webkit-animation-timing-function: ease-in-out !important;
    animation-timing-function: ease-in-out !important;
  }
}

html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.skip {
  position: absolute;
  left: 1rem; top: 0.75rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transform: translateY(-150%);
  z-index: 200;
  font-weight: 600;
  font-size: 0.9rem;
}
.skip:focus { transform: none; outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(28, 36, 48, 0.84);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(28, 36, 48, 0.94);
}
.nav-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  --logo-h: 44px;
}
.logo-mark {
  display: inline-block;
  height: calc(var(--logo-h) * 195.255 / 243.255);
  width: calc(var(--logo-h) * 192 / 243.255);
  margin-left: calc(var(--logo-h) * 24 / 243.255);
  margin-right: calc(var(--logo-h) * 27.715 / 243.255);
  flex: 0 0 auto;
  perspective: calc(var(--logo-h) * 2.8);
  -webkit-perspective: calc(var(--logo-h) * 2.8);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}
.logo-mark-spin {
  display: inline-block;
  width: 100%;
  height: 100%;
  vertical-align: top;
  transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  will-change: transform;
  animation: logo-mark-spin 4s infinite;
  -webkit-animation: logo-mark-spin 4s infinite;
}
.logo-mark-spin img {
  display: block;
  width: 100%;
  height: 100%;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.logo-wordmark {
  display: block;
  height: var(--logo-h);
  width: auto;
}
@-webkit-keyframes logo-mark-spin {
  0% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; }
  40% { -webkit-transform: rotateY(360deg); transform: rotateY(360deg); -webkit-animation-timing-function: linear; animation-timing-function: linear; }
  100% { -webkit-transform: rotateY(360deg); transform: rotateY(360deg); }
}
@keyframes logo-mark-spin {
  0% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; }
  40% { -webkit-transform: rotateY(360deg); transform: rotateY(360deg); -webkit-animation-timing-function: linear; animation-timing-function: linear; }
  100% { -webkit-transform: rotateY(360deg); transform: rotateY(360deg); }
}
/* Gentler cycle for Reduce Motion: 2s spin, 6s pause. */
@-webkit-keyframes logo-mark-spin-gentle {
  0% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; }
  25% { -webkit-transform: rotateY(360deg); transform: rotateY(360deg); -webkit-animation-timing-function: linear; animation-timing-function: linear; }
  100% { -webkit-transform: rotateY(360deg); transform: rotateY(360deg); }
}
@keyframes logo-mark-spin-gentle {
  0% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; }
  25% { -webkit-transform: rotateY(360deg); transform: rotateY(360deg); -webkit-animation-timing-function: linear; animation-timing-function: linear; }
  100% { -webkit-transform: rotateY(360deg); transform: rotateY(360deg); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--orange); }
.nav-cta {
  margin-left: 0.4rem;
  background: var(--btn-primary);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.5rem 0.85rem !important;
  border-bottom: 0 !important;
  font-weight: 600 !important;
  font-size: 0.875rem;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--btn-primary-hover); color: #fff !important; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { background: rgba(255,255,255,0.08); }
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}
.nav-toggle-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.36s var(--nav-menu-ease);
}
.nav-toggle-bar:first-child { transform: translateY(-3.5px); }
.nav-toggle-bar:last-child { transform: translateY(3.5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: rotate(-45deg); }
/* On desktop the panel is not a box, so the link list stays in the header row. */
.nav-panel { display: contents; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:focus-visible, .nav-links a:focus-visible, .nav-toggle:focus-visible, .logo:focus-visible, .text-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.btn-primary { background: var(--btn-primary); color: #fff; }
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible { background: var(--btn-primary-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.28);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #1a222d; }
.btn-line {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-line:hover { background: var(--cream-2); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 3.5rem 0 4.5rem;
  min-height: clamp(32rem, 78vh, 46rem);
  display: flex;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  display: block;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(38, 47, 62, 0.96) 0%,
      rgba(38, 47, 62, 0.94) 36%,
      rgba(38, 47, 62, 0.70) 48%,
      rgba(38, 47, 62, 0.42) 62%,
      rgba(38, 47, 62, 0.28) 100%),
    linear-gradient(180deg,
      rgba(38, 47, 62, 0.28) 0%,
      rgba(38, 47, 62, 0.08) 40%,
      rgba(38, 47, 62, 0.55) 100%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-copy { margin-left: 24px; }
.hero-copy > * { max-width: 40rem; }
.hero-tagline {
  margin: 0 0 0.7rem;
  color: var(--orange);
  /* 24px / 600 = WCAG large text (18pt+) at a still-elegant weight. */
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  display: block;
  width: fit-content;
  max-width: 100%;
}
@media (min-width: 900px) {
  :root { --nav-h: 90px; } /* 58px lockup + 16px padding either side */
  .logo { --logo-h: 58px; }
  .hero { padding: 5.5rem 0 6.5rem; }
  .hero-copy { margin-left: 40px; }
  .hero-tagline { margin-bottom: 0.85rem; }
  .hero-media img { object-position: 70% 50%; }
}
@media (max-width: 899px) {
  .hero { min-height: 0; padding: 2.75rem 0 4.25rem; }
  .hero-media::after {
    background:
      linear-gradient(180deg,
        rgba(38, 47, 62, 0.94) 0%,
        rgba(38, 47, 62, 0.88) 22%,
        rgba(38, 47, 62, 0.62) 48%,
        rgba(38, 47, 62, 0.86) 100%);
  }
  .hero-media img { object-position: 58% 38%; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F3B89A;
  margin: 0 0 1.1rem;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(223, 96, 41, 0.25);
}
.hero h1 {
  font-size: clamp(2.5rem, 7.2vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0 0 1.15rem;
  max-width: 11ch;
}
.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0 0 1.75rem;
  max-width: 36rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-note {
  margin: 0.65rem 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.pricing .cta-note {
  color: var(--muted);
  text-shadow: none;
}

/* Device mockups */
.device-stage {
  position: relative;
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.device {
  background: #0e1218;
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08);
  width: min(100%, 280px);
  position: relative;
}
.device::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 68px; height: 10px;
  background: #0e1218;
  border-radius: 0 0 10px 10px;
  z-index: 2;
}
.device picture { display: contents; }
.device img {
  width: 100%;
  border-radius: 24px;
  background: #f3efe8;
  aspect-ratio: 390 / 844;
  object-fit: contain;
  object-position: top center;
}
.device.compact img { aspect-ratio: 1170 / 1992; }

.device-caption {
  position: absolute;
  left: 18px; bottom: 22px;
  z-index: 3;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(14,18,24,0.72);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.device-stage .device.front { z-index: 2; }
.device-stage .device.back {
  position: absolute;
  width: min(46%, 230px);
  right: 4%;
  top: 8%;
  transform: rotate(8deg);
  z-index: 1;
  filter: brightness(0.96);
}
@media (max-width: 899px) {
  .device-stage { min-height: 0; margin-top: 0.5rem; justify-content: flex-start; gap: 1rem; }
  .device-stage .device.back {
    position: relative;
    right: auto; top: auto;
    transform: rotate(0);
    width: min(46%, 200px);
    display: none; /* keep hero light on small screens; second device appears in products */
  }
  .device-stage .device.front { width: min(72%, 280px); margin: 0 auto; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .device-stage { justify-content: center; }
  .device-stage .device.back { display: block; position: relative; width: 230px; }
  .device-stage .device.front { margin: 0; }
}

/* ---------- Promo video ---------- */
.promo-section {
  padding: 3.75rem 0 3rem;
  background: var(--cream);
}
.promo-section h2 {
  text-align: center;
  margin: 0 auto 1.5rem;
  max-width: 22ch;
}
.promo-player {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
.promo-video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--navy);
  vertical-align: middle;
}
.promo-video-mobile { display: none; }
@media (max-width: 899px) {
  .promo-section { padding: 2.75rem 0 2.25rem; }
  .promo-player { max-width: 22.5rem; }
  .promo-video-desktop { display: none; }
  .promo-video-mobile { display: block; }
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-kicker {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 0.7rem;
}
.section h2, .product-hero h1, .page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-weight: 700;
}
.section .intro, .page-hero .intro {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 40rem;
  margin: 0;
}

/* Product showcases */
.showcase {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 3.25rem 0;
}
@media (min-width: 880px) {
  .showcase { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .showcase:nth-child(even) .showcase-visual { order: -1; }
}
.showcase h3 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.7rem;
  color: var(--navy);
}
.showcase .intro { margin-bottom: 1.4rem; }
.feature-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.feature-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.feature-list h4, .grid-card h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.feature-list p, .grid-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.ico svg { width: 20px; height: 20px; display: block; }
.showcase-visual { display: flex; justify-content: center; width: 100%; overflow: hidden; }
.showcase .device { width: min(100%, 300px); }
.showcase .device-pair {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}
.showcase .device-pair .device { width: min(48%, 240px); }
.showcase .device-pair .device:first-child { margin-top: 2.5rem; }

.showcase-visual .kitchen-stage {
  width: 100%;
  padding: 2.4rem 2.4rem 2.2rem;
}

/* Illustrated kitchen scenes behind the phone mockups */
.kitchen-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
}
.kitchen-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.88;
  /* Dissolve into the page on all four sides — no visible panel or hard edge. */
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at 50% 52%, #000 28%, rgba(0, 0, 0, 0.65) 52%, rgba(0, 0, 0, 0.2) 70%, transparent 86%);
  mask-image: radial-gradient(ellipse 82% 78% at 50% 52%, #000 28%, rgba(0, 0, 0, 0.65) 52%, rgba(0, 0, 0, 0.2) 70%, transparent 86%);
}
.kitchen-scene svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(0.86) contrast(1.02);
}
/* Soft wash in the centre so the phones stay the focus; the scene reads at the edges. */
.kitchen-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 44% 52% at 50% 55%, var(--cream) 0%, rgba(246, 243, 238, 0.28) 36%, transparent 68%);
  pointer-events: none;
}
.kitchen-stage .device-pair,
.kitchen-stage .gallery {
  position: relative;
  z-index: 1;
}

.kitchen-stage--gallery {
  padding: 7.25rem 0.85rem 0.5rem;
}
.kitchen-stage--gallery .kitchen-scene {
  inset: auto;
  top: 0;
  left: 0;
  right: 0;
  height: 36rem;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 88% 72% at 50% 32%, #000 18%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.15) 70%, transparent 86%);
  mask-image: radial-gradient(ellipse 88% 72% at 50% 32%, #000 18%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.15) 70%, transparent 86%);
}
.kitchen-stage--gallery .kitchen-scene::after {
  background: radial-gradient(ellipse 58% 60% at 50% 42%, var(--cream) 0%, rgba(246, 243, 238, 0.25) 48%, transparent 76%);
}

/* --- Scene motion (transform/opacity only). Paused when off-screen. --- */
.ks-steam {
  fill: none;
  opacity: 0;
  animation: ks-steam 3.2s ease-out infinite;
}
@keyframes ks-steam {
  0% { transform: translateY(6px); opacity: 0; }
  18% { opacity: 0.7; }
  100% { transform: translateY(-36px); opacity: 0; }
}

.ks-chop {
  transform-box: fill-box;
  transform-origin: 20% 8%;
  animation: ks-chop 1.45s ease-in-out infinite;
}
@keyframes ks-chop {
  0%, 18%, 100% { transform: rotate(-16deg); }
  28% { transform: rotate(26deg); }
}

.ks-check {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: ks-check 4.8s ease-in-out infinite;
}
@keyframes ks-check {
  0%, 8% { stroke-dashoffset: 20; }
  18%, 72% { stroke-dashoffset: 0; }
  86%, 100% { stroke-dashoffset: 20; }
}

.ks-walk { animation: ks-walk 9s ease-in-out infinite; }
@keyframes ks-walk {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(36px); }
}
.ks-walk-rev { animation: ks-walk-rev 10s ease-in-out infinite; }
@keyframes ks-walk-rev {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-32px); }
}

.ks-bob { animation: ks-bob 4.5s ease-in-out infinite; }
@keyframes ks-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.ks-pulse,
.ks-fridge-glow { animation: ks-pulse 2.4s ease-in-out infinite; }
@keyframes ks-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.ks-mercury {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: ks-mercury 5s ease-in-out infinite;
}
@keyframes ks-mercury {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.78); }
}

.ks-sway {
  transform-box: fill-box;
  transform-origin: top center;
  animation: ks-sway 5.5s ease-in-out infinite;
}
@keyframes ks-sway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.ks-lid {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: ks-lid 2.8s ease-in-out infinite;
}
@keyframes ks-lid {
  0%, 70%, 100% { transform: translateY(0) rotate(0deg); }
  78% { transform: translateY(-3px) rotate(-4deg); }
  86% { transform: translateY(0) rotate(3deg); }
}

.ks-probe-arm {
  transform-box: fill-box;
  transform-origin: 8% 0;
  animation: ks-probe 3.6s ease-in-out infinite;
}
@keyframes ks-probe {
  0%, 100% { transform: rotate(0deg); }
  40%, 55% { transform: rotate(10deg); }
}

.ks-probe-read {
  opacity: 0.15;
  animation: ks-read 3.6s ease-in-out infinite;
}
@keyframes ks-read {
  0%, 35% { opacity: 0.15; }
  50%, 80% { opacity: 1; }
  100% { opacity: 0.15; }
}

.ks-tap {
  transform-box: fill-box;
  transform-origin: 0 50%;
  animation: ks-tap 2.8s ease-in-out infinite;
}
@keyframes ks-tap {
  0%, 60%, 100% { transform: translateX(0); }
  70% { transform: translateX(4px); }
}

.ks-block { animation: ks-block 5.5s ease-in-out infinite; }
@keyframes ks-block {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}

.ks-second {
  transform-box: fill-box;
  transform-origin: left center;
  animation: ks-second 8s linear infinite;
}
@keyframes ks-second {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ks-count {
  opacity: 0.35;
  animation: ks-count 5s ease-in-out infinite;
}
@keyframes ks-count {
  0%, 15% { opacity: 0.35; }
  30%, 70% { opacity: 1; }
  85%, 100% { opacity: 0.35; }
}

.kitchen-stage.is-paused .kitchen-scene * {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  .kitchen-scene *,
  .kitchen-scene *::before,
  .kitchen-scene *::after {
    animation: none !important;
    filter: none;
  }
  .kitchen-scene .ks-steam { opacity: 0.35 !important; }
  .kitchen-scene .ks-check { stroke-dashoffset: 0 !important; }
  .kitchen-scene .ks-probe-read,
  .kitchen-scene .ks-count { opacity: 1 !important; }
}

@media (max-width: 879px) {
  .showcase-visual .kitchen-stage { padding: 1.2rem 0.9rem 1.4rem; }
  .kitchen-scene { opacity: 0.7; }
  .kitchen-scene .ks-lg { display: none; }
  .kitchen-scene::after {
    background: radial-gradient(ellipse 58% 64% at 50% 56%, var(--cream) 8%, rgba(246, 243, 238, 0.4) 46%, transparent 76%);
  }
  .kitchen-scene {
    -webkit-mask-image: radial-gradient(ellipse 86% 80% at 50% 52%, #000 22%, rgba(0, 0, 0, 0.55) 50%, transparent 82%);
    mask-image: radial-gradient(ellipse 86% 80% at 50% 52%, #000 22%, rgba(0, 0, 0, 0.55) 50%, transparent 82%);
  }
  .kitchen-stage--gallery { padding: 0.6rem 0 0; }
  .kitchen-stage--gallery .kitchen-scene { height: 28rem; opacity: 0.4; }
}
@media (max-width: 599px) {
  .showcase-visual .kitchen-stage { padding: 1rem 0.55rem 1.2rem; }
  .kitchen-scene { opacity: 0.55; }
  .kitchen-stage--gallery .kitchen-scene { height: 22rem; opacity: 0.32; }
}


/* Feature grid */
.grid-3, .grid-2 {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}
@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.grid-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  height: 100%;
}
.grid-card .ico { margin-bottom: 1rem; }

/* How it works */
.how { background: var(--navy); color: #fff; }
.how h2, .how .section-kicker { color: #fff; }
.how .section-kicker { color: #F3B89A; }
.page-hero .section-kicker { color: var(--orange); }
.how .intro { color: rgba(255,255,255,0.72); }
.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.7rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 0.85rem;
}
.step h3 { margin: 0 0 0.45rem; font-size: 1.15rem; letter-spacing: -0.02em; }
.step p { margin: 0; color: rgba(255,255,255,0.7); font-size: 0.98rem; }

/* Why */
.why-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}
@media (min-width: 800px) { .why-grid { grid-template-columns: 1.1fr 0.9fr; gap: 1.25rem; } }
.why-lead {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 2.1rem 1.9rem;
}
.why-lead h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.why-lead p { margin: 0; color: rgba(255,255,255,0.75); font-size: 1.05rem; }
.why-points { display: grid; gap: 1rem; }
.why-points article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
}
.why-points h3 { margin: 0 0 0.3rem; font-size: 1.02rem; }
.why-points p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Contact */
.contact {
  background: var(--cream-2);
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2.4rem 1.6rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.contact-card h2 { margin-bottom: 0.6rem; }
.contact-card .intro { margin: 0 auto 0.4rem; }
.contact-note {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  background: var(--navy-2);
  color: rgba(255,255,255,0.7);
  padding: 2rem 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer a { color: rgba(255,255,255,0.86); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; }

/* Product pages */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 0 3.75rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 90% 0%, rgba(223,96,41,0.28), transparent 60%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .intro { color: rgba(255,255,255,0.76); max-width: 44rem; }
.page-hero .hero-ctas { margin-top: 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.crumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin: 0 0 1.1rem;
}
.crumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.crumb a:hover { color: #fff; }
.gallery {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
@media (min-width: 800px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .shot:first-child { grid-column: 1 / -1; }
  .gallery.even .shot:first-child { grid-column: auto; }
}
.shot {
  margin: 0;
  background: var(--navy-2);
  border-radius: 28px;
  padding: 1.5rem 1.5rem 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.shot picture { display: block; width: min(100%, 340px); margin: 0 auto; }
.shot img {
  width: 100%;
  margin: 0 auto;
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow);
  display: block;
}
.shot.wide img { width: min(100%, 720px); border-radius: 16px 16px 0 0; }
.shot figcaption {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  padding: 1rem 0.4rem 1.15rem;
  text-align: center;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* 404 */
.err {
  min-height: calc(100vh - var(--nav-h) - 80px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}
.err h1 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -0.04em; margin: 0 0 0.6rem; color: var(--navy); }

/* Mobile nav — Apple-style dark roller-blind panel */
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .site-header { transition: border-color 0.3s var(--ease), background 0.2s var(--nav-menu-ease); }
  body.nav-open .site-header {
    background: var(--nav-menu-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
  }
  .nav-inner { position: relative; z-index: 2; }
  .nav-panel {
    display: block;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    height: 0;
    overflow: hidden;
    background: var(--nav-menu-bg);
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: height 0.36s var(--nav-menu-ease), visibility 0s linear 0.36s;
  }
  body.nav-open .nav-panel {
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    visibility: visible;
    pointer-events: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: height 0.36s var(--nav-menu-ease), visibility 0s linear 0s;
  }
  .nav-panel .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
    padding: 0.6rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h));
    box-sizing: border-box;
  }
  .nav-panel .nav-links > li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.16s ease, transform 0.16s ease;
  }
  .nav-panel .nav-links > li:nth-child(1) { --nav-i: 0; }
  .nav-panel .nav-links > li:nth-child(2) { --nav-i: 1; }
  .nav-panel .nav-links > li:nth-child(3) { --nav-i: 2; }
  .nav-panel .nav-links > li:nth-child(4) { --nav-i: 3; }
  .nav-panel .nav-links > li:nth-child(5) { --nav-i: 4; }
  .nav-panel .nav-links > li:nth-child(6) { --nav-i: 5; }
  .nav-panel .nav-links > li:nth-child(7) { --nav-i: 6; }
  .nav-panel .nav-links > li:nth-child(8) { --nav-i: 7; }
  .nav-panel .nav-links > li:nth-child(9) { --nav-i: 8; }
  .nav-panel .nav-links > li:nth-child(10) { --nav-i: 9; }
  body.nav-open .nav-panel .nav-links > li {
    opacity: 1;
    transform: none;
    transition: opacity 0.34s var(--nav-menu-ease), transform 0.34s var(--nav-menu-ease);
    transition-delay: calc(0.08s + (var(--nav-i, 0) * 0.024s));
  }
  .nav-panel .nav-links a {
    color: #fff;
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    padding: 0.72rem 0;
    border-bottom: 0;
  }
  .nav-panel .nav-links a:hover { color: #fff; }
  .nav-panel .nav-links a[aria-current="page"] {
    color: #fff;
    border-bottom: 0;
    box-shadow: inset 3px 0 0 var(--orange);
    padding-left: 0.7rem;
  }
  .nav-panel .nav-cta {
    margin: 0.85rem 0 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    background: var(--btn-primary);
    color: #fff !important;
    font-size: 1rem !important;
    letter-spacing: 0;
    padding: 0.9rem 1.1rem !important;
    box-shadow: none;
  }
  .nav-panel .nav-cta:hover { background: var(--btn-primary-hover); color: #fff !important; }
  .nav-panel .locale { padding: 0.55rem 0 0; }
  .nav-panel .locale summary {
    color: rgba(255, 255, 255, 0.86);
    border-color: rgba(255, 255, 255, 0.22);
  }
  .nav-panel .locale ul {
    position: static;
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    margin-top: 0.5rem;
    min-width: 0;
  }
  .nav-panel .locale li a {
    color: #fff;
    font-size: 1rem;
    font-weight: 550;
    letter-spacing: 0;
    padding: 0.55rem 0.7rem;
  }
  .nav-panel .locale li a span { color: rgba(255, 255, 255, 0.55); font-weight: 500; }
  .nav-panel .locale li a:hover,
  .nav-panel .locale li a[aria-current="true"] {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }
  body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
  }
  .section { padding: 3.5rem 0; }
  .showcase { padding: 2.25rem 0; }
}

@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  /* Global reduced-motion already shortens transitions; keep a simple fade and skip the slide. */
  .nav-panel .nav-links > li { transform: none !important; }
}

/* Utilities */
.text-link {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.text-link:hover { color: var(--accent-text-hover); }
.muted { color: var(--muted); }

/* Product marks */
.kicker-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 0.85rem;
}
.kicker-row .section-kicker { margin: 0; }
.product-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(26, 33, 44, 0.18);
  flex: 0 0 auto;
}
.page-hero .product-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.page-hero .kicker-row { margin-bottom: 1.1rem; }

/* Safety showcase panel and records diagram */
.safety-panel {
  background: var(--navy);
  border-radius: 28px;
  padding: 3rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
  min-height: 420px;
  justify-content: center;
  box-shadow: 0 24px 60px rgba(26, 33, 44, 0.28);
}
.safety-panel .product-mark.large,
.product-mark.large {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.safety-panel p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 22rem;
  margin: 0;
}
.records-board {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(26, 33, 44, 0.1);
  overflow: hidden;
  max-width: 40rem;
  margin: 0 auto;
  border: 1px solid rgba(38, 47, 62, 0.06);
}
.records-head {
  background: var(--navy);
  color: #fff;
  padding: 1.5rem 1.6rem 1.35rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}
.records-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin: 0 0 0.25rem;
}
.records-head h2 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: 0;
  color: #fff;
}
.records-site {
  margin: 0.2rem 0 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
.records-summary { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0; }
.pill {
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}
.pill.ok { background: #1f7a4d; color: #fff; }
.pill.due { background: #c47a14; color: #fff; }
.pill.late { background: #b23b2a; color: #fff; }
.records-list { list-style: none; margin: 0; padding: 0.4rem 0; }
.records-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 1.5rem;
  border-top: 1px solid rgba(38, 47, 62, 0.06);
}
.records-list li:first-child { border-top: 0; }
.records-list .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 0.4rem;
  flex: 0 0 auto;
}
.records-list li.ok .dot { background: #1f7a4d; }
.records-list li.due .dot { background: #c47a14; }
.records-list li.late .dot { background: #b23b2a; }
.records-list strong { display: block; color: var(--navy); font-size: 1rem; }
.records-list li span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.12rem; }
.records-caption { text-align: center; max-width: 36rem; margin: 1.15rem auto 0; }

.records-board.compact { max-width: 100%; }
.showcase-visual .records-board { width: min(100%, 420px); margin: 0; }

/* Legal / privacy pages */
.legal {
  max-width: 44rem;
  padding: 0 0 4.5rem;
  color: var(--ink);
}
.legal .updated {
  color: var(--muted-2);
  font-size: 0.92rem;
  margin: 0 0 1.6rem;
}
.legal h2 {
  margin: 2.15rem 0 0.65rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.legal p, .legal li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}
.legal ul, .legal ol { padding-left: 1.2rem; margin: 0.4rem 0 0.8rem; }
.legal li { margin: 0.35rem 0; }
.legal a { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.legal a:hover { color: var(--accent-text-hover); }
.legal .note {
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  color: var(--ink);
  border: 1px solid var(--line);
}

/* ---------- Locales: switcher, pricing, FAQ, guides (added Nov 2026) ---------- */
.locale { position: relative; }
.locale summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.86); font-size: 0.875rem; font-weight: 600;
  padding: 0.4rem 0.7rem; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
}
.locale summary::-webkit-details-marker { display: none; }
.locale summary:hover, .locale[open] summary { border-color: rgba(255,255,255,0.5); color: #fff; }
.locale summary svg { width: 16px; height: 16px; }
.locale ul {
  position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 60; min-width: 15rem;
  list-style: none; margin: 0; padding: 0.4rem; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
}
.locale li a {
  display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0.7rem; border-radius: 9px;
  color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 550; border: 0;
}
.locale li a span { color: var(--muted); font-weight: 500; }
.locale li a:hover, .locale li a[aria-current="true"] { background: var(--cream); color: var(--ink); }
@media (max-width: 899px) {
  .locale { padding: 0.5rem 0.4rem 0; }
  .locale ul { position: static; box-shadow: none; margin-top: 0.5rem; min-width: 0; }
}

.local-note {
  margin: 1.4rem 0 0; padding: 0.75rem 1rem; border-radius: 12px; max-width: 40rem;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.88); font-size: 0.92rem; line-height: 1.5;
}
.local-note strong { color: #fff; }

.pricing { background: var(--cream); }
.price-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .price-grid { grid-template-columns: repeat(4, 1fr); } }
.price-card-wrap { height: 100%; perspective: 900px; }
.price-card {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  --glare-x: 50%;
  --glare-y: 50%;
  --glare-o: 0;
  position: relative;
  isolation: isolate;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.35rem; display: flex; flex-direction: column; gap: 0.6rem;
  height: 100%;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, var(--lift), 0);
  transform-style: preserve-3d;
  box-shadow: 0 1px 2px rgba(38, 47, 62, 0.06), 0 10px 24px rgba(38, 47, 62, 0.06);
  transition: transform 0.18s ease-out, box-shadow 0.22s ease;
}
a.price-card { color: inherit; text-decoration: none; cursor: pointer; }
.price-card.featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.price-card.featured p, .price-card.featured .per { color: rgba(255,255,255,0.75); }
.price-card h2,
.price-card h3 { margin: 0; font-size: 1.1rem; display: flex; align-items: center; gap: 0.6rem; color: var(--navy); }
.price-card.featured h2,
.price-card.featured h3 { color: #fff; }
.price-card h2 img,
.price-card h3 img { width: 34px; height: 34px; border-radius: 9px; }
.price-card .amount { font-size: 2.2rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1; margin: 0.4rem 0 0; }
.price-card .per { color: var(--muted); font-size: 0.88rem; margin: 0; }
.price-card .year { font-size: 0.92rem; font-weight: 600; margin: 0; }
.price-card p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.price-card-cta {
  margin-top: auto;
  padding-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--accent-text);
  pointer-events: none;
}
.price-card.featured .price-card-cta { color: #fff; }
.price-card-cta .arrow { flex: 0 0 auto; transition: transform 0.2s var(--ease); }
.price-card:hover .price-card-cta .arrow,
.price-card:focus-visible .price-card-cta .arrow { transform: translateX(3px); }
.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle 200px at var(--glare-x) var(--glare-y), rgba(255,255,255,0.7), transparent 65%);
  opacity: var(--glare-o);
  transition: opacity 0.18s ease;
  mix-blend-mode: soft-light;
  z-index: 1;
}
.price-card.featured::after {
  background: radial-gradient(circle 220px at var(--glare-x) var(--glare-y), rgba(255,255,255,0.55), transparent 65%);
}
@media (hover: hover) and (pointer: fine) {
  .price-card.is-tilt {
    box-shadow: 0 22px 50px rgba(38, 47, 62, 0.2), 0 6px 16px rgba(38, 47, 62, 0.1);
    z-index: 2;
  }
  .price-card.featured.is-tilt {
    box-shadow: 0 26px 56px rgba(38, 47, 62, 0.42), 0 8px 18px rgba(38, 47, 62, 0.22);
  }
}
@media (hover: none), (pointer: coarse) {
  .price-card {
    transform: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
  }
  .price-card::after { display: none; }
  .price-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 3px rgba(38, 47, 62, 0.12);
  }
}
@media (prefers-reduced-motion: reduce) {
  .price-card {
    transform: none !important;
    --glare-o: 0 !important;
    transition: box-shadow 0.2s ease, outline-color 0.2s ease !important;
  }
  .price-card::after { display: none; }
  .price-card:active { transform: none !important; }
}
a.price-card:focus { outline: none; }
a.price-card:focus-visible {
  outline: 3px solid var(--btn-primary);
  outline-offset: 3px;
  z-index: 3;
}
.badge {
  display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; background: var(--orange-soft); color: var(--accent-text); padding: 0.25rem 0.6rem; border-radius: 999px;
}
.price-card.featured .badge { background: var(--btn-primary); color: #fff; }
.price-foot { margin: 1.4rem 0 0; color: var(--muted); font-size: 0.92rem; max-width: 52rem; }
.soon-block { margin-top: 2.6rem; }
.soon-block .section-kicker { margin-bottom: 0; }
.soon-grid { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 860px) { .soon-grid { grid-template-columns: 3fr 2fr; } }
.soon-card { background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 1.5rem 1.35rem; display: flex; flex-direction: column; gap: 0.6rem; }
.soon-card h2,
.soon-card h3 { margin: 0; font-size: 1.2rem; color: var(--navy); }
.soon-card p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.soon-list { margin: 0.2rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.soon-list li { position: relative; padding-left: 1.5rem; color: var(--ink); font-size: 0.93rem; line-height: 1.5; }
.soon-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-text); font-weight: 800; }
.soon-card .soon-note { font-size: 0.85rem; }
.soon-card .btn { align-self: flex-start; margin-top: auto; }

.faq-list { max-width: 48rem; margin-top: 1.8rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent-text); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0.7rem 0 0; color: var(--muted); line-height: 1.6; }
.faq-list details p + p,
.faq-list details ul,
.faq-list details ol { margin: 0.6rem 0 0; color: var(--muted); line-height: 1.6; }
.faq-list details ul,
.faq-list details ol { padding-left: 1.25rem; }
.faq-list details li { margin: 0.25rem 0; }
.faq-list details a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 0.12em; }

.guide-teaser { display: grid; gap: 1.2rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin-top: 1.6rem; }
@media (min-width: 800px) { .guide-teaser { grid-template-columns: 1fr auto; padding: 2rem 2.2rem; } }
.guide-teaser h2, .guide-teaser h3 { margin: 0 0 0.4rem; font-size: 1.25rem; color: var(--navy); }
.guide-teaser p { margin: 0; color: var(--muted); line-height: 1.55; }

.article { max-width: 44rem; padding: 0 0 4rem; color: var(--ink); }
.article h2 { margin: 2.2rem 0 0.7rem; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--navy); }
.article h3 { margin: 1.6rem 0 0.5rem; font-size: 1.1rem; color: var(--navy); }
.article p, .article li { line-height: 1.7; font-size: 1.02rem; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li { margin: 0.35rem 0; }
.article a { color: var(--accent-text); }
.article a:hover { color: var(--accent-text-hover); }

/* Filled buttons must stay white, even when they sit inside .article or .legal
   (those contexts style links as accent brown, which fails on #C2501F). */
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:active,
a.btn-primary:focus,
a.btn-primary:focus-visible,
.article a.btn-primary,
.article a.btn-primary:hover,
.article a.btn-primary:visited,
.legal a.btn-primary,
.legal a.btn-primary:hover,
.legal a.btn-primary:visited {
  color: #fff;
}
a.btn-navy,
a.btn-navy:link,
a.btn-navy:visited,
a.btn-navy:hover,
a.btn-navy:active,
a.btn-navy:focus,
a.btn-navy:focus-visible,
.article a.btn-navy,
.article a.btn-navy:hover,
.legal a.btn-navy,
.legal a.btn-navy:hover {
  color: #fff;
}
.article table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.95rem; }
.article th, .article td { border: 1px solid var(--line-strong); padding: 0.5rem 0.65rem; text-align: left; vertical-align: top; }
.article th { background: var(--cream); }
.article .meta { color: var(--muted); font-size: 0.9rem; }
.article .callout { background: var(--cream); border-left: 4px solid var(--orange); border-radius: 10px; padding: 1rem 1.2rem; margin: 1.6rem 0; }
.article .callout p { margin: 0.3rem 0; }
.footer-locales { width: 100%; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.85rem; padding-top: 0.6rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-locales span { color: rgba(255,255,255,0.5); }
@media (max-width: 899px) { .hero-grid { width: min(100% - 2.5rem, var(--max)); } }



/* Founder-story page and homepage teaser */
.page-hero.story-hero { padding: 1.15rem 0 1.2rem; }
.page-hero.story-hero + .section { padding-top: 2rem; }
.story {
  max-width: 56rem;
}
.story > .section-kicker { margin-bottom: 0.55rem; }
.story > h1 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-weight: 700;
  max-width: 22ch;
}
.story-langs { margin: 0 0 1.2rem; }
.story-langs a { color: var(--accent-text); text-decoration: none; font-weight: 600; }
.story-langs a:hover { color: var(--accent-text-hover); }
.story-langs a[aria-current="page"] { color: var(--navy); }
.story-photo {
  margin: 0 auto 1.75rem;
  max-width: 720px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 10px 28px rgba(26, 33, 44, 0.12);
}
.story-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 45%;
}
.story-body { min-width: 0; }
.story-sign {
  margin-top: 2rem;
  font-style: italic;
  color: var(--muted);
}
.story .guide-teaser { margin-top: 1.2rem; }
.story-teaser { align-items: center; }
.story-teaser-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-2);
  max-width: 11rem;
  box-shadow: 0 6px 16px rgba(26, 33, 44, 0.1);
}
.story-teaser-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 45%;
}
.story-teaser .section-kicker { margin: 0 0 0.4rem; }
@media (min-width: 800px) {
  .story-teaser { grid-template-columns: 9.5rem 1fr auto; padding: 1.6rem 1.8rem; }
}

/* ---------- Help centre ---------- */
.help-page { max-width: 56rem; }
.help-group { margin: 2.4rem 0 0.9rem; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--navy); }
.help-group:first-child { margin-top: 0; }
.help-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 0 0 0.5rem; }
.help-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.05rem 1.15rem 1.2rem; text-decoration: none; color: inherit; display: block; transition: border-color .15s, box-shadow .15s, transform .15s; }
.help-card:hover { border-color: var(--orange); box-shadow: 0 8px 24px rgba(26, 33, 44, 0.08); transform: translateY(-1px); }
.help-card .tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.4rem; }
.help-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; color: var(--navy); letter-spacing: -0.02em; }
.help-card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.help-related { padding-left: 1.2rem; }
.help-page .guide-teaser { margin-top: 2.5rem; }
.help-page .guide-teaser .hero-ctas { margin-top: 0; flex-wrap: wrap; }

/* ---------- Status ---------- */
.status-overall { border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; background: #e8f6ee; border: 1px solid #b7e0c4; }
.status-overall.status-degraded { background: #fff6e5; border-color: #f0d39a; }
.status-overall.status-outage { background: #fdecea; border-color: #f5c2c0; }
.status-overall.status-maintenance { background: #eef2f7; border-color: var(--line-strong); }
.status-overall .meta { margin: 0.35rem 0 0; }
.status-components { list-style: none; padding: 0; margin: 0; max-width: 40rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.status-components li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line); }
.status-components li:last-child { border-bottom: 0; }
.status-pill { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 999px; background: #e8f6ee; color: #1d6b3a; }
.status-pill.status-degraded { background: #fff6e5; color: #8a5a00; }
.status-pill.status-outage { background: #fdecea; color: #a12622; }
.status-pill.status-maintenance { background: #eef2f7; color: var(--navy); }
.status-incident { max-width: 44rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.status-incident h3 { margin: 0 0 0.3rem; font-size: 1.05rem; color: var(--navy); }
.status-page .muted, #status-incidents .muted { color: var(--muted); }
code { font-size: 0.9em; background: var(--cream-2); padding: 0.1em 0.35em; border-radius: 6px; }

/* Contact form (/contact/, /pl/kontakt/, /nl/contact/) */
.contact-form {
  display: grid;
  gap: 1.1rem 1.25rem;
  max-width: 46rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(38, 47, 62, 0.06);
}
@media (min-width: 720px) { .contact-form { grid-template-columns: 1fr 1fr; } }
.contact-form .field { display: grid; gap: 0.4rem; min-width: 0; }
.contact-form .field-wide { grid-column: 1 / -1; }
.contact-form label { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.contact-form .optional { font-weight: 500; color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(38, 47, 62, 0.25);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}
.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 3px solid rgba(194, 80, 31, 0.35); outline-offset: 1px; border-color: #C2501F; }
.contact-form .field-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-consent { margin: 0; font-size: 0.9rem; color: var(--muted); }
.contact-actions { display: flex; }
.contact-form button.btn { border: 0; cursor: pointer; }
.contact-actions .btn[disabled] { opacity: 0.7; cursor: progress; }
.contact-status { margin: 0; padding: 0.85rem 1rem; border-radius: 10px; font-weight: 600; }
.contact-status--ok { background: #E7F4EC; color: #1D5B36; }
.contact-status--err { background: #FCEBE4; color: #8A2F0E; }
.contact-alt { margin-top: 1.25rem; }
.legal-lang { font-size: 0.9rem; color: var(--muted); }
