/* WebP where the browser takes it: build.js wraps a picture's <img> in a
   <picture>, which lays out as if it were not there. */
picture { display: contents; }

/* ==========================================================================
   TULLUN PRINT — Design System
   Premium print-on-demand manufacturing + fulfillment + technology platform
   ========================================================================== */

:root {
  /* Palette */
  --ink: #0a0a0b;
  --ink-2: #1c1c1f;
  --ink-3: #2d2d32;
  --muted: #6b6b72;
  --muted-2: #9a9aa1;
  --bg: #f6f6f3;
  --bg-2: #efefeb;
  --surface: #ffffff;
  --line: #e3e3de;
  --line-2: #d2d2cc;
  /* One accent: cobalt. --accent is a fill (white on it); --accent-ink is the same hue as text on light;
     --accent-bright is the hue lifted for text/icons on dark surfaces; --accent-soft is its tint. */
  --accent: #2c5bff;
  --accent-2: #1e47e6;
  --on-accent: #ffffff;
  --accent-ink: #1a3fd6;
  --accent-bright: #7d9bff;
  --accent-soft: #dfe7ff;
  --mint: #7fd1c4;

  /* Dark surfaces */
  --d-bg: #0b0b0d;
  --d-surface: #131316;
  --d-surface-2: #1a1a1e;
  --d-line: #26262c;
  --d-line-2: #33333a;
  --d-muted: #8b8b94;
  --d-text: #f2f2ef;

  /* Type */
  --font-display: "Manrope", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Geist", "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Geist Mono", "SF Mono", ui-monospace, Menlo, monospace;

  /* Spacing / layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 10vw, 140px);
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --radius-xl: 32px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t: 0.28s;

  --header-h: 72px;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }

}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.h-display, .h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
  text-wrap: balance;
}
.h-display { font-size: clamp(44px, 7.2vw, 96px); font-weight: 800; letter-spacing: -0.045em; }
.h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; letter-spacing: -0.04em; }
.h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; }
.h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.h4 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }

.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.dark .eyebrow { color: var(--d-muted); }

.section-head { max-width: 780px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head .lead { margin-top: 20px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section-head--split .lead { margin-top: 0; }

.mark { position: relative; white-space: nowrap; color: var(--accent); }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: 1440px; }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--flush-top { padding-top: 0; }
.dark { background: var(--d-bg); color: var(--d-text); }
.dark .h1, .dark .h2, .dark .h3, .dark .h4, .dark .h-display { color: var(--d-text); }
.dark .lead, .dark .muted { color: var(--d-muted); }
.surface { background: var(--surface); }
.divider { height: 1px; background: var(--line); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1024px) {
  .grid-4, .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .section-head--split { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .grid-6, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.005em;
  white-space: nowrap; position: relative; overflow: hidden;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-3); box-shadow: 0 10px 30px -12px rgba(10,10,11,0.5); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-2); box-shadow: 0 10px 30px -12px rgba(44,91,255,0.7); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--bg-2); }
.dark .btn--ghost { color: var(--d-text); border-color: var(--d-line-2); }
.dark .btn--ghost:hover { border-color: var(--d-text); background: var(--d-surface); }
.dark .btn--primary { background: #fff; color: var(--ink); }
.dark .btn--primary:hover { background: var(--bg-2); }

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px;
  color: var(--ink); position: relative;
}
.link svg { width: 14px; height: 14px; transition: transform var(--t) var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t) var(--ease); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.dark .link { color: var(--d-text); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(246,246,243,0.72); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease), transform 0.32s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-scrolled { border-bottom-color: var(--line); background: rgba(246,246,243,0.86); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; font-size: 19px; }
.logo__img { height: 32px; width: auto; display: block; }
.footer .logo__img { height: 34px; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--accent);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.logo__mark svg { width: 18px; height: 18px; }
.logo__ph { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; color: var(--muted-2); font-weight: 500; margin-left: 4px; padding: 2px 6px; border: 1px dashed var(--line-2); border-radius: 4px; }
.dark .logo__mark { background: var(--accent); color: var(--ink); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px; border-radius: 999px; white-space: nowrap;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.nav__link svg { width: 12px; height: 12px; opacity: 0.6; transition: transform var(--t) var(--ease); }
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--bg-2); color: var(--ink); }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 560px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: 0 30px 80px -30px rgba(10,10,11,0.28), 0 2px 8px rgba(10,10,11,0.04);
  padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.98); transform-origin: top left;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
}
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega--single { min-width: 300px; grid-template-columns: 1fr; }
.mega__col-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 6px 12px 10px; }
.mega__link {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  transition: background var(--t) var(--ease);
}
.mega__link:hover { background: var(--bg); }
.mega__link .mega__icon { width: 46px; height: 46px; border-radius: 11px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box; padding: 0; color: var(--ink); }
.mega__icon svg { width: 26px; height: 26px; display: block; flex: none; }
.mega__link strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.mega__link span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.mega__feature {
  grid-column: 1 / -1; margin-top: 4px; padding: 16px; border-radius: 14px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.mega__feature strong { font-family: var(--font-display); font-size: 15px; }
.mega__feature span { font-size: 13px; color: rgba(255,255,255,0.6); }

.header__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.selects { display: flex; gap: 4px; margin-right: 6px; }
.select-pill { position: relative; }
.select-pill select {
  appearance: none; -webkit-appearance: none; height: 34px; padding: 0 26px 0 12px; border-radius: 999px;
  background: transparent; border: 1px solid transparent; font-size: 13px; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: all var(--t) var(--ease);
}
.select-pill select:hover { border-color: var(--line-2); color: var(--ink); }
.select-pill::after {
  content: ""; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); color: var(--muted); pointer-events: none;
}
.header__login { font-size: 14.5px; font-weight: 500; white-space: nowrap; padding: 0 12px; height: 40px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--ink-2); }
.header__login:hover { background: var(--bg-2); }

/* Signed in: the name in place of Log In / Sign Up, with the way back to the dashboard. */
.is-signed-in .header__login, .is-signed-in .header__signup, .is-signed-in .header__cta { display: none; }
.header__me { position: relative; }
.header__me-button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 4px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.header__me-button:hover, .header__me-button[aria-expanded="true"] { background: var(--bg-2); color: var(--ink); }
.header__me-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.header__me-button svg { width: 14px; height: 14px; transition: transform var(--t) var(--ease); }
.header__me-button[aria-expanded="true"] svg { transform: rotate(180deg); }
.header__me-face { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.header__me-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 8px; display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.12); z-index: 120; }
.header__me-menu[hidden] { display: none; }
.header__me-menu a { padding: 11px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.header__me-menu a:hover, .header__me-menu a:focus-visible { background: var(--bg-2); outline: none; }
.header__me-dash { background: var(--bg-2); }
.header__me-out { font-weight: 500 !important; color: var(--ink-2) !important; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px !important; margin-top: 4px; }

/* The three bars sit packed in the middle (align-content), so the step
   between them is exactly bar + gap, and the open state moves the outer two
   by that same step: they cross in the centre as an ×. Stretched rows made the
   step ~16px against a fixed 7px move, which drew a ">" instead. */
.burger { --bar: 2px; --bar-gap: 5px; display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; align-content: center; }
.burger span { display: block; width: 20px; height: var(--bar); background: var(--ink); border-radius: 2px; transition: transform var(--t) var(--ease), opacity var(--t) var(--ease); }
.burger span + span { margin-top: var(--bar-gap); }
.burger.is-active span:nth-child(1) { transform: translateY(calc(var(--bar) + var(--bar-gap))) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(calc(-1 * (var(--bar) + var(--bar-gap)))) rotate(-45deg); }

@media (max-width: 1140px) {
  .nav, .selects, .header__login, .header__signup { display: none; }
  .header__me-name, .header__me-button svg { display: none; }
  .header__me-button { padding: 0 4px; }
  .burger { display: grid; }
}
@media (max-width: 480px) { .header__cta { display: none; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: var(--bg);
  transform: translateY(-8px); opacity: 0; visibility: hidden; overflow-y: auto;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
  padding: 16px var(--gutter) 40px;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
}
.drawer__toggle svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.drawer__group.is-open .drawer__toggle svg { transform: rotate(180deg); }
.drawer__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t) var(--ease); }
.drawer__group.is-open .drawer__panel { grid-template-rows: 1fr; }
.drawer__panel > div { overflow: hidden; }
.drawer__panel a { display: block; padding: 10px 0 10px 12px; color: var(--muted); font-size: 15px; border-left: 1px solid var(--line-2); margin-left: 2px; }
.drawer__panel a:last-child { margin-bottom: 14px; }
.drawer__link { display: block; padding: 16px 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.drawer__ctas { display: grid; gap: 10px; padding-top: 24px; }
/* Log In / Log Out swap on who is signed in (main.js) by `hidden`, which .btn's
   display beat: signed-out visitors were offered Log Out too. */
.drawer__ctas [hidden] { display: none; }
.drawer__meta { display: flex; gap: 10px; padding-top: 20px; }
.drawer__meta select { height: 40px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; background: var(--surface); }

/* --------------------------------------------------------------------------
   Placeholders (Higgsfield visual zones)
   -------------------------------------------------------------------------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  background:
    radial-gradient(120% 90% at 30% 10%, rgba(255,255,255,0.9), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #ecece8 0%, #e2e2dd 100%);
  background-color: #e8e8e3;
  border: 1px solid var(--line-2);
  isolation: isolate;
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10,10,11,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,11,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(90% 90% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(90% 90% at 50% 50%, #000 40%, transparent 100%);
}
.ph::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ph__label {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px 7px 9px; border-radius: 8px;
  background: rgba(10,10,11,0.86); color: #fff; backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
}
.ph__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ph__meta { position: absolute; right: 14px; top: 14px; z-index: 2; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.ph__corner { position: absolute; z-index: 2; width: 14px; height: 14px; border-color: rgba(10,10,11,0.35); border-style: solid; border-width: 0; }
.ph__corner--tl { top: 10px; left: 10px; border-top-width: 1.5px; border-left-width: 1.5px; }
.ph__corner--tr { top: 10px; right: 10px; border-top-width: 1.5px; border-right-width: 1.5px; }
.ph__corner--bl { bottom: 10px; left: 10px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.ph__corner--br { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.ph__center { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.ph__icon { width: 48px; height: 48px; color: rgba(10,10,11,0.28); }
.ph--dark { background: linear-gradient(180deg, #17171b, #0f0f12); border-color: var(--d-line-2); }
.ph--dark::before { background-image: linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px); }
.ph--dark .ph__meta { color: var(--d-muted); }
.ph--dark .ph__corner { border-color: rgba(255,255,255,0.35); }
.ph--dark .ph__icon { color: rgba(255,255,255,0.28); }
.ph--dark .ph__label { background: rgba(255,255,255,0.92); color: var(--ink); }

/* Phone silhouette used inside product placeholders */
.phone {
  position: relative; z-index: 1; width: 46%; max-width: 190px; aspect-ratio: 9 / 18.6;
  border-radius: 14% / 7%; background: linear-gradient(160deg, #fbfbf9, #dcdcd6);
  box-shadow: 0 30px 60px -24px rgba(10,10,11,0.45), inset 0 0 0 1.5px rgba(10,10,11,0.18), inset 0 0 0 5px rgba(255,255,255,0.7);
  transition: transform 0.6s var(--ease);
}
.phone::before {
  content: ""; position: absolute; top: 6%; left: 9%; width: 36%; aspect-ratio: 1;
  border-radius: 26%; background: rgba(10,10,11,0.08); box-shadow: inset 0 0 0 1.5px rgba(10,10,11,0.18);
}
.phone__lens { position: absolute; width: 12%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #ececea, #9c9c95 60%, #6d6d67); box-shadow: inset 0 0 0 1px rgba(10,10,11,0.2); }
.phone__lens--1 { top: 8.5%; left: 12%; }
.phone__lens--2 { top: 8.5%; left: 27%; }
.phone__lens--3 { top: 17%; left: 12%; }
.phone__art {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background-size: cover; background-position: center; opacity: 0.9;
}
.phone--clear { background: linear-gradient(160deg, rgba(255,255,255,0.7), rgba(220,220,214,0.5)); backdrop-filter: blur(2px); }
.phone--clear .phone__ring { position: absolute; left: 50%; top: 42%; width: 56%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 5px solid rgba(10,10,11,0.12); box-shadow: inset 0 0 0 1px rgba(10,10,11,0.06); }
.phone--clear .phone__ring::after { content: ""; position: absolute; left: 50%; top: 100%; width: 34%; height: 6px; border-radius: 3px; background: rgba(10,10,11,0.12); transform: translate(-50%, 6px); }
.card:hover .phone { transform: translateY(-8px) rotate(-2deg); }

/* AirPods silhouette */
.pods { position: relative; z-index: 1; width: 40%; max-width: 150px; aspect-ratio: 1 / 0.9; border-radius: 24%; background: linear-gradient(160deg, #fbfbf9, #dcdcd6); box-shadow: 0 30px 60px -24px rgba(10,10,11,0.45), inset 0 0 0 1.5px rgba(10,10,11,0.18), inset 0 0 0 5px rgba(255,255,255,0.7); transition: transform 0.6s var(--ease); }
.pods::before { content: ""; position: absolute; left: 12%; right: 12%; top: 44%; height: 1.5px; background: rgba(10,10,11,0.2); }
.pods::after { content: ""; position: absolute; left: 50%; top: 58%; width: 10%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); transform: translateX(-50%); box-shadow: 0 0 0 3px rgba(44,91,255,0.3); }
.card:hover .pods { transform: translateY(-8px) rotate(3deg); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 26px; position: relative; overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(10,10,11,0.35); border-color: var(--line-2); }
.card--flat:hover { transform: none; box-shadow: none; }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 22px; color: var(--ink); }
.card__icon svg { width: 20px; height: 20px; }
.card .h4 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.dark .card { background: var(--d-surface); border-color: var(--d-line); }
.dark .card:hover { border-color: var(--d-line-2); box-shadow: 0 30px 60px -36px rgba(0,0,0,0.8); }
.dark .card__icon { background: var(--d-surface-2); border-color: var(--d-line); color: var(--accent-bright); }
.dark .card p { color: var(--d-muted); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 80%; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 12% 0%, rgba(44,91,255,0.16), transparent 60%);
  filter: blur(20px);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy { max-width: 620px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 30px;
}
.hero__badge i { display: inline-grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--accent-bright); font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; }
.hero .h-display { margin-bottom: 26px; }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); margin-bottom: 12px; }
.hero__alt { font-size: 15px; color: var(--muted-2); margin-bottom: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero__proof li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat; }

.hero__visual { position: relative; }
.hero__stage { aspect-ratio: 1.05; min-height: 420px; border-radius: var(--radius-xl); }
.hero__stage .phone { width: 40%; max-width: 230px; transform: rotate(-8deg); }
.hero__stage .phone--b { position: absolute; width: 34%; max-width: 190px; transform: rotate(9deg) translate(70%, 18%); opacity: 0.85; }
.hero__stage .phone__art { background: linear-gradient(135deg, var(--accent) 0%, #7fd1c4 50%, #1b1b1f 100%); opacity: 0.9; }
.hero__stage .phone--b .phone__art { background: linear-gradient(200deg, #0a0a0b 0%, #3f3f46 60%, var(--accent) 100%); }
.hero__float {
  position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; box-shadow: 0 30px 60px -30px rgba(10,10,11,0.35); display: flex; align-items: center; gap: 12px;
  animation: floatY 6s ease-in-out infinite;
}
.hero__float--a { left: -24px; top: 7%; }
.hero__float--b { right: -20px; bottom: 7%; animation-delay: -3s; }
.hero__float strong { display: block; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.hero__float span { display: block; font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.hero__float i { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--accent-bright); display: grid; place-items: center; font-style: normal; }
.hero__float i svg { width: 16px; height: 16px; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__grid > * { min-width: 0; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__float--a { left: 12px; } .hero__float--b { right: 12px; }
  .hero__stage { min-height: 0; }
  .hero__badge { height: auto; min-height: 34px; padding: 5px 14px 5px 6px; line-height: 1.3; max-width: 100%; }
}

/* --------------------------------------------------------------------------
   Trust bar
   -------------------------------------------------------------------------- */
.trust { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.trust__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.trust__logos { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.logo-ph {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px;
  border: 1px dashed var(--line-2); font-family: var(--font-display); font-weight: 800; letter-spacing: 0.02em; font-size: 14px; color: var(--muted);
  transition: all var(--t) var(--ease);
}
.logo-ph:hover { color: var(--ink); border-color: var(--ink); border-style: solid; }
.logo-ph i { width: 8px; height: 8px; border-radius: 2px; background: var(--line-2); font-style: normal; }
.trust__facts { display: flex; gap: 22px; }
.trust__facts li { font-size: 13px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust__facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); }
@media (max-width: 1024px) { .trust__inner { grid-template-columns: 1fr; text-align: center; gap: 20px; } .trust__facts { justify-content: center; flex-wrap: wrap; } }

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */
/* Six half-columns, each card two of them, so a last row that comes out
   short is centred rather than left-aligned: two cards start one half-column
   in, one card sits in the middle. */
.products { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.products > * { grid-column: span 2; }
.products > :nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
.products > :nth-child(3n+1):last-child { grid-column: 3 / span 2; }

/* /products: filters beside the grid. The grid there wraps and centres rather
   than using the six half-columns, so a filtered set of any size stays centred. */
.catalog { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; }
.filters__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.filters__clear { font-size: 13px; font-weight: 600; color: var(--accent); }
.filters__clear:hover { text-decoration: underline; }
.filters__group { border: 0; padding: 0; margin: 0; display: grid; gap: 2px; }
.filters__group legend { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.filters__opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; font-size: 14.5px; color: var(--ink-2); }
.filters__opt:hover { background: var(--bg-2); }
.filters__opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.filters__opt em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.filters__opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }
.filters__count { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }
.filters__empty { padding: 48px 0; text-align: center; color: var(--muted); display: grid; justify-items: center; gap: 14px; }
.filters__empty[hidden] { display: none; }
.products.products--filtered { display: flex; flex-wrap: wrap; justify-content: center; }
.products.products--filtered > * { flex: 0 0 calc((100% - 40px) / 3); grid-column: auto; }
.products.products--filtered > [hidden] { display: none; }
@media (max-width: 1280px) { .products.products--filtered > * { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; gap: 20px; }
  .filters { position: static; gap: 14px; }
  .filters__group { display: flex; flex-wrap: wrap; gap: 8px; }
  .filters__group legend { width: 100%; margin-bottom: 4px; }
  .filters__opt { border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; }
  .filters__opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
  .filters__opt input { position: absolute; opacity: 0; pointer-events: none; }
  .filters__opt em { margin-left: 2px; }
}
@media (max-width: 640px) { .products.products--filtered > * { flex-basis: 100%; } }

.product { padding: 0; display: flex; flex-direction: column; position: relative; cursor: pointer; }
/* The whole card opens the product: its title is the one link, stretched over
   the card, so a click anywhere lands on the product page (where designing
   and the merchant offer are the next step). */
.product__link { color: inherit; }
.product__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.product:hover .product__link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.product:has(.product__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.product__link:focus-visible { outline: none; }
.product__media { aspect-ratio: 1 / 0.92; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.product__media .ph__center { padding-bottom: 20px; }
.product__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.product__body .h4 { margin-bottom: 8px; font-size: 19px; }
.product__feature { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 20px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.product__feature i { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); display: grid; place-items: center; font-style: normal; color: #fff; }
.product__feature i svg { width: 10px; height: 10px; }
.product__actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.product__actions .link { margin-left: auto; font-size: 14px; }
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .products > *, .products > :nth-child(3n+1):nth-last-child(2), .products > :nth-child(3n+1):last-child { grid-column: span 2; }
  .products > :nth-child(odd):last-child { grid-column: 2 / span 2; }
}
@media (max-width: 640px) {
  .products { grid-template-columns: 1fr; }
  .products > *, .products > :nth-child(3n+1):nth-last-child(2), .products > :nth-child(3n+1):last-child, .products > :nth-child(odd):last-child { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   Brand cards (compatibility)
   -------------------------------------------------------------------------- */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand { padding: 32px; min-height: 300px; display: flex; flex-direction: column; background: var(--surface); }
.brand__logo { width: 64px; height: 64px; border-radius: 18px; border: 1px dashed var(--line-2); display: grid; place-items: center; margin-bottom: 28px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--muted-2); }
.brand__logo svg { width: 28px; height: 28px; color: var(--ink); }
.brand .h3 { margin-bottom: 10px; }
.brand p { color: var(--muted); font-size: 15px; }
.brand__devices { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 26px; }
.brand__devices span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; padding: 5px 9px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.brand .link { margin-top: auto; align-self: flex-start; }
.brand::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(44,91,255,0.28), transparent 70%); opacity: 0; transition: opacity 0.5s var(--ease); }
.brand:hover::after { opacity: 1; }
@media (max-width: 860px) { .brands { grid-template-columns: 1fr; } .brand { min-height: 0; } }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: clamp(48px, 5vw, 72px); }
/* Five steps on a wide screen; the breakpoints below still fold it to 2, then 1
   (an inline style used to pin five columns on a phone, 375px off the side). */
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.step { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); }
.step__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 40px; }
.step__num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step__num b { color: var(--ink); font-weight: 600; }
.step .h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step:hover { border-color: var(--ink); }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.flow {
  display: flex; align-items: center; justify-content: center; gap: 0; padding: 28px; border-radius: var(--radius-l);
  background: var(--ink); color: #fff; overflow-x: auto;
}
.flow__node { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 130px; text-align: center; }
.flow__node i { width: 52px; height: 52px; border-radius: 14px; background: var(--d-surface-2); border: 1px solid var(--d-line-2); display: grid; place-items: center; font-style: normal; color: var(--accent-bright); }
.flow__node i svg { width: 22px; height: 22px; }
.flow__node span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--d-muted); }
.flow__node--hl i { background: var(--accent); color: #fff; border-color: var(--accent); }
.flow__node--hl span { color: #fff; }
.flow__link { flex: 1; min-width: 40px; height: 1px; background: var(--d-line-2); position: relative; margin: 0 8px; margin-bottom: 28px; overflow: hidden; }
.flow__link::after { content: ""; position: absolute; left: -40%; top: 0; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: flowDash 2.4s linear infinite; }
.flow__link:nth-child(4)::after { animation-delay: 0.6s; } .flow__link:nth-child(6)::after { animation-delay: 1.2s; } .flow__link:nth-child(8)::after { animation-delay: 1.8s; }
@keyframes flowDash { to { left: 100%; } }
@media (max-width: 720px) {
  .flow { flex-direction: column; gap: 4px; padding: 24px; }
  .flow__link { width: 1px; height: 32px; min-width: 0; flex: none; margin: 0; }
  .flow__link::after { left: 0; top: -100%; width: 100%; height: 100%; background: linear-gradient(180deg, transparent, var(--accent), transparent); animation: flowDashV 2.4s linear infinite; }
  @keyframes flowDashV { to { top: 100%; } }
}

/* --------------------------------------------------------------------------
   For Merchants
   -------------------------------------------------------------------------- */
.merchants { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.merchants__sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .features--3 { grid-template-columns: 1fr 1fr; } }
.feature { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.feature:hover { border-color: var(--ink); transform: translateY(-2px); }
.feature__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.feature__k::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.feature p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 960px) { .merchants { grid-template-columns: 1fr; } .merchants__sticky { position: static; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Merchant workflow diagram
   -------------------------------------------------------------------------- */
.workflow { border-radius: var(--radius-xl); background: var(--d-bg); border: 1px solid var(--d-line); padding: clamp(24px, 4vw, 48px); position: relative; overflow: hidden; }
.workflow::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 100%); -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 100%); }
.workflow__lanes { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lane { border: 1px solid var(--d-line); border-radius: var(--radius-l); background: rgba(19,19,22,0.8); padding: 22px; backdrop-filter: blur(6px); }
.lane__title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.lane__title span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--d-muted); }
.lane__title b { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; padding: 4px 8px; border-radius: 6px; background: var(--d-surface-2); color: var(--accent-bright); }
.wf { display: grid; gap: 8px; }
.wf__item { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--d-surface); border: 1px solid var(--d-line); font-size: 14px; color: var(--d-text); position: relative; transition: border-color var(--t) var(--ease), background var(--t) var(--ease); }
.wf__item:hover { border-color: var(--d-line-2); background: var(--d-surface-2); }
.wf__item i { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--d-muted); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--d-surface-2); border: 1px solid var(--d-line); }
.wf__item em { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--d-muted); }
.wf__item--auto i { color: #fff; background: var(--accent); border-color: var(--accent); }
.wf__item--auto em { color: var(--accent-bright); }
.workflow__bridge { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px 0 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--d-muted); }
.workflow__bridge i { flex: 1; max-width: 200px; height: 1px; background: linear-gradient(90deg, transparent, var(--d-line-2), transparent); }
.workflow__bridge b { color: var(--accent-bright); font-weight: 500; padding: 6px 10px; border: 1px solid var(--d-line-2); border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.workflow__bridge b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 0 rgba(44,91,255,0.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(44,91,255,0.5); } 70% { box-shadow: 0 0 0 8px rgba(44,91,255,0); } 100% { box-shadow: 0 0 0 0 rgba(44,91,255,0); } }
@media (max-width: 860px) { .workflow__lanes { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Integrations
   -------------------------------------------------------------------------- */
.integrations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.integration { padding: 28px; min-height: 260px; display: flex; flex-direction: column; }
.integration__logo { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 10px; border-radius: 10px; border: 1px dashed var(--line-2); font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.02em; color: var(--ink); margin-bottom: 26px; align-self: flex-start; }
.integration__logo i { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); display: grid; place-items: center; color: var(--accent); font-style: normal; }
.integration__logo i svg { width: 12px; height: 12px; }
.integration .h4 { margin-bottom: 8px; }
.integration p { flex: 1; }
.integration__status { margin-top: 20px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.integration__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
@media (max-width: 1024px) { .integrations { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .integrations { grid-template-columns: 1fr; } .integration { min-height: 0; } }

/* --------------------------------------------------------------------------
   API section
   -------------------------------------------------------------------------- */
.api { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.api__features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 32px 0 36px; }
.api__features li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--d-text); }
.api__features li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/8px no-repeat; flex-shrink: 0; }

.code { border-radius: var(--radius-l); background: #0f0f12; border: 1px solid var(--d-line-2); overflow: hidden; box-shadow: 0 60px 100px -50px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.03) inset; position: relative; }
.code::before { content: ""; position: absolute; inset: -1px; background: radial-gradient(60% 40% at 80% 0%, rgba(44,91,255,0.12), transparent 60%); pointer-events: none; }
.code__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--d-line); background: #131316; }
.code__dots { display: flex; gap: 6px; }
.code__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--d-line-2); }
.code__tabs { display: flex; gap: 2px; margin-left: 10px; }
.code__tab { font-family: var(--font-mono); font-size: 11.5px; padding: 6px 10px; border-radius: 6px; color: var(--d-muted); transition: all var(--t) var(--ease); }
.code__tab.is-active, .code__tab:hover { color: var(--d-text); background: var(--d-surface-2); }
.code__status { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--accent-bright); display: inline-flex; align-items: center; gap: 6px; }
.code__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); }
.code pre { margin: 0; padding: 22px 22px 26px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: #d7d7d2; overflow-x: auto; tab-size: 2; }
.code pre > span { display: block; min-height: 1.7em; }
.code pre > span::before { counter-increment: line; content: counter(line); display: inline-block; width: 28px; margin-right: 14px; color: #4a4a52; text-align: right; }
.code pre { counter-reset: line; }
.code__panel { display: none; }
.code__panel.is-active { display: block; }
.c-k { color: var(--accent-bright); } .c-s { color: #9fd8ff; } .c-c { color: #62626b; } .c-n { color: #ffb86b; } .c-f { color: #f2f2ef; } .c-p { color: #b5b5be; }
.code__resp { border-top: 1px solid var(--d-line); background: #0b0b0d; }
.code__resp .code__bar { background: transparent; }
@media (max-width: 960px) { .api { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .api__features { grid-template-columns: 1fr; } }

/* The API section shows where the API lives (inside the merchant account),
   not a fabricated terminal: a window of the account's own API page. */
.apiwin { border-radius: var(--radius-l); background: #0f0f12; border: 1px solid var(--d-line-2); overflow: hidden; box-shadow: 0 60px 100px -50px rgba(0,0,0,0.9); position: relative; }
.apiwin::before { content: ""; position: absolute; inset: -1px; background: radial-gradient(60% 40% at 80% 0%, rgba(44,91,255,0.12), transparent 60%); pointer-events: none; }
.apiwin__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--d-line); background: #131316; position: relative; }
.apiwin__url { flex: 1; font-family: var(--font-mono); font-size: 12px; color: var(--d-muted); padding: 6px 12px; border-radius: 8px; background: var(--d-bg); border: 1px solid var(--d-line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apiwin__url b { color: var(--d-text); font-weight: 500; }
.apiwin__body { padding: 22px; position: relative; }
.apiwin__steps { display: grid; gap: 10px; margin-bottom: 22px; }
.apiwin__step { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 12px; background: var(--d-surface); border: 1px solid var(--d-line); }
.apiwin__step i { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-style: normal; font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.apiwin__step strong { display: block; font-size: 14px; color: var(--d-text); font-family: var(--font-display); }
.apiwin__step span { display: block; font-size: 13px; color: var(--d-muted); line-height: 1.45; margin-top: 2px; }
.apiwin__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--d-muted); margin-bottom: 10px; }
.apiwin__list { display: grid; }
.apiwin__list li { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: center; padding: 9px 0; border-top: 1px solid var(--d-line); font-size: 13.5px; color: var(--d-muted); }
.apiwin__list li:last-child { border-bottom: 1px solid var(--d-line); }
.apiwin__list code { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-bright); white-space: nowrap; }
.apiwin__foot { margin-top: 14px; font-size: 12px; color: var(--d-muted); line-height: 1.5; }
@media (max-width: 560px) { .apiwin__list li { grid-template-columns: 1fr; gap: 4px; } .apiwin__body { padding: 16px; } }

/* --------------------------------------------------------------------------
   Customizer
   -------------------------------------------------------------------------- */
.customizer { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); padding: 20px; box-shadow: 0 50px 100px -60px rgba(10,10,11,0.3); }
.customizer__preview { border-radius: var(--radius-l); min-height: 560px; position: sticky; top: calc(var(--header-h) + 20px); }
.customizer__preview .phone { width: 48%; max-width: 260px; transition: transform 0.6s var(--ease); }
.customizer__preview .phone__art { transition: background 0.4s var(--ease); }
.customizer__preview .phone__upload { position: absolute; inset: 14% 8% 8%; border-radius: 10px; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.5s var(--ease); }
.customizer__preview.has-upload .phone__upload { opacity: 1; }
.customizer__preview .ph__center { padding-bottom: 60px; }
.customizer__chip { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.customizer__chip span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; background: rgba(255,255,255,0.85); border: 1px solid var(--line); color: var(--ink); backdrop-filter: blur(6px); }
.customizer__panel { display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 8px 12px; }
.cstep { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cstep:last-of-type { border-bottom: 0; }
.cstep__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cstep__num { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); padding: 4px 8px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); }
.cstep__head .h4 { font-size: 16px; }
.cstep__val { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 500; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--surface); transition: all var(--t) var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.opt:hover { border-color: var(--ink); }
.opt.is-selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt.is-selected::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.opts--models { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), margin 0.4s var(--ease); }
.opts--models.is-visible { max-height: 200px; margin-top: 10px; }
.opts--models .opt { height: 34px; font-size: 13px; padding: 0 12px; }
.upload { display: block; border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 26px 20px; text-align: center; cursor: pointer; transition: all var(--t) var(--ease); position: relative; background: var(--bg); }
.upload:hover, .upload.is-drag { border-color: var(--ink); background: var(--surface); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload__icon { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 12px; background: var(--ink); color: var(--accent-bright); display: grid; place-items: center; }
.upload__icon svg { width: 20px; height: 20px; }
.upload strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.upload span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.upload__file { display: none; margin-top: 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink); }
.upload.has-file .upload__file { display: block; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(10,10,11,0.15); cursor: pointer; transition: transform var(--t) var(--ease), border-color var(--t) var(--ease); }
.swatch:hover { transform: scale(1.1); }
.swatch.is-selected { border-color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 44px; overflow: hidden; }
.qty button { width: 44px; height: 100%; font-size: 18px; display: grid; place-items: center; transition: background var(--t) var(--ease); }
.qty button:hover { background: var(--bg); }
.qty output { width: 44px; text-align: center; font-weight: 600; font-family: var(--font-mono); font-size: 14px; }
.cstep__summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 22px; flex-wrap: wrap; }
.cstep__price { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; }
.cstep__price small { font-size: 13px; font-weight: 500; color: var(--muted); font-family: var(--font-body); letter-spacing: 0; margin-left: 6px; }
@media (max-width: 960px) { .customizer { grid-template-columns: minmax(0, 1fr); } .customizer__preview { position: relative; top: auto; min-height: 420px; } }

/* --------------------------------------------------------------------------
   Product preview (mockup)
   -------------------------------------------------------------------------- */
.preview { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.preview__stage { min-height: 620px; border-radius: var(--radius-xl); }
.preview__stage .phone { width: 34%; max-width: 250px; }
.preview__stage .phone__art { background: linear-gradient(160deg, #1b1b1f 0%, #2d2d32 40%, var(--accent) 140%); }
.preview__controls { padding: 28px; display: flex; flex-direction: column; gap: 4px; }
.ctrl { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ctrl:last-of-type { border-bottom: 0; }
.ctrl label { font-size: 14px; font-weight: 500; color: var(--muted); }
.ctrl select, .ctrl .qty { min-width: 180px; }
.ctrl select { height: 40px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; background: var(--surface); appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b72' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; padding-right: 34px; font-size: 14px; }
.ctrl .swatches { gap: 8px; } .ctrl .swatch { width: 26px; height: 26px; }
.preview__controls .btn { margin-top: 20px; }
@media (max-width: 960px) { .preview { grid-template-columns: 1fr; } .preview__stage { min-height: 440px; } }

/* --------------------------------------------------------------------------
   Design showcase
   -------------------------------------------------------------------------- */
.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.design { aspect-ratio: 3 / 4; border-radius: var(--radius); position: relative; cursor: pointer; }
.design .ph__label { left: 12px; bottom: 12px; font-size: 9.5px; }
.design__name { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.design__tint { position: absolute; inset: 0; z-index: 0; opacity: 0.55; mix-blend-mode: multiply; transition: opacity 0.5s var(--ease); }
.design:hover .design__tint { opacity: 0.8; }
.design .phone { width: 42%; transform: rotate(-6deg) translateY(8%); transition: transform 0.6s var(--ease); }
.design:hover .phone { transform: rotate(-2deg) translateY(0); }
.design:nth-child(1) .design__tint { background: linear-gradient(160deg, #fff 0%, #dcdcd6 100%); }
.design:nth-child(2) .design__tint { background: linear-gradient(160deg, #b9c7cf 0%, #4a5a66 100%); }
.design:nth-child(3) .design__tint { background: linear-gradient(160deg, #ffd6a5 0%, var(--accent) 60%, #7fd1c4 100%); }
.design:nth-child(4) .design__tint { background: repeating-linear-gradient(0deg, #0a0a0b 0 10px, #e2e2dd 10px 22px); }
.design:nth-child(5) .design__tint { background: conic-gradient(from 200deg, var(--accent), #1b1b1f, #9fd8ff, var(--accent)); }
.design:nth-child(6) .design__tint { background: linear-gradient(160deg, #1b1b1f 0%, #47474f 55%, var(--accent) 130%); }
.design:nth-child(7) .design__tint { background: linear-gradient(160deg, #cfe3c4 0%, #5e8a5a 100%); }
.design:nth-child(8) .design__tint { background: linear-gradient(160deg, #0a0a0b 0%, #2d2924 50%, #b89b5e 130%); }
@media (max-width: 960px) { .showcase { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   Quality
   -------------------------------------------------------------------------- */
.collage { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(6, 1fr); gap: 12px; aspect-ratio: 12 / 6; }
.collage__tile { margin: 0; position: relative; overflow: hidden; border-radius: 18px; background: var(--panel); }
.collage__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.collage__tile:hover img { transform: scale(1.03); }
.collage__tile--a { grid-column: 1 / 7; grid-row: 1 / 5; }
.collage__tile--b { grid-column: 7 / 10; grid-row: 1 / 5; }
.collage__tile--c { grid-column: 10 / 13; grid-row: 1 / 4; }
.collage__tile--d { grid-column: 10 / 13; grid-row: 4 / 7; }
.collage__tile--e { grid-column: 1 / 4; grid-row: 5 / 7; }
.collage__tile--f { grid-column: 4 / 7; grid-row: 5 / 7; }
.collage__tile--g { grid-column: 7 / 10; grid-row: 5 / 7; }
.quality-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.quality-strip li { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.quality-strip strong { color: var(--ink); font-weight: 700; font-size: 15px; }
@media (max-width: 960px) { .quality-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .collage { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; aspect-ratio: auto; }
  .collage__tile { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1; }
  .collage__tile--a { grid-column: 1 / 3 !important; aspect-ratio: 3 / 2; }
  .collage__tile--b { aspect-ratio: 2 / 3; }
  .quality-strip { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Comparison
   -------------------------------------------------------------------------- */
.compare { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: start; }
.compare__col { border-radius: var(--radius-l); padding: 32px; border: 1px solid var(--line); background: var(--surface); }
.compare__col--us { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 50px 100px -50px rgba(10,10,11,0.6); }
.compare__title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.compare__col--us .compare__title { border-color: var(--d-line-2); }
.compare__title .h4 { font-size: 20px; }
.compare__col--us .h4 { color: #fff; }
.compare__title span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.compare__col--us .compare__title span { color: var(--accent-bright); }
.compare__list { display: grid; gap: 4px; }
.compare__list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--line); }
.compare__list li:last-child { border-bottom: 0; }
.compare__col--us .compare__list li { border-color: rgba(255,255,255,0.08); }
.compare__list li i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; flex-shrink: 0; }
.compare__list li i svg { width: 11px; height: 11px; }
.compare__col--us .compare__list li i { background: var(--accent); color: #fff; }
.compare__col--trad .compare__list li { color: var(--muted); font-weight: 400; }
.compare__col--trad .compare__list li i { background: var(--bg-2); color: var(--muted); }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Profit calculator
   -------------------------------------------------------------------------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 50px 100px -60px rgba(10,10,11,0.3); }
.calc__inputs { padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; }
.field label output { font-family: var(--font-mono); font-weight: 500; color: var(--muted); font-size: 12px; }
.field select, .field input[type="number"] { height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; background: var(--bg); font-size: 15px; transition: border-color var(--t) var(--ease); width: 100%; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b72' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }
.field select:focus, .field input:focus { border-color: var(--ink); outline: none; }
.field__money { position: relative; }
.field__money::before { content: "€"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; }
.field__money input { padding-left: 30px !important; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) var(--pct, 50%), var(--line-2) var(--pct, 50%)); outline: none; margin: 8px 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 4px 10px rgba(10,10,11,0.2); cursor: grab; transition: transform var(--t) var(--ease); }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 3px solid var(--surface); cursor: grab; }
/* Touch targets on a phone: 44px tall without changing how anything looks
   (the product cards are whole-card links already). The slider keeps its thin
   track, drawn as a 4px strip across a 44px-tall input, with a bigger thumb. */
@media (max-width: 760px) {
  .logo, .link { min-height: 44px; }
  input[type="range"] { height: 44px; margin: 0; background-size: 100% 4px; background-position: center; background-repeat: no-repeat; }
  input[type="range"]::-webkit-slider-thumb { width: 28px; height: 28px; }
  input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; }
}
.calc__outputs { background: var(--ink); color: #fff; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.calc__outputs::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(44,91,255,0.25), transparent 70%); pointer-events: none; }
.calc__hero { margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.calc__hero span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--d-muted); display: block; margin-bottom: 8px; }
.calc__hero strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 4.5vw, 60px); letter-spacing: -0.04em; line-height: 1; color: var(--accent-bright); display: block; font-variant-numeric: tabular-nums; }
.calc__hero em { font-style: normal; font-size: 14px; color: var(--d-muted); display: block; margin-top: 8px; }
.calc__rows { display: grid; gap: 2px; }
.calc__row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 14.5px; }
.calc__row span { color: var(--d-muted); }
.calc__row strong { font-family: var(--font-mono); font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; }
.calc__row--margin strong { color: var(--accent-bright); }
.calc__bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.1); margin: 22px 0 10px; overflow: hidden; display: flex; }
.calc__bar i { height: 100%; transition: width 0.5s var(--ease); }
.calc__bar i:nth-child(1) { background: var(--accent); }
.calc__bar i:nth-child(2) { background: #55555f; }
.calc__bar i:nth-child(3) { background: #33333a; }
.calc__legend { display: flex; gap: 16px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--d-muted); }
.calc__legend li { display: inline-flex; align-items: center; gap: 6px; }
.calc__legend li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.calc__legend li:nth-child(2)::before { background: #55555f; }
.calc__legend li:nth-child(3)::before { background: #33333a; }
.calc__outputs .btn { margin-top: auto; align-self: flex-start; margin-top: 30px; }
.calc__note { font-size: 12px; color: var(--d-muted); margin-top: 14px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Fulfillment
   -------------------------------------------------------------------------- */
.fulfil { display: grid; grid-template-columns: minmax(280px, 0.8fr) 2fr; gap: 20px; align-items: stretch; }
.pipeline { display: flex; flex-direction: column; gap: 0; padding: 32px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.pipe { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; position: relative; padding-bottom: 22px; }
.pipe:last-child { padding-bottom: 0; }
.pipe::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.pipe:last-child::before { display: none; }
.pipe i { width: 36px; height: 36px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; color: var(--ink); position: relative; z-index: 1; }
.pipe i svg { width: 16px; height: 16px; }
.pipe--hl i { background: var(--accent); border-color: var(--accent); color: #fff; }
.pipe strong { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); padding-top: 3px; }
.pipe span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.map { min-height: 520px; border-radius: var(--radius-l); }
.map__svg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.map__node { animation: nodePulse 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes nodePulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.map__arc { stroke-dasharray: 6 8; animation: arcMove 6s linear infinite; }
@keyframes arcMove { to { stroke-dashoffset: -140; } }
.map__caption { position: absolute; left: 22px; top: 22px; z-index: 2; max-width: 300px; }
.map__caption strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.map__caption span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 960px) { .fulfil { grid-template-columns: 1fr; } .map { min-height: 400px; } }

/* --------------------------------------------------------------------------
   White label
   -------------------------------------------------------------------------- */
.whitelabel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.whitelabel__box { aspect-ratio: 1.1; border-radius: var(--radius-xl); }
.whitelabel__box--img { aspect-ratio: 1; overflow: hidden; isolation: auto; background: #fff; }
.whitelabel__box--img::before, .whitelabel__box--img::after { display: none; }
.whitelabel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.whitelabel__box--img:hover .whitelabel__img { transform: scale(1.03); }
.wl-package { position: relative; z-index: 1; width: 56%; aspect-ratio: 1.3; border-radius: 12px; background: linear-gradient(160deg, #fbfbf9, #dcdcd6); box-shadow: 0 40px 70px -30px rgba(10,10,11,0.45), inset 0 0 0 1.5px rgba(10,10,11,0.18); display: grid; place-items: center; transform: rotate(-4deg); transition: transform 0.6s var(--ease); }
.whitelabel__box:hover .wl-package { transform: rotate(-1deg) translateY(-6px); }
.wl-package::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: rgba(10,10,11,0.15); }
.wl-package__logo { padding: 10px 18px; border: 1px dashed rgba(10,10,11,0.35); border-radius: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,0.7); position: relative; z-index: 1; }
.wl-list { display: grid; gap: 10px; margin: 30px 0 34px; }
.wl-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 15px; transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.wl-list li:hover { border-color: var(--ink); transform: translateX(4px); }
.wl-list li i { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: var(--accent-bright); display: grid; place-items: center; font-style: normal; flex-shrink: 0; }
.wl-list li i svg { width: 13px; height: 13px; }
@media (max-width: 900px) { .whitelabel { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Use cases
   -------------------------------------------------------------------------- */
.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.usecase { padding: 24px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: all var(--t) var(--ease); }
.usecase:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-3px); }
.usecase .h4 { transition: color var(--t) var(--ease); }
.usecase:hover .h4 { color: #fff; }
.usecase p { font-size: 13.5px; color: var(--muted); margin-top: 6px; transition: color var(--t) var(--ease); }
.usecase:hover p { color: rgba(255,255,255,0.65); }
.usecase__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.usecase:hover .usecase__n { color: var(--accent-bright); }
.usecase--cta { background: var(--accent); border-color: var(--accent); justify-content: center; align-items: flex-start; }
.usecase--cta:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.usecase--cta .h4, .usecase--cta:hover .h4 { color: #fff; }
.usecase--cta p, .usecase--cta:hover p { color: rgba(255,255,255,0.72) !important; }
@media (max-width: 1024px) { .usecases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .usecases { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testimonial { display: flex; flex-direction: column; gap: 22px; }
.testimonial__q { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.015em; line-height: 1.4; color: var(--ink); }
.testimonial__q::before { content: "“"; color: var(--accent-2); font-size: 36px; line-height: 0; vertical-align: -14px; margin-right: 4px; }
.testimonial__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; border: 1px dashed var(--line-2); background: var(--bg); display: grid; place-items: center; font-family: var(--font-mono); font-size: 9px; color: var(--muted-2); letter-spacing: 0.05em; }
.testimonial__who strong { display: block; font-size: 14px; font-weight: 600; }
.testimonial__who span { display: block; font-size: 12.5px; color: var(--muted); }
.testimonial__stars { display: flex; gap: 2px; color: var(--ink); }
.testimonial__stars svg { width: 14px; height: 14px; }
/* The same cards, holding a promise instead of a quote (#why). */
.testimonial .card__icon { margin-bottom: 0; }
.testimonial .h4 { margin-bottom: -12px; }
@media (max-width: 960px) { .testimonials { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
/* The question flows as one line of text and the + sits at the right. As a
   space-between flex row, every piece of it was a flex item: "Which iPhone",
   its ® and "models are available?" were spread across the width. */
.faq__q { width: 100%; display: block; position: relative; padding: 22px 48px 22px 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.015em; transition: color var(--t) var(--ease); }
.faq__q:hover { color: var(--muted); }
.faq__q i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-style: normal; position: absolute; right: 0; top: 50%; margin-top: -14px; transition: all var(--t) var(--ease); }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; background: currentColor; transition: transform var(--t) var(--ease); }
.faq__q i::before { width: 10px; height: 1.5px; }
.faq__q i::after { width: 1.5px; height: 10px; }
.faq__item.is-open .faq__q i { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq__item.is-open .faq__q i::after { transform: rotate(90deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); font-size: 15px; padding-bottom: 24px; max-width: 62ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__side { position: static; } }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final { position: relative; overflow: hidden; border-radius: var(--radius-xl); min-height: 560px; display: grid; place-items: center; text-align: center; padding: clamp(56px, 8vw, 120px) var(--gutter); }
.final { background: var(--ink); }
.final__media { position: absolute; inset: 0; z-index: 0; }
.final__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.final__shade { position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 55%, rgba(10,10,11,0.72), rgba(10,10,11,0.35) 60%, rgba(10,10,11,0.15) 100%); }
.final__inner { position: relative; z-index: 2; max-width: 760px; }
.final__inner .h1 { margin-bottom: 20px; color: #fff; }
.final__inner .lead { color: rgba(255,255,255,0.78); margin: 0 auto 36px; }
.final__inner .cta-row { justify-content: center; }
@media (max-width: 700px) { .final__shade { background: rgba(10,10,11,0.62); } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: clamp(56px, 6vw, 88px) 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; margin-bottom: 64px; }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 30ch; margin: 18px 0 24px; }
.footer__col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; font-weight: 500; }
.footer__col a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; transition: color var(--t) var(--ease); }
.footer__col a:hover { color: var(--ink); }
.social { display: flex; gap: 8px; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all var(--t) var(--ease); }
.social a:hover { color: var(--ink); border-color: var(--ink); }
.social svg { width: 16px; height: 16px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer__bottom .selects { margin: 0; }
.footer__bottom .select-pill select { border-color: var(--line); }
.footer__status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.footer__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
@media (max-width: 1100px) { .footer__top { grid-template-columns: repeat(3, 1fr); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */
.page-hero { padding: clamp(56px, 7vw, 100px) 0 clamp(40px, 5vw, 64px); }
.page-hero .breadcrumb { display: flex; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.page-hero .breadcrumb a:hover { color: var(--ink); }
.page-hero .h1 { max-width: 16ch; margin-bottom: 20px; }
.page-hero .lead { margin-bottom: 32px; }
.page-hero--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero__visual { aspect-ratio: 1.1; border-radius: var(--radius-xl); }
.page-hero__visual .phone { width: 40%; max-width: 220px; }
@media (max-width: 900px) { .page-hero--split { grid-template-columns: 1fr; } }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.spec { background: var(--surface); padding: 22px 24px; }
.spec span { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.spec strong { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.spec em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .specs { grid-template-columns: repeat(2, 1fr); } }
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: stretch; max-width: 960px; margin: 0 auto; }
.plan { padding: 32px; display: flex; flex-direction: column; }
.plan--hl { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan--hl .h3, .plan--hl .h4 { color: #fff; }
.plan--hl p, .plan--hl li { color: rgba(255,255,255,0.7); }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 44px; letter-spacing: -0.04em; margin: 22px 0 6px; }
.plan__price small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); font-family: var(--font-body); }
.plan--hl .plan__price small { color: rgba(255,255,255,0.6); }
.plan__year { margin: 0 0 14px; font-size: 14px; }
.plan--hl .plan__year { color: rgba(255,255,255,0.75); }
.plan--hl .plan__year b { color: #fff; font-weight: 600; }
/* Pricing: monthly / yearly switch above the plans. */
.billing { display: flex; gap: 4px; width: fit-content; margin: 0 auto 24px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.billing__opt { font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.billing__opt:hover { color: var(--ink); }
.billing__opt.is-on { background: var(--ink); color: #fff; }
.billing__opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.billing__save { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.billing__opt.is-on .billing__save { background: var(--accent); color: #fff; }
.plan ul { display: grid; gap: 10px; margin: 26px 0 30px; }
.plan li { font-size: 14.5px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.plan li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/8px no-repeat; flex-shrink: 0; }
.plan .btn { margin-top: auto; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* Samples (pricing): three figures, the rules in small print under them. */
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sample-fig { padding: 28px 26px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.sample-fig--hl { background: var(--accent-soft); border-color: transparent; }
.sample-fig__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sample-fig--hl .sample-fig__k { color: var(--accent-ink); }
.sample-fig__n { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5vw, 64px); letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.sample-fig__n small { font-size: 0.38em; font-weight: 700; letter-spacing: -0.02em; }
.sample-fig p { font-size: 14.5px; color: var(--muted); }
.sample-fig--hl p { color: var(--ink); }
.sample-rules { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--muted); }
.sample-rules li { display: flex; align-items: flex-start; gap: 8px; }
.sample-rules li::before { content: ""; width: 6px; height: 6px; margin-top: 0.55em; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
@media (max-width: 820px) { .samples { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; padding: 32px; }
.form .field input, .form .field textarea { height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; background: var(--bg); font-size: 15px; width: 100%; }
.form .field textarea { height: 140px; padding: 12px 14px; resize: vertical; }
.form .field input:focus, .form .field textarea:focus { border-color: var(--ink); outline: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* iOS Safari zooms into any field under 16px when it is tapped. */
@media (max-width: 760px) { .field input, .field select, .field textarea, .form .field input, .form .field textarea { font-size: 16px; } }
/* Contact form: what happened to the message, said where it was sent from. */
.form__status { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.form__status[data-kind="ok"] { background: var(--accent-soft); color: var(--accent-ink); }
.form__status[data-kind="bad"] { background: #fdecec; color: #a3261d; }
/* The field only a robot fills: off-screen, out of the tab order, read by nobody. */
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose p { color: var(--muted); margin-bottom: 18px; font-size: 16.5px; }
.prose h3 { margin: 36px 0 12px; }
.prose ul { list-style: disc; margin: 0 0 22px 22px; padding: 0; color: var(--muted); font-size: 16.5px; }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose li::marker { color: var(--accent); }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
/* Scroll reveal. Hidden only under html.js (set in <head>), so a page without
   script shows everything. 0.4 s at most, and short staggers: a section jumped
   to must not sit blank while it fades in. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > :nth-child(1) { transition-delay: 0.02s; }
.js .reveal-stagger.is-in > :nth-child(2) { transition-delay: 0.05s; }
.js .reveal-stagger.is-in > :nth-child(3) { transition-delay: 0.08s; }
.js .reveal-stagger.is-in > :nth-child(4) { transition-delay: 0.11s; }
.js .reveal-stagger.is-in > :nth-child(5) { transition-delay: 0.14s; }
.js .reveal-stagger.is-in > :nth-child(6) { transition-delay: 0.17s; }
.js .reveal-stagger.is-in > :nth-child(7) { transition-delay: 0.2s; }
.js .reveal-stagger.is-in > :nth-child(8) { transition-delay: 0.23s; }
.js .reveal-stagger.is-in > :nth-child(9) { transition-delay: 0.26s; }
.js .reveal-stagger.is-in > :nth-child(10) { transition-delay: 0.29s; }

.hero .reveal { animation: heroIn 1s var(--ease) both; transform: none; opacity: 1; }
.hero .reveal:nth-child(1) { animation-delay: 0.05s; }
.hero .reveal:nth-child(2) { animation-delay: 0.15s; }
.hero .reveal:nth-child(3) { animation-delay: 0.25s; }
.hero .reveal:nth-child(4) { animation-delay: 0.32s; }
.hero .reveal:nth-child(5) { animation-delay: 0.4s; }
.hero .reveal:nth-child(6) { animation-delay: 0.5s; }
.hero__visual.reveal { animation-delay: 0.3s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --------------------------------------------------------------------------
   Direct-to-consumer (informational): the designer lives in the account
   -------------------------------------------------------------------------- */
.d2c { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: stretch; }
.d2c__stage { min-height: 520px; border-radius: var(--radius-xl); }
.d2c__stage .phone { width: 40%; max-width: 250px; transform: rotate(-4deg); }
.d2c__steps { display: flex; flex-direction: column; gap: 10px; }
.d2c__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.d2c__steps li:hover { border-color: var(--ink); transform: translateX(4px); }
.d2c__steps li i { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--accent-bright); display: grid; place-items: center; font-style: normal; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; }
.d2c__steps li:first-child i { background: var(--accent); color: var(--on-accent); }
.d2c__steps strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.d2c__steps span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.ctrl__val { font-size: 14px; font-weight: 500; text-align: right; max-width: 60%; color: var(--ink); }
@media (max-width: 960px) { .d2c { grid-template-columns: 1fr; } .d2c__stage { min-height: 380px; } }

/* A real hero image in place of the placeholder: the frame stays (radius,
   soft edge), the grid, grain and label go. */
.hero__stage--img { aspect-ratio: 1; background: var(--bg); border: 0; border-radius: 0; box-shadow: none; overflow: hidden; isolation: isolate; }
.hero__stage--img::before, .hero__stage--img::after { display: none; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; mix-blend-mode: darken;
  /* fade the bottom AND both sides, so a floor shadow can never end at the image edge */
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, rgba(0,0,0,0.55) 90%, transparent 100%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, rgba(0,0,0,0.55) 90%, transparent 100%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
/* The visual gets no entrance animation: a filled opacity animation keeps a
   stacking context alive, which would isolate the image's darken blend. */
.hero__visual.reveal { animation: none; opacity: 1; transform: none; }

/* Real product photographs in the card media and the product-page hero. */
.product__media--img, .page-hero__visual--img { background: #fff; isolation: auto; }
.product__media--img::before, .product__media--img::after, .page-hero__visual--img::before, .page-hero__visual--img::after { display: none; }
.product__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.card:hover .product__img { transform: scale(1.03); }
.page-hero__visual--img { border-color: var(--line); }

/* Product cards: the blank case is the resting state; the printed design fades
   in on hover, so the card itself explains the product. */
.product__img--blank { transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.product__img--printed { opacity: 0; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.card:hover .product__img--printed, .page-hero__visual--img:hover .product__img--printed { opacity: 1; }
.product__media--img::after, .page-hero__visual--img::after { content: "Hover to see a design"; display: block; position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,0.85); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); backdrop-filter: blur(6px); transition: opacity var(--t) var(--ease); }
.card:hover .product__media--img::after, .page-hero__visual--img:hover::after { opacity: 0; }
@media (hover: none) { .product__img--printed { opacity: 1; } .product__media--img::after, .page-hero__visual--img::after { display: none; } }

/* Brand cards carry the manufacturer's word mark with ® in our own type — no
   third-party logo artwork, which none of them license to resellers. */
.brand__logo--mark { width: auto; min-width: 64px; padding: 0 16px; border: 1px solid var(--line); background: var(--bg); font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -0.02em; color: var(--ink); }
.brand__logo--mark sup, .reg { font-size: 0.5em; vertical-align: super; font-weight: 600; margin-left: 2px; line-height: 0; }
.footer__company { font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 18px; }
.footer__legal { font-size: 12px; color: var(--muted-2); line-height: 1.55; max-width: 110ch; margin-top: 18px; }
/* The hint is a small chip in the corner, not the .ph grain layer it overrides. */
.product__media--img::after, .page-hero__visual--img::after { top: auto; right: auto; width: auto; height: auto; opacity: 1; mix-blend-mode: normal; mask-image: none; -webkit-mask-image: none; }
/* Catalog-style product shots: straight-on, on white, shown whole (contain) with
   no overlays at all. The hover hint chip is gone. */
.product__media--img { background: #fff; }
.product__media--img .product__img, .page-hero__visual--img .product__img { object-fit: contain; padding: 4%; }
.product__media--img::after, .page-hero__visual--img::after { display: none !important; }

/* --------------------------------------------------------------------------
   Trust bar, v2: a dark band under the hero that names the platforms outright.
   -------------------------------------------------------------------------- */
.trust { padding: clamp(40px, 5vw, 64px) 0; background: var(--ink); color: #fff; border: 0; position: relative; overflow: hidden; }
.trust::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 50%, rgba(44,91,255,0.22), transparent 60%); pointer-events: none; }
.trust__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1.6fr; gap: 28px 48px; align-items: center; }
.trust__lead .eyebrow { color: var(--d-muted); margin-bottom: 12px; }
.trust__title { text-transform: none; letter-spacing: -0.03em; white-space: normal; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; line-height: 1.05; color: #fff; }
.trust__sub { color: var(--d-muted); font-size: 15px; margin-top: 8px; max-width: 40ch; }
.trust__logos { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
.trust .logo-ph { height: 56px; padding: 0 20px 0 12px; gap: 10px; border: 1px solid rgba(255,255,255,0.14); border-style: solid; background: rgba(255,255,255,0.06); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; border-radius: 14px; }
.trust .logo-ph i { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.trust .logo-ph i svg { width: 16px; height: 16px; }
.trust .logo-ph:hover { background: #fff; color: var(--ink); border-color: #fff; }
.trust__facts { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px; }
.trust__facts li { color: #fff; font-size: 14px; font-weight: 600; padding: 9px 14px 9px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); white-space: nowrap; }
.trust__facts li::before { background: var(--accent-bright); width: 7px; height: 7px; }
@media (max-width: 1024px) { .trust__inner { grid-template-columns: 1fr; text-align: left; gap: 22px; } .trust__facts { grid-column: 1; justify-content: flex-start; } }

/* Platform marks (the same drawings the merchant app's Stores page uses). */
.trust .logo-ph i.logo-ph__brand { background: #fff; }
.trust .logo-ph i.logo-ph__brand img { width: 22px; height: 22px; display: block; }
.integration__logo--brand { gap: 10px; padding: 0 16px 0 10px; border-style: solid; border-color: var(--line); background: var(--surface); font-size: 15px; letter-spacing: -0.01em; }
.integration__logo--brand img { width: 26px; height: 26px; display: block; }
.platform-hero { display: inline-flex; flex-direction: column; align-items: center; gap: 18px; padding: 36px 48px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(10,10,11,0.35); }
.platform-hero img { width: 88px; height: 88px; display: block; }
.platform-hero span { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.integration__logo--api i { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); color: #fff; }
.integration__logo--api i svg { width: 14px; height: 14px; }

/* Manufacturer marks with ® (Simple Icons artwork, ink-coloured). */
.brandmark { display: inline-flex; align-items: flex-start; gap: 2px; line-height: 0; }
.brandmark img { display: block; height: 30px; width: auto; }
.brandmark--samsung img { height: 16px; margin-top: 7px; }
.brandmark sup { font-family: var(--font-display); font-size: 11px; font-weight: 700; line-height: 1; color: var(--ink); margin-top: -2px; }
.brand__logo--img { width: 100%; height: 88px; min-width: 0; border: 1px solid var(--line); border-style: solid; border-radius: 18px; background: var(--bg); display: grid; place-items: center; }
.brand__logo--img .brandmark img { height: 38px; }
.brand__logo--img .brandmark--samsung img { height: 20px; margin-top: 9px; }
.card__icon--brand { width: auto; min-width: 44px; height: 44px; padding: 0 12px; background: var(--surface); }
.card__icon--brand .brandmark img { height: 22px; }
.card__icon--brand .brandmark--samsung img { height: 11px; margin-top: 5px; }
.spec__brands { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.brandmark--sm img { height: 18px; }
.brandmark--sm.brandmark--samsung img { height: 10px; margin-top: 4px; }
.brandmark--sm sup { font-size: 8px; }
.card__icon--brand { display: inline-flex; align-items: center; justify-content: center; }
.spec .brandmark { display: inline-flex; margin: 0; font-size: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
.spec .brandmark sup { font-size: 9px; margin-top: -3px; }

/* Product-family word marks with ® in place of manufacturer logos. */
.brand__logo--word { width: 100%; height: 88px; min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; color: var(--ink); }
.card__icon--word { display: inline-flex; width: auto; min-width: 44px; height: 44px; padding: 0 14px; background: var(--surface); font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.02em; color: var(--ink); }
.reg { font-size: 0.55em; vertical-align: super; line-height: 0; margin-left: 1px; font-weight: 600; }
.brand__logo--word small, .card__icon--word small { font-family: var(--font-body); font-weight: 500; font-size: 0.6em; letter-spacing: 0; color: var(--muted); margin-right: 4px; }
/* Small uppercase labels are flex rows; a ® would float off as its own item. */
.eyebrow .reg, .breadcrumb .reg { display: none; }

/* The Tullun part of the flow: one bracket around platform, production and fulfillment. */
.flow { padding-top: 44px; }
.flow__group { position: relative; display: flex; align-items: center; flex: 3 1 auto; padding: 22px 18px 16px; border: 1px solid rgba(125,155,255,0.35); border-radius: 20px; background: rgba(44,91,255,0.08); }
.flow__group-label { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.flow__link--ours { background: rgba(125,155,255,0.55); }
@media (max-width: 720px) {
  .flow { padding-top: 24px; }
  .flow__group { flex-direction: column; gap: 4px; flex: none; padding: 26px 22px 18px; margin: 14px 0 4px; }
}
.pipeline__note { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pipeline__note b { color: var(--accent-ink); }


/* --------------------------------------------------------------------------
   Live delivery map (inline SVG, Natural Earth land dots, Mercator)
   -------------------------------------------------------------------------- */
.map--live { position: relative; min-height: 0; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); overflow: hidden; padding: 96px 8px 8px; }
.map--live .map__caption { top: 22px; left: 24px; max-width: 420px; }
.gmap { width: 100%; height: auto; display: block; }
.gmap__land path { fill: none; stroke: #d9d9d3; stroke-width: 3.2; stroke-linecap: round; }
.gmap__route { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-opacity: 0.55; stroke-dasharray: 4 5; animation: gmapDash 1.4s linear infinite; }
@keyframes gmapDash { to { stroke-dashoffset: -18; } }
.gmap__ship { fill: var(--accent); filter: drop-shadow(0 0 6px rgba(44,91,255,0.9)); }
.gmap__hub { fill: var(--ink); stroke: #fff; stroke-width: 2; }
.gmap__hubring { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: gmapRing 2.4s ease-out infinite; }
@keyframes gmapRing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4); opacity: 0; } }
.gmap__hubglow { animation: gmapGlow 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes gmapGlow { 0%, 100% { transform: scale(.9); } 50% { transform: scale(1.15); } }
.gmap__dest { fill: #fff; stroke: var(--accent); stroke-width: 2.5; }
.gmap__tag rect { fill: rgba(255,255,255,0.92); stroke: var(--line); }
.gmap__tag text { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.08em; fill: var(--muted); }
.gmap__tag .gmap__days { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: -0.01em; fill: var(--ink); }
.gmap__tag--hub rect { fill: var(--ink); stroke: var(--ink); }
.gmap__tag--hub text { fill: rgba(255,255,255,0.7); }
.gmap__tag--hub .gmap__days { fill: #fff; }
@media (max-width: 960px) { .map--live { padding-top: 110px; } }
@media (prefers-reduced-motion: reduce) { .gmap__route, .gmap__hubring, .gmap__hubglow { animation: none; } }
.map--live { display: flex; flex-direction: column; justify-content: center; }


/* Delivery map, light edition: a clean dot map with country codes, and the
   numbers in a stats strip underneath. */
.pipeline { padding: 24px; }
.pipe { padding-bottom: 16px; }
.pipeline__note { font-size: 13px; margin-bottom: 16px; padding-bottom: 14px; }
@media (max-width: 960px) { .fulfil { grid-template-columns: 1fr; } }
.map--live { padding: 104px 0 16px; justify-content: flex-start; gap: 8px; background: var(--surface); }
.map--live::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 78% 45%, rgba(44,91,255,0.10), transparent 70%); pointer-events: none; }
.map--live .gmap { position: relative; z-index: 1; padding: 0 12px; }
.gmap__land path { stroke: #dcdcd6; }
.gmap__code rect { fill: #fff; stroke: var(--line); }
.gmap__code text { font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.06em; fill: var(--ink); text-anchor: middle; }
.gmap__hublabel { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; fill: var(--ink); font-weight: 500; }
.mapstats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 8px 16px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.mapstats__item { padding: 14px 14px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mapstats__item i { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--muted); }
.mapstats__item b { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; line-height: 1; color: var(--ink); white-space: nowrap; }
.mapstats__item b small { font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.mapstats__item span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.mapstats__item em { font-style: normal; font-size: 11.5px; color: rgba(255,255,255,0.7); }
.mapstats__item--hub { background: var(--accent); border-color: var(--accent); }
.mapstats__item--hub b, .mapstats__item--hub span { color: #fff; }
.mapstats__item--hub b small { color: rgba(255,255,255,0.75); }
@media (max-width: 1200px) { .mapstats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .mapstats { grid-template-columns: repeat(2, 1fr); } .map--live { padding-top: 120px; } }

/* --------------------------------------------------------------------------
   Delivery band: full-bleed dot map on a Higgsfield paper backdrop, copy on
   the left, and a moving shipment ticker along the bottom.
   -------------------------------------------------------------------------- */
.pipeline-row .pipeline { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; padding: 22px 24px; }
.pipeline-row .pipe { grid-template-columns: 1fr; gap: 10px; padding-bottom: 0; }
.pipeline-row .pipe::before { display: none; }
.pipeline-row .pipeline__note { grid-column: 1 / -1; margin-bottom: 4px; padding-bottom: 14px; }
.delivery { --dl: max(var(--gutter), calc(50vw - 720px + var(--gutter))); position: relative; width: 100vw; margin: 40px 0 0 calc(50% - 50vw); overflow: hidden; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 100%; grid-template-rows: auto auto; }
.delivery__bg { position: absolute; inset: 0; background: url("/assets/img/map/backdrop.jpg") center/cover no-repeat;
  background-image: image-set(url("/assets/img/map/backdrop.webp") type("image/webp"), url("/assets/img/map/backdrop.jpg") type("image/jpeg")); opacity: 0.9; }
.delivery .gmap { grid-row: 1; grid-column: 1; align-self: end; position: relative; z-index: 1; width: 100%; height: auto; display: block; }
.delivery .gmap__land path { stroke: #cfcfc8; stroke-width: 3.6; }
.delivery .gmap__route { stroke: var(--accent); stroke-opacity: 0.6; stroke-width: 1.6; }
.delivery .gmap__dest { fill: #fff; stroke: var(--accent); stroke-width: 2.5; }
.delivery__copy { grid-row: 1; grid-column: 1; align-self: start; justify-self: start; position: relative; z-index: 2; box-sizing: border-box; padding: clamp(48px, 6vw, 110px) 24px 120px var(--dl); max-width: calc(440px + var(--dl) + 24px); }
.delivery__copy .h2 { margin-top: 4px; }
.delivery__copy .lead { margin-top: 18px; font-size: 17px; }
.delivery__copy .lead b { color: var(--ink); }
.ticker { grid-row: 2; grid-column: 1; position: relative; z-index: 2; margin-top: -84px; padding-bottom: 24px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; gap: 14px; width: max-content; animation: tickerMove 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tickerMove { to { transform: translateX(-50%); } }
.ship { flex: none; width: 260px; padding: 14px 16px 12px; border-radius: 14px; background: rgba(255,255,255,0.92); border: 1px solid var(--line); backdrop-filter: blur(6px); box-shadow: 0 20px 40px -30px rgba(10,10,11,0.35); }
.ship__route { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.ship__route i { flex: 1; height: 1px; background: var(--line-2); position: relative; }
.ship__route i::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-top: 1.5px solid var(--ink); transform: rotate(45deg); }
.ship__meta { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.ship__meta strong { color: var(--ink); font-weight: 700; }
.ship__bar { display: block; margin-top: 10px; height: 4px; border-radius: 2px; background: var(--bg-2); overflow: hidden; position: relative; }
.ship__bar i { position: absolute; left: 0; top: 0; height: 100%; width: 40%; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent)); animation: shipMove 3.2s ease-in-out infinite; }
.ship:nth-child(2n) .ship__bar i { animation-delay: -1.1s; } .ship:nth-child(3n) .ship__bar i { animation-delay: -2s; }
@keyframes shipMove { 0% { left: -40%; } 100% { left: 100%; } }
@media (max-width: 1100px) { .pipeline-row .pipeline { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px) {
  .delivery { padding-top: 24px; }
  .delivery__copy { position: static; max-width: none; padding: 0 var(--gutter) 12px; }
  .delivery .gmap { min-height: 220px; }
  .ticker { position: static; margin: 14px 0 22px; padding-bottom: 0; }
}
@media (max-width: 640px) { .pipeline-row .pipeline { grid-template-columns: repeat(2, 1fr); } .ship { width: 220px; } }
@media (prefers-reduced-motion: reduce) { .ticker__track, .ship__bar i { animation: none; } }
@media (max-width: 960px) {
  .delivery { display: flex; flex-direction: column; }
  .delivery__copy { position: relative; z-index: 2; order: -1; }
}

/* --------------------------------------------------------------------------
   Production film: full-bleed looping video of UV printing, copy on top.
   -------------------------------------------------------------------------- */
.film { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: clamp(420px, 72vh, 760px); overflow: hidden; background: var(--d-bg); color: #fff; }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,13,0.72) 0%, rgba(11,11,13,0.35) 45%, rgba(11,11,13,0.05) 75%), linear-gradient(180deg, rgba(11,11,13,0.1), rgba(11,11,13,0.55)); }
.film__copy { position: absolute; z-index: 2; left: max(var(--gutter), calc(50vw - 720px + var(--gutter))); bottom: 18%; max-width: 520px; }
.film__copy .eyebrow { color: rgba(255,255,255,0.7); }
.film__copy .h2 { color: #fff; }
.film__copy .lead { color: rgba(255,255,255,0.78); margin-top: 18px; }
.film__chips { position: absolute; z-index: 2; right: max(var(--gutter), calc(50vw - 720px + var(--gutter))); bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.film__chips span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22); background: rgba(11,11,13,0.35); backdrop-filter: blur(6px); color: rgba(255,255,255,0.85); }
@media (max-width: 960px) { .film { height: clamp(460px, 80vh, 640px); } .film__copy { bottom: 22%; right: var(--gutter); } .film__chips { left: var(--gutter); justify-content: flex-start; } }

/* Comparison table */
/* The workshop section: the film, then the photographs and quality points under it
   (Production and Quality were one section from 14 Oct 2026). */
.workshop__more { margin-top: clamp(40px, 6vw, 72px); }

.vs { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--card); box-shadow: 0 30px 60px -40px rgba(10,10,11,0.25); }
.vs__table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.vs__table th, .vs__table td { padding: 20px 24px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); }
.vs__table th:first-child, .vs__table td:first-child { text-align: left; }
.vs__table thead th { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); padding-top: 26px; padding-bottom: 26px; }
.vs__table thead th:first-child { font-size: 15px; color: var(--muted); font-weight: 600; }
.vs__table tbody th { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); width: 34%; background: var(--card, var(--bg)); position: sticky; left: 0; z-index: 1; }
.vs__table tbody tr:nth-child(even) th, .vs__table tbody tr:nth-child(even) td { background: var(--surface); }
.vs__table .vs__us { background: var(--accent-soft) !important; border-left: 1px solid rgba(44,91,255,0.15); border-right: 1px solid rgba(44,91,255,0.15); }
.vs__table tbody tr:nth-child(even) .vs__us { background: #D3DDFF !important; }
.vs__table tfoot td { border-bottom: 0; padding: 22px 24px; }
.vs__table tfoot td:first-child { border-bottom-left-radius: var(--radius-xl); }
.vs__logo { height: 34px; width: auto; display: inline-block; vertical-align: middle; }
.vs__yes, .vs__no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; vertical-align: middle; }
.vs__yes svg, .vs__no svg { width: 14px; height: 14px; }
.vs__yes { background: var(--accent); color: var(--on-accent); }
td:not(.vs__us) .vs__yes { background: var(--accent-soft); color: var(--accent-ink); }
.vs__no { background: #ECECE8; color: #7A7A82; }
.vs__no svg { width: 12px; height: 12px; }
.vs__val { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.vs__sub { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.vs__note { margin: 18px auto 0; font-size: 12.5px; color: var(--muted); max-width: 820px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 700px) { .vs__table { min-width: 640px; font-size: 14px; } .vs__table th, .vs__table td { padding: 14px 16px; } .vs__table thead th { font-size: 15px; } .vs__logo { height: 28px; } }
/* On a phone the feature names stay put (narrower, and in the head and foot
   too) while the platforms slide under them, and a line says they slide. */
/* Shown by main.js while the table is wider than its box, on a tablet as on a
   phone: it used to wait for a phone's width while the table already scrolled. */
.vs__swipe { margin: 0 0 10px; text-align: right; font-size: 13px; font-weight: 600; color: var(--muted); }
.vs__swipe[hidden] { display: none; }
@media (max-width: 700px) {
  .vs__table tbody th { width: 132px; min-width: 132px; }
  .vs__table thead th:first-child, .vs__table tfoot td:first-child { position: sticky; left: 0; z-index: 2; background: var(--card, var(--bg)); }
}

/* Placeholder turned photo */
.ph--photo { isolation: auto; background: #fff; overflow: hidden; }
.ph--photo::before, .ph--photo::after { display: none; }
.ph--photo > img, .ph--photo > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.ph--photo:hover > img, .ph--photo:hover > picture > img { transform: scale(1.03); }
.design.ph--photo .design__name { color: #fff; text-shadow: 0 1px 12px rgba(10,10,11,0.55); padding: 6px 10px; border-radius: 999px; background: rgba(10,10,11,0.35); backdrop-filter: blur(6px); font-size: 14px; top: 12px; left: 12px; }

/* Hero news pill: the Tullun tile on the left, one news line at a time
   sliding through on a 6 s loop; every loop shows the next line. */
.promo { --t: 6s; position: relative; display: block; width: min(560px, 100%); height: 40px; border-radius: 999px; background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--ink); box-shadow: var(--shadow); margin-bottom: 30px; cursor: default; }
.promo > * { position: absolute; top: 5px; height: 28px; }
.promo__badge { left: 5px; width: 52px; display: grid; place-items: center; border-radius: 9px; background: #fff; border: 1px solid var(--line); box-sizing: border-box; }
.promo__badge img { width: 22px; height: 22px; display: block; }
/* Every line sits in the same place; the next one rises in while the last
   one leaves, so the pill is never an empty white bar between lines. */
.promo__text { left: 72px; right: 14px; overflow: hidden; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.promo__news { position: absolute; left: 0; right: 0; top: 50%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(calc(-50% + 12px)); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.promo__news.is-on { opacity: 1; transform: translateY(-50%); }
.promo__news.is-off { opacity: 0; transform: translateY(calc(-50% - 12px)); }
@media (max-width: 640px) {
  .promo { height: 46px; }
  .promo > * { height: 36px; }
  .promo__text { left: 66px; font-size: 13px; line-height: 1.25; }
  .promo__news { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media (prefers-reduced-motion: reduce) { .promo__news { transition: none; } }

/* Integrations: a card opens its details in place instead of leaving the page */
button.integration { font: inherit; text-align: left; width: 100%; cursor: pointer; color: inherit; }
.integration.is-active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.integ-detail { margin-top: 20px; }
.integ-pane { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 28px 32px 30px; animation: integIn 0.35s var(--ease); }
@keyframes integIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.integ-pane__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.integ-pane__head .integration__status { margin: 0; }
.integ-pane__close { margin-left: auto; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; }
.integ-pane__close:hover { color: var(--ink); border-color: var(--ink); }
.integ-pane__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }
.integ-pane__grid .eyebrow { margin-bottom: 12px; }
.integ-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.integ-steps li { position: relative; padding-left: 44px; counter-increment: step; }
.integ-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; }
.integ-steps b, .integ-syncs b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.integ-steps span, .integ-syncs span { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
.integ-syncs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.integ-syncs li { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.integ-pane__foot { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .integ-pane { padding: 22px 20px; } .integ-pane__grid { grid-template-columns: 1fr; gap: 24px; } }
@media (prefers-reduced-motion: reduce) { .integ-pane { animation: none; } }

/* Product page: gallery with a thumbnail rail, the facts beside it, tabs below */
.pdp { padding-top: 32px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pdp__gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; position: sticky; top: 96px; }
.pdp__thumbs { display: flex; flex-direction: column; gap: 10px; }
/* Beside the main picture, more pictures than fit scroll in the rail rather
   than stretching the gallery below it (12 Oct 2026, the catalogue's printed
   pictures). contain: size lets the main picture alone set the height; the
   1px padding keeps the picked thumb's ring from being cut. */
@media (min-width: 641px) {
  .pdp__gallery { grid-template-columns: 78px minmax(0, 1fr); }
  .pdp__thumbs { contain: size; overflow-y: auto; padding: 1px; scrollbar-width: none; }
  .pdp__thumb { flex: none; }
  .pdp__thumbs::-webkit-scrollbar { display: none; }
}
.pdp__thumb { width: 76px; aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: #fff; overflow: hidden; padding: 0; cursor: pointer; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__thumb:hover { border-color: var(--edge); }
.pdp__thumb.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pdp__main { border-radius: var(--radius-xl); border: 1px solid var(--line); background: #fff; overflow: hidden; aspect-ratio: 1; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; display: block; animation: pdpIn 0.3s var(--ease); }
@keyframes pdpIn { from { opacity: 0.4; } to { opacity: 1; } }
.pdp__title { margin-top: 8px; }
.pdp__info .lead { margin-top: 16px; }
.pdp__facts { margin: 28px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pdp__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pdp__facts dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.pdp__facts dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.pdp__facts dd a { text-decoration: underline; text-underline-offset: 3px; }
.pdp__info .cta-row { margin-top: 26px; }
.pdp__note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.pdp-tabs { border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--card); overflow: hidden; }
.pdp-tabs__bar { display: flex; gap: 4px; padding: 10px 12px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.pdp-tabs__bar button { padding: 12px 16px; border: 0; background: none; font: inherit; font-weight: 600; font-size: 14.5px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; cursor: pointer; }
.pdp-tabs__bar button:hover { color: var(--ink); }
.pdp-tabs__bar button.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.pdp-tabs__panel { padding: 28px 32px 32px; }
.pdp-tabs__panel p { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 72ch; margin-bottom: 14px; }
.pdp-tabs__panel p b { color: var(--ink); }
.pdp-list { list-style: disc; margin: 0 0 18px 20px; padding: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; columns: 2; column-gap: 40px; }
.pdp-list li { break-inside: avoid; margin-bottom: 6px; }
.pdp__small { font-size: 13px !important; }
.pdp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pdp-cols .eyebrow { margin-bottom: 12px; }
.pdp-kv { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.pdp-kv li { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.pdp-kv b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.pdp-kv span { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1024px) { .pdp__grid { grid-template-columns: 1fr; } .pdp__gallery { position: static; } }
@media (max-width: 640px) { .pdp__gallery { grid-template-columns: 1fr; } .pdp__thumbs { flex-direction: row; order: 2; overflow-x: auto; } .pdp__thumb { flex: none; width: 64px; } .pdp__facts div { grid-template-columns: 1fr; gap: 4px; } .pdp-tabs__panel { padding: 20px 18px; } .pdp-cols { grid-template-columns: 1fr; gap: 24px; } .pdp-list { columns: 1; } }

/* Product page: the models the case is made for, grouped by series, newest first */
.pdp-models { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.pdp-models__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pdp-models__head .eyebrow { margin: 0; }
.pdp-models__count { font-size: 12.5px; color: var(--muted); }
.pdp-models__groups { display: grid; gap: 14px; }
.pdp-models__group h4 { margin: 0 0 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pdp-models__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.pdp-models__chips span { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.pdp-models__toggle { margin-top: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; font: inherit; font-weight: 600; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.pdp-models__toggle:hover { background: var(--ink); color: #fff; }

/* Integrations hub: one page, a channel picker, a full guide per channel */
.ihub__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 40px; }
.ihub__tab { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 18px 16px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--card); font: inherit; text-align: left; cursor: pointer; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.ihub__tab .integration__logo { margin: 0; }
.ihub__tab-status { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ihub__tab:hover { border-color: var(--edge); transform: translateY(-2px); }
.ihub__tab.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ihub__intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ihub__intro .lead { margin-top: 18px; }
.ihub__intro .cta-row { margin-top: 26px; }
.ihub__facts { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: var(--card); font-size: 14px; }
.ihub__facts th, .ihub__facts td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.5; }
.ihub__facts tr:last-child th, .ihub__facts tr:last-child td { border-bottom: 0; }
.ihub__facts th { width: 40%; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-top: 14px; background: var(--surface); }
.ihub__facts td { color: var(--ink-2); }
.ihub__why p { margin-top: 6px; }
.ihub__two { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); margin-top: 56px; align-items: start; }
.ihub__two .eyebrow { margin-bottom: 14px; }
.ihub__two .faq__list { border-top: 1px solid var(--line); }
.ihub__two .faq__q { font-size: 16px; padding: 18px 44px 18px 0; }
.ihub__note { margin-top: 28px; font-size: 12.5px; color: var(--muted); }
.ihub__cta { margin-top: 56px; padding: 40px; border-radius: var(--radius-xl); background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ihub__cta .h2 { color: #fff; margin: 0; font-size: clamp(24px, 3vw, 34px); }
@media (max-width: 960px) { .ihub__tabs { grid-template-columns: repeat(2, 1fr); } .ihub__intro, .ihub__two { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ihub__tabs { grid-template-columns: 1fr; } .ihub__cta { padding: 28px 22px; } }

/* ==========================================================================
   The corner helper — quick answers, then a message to a person.
   Under the header and the mobile drawer (z 90–100), above the page.
   ========================================================================== */
.help { position: fixed; right: 28px; bottom: 28px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
/* The panel swaps halves with the hidden attribute; the flex rules below would otherwise override it. */
.help [hidden] { display: none !important; }
/* Cobalt rather than ink: the page runs through dark bands, and an ink button would vanish on them. */
.help-open { position: relative; width: 60px; height: 60px; border-radius: 999px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 18px 36px -14px rgba(20,40,140,0.6); transition: transform var(--t) var(--ease), background var(--t) var(--ease); }
.help-open:hover { transform: translateY(-3px); background: var(--accent-2); }
.help-open:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.help-panel { width: min(360px, calc(100vw - 40px)); border-radius: var(--radius-l); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(10,10,11,0.45); animation: helpIn 0.35s var(--ease); }
@keyframes helpIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.help-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: #fff; }
.help-head__badge { flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.help-head__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.help-head__who b { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.help-head__who span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--d-muted); }
.help-head__shut { margin-left: auto; width: 32px; height: 32px; border-radius: 999px; background: rgba(255,255,255,0.12); color: #fff; display: grid; place-items: center; transition: background var(--t) var(--ease); }
.help-head__shut:hover { background: rgba(255,255,255,0.24); }

.help-list { height: 290px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.help-row { display: flex; }
.help-row--you { justify-content: flex-end; }
.help-bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.5; }
.help-row--them .help-bubble { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.help-row--you .help-bubble { background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 6px; }
.help-row.is-thinking .help-bubble { letter-spacing: 0.2em; color: var(--muted); }

.help-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 14px; background: var(--bg); }
.help-chips button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 12.5px; color: var(--ink); transition: border-color var(--t) var(--ease); }
.help-chips button:hover { border-color: var(--ink); }
.help-chips .help-ask { width: 100%; margin-top: 4px; border-radius: 12px; padding: 9px 12px; font-weight: 600; color: var(--accent-ink); border-color: var(--accent-soft); background: var(--accent-soft); }
.help-chips .help-ask:hover { border-color: var(--accent); }

.help-foot { display: flex; gap: 8px; padding: 12px; background: var(--surface); border-top: 1px solid var(--line); }
.help-foot input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; color: var(--ink); }
.help-foot input:focus { outline: none; border-color: var(--ink); }
.help-foot button { width: 40px; height: 40px; flex: none; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; }

.help-write { padding: 16px; background: var(--bg); overflow-y: auto; max-height: min(62vh, 470px); }
.help-form { display: flex; flex-direction: column; gap: 4px; }
.help-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.help-form input, .help-form select, .help-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font-size: 14px; color: var(--ink); }
.help-form textarea { resize: vertical; min-height: 92px; }
.help-form input:focus, .help-form select:focus, .help-form textarea:focus { outline: none; border-color: var(--ink); }
/* Off-screen rather than display:none — a field that is not rendered is one nothing fills in. */
.help-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.help-send { margin-top: 14px; width: 100%; padding: 12px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-weight: 700; font-size: 14px; transition: background var(--t) var(--ease); }
.help-send:hover:not(:disabled) { background: var(--accent-2); }
.help-send:disabled { background: var(--bg-2); color: var(--muted-2); cursor: not-allowed; }
.help-bad { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: #b3261e; }
.help-or { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.help-or a { color: var(--ink); border-bottom: 1px solid var(--line-2); }

.help-sent { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 6px 0; }
.help-sent__tick { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 17px; }
.help-sent b { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.help-sent p { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.help-again { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13px; }
.help-again:hover { border-color: var(--ink); }

@media (max-width: 720px) {
  .help { right: 16px; bottom: 16px; }
  .help-open { width: 54px; height: 54px; }
  .help-list { height: 44vh; }
}
@media (prefers-reduced-motion: reduce) { .help-panel { animation: none; } }

/* ── The cookie choice ─────────────────────────────────────────────────── */
/* Bottom left, so it never fights the helper in the other corner. It is a
   choice, not a wall: the site stays usable while it is up. */
.cookies { position: fixed; left: 24px; bottom: 24px; z-index: 90; width: min(420px, calc(100vw - 32px));
  background: var(--card, #fff); color: var(--ink, #0a0a0b); border: 1px solid var(--line, #e6e6e9);
  border-radius: var(--r, 16px); box-shadow: 0 26px 60px -26px rgba(10,10,11,.5); padding: 16px 18px 14px; }
.cookies[hidden] { display: none; }
.cookies-say b { display: block; font-size: 15px; font-weight: 650; margin-bottom: 4px; }
.cookies-say p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted, #52525b); }
.cookies-say a { color: inherit; text-decoration: underline; }
.cookies-do { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.cookies-do button { font: inherit; font-size: 13.5px; cursor: pointer; border-radius: 10px; padding: 9px 16px; }
.cookies-no { border: 1px solid var(--line, #e6e6e9); background: transparent; color: var(--ink, #0a0a0b); }
.cookies-no:hover { background: var(--paper, #f6f6f7); }
.cookies-yes { border: 0; background: var(--ink, #0a0a0b); color: var(--paper, #fff); font-weight: 550; }
.cookies-yes:hover { filter: brightness(1.2); }
.cookies-do button:focus-visible { outline: 2px solid var(--accent, #3b5bfd); outline-offset: 2px; }

/* On a phone it runs the width of the screen, so the helper steps above it
   for as long as it is up. */
@media (max-width: 700px) {
  .cookies { left: 16px; right: 16px; bottom: 16px; width: auto; }
  body.has-cookie-bar .help { bottom: calc(16px + 190px); }
}

/* Legal hub: one card per document, each opening the full text. */
.legal-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.legal-doc { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.legal-doc:hover { border-color: var(--line-2); transform: translateY(-2px); }
.legal-doc:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.legal-doc p { color: var(--muted); margin: 0; }
.legal-doc .link { margin-top: auto; padding-top: 8px; }
@media (max-width: 960px) { .legal-docs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .legal-docs { grid-template-columns: 1fr; } }

/* Help topics: each tile opens the page that answers it (analysis, 15 Oct 2026). */
.help-topic { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.help-topic:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.help-topic .link { margin-top: auto; padding-top: 14px; }

/* ---------- Shopify set apart: the main channel, in the section's own glass ---------- */
.trust__channels { display: grid; gap: 12px; }
.trust__shopify { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 18px 22px 18px 18px; border-radius: 18px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.16); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.trust__shopify:hover { border-color: rgba(255,255,255,0.32); background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06)); transform: translateY(-1px); }
.trust__shopify-icon { width: 76px; height: 76px; border-radius: 18px; background: #fff; display: grid; place-items: center; flex: none;
  box-shadow: 0 10px 30px -12px rgba(149,191,71,0.55); }
.trust__shopify-icon img { width: 44px; height: 44px; display: block; }
.trust__shopify-text { display: grid; gap: 4px; min-width: 0; }
.trust__shopify-text strong { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.trust__shopify-line { font-size: 16px; font-weight: 600; color: #fff; }
.trust__shopify-sub { font-size: 14px; line-height: 1.5; color: var(--d-muted); }
.trust__shopify-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid rgba(255,255,255,0.2); color: #fff; transition: background .2s ease, color .2s ease; }
.trust__shopify-go svg { width: 16px; height: 16px; }
.trust__shopify:hover .trust__shopify-go { background: #fff; color: var(--ink); }
@media (max-width: 640px) { .trust__shopify { grid-template-columns: auto minmax(0, 1fr); } .trust__shopify-go { display: none; }
  .trust__shopify-icon { width: 60px; height: 60px; border-radius: 15px; } .trust__shopify-icon img { width: 36px; height: 36px; } }
@media (prefers-reduced-motion: reduce) { .trust__shopify { transition: none; } }
.trust .trust__logos { align-items: center; }
.trust .trust__logos .logo-ph { height: 46px; font-size: 15px; }
.trust .trust__logos .logo-ph i { width: 28px; height: 28px; }

/* The Integrations menu: platform logos on white, Shopify first. */
.mega__link .mega__icon--brand { background: #fff; border: 1px solid var(--line); }
.mega__link .mega__icon--brand img { width: 22px; height: 22px; display: block; }

/* Shopify leads the channel cards: the one with personalisation and design options. */

/* The price on a product card: the list price, and what Growth takes it to.
   Pinned to the foot of the card so a row of cards lines up. */
.product__price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.product__price strong { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.product__price .product__growth { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
  color: var(--accent); background: rgba(44,91,255,0.09); border-radius: 999px; padding: 4px 10px; }
.product__price .product__growth::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.product__price small { font-size: 13px; color: var(--muted); margin-left: auto; }
.pdp-growth { display: inline-block; font-weight: 700; color: var(--accent); background: rgba(44,91,255,0.09);
  border-radius: 999px; padding: 1px 9px; margin: 0 2px; white-space: nowrap; }

/* A badge where one is true: Bestseller, Most protection, Carabiner included. */
.product__media { position: relative; }
.product__badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px 6px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.01em; line-height: 1;
  background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 18px -10px rgba(10,10,11,0.35); }
.product__badge svg { width: 14px; height: 14px; flex: none; }
.product__badge--best { background: var(--ink); color: #fff; border-color: var(--ink); }
.product__badge--best svg { color: #ffc53d; }
.product__badge--tough svg, .product__badge--extra svg { color: var(--accent); }
.pdp__info .product__badge { position: static; margin: 4px 12px 12px 0; box-shadow: none; vertical-align: middle; }

/* Phone touch targets for the footer, kept last so they win over the footer
   rules above (same specificity, so the later rule decides). */
@media (max-width: 760px) {
  .social a { width: 44px; height: 44px; }
  .footer__col a { padding: 11px 0; }
}

/* ==========================================================================
   Readable sizes (analysis, 14 Oct 2026: text a visitor reads went down to
   10.5 px in places). Nothing they read is under 13 px; the lettering inside
   pictures (map labels, mock screens, logos, ® marks, the hero's chips)
   keeps its size.
   ========================================================================== */
.mono,
.eyebrow,
.mega__col-title,
.mega__link span,
.trust__title,
.filters__title,
.filters__opt em,
.product__tag,
.brand__devices span,
.step__num,
.feature__k,
.integration__status,
.customizer__chip span,
.cstep__num,
.upload span,
.upload__file,
.compare__title span,
.field label output,
.calc__hero span,
.calc__legend,
.calc__note,
.usecase__n,
.testimonial__who span,
.footer__col h5,
.footer__status,
.page-hero .breadcrumb,
.spec span,
.billing__save,
.sample-fig__k,
.d2c__steps li i,
.footer__legal,
.mapstats__item b small,
.mapstats__item span,
.mapstats__item em,
.film__chips span,
.vs__sub,
.vs__note,
.integ-steps li::before,
.pdp__facts dt,
.pdp-models__count,
.pdp-models__group h4,
.ihub__tab-status,
.ihub__facts th,
.ihub__note,
.help-head__who span,
.help-chips button,
.help-k,
.help-or,
.product__badge { font-size: 13px; }

/* "Example" on pictures of made-up designs (main.js; owner, 16 Oct 2026). */
.eg-box { position: relative; }
.eg { position: absolute; left: 12px; bottom: 12px; z-index: 3; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,0.88); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 10.5px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); pointer-events: none; backdrop-filter: blur(6px); }
.product__media--img > .eg, .page-hero__visual--img > .eg { opacity: 0; transition: opacity 0.5s var(--ease); }
.card:hover .product__media--img > .eg, .page-hero__visual--img:hover > .eg { opacity: 1; }
@media (hover: none) { .product__media--img > .eg, .page-hero__visual--img > .eg { opacity: 1; } }

/* Shopify "Coming soon" until Shopify approves the app (owner, 18 Oct 2026).
   The pages carry both states. The app marks <html data-shopify="live"> once
   SHOPIFY_APP_APPROVED is on (WwwController), and the "soon" parts go; if
   that ever fails, "Coming soon" stays, which is the honest side to fail on. */
html:not([data-shopify="live"]) .shopify-live,
html[data-shopify="live"] .shopify-soon { display: none; }
.soon-pill { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 8px; border-radius: 999px; border: 1px solid currentColor; font-family: var(--font-mono); font-size: 10px; font-weight: 500; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; opacity: 0.75; }
.soon-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; max-width: 560px; margin: -14px 0 28px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.soon-note .soon-pill { margin-left: 0; }

/* Three cards ("Other integrations" on an integration page) sit centred, at the
   four-card width, instead of leaving a gap on the right (owner, 18 Oct 2026).
   Narrower screens keep the two- and one-column grid. */
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }
@media (min-width: 1025px) {
  .integrations--three { grid-template-columns: repeat(3, calc((100% - 48px) / 4)); justify-content: center; }
}
