/*
 * ID Photo JP — the product site of an offline Japanese ID photo (証明写真) app.
 *
 * The app's own design decides this file (SPEC §7):
 *
 *   - White, or a very light grey, with ONE blue: #1E6FF1. Every button, link
 *     and guide line is that blue.
 *   - Green (#22C55E in the app) means "this check passed", and only that.
 *   - Pro is a small light-blue badge with blue text, as in the app.
 *   - A photo is paper: every drawn ID photo and print sheet stays white in
 *     dark mode too, because a printed photo does not change with your screen.
 *
 * No web font is loaded, on purpose: a site that promises your face never
 * leaves your phone should not open with a request to a font CDN. The stacks
 * reach each platform's own Japanese faces.
 */

/* -------------------------------------------------------------------------
 * Colour modes — three blocks, and the order is the mechanism.
 *
 *   1. `:root`                      — LIGHT, the base.
 *   2. `prefers-color-scheme: dark` — the OS, while the visitor has not
 *                                     explicitly chosen light.
 *   3. `[data-theme="dark"]`        — an explicit choice, which beats the OS.
 *
 * The dark tokens are written twice, in 2 and 3. Keep the two lists identical —
 * build.mjs refuses to build when they drift.
 * ---------------------------------------------------------------------- */

:root {
  --ip-accent: #1e6ff1;
  --ip-on-accent: #ffffff;

  --ip-radius: 16px;
  --ip-radius-sm: 12px;
  --ip-radius-lg: 22px;
  --ip-pill: 999px;

  --ip-header-h: 62px;
  --ip-band: clamp(56px, 6vw, 100px);
  --ip-band-sm: clamp(28px, 3vw, 44px);
  --ip-head-gap: clamp(26px, 3vw, 44px);
  --ip-doc-gap: 38px;

  --ip-font: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI",
    "Yu Gothic", Meiryo, "Segoe UI", Roboto, sans-serif;

  /* The app's fixed colours. */
  --ip-cam: #0b0f17;
  --ip-wall: #dfe6ef;
  --ip-pass: #22c55e;

  --ip-bg: #f6f8fc;
  --ip-surface: #ffffff;
  --ip-panel: #ffffff;
  --ip-panel-2: #eef3fb;
  --ip-tint: #eff4fc;
  --ip-line: #e2e8f1;
  --ip-ink: #0f172a;
  --ip-muted: #5a6477;
  --ip-accent-2: #3b82f6;
  --ip-accent-text: #1459cc;
  --ip-accent-soft: #e8f0fe;
  --ip-green: #15803d;
  --ip-green-soft: #e3f7ea;
  --ip-amber: #b45309;
  --ip-amber-soft: #fdf1dc;
  --ip-danger: #c62828;
  --ip-danger-soft: #fdecec;
  --ip-danger-line: #f5c2c2;
  --ip-paper: #ffffff;
  --ip-paper-edge: #d5dce7;
  --ip-grid: rgba(30, 111, 241, 0.07);
  --ip-glow: rgba(30, 111, 241, 0.14);
  --ip-phone: #111827;
  --ip-shadow: 0 30px 60px -24px rgba(15, 35, 80, 0.32);
  --ip-shadow-sm: 0 8px 22px -10px rgba(15, 35, 80, 0.28);
  --ip-card-shadow: 0 1px 0 rgba(15, 35, 80, 0.03), 0 12px 28px -20px rgba(15, 35, 80, 0.35);
  --ip-band-blue-1: #1e6ff1;
  --ip-band-blue-2: #1554c4;
}

/* ---- DARK, from the OS, while no explicit light choice is in force ---- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ip-bg: #0a1120;
    --ip-surface: #0e1628;
    --ip-panel: #121c31;
    --ip-panel-2: #19253e;
    --ip-tint: #0d1527;
    --ip-line: #243150;
    --ip-ink: #e9eef8;
    --ip-muted: #9ba8bf;
    --ip-accent-2: #5b9bff;
    --ip-accent-text: #8ab6ff;
    --ip-accent-soft: rgba(61, 134, 255, 0.16);
    --ip-green: #4ade80;
    --ip-green-soft: rgba(74, 222, 128, 0.14);
    --ip-amber: #fbbf24;
    --ip-amber-soft: rgba(251, 191, 36, 0.14);
    --ip-danger: #ff8a80;
    --ip-danger-soft: rgba(255, 107, 97, 0.12);
    --ip-danger-line: rgba(255, 107, 97, 0.35);
    --ip-paper: #f3f5f9;
    --ip-paper-edge: #3a4868;
    --ip-grid: rgba(120, 170, 255, 0.06);
    --ip-glow: rgba(61, 134, 255, 0.2);
    --ip-phone: #030712;
    --ip-shadow: 0 30px 64px -20px rgba(0, 0, 0, 0.75);
    --ip-shadow-sm: 0 8px 22px -8px rgba(0, 0, 0, 0.6);
    --ip-card-shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 28px -18px rgba(0, 0, 0, 0.8);
    --ip-band-blue-1: #1a4fae;
    --ip-band-blue-2: #102e6b;
  }
}

/* ---- DARK, chosen by the visitor. Same list as above. ---- */
:root[data-theme="dark"] {
  --ip-bg: #0a1120;
  --ip-surface: #0e1628;
  --ip-panel: #121c31;
  --ip-panel-2: #19253e;
  --ip-tint: #0d1527;
  --ip-line: #243150;
  --ip-ink: #e9eef8;
  --ip-muted: #9ba8bf;
  --ip-accent-2: #5b9bff;
  --ip-accent-text: #8ab6ff;
  --ip-accent-soft: rgba(61, 134, 255, 0.16);
  --ip-green: #4ade80;
  --ip-green-soft: rgba(74, 222, 128, 0.14);
  --ip-amber: #fbbf24;
  --ip-amber-soft: rgba(251, 191, 36, 0.14);
  --ip-danger: #ff8a80;
  --ip-danger-soft: rgba(255, 107, 97, 0.12);
  --ip-danger-line: rgba(255, 107, 97, 0.35);
  --ip-paper: #f3f5f9;
  --ip-paper-edge: #3a4868;
  --ip-grid: rgba(120, 170, 255, 0.06);
  --ip-glow: rgba(61, 134, 255, 0.2);
  --ip-phone: #030712;
  --ip-shadow: 0 30px 64px -20px rgba(0, 0, 0, 0.75);
  --ip-shadow-sm: 0 8px 22px -8px rgba(0, 0, 0, 0.6);
  --ip-card-shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 28px -18px rgba(0, 0, 0, 0.8);
  --ip-band-blue-1: #1a4fae;
  --ip-band-blue-2: #102e6b;
}

/* -------------------------------------------------------------------------
 * Base
 * ---------------------------------------------------------------------- */

body {
  background: var(--ip-bg);
}

.ip {
  background: var(--ip-bg);
  color: var(--ip-ink);
  font-family: var(--ip-font);
  font-size: 16.5px;
  line-height: 1.7;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.ip *,
.ip *::before,
.ip *::after {
  box-sizing: border-box;
}

/* Zero-weight resets, so one-class component rules win. */
:where(.ip) h1,
:where(.ip) h2,
:where(.ip) h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 800;
  overflow-wrap: normal;
  word-break: normal;
  line-break: strict;
  text-wrap: balance;
}

/* Japanese headings break between phrases, not inside a word (Chrome 119+). */
.ip:lang(ja) h1,
.ip:lang(ja) h2,
.ip:lang(ja) h3,
:lang(ja) .ip h1,
:lang(ja) .ip h2,
:lang(ja) .ip h3,
:lang(ja) .ip__doc-text b {
  word-break: auto-phrase;
}

:where(.ip) p,
:where(.ip) figure {
  margin: 0;
}

.ip h1 {
  font-size: clamp(32px, 4.6vw, 56px);
}

.ip h2 {
  font-size: clamp(25px, 3vw, 38px);
}

.ip h3 {
  font-size: 18.5px;
  font-weight: 700;
}

.ip a {
  color: inherit;
}

.ip img {
  max-width: 100%;
  height: auto;
}

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

.ip__container {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

.ip__measure {
  max-width: 800px;
}

.ip__section {
  padding-block: var(--ip-band);
}

.ip__section--tint {
  background: var(--ip-tint);
}

.ip [id] {
  scroll-margin-top: calc(var(--ip-header-h) + 16px);
}

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

.ip__defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ip__skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 50;
  padding: 12px 18px;
  background: var(--ip-accent);
  color: var(--ip-on-accent);
  border-radius: 0 0 var(--ip-radius-sm) 0;
  text-decoration: none;
  font-weight: 700;
}

.ip__skip:focus {
  left: 0;
}

.ip__nowrap {
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
 * Type and controls
 * ---------------------------------------------------------------------- */

.ip__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 26px;
  border-radius: var(--ip-radius-sm);
  background: var(--ip-accent);
  color: var(--ip-on-accent);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
  border: 0;
  box-shadow: var(--ip-shadow-sm);
}

.ip a.ip__button {
  color: var(--ip-on-accent);
}

.ip__button:hover {
  filter: brightness(1.07);
}

.ip .ip__button--ghost,
.ip a.ip__button--ghost {
  background: transparent;
  color: var(--ip-ink);
  border: 1.5px solid var(--ip-line);
  box-shadow: none;
}

.ip__button--small {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 15px;
}

.ip__text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ip-accent-text);
  font-weight: 700;
  text-decoration: none;
}

.ip a.ip__text-link {
  color: var(--ip-accent-text);
}

.ip__text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ip__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 22px;
}

.ip__actions--center {
  justify-content: center;
}

.ip__eyebrow {
  margin-bottom: 12px;
  color: var(--ip-accent-text);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ip__lead {
  margin-top: 16px;
  color: var(--ip-muted);
  font-size: clamp(16.5px, 1.5vw, 18.5px);
}

.ip__accent {
  color: var(--ip-accent);
}

.ip__note {
  margin-top: 24px;
  color: var(--ip-muted);
  font-size: 14.5px;
}

.ip__note--center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.ip__more {
  margin-top: 24px;
}

.ip__more--center {
  text-align: center;
}

.ip__empty {
  padding: 40px 0;
  color: var(--ip-muted);
  text-align: center;
}

.ip__section-head {
  max-width: 760px;
  margin-bottom: var(--ip-head-gap);
}

.ip__section-head--center {
  margin-inline: auto;
  text-align: center;
}

.ip__icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ip__mark {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--ip-accent-soft);
  color: var(--ip-accent-text);
}

/* Plan chips — the app's small light-blue "Pro". */
.ip__plan {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 1px 9px;
  border-radius: var(--ip-pill);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  vertical-align: 2px;
  white-space: nowrap;
  letter-spacing: 0;
}

.ip__plan--pro {
  background: var(--ip-accent-soft);
  color: var(--ip-accent-text);
}

.ip__plan--partial {
  background: var(--ip-amber-soft);
  color: var(--ip-amber);
}

.ip__plan--free {
  background: var(--ip-green-soft);
  color: var(--ip-green);
}

.ip__plan-crown {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linejoin: round;
}

/* -------------------------------------------------------------------------
 * Header
 *
 * No backdrop-filter on mobile: it would make the header the containing block
 * of the fixed drawer, and the menu would open as a sliver.
 * ---------------------------------------------------------------------- */

.ip__header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ip-surface);
  border-bottom: 1px solid var(--ip-line);
}

.ip__header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--ip-header-h);
  flex-wrap: nowrap;
}

.ip__menu-button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: var(--ip-radius-sm);
  border: 1px solid var(--ip-line);
  color: inherit;
  text-decoration: none;
}

.ip__menu-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.ip__menu-bars::before,
.ip__menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.ip__menu-bars::before {
  top: -6px;
}

.ip__menu-bars::after {
  top: 6px;
}

.ip__menu-bars--x {
  background: transparent;
}

.ip__menu-bars--x::before {
  top: 0;
  transform: rotate(45deg);
}

.ip__menu-bars--x::after {
  top: 0;
  transform: rotate(-45deg);
}

.ip__menu-button--close {
  display: none;
}

.ip__header-inner:has(#ip-menu:target) .ip__menu-button--open {
  display: none;
}

.ip__header-inner:has(#ip-menu:target) .ip__menu-button--close {
  display: inline-flex;
  border-color: var(--ip-accent);
  background: var(--ip-accent-soft);
  color: var(--ip-accent-text);
}

.ip__header-panel {
  display: none;
  position: fixed;
  top: var(--ip-header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--ip-surface);
  border-top: 1px solid var(--ip-line);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ip__header-panel:target {
  display: flex;
}

.ip__nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip__nav a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--ip-line);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.ip__nav a:hover {
  color: var(--ip-accent-text);
}

.ip__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
}

.ip__brand img,
.ip__brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
}

.ip__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ip-accent);
  color: #fff;
}

.ip__brand-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.ip__brand-text strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ip__brand-text small {
  color: var(--ip-muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ip__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.ip__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--ip-radius-sm);
  border: 1px solid var(--ip-line);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.ip__icon-btn svg {
  width: 20px;
  height: 20px;
}

/* ---- Language switcher ---- */

.ip__lang {
  position: relative;
}

.ip__lang summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--ip-radius-sm);
  border: 1px solid var(--ip-line);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.ip__lang summary::-webkit-details-marker {
  display: none;
}

.ip__lang summary i {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.ip__flag {
  width: 21px;
  height: 14px;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.45);
}

.ip__lang ul {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 5;
  min-width: 178px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
  border-radius: var(--ip-radius-sm);
  box-shadow: var(--ip-shadow);
}

.ip__lang a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 15px;
  text-decoration: none;
}

.ip__lang a:hover,
.ip__lang a[aria-current="page"] {
  background: var(--ip-panel-2);
}

/* -------------------------------------------------------------------------
 * Store buttons
 * ---------------------------------------------------------------------- */

.ip__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ip .ip__store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 176px;
  padding: 10px 20px 10px 16px;
  border-radius: var(--ip-radius-sm);
  background: var(--ip-ink);
  color: var(--ip-bg);
  text-decoration: none;
}

.ip__store svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.ip__store span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.ip__store small {
  font-size: 11px;
  opacity: 0.78;
}

.ip__store strong {
  font-size: 17px;
  font-weight: 700;
}

.ip .ip__store--soon {
  background: transparent;
  color: var(--ip-muted);
  border: 1.5px dashed var(--ip-line);
}

/* -------------------------------------------------------------------------
 * Phones — real screens in a drawn frame
 * ---------------------------------------------------------------------- */

.ip__phone {
  position: relative;
  width: 100%;
  max-width: 290px;
  margin: 0;
  padding: 9px;
  border-radius: 44px;
  background: var(--ip-phone);
  box-shadow: var(--ip-shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}

.ip__phone img {
  display: block;
  width: 100%;
  border-radius: 35px;
  background: #fff;
}

.ip__phone--small {
  max-width: 220px;
  padding: 7px;
  border-radius: 34px;
}

.ip__phone--small img {
  border-radius: 28px;
}

/* Light or dark screenshot, by the same three-step mechanism as the colour
   tokens: light by default, dark from the OS unless light was chosen, dark when
   chosen. The hidden one is display:none, so a lazy one is never fetched. */
.ip__phone .ip__shot--dark {
  display: none;
  background: #000;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ip__phone .ip__shot--light {
    display: none;
  }

  :root:not([data-theme="light"]) .ip__phone .ip__shot--dark {
    display: block;
  }
}

:root[data-theme="dark"] .ip__phone .ip__shot--light {
  display: none;
}

:root[data-theme="dark"] .ip__phone .ip__shot--dark {
  display: block;
}

/* -------------------------------------------------------------------------
 * Hero
 * ---------------------------------------------------------------------- */

.ip__hero {
  position: relative;
  padding-block: clamp(36px, 5vw, 80px) clamp(48px, 6vw, 96px);
  background-color: var(--ip-surface);
  background-image:
    radial-gradient(60% 70% at 85% 30%, var(--ip-glow), transparent 70%),
    linear-gradient(var(--ip-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ip-grid) 1px, transparent 1px);
  background-size:
    100% 100%,
    28px 28px,
    28px 28px;
  border-bottom: 1px solid var(--ip-line);
}

.ip__hero-grid {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.ip__hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.15;
}

.ip__hero h1 .ip__accent {
  display: inline-block;
}

.ip__hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 700;
}

.ip__hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ip__hero-notes .ip__icon {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--ip-pass);
  color: #fff;
  stroke-width: 3.2;
}

.ip__phones {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 300px;
  padding: 10px 0 10px;
}

.ip__phones .ip__phone--front {
  position: relative;
  z-index: 2;
  width: 62%;
  max-width: 300px;
  transform: translateX(-18%);
}

.ip__phones .ip__phone--back {
  position: absolute;
  z-index: 1;
  top: 34px;
  left: 50%;
  width: 54%;
  max-width: 262px;
  transform: translateX(-2%) rotate(5deg);
  opacity: 0.97;
}

.ip__float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 14px;
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
  box-shadow: var(--ip-shadow-sm);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  animation: ip-float 6s ease-in-out infinite;
}

.ip__float b {
  font-weight: 700;
}

.ip__float--size {
  left: 0;
  bottom: 18%;
  flex-direction: column;
  padding: 10px;
}

.ip__float--size svg {
  width: 54px;
  height: 72px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px var(--ip-paper-edge);
}

.ip__float--ok {
  right: 0;
  top: 12%;
  animation-delay: -3s;
}

.ip__float--ok i {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ip-pass);
  color: #fff;
}

.ip__float--ok i svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes ip-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* -------------------------------------------------------------------------
 * Three promises
 * ---------------------------------------------------------------------- */

.ip__usps {
  display: grid;
  gap: 16px;
}

.ip__usp {
  padding: 28px 26px;
  border-radius: var(--ip-radius-lg);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
  box-shadow: var(--ip-card-shadow);
  text-align: center;
}

.ip__usp-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 20px;
  background: var(--ip-accent);
  color: #fff;
  box-shadow: 0 12px 24px -12px var(--ip-accent);
}

.ip__usp-mark .ip__icon {
  width: 30px;
  height: 30px;
}

.ip__usp h3 {
  font-size: 21px;
}

.ip__usp p {
  margin-top: 10px;
  color: var(--ip-muted);
  font-size: 15.5px;
}

/* -------------------------------------------------------------------------
 * Steps
 * ---------------------------------------------------------------------- */

.ip__steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip__step {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--ip-radius-lg);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
}

.ip__step-shot {
  display: flex;
  justify-content: center;
  height: 280px;
  padding-top: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ip-accent-soft), transparent);
}

.ip__step-shot .ip__phone {
  width: 200px;
  height: max-content;
  box-shadow: var(--ip-shadow-sm);
}

.ip__step-text {
  position: relative;
  padding: 22px 22px 26px;
  border-top: 1px solid var(--ip-line);
}

.ip__step-n {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--ip-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.ip__step h3 {
  font-size: 21px;
}

.ip__step p {
  margin-top: 8px;
  color: var(--ip-muted);
  font-size: 15.5px;
}

/* -------------------------------------------------------------------------
 * Points (showcase, camera, sheet)
 * ---------------------------------------------------------------------- */

.ip__points {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip__points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ip__points li > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ip__points b {
  font-size: 17px;
  line-height: 1.45;
}

.ip__points b + span {
  color: var(--ip-muted);
  font-size: 15.5px;
}

/* -------------------------------------------------------------------------
 * Showcase
 * ---------------------------------------------------------------------- */

.ip__showcase + .ip__showcase {
  padding-top: 0;
}

.ip__showcase-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.ip__showcase-phone {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 26px 0;
}

.ip__showcase-phone::before {
  content: "";
  position: absolute;
  inset: 0 6%;
  border-radius: 40px;
  background: radial-gradient(closest-side, var(--ip-glow), transparent);
}

.ip__showcase-phone .ip__phone {
  width: 270px;
}

/* -------------------------------------------------------------------------
 * The camera guide — one 10 s clock.
 *
 *   0–20%   "move closer": the sitter drifts in, small and off-centre
 *   10–38%  the eight checks turn green in turn; "face the camera"
 *   38–44%  "hold still", the oval turns green
 *   44–62%  3 · 2 · 1
 *   62–66%  flash
 *   66–95%  the photo, shown to confirm
 *
 * The RESTING state of every element (no animation — reduced motion) is the
 * finished guide: all checks green, "hold still", no overlay.
 * ---------------------------------------------------------------------- */

.ip__camera-band {
  background: var(--ip-surface);
  border-block: 1px solid var(--ip-line);
}

.ip__camera-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.ip__cam {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px;
  --T: 10s;
}

.ip__cam-phone {
  width: 250px;
  flex: none;
  padding: 9px;
  border-radius: 42px;
  background: var(--ip-phone);
  box-shadow: var(--ip-shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}

.ip__cam-view {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 19;
  overflow: hidden;
  border-radius: 33px;
  background: var(--ip-cam);
  color: #fff;
}

.ip__cam-msgs {
  position: relative;
  height: 40px;
  margin: 40px 14px 10px;
}

.ip__cam-msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: var(--ip-pill);
  background: rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
}

.ip__cam-msg--3 {
  opacity: 1;
  background: rgba(34, 197, 94, 0.9);
}

.ip__cam-stage {
  position: relative;
  flex: 1;
  margin: 0 12px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, #e6ecf3, var(--ip-wall));
}

.ip__cam-sitter,
.ip__cam-guide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: auto;
  transform: translate(-50%, -52%);
}

.ip__cam-sitter {
  transform-origin: 50% 50%;
}

.ip__cam-oval {
  fill: none;
  stroke: var(--ip-pass);
  stroke-width: 4;
  stroke-dasharray: 10 7;
}

.ip__cam-cross {
  fill: none;
  stroke: rgba(15, 23, 42, 0.28);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
}

.ip__cam-count {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.ip__cam-count span {
  grid-area: 1 / 1;
  color: #fff;
  font-size: 92px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
}

.ip__cam-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

.ip__cam-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
}

.ip__cam-auto {
  position: absolute;
  right: 14px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
}

.ip__cam-auto i {
  position: relative;
  width: 30px;
  height: 18px;
  border-radius: 9px;
  background: var(--ip-accent);
}

.ip__cam-auto i::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}

.ip__cam-shutter {
  width: 58px;
  height: 58px;
  margin-top: 14px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: rgba(255, 255, 255, 0.25);
}

.ip__cam-result {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 10px;
  background: #f7f9fc;
  color: #0f172a;
  opacity: 0;
}

.ip__cam-result > b {
  font-size: 16px;
}

.ip__cam-shots {
  display: flex;
  gap: 7px;
}

.ip__cam-shot {
  display: block;
  width: 120px;
  padding: 5px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 2.5px #1e6ff1;
}

.ip__cam-shot svg {
  display: block;
  width: 100%;
  border-radius: 7px;
}

.ip__cam-checks {
  display: grid;
  gap: 8px;
  width: 210px;
  margin: 0;
  padding: 16px;
  list-style: none;
  border-radius: var(--ip-radius);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
  box-shadow: var(--ip-card-shadow);
  font-size: 14px;
  font-weight: 700;
}

.ip__cam-check {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

.ip__cam-check i {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ip-pass);
  color: #fff;
}

.ip__cam-check i svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The clock. Every part starts 40% into the loop, so the first frame anyone
   sees (and every screenshot) is the guide with all eight checks passed. */
.ip__cam * {
  animation-delay: calc(var(--T) * -0.4) !important;
}

.ip__cam-sitter {
  animation: ip-cam-sitter var(--T) ease-in-out infinite;
}

.ip__cam-oval {
  animation: ip-cam-oval var(--T) linear infinite;
}

.ip__cam-msg--1 {
  animation: ip-cam-msg1 var(--T) linear infinite;
}

.ip__cam-msg--2 {
  animation: ip-cam-msg2 var(--T) linear infinite;
}

.ip__cam-msg--3 {
  animation: ip-cam-msg3 var(--T) linear infinite;
}

.ip__cam-count span:nth-child(1) {
  animation: ip-cam-n3 var(--T) ease-out infinite;
}

.ip__cam-count span:nth-child(2) {
  animation: ip-cam-n2 var(--T) ease-out infinite;
}

.ip__cam-count span:nth-child(3) {
  animation: ip-cam-n1 var(--T) ease-out infinite;
}

.ip__cam-flash {
  animation: ip-cam-flash var(--T) linear infinite;
}

.ip__cam-result {
  animation: ip-cam-result var(--T) ease-out infinite;
}

.ip__cam-check--1 { animation: ip-chk-1 var(--T) linear infinite; }
.ip__cam-check--2 { animation: ip-chk-2 var(--T) linear infinite; }
.ip__cam-check--3 { animation: ip-chk-3 var(--T) linear infinite; }
.ip__cam-check--4 { animation: ip-chk-4 var(--T) linear infinite; }
.ip__cam-check--5 { animation: ip-chk-5 var(--T) linear infinite; }
.ip__cam-check--6 { animation: ip-chk-6 var(--T) linear infinite; }
.ip__cam-check--7 { animation: ip-chk-7 var(--T) linear infinite; }
.ip__cam-check--8 { animation: ip-chk-8 var(--T) linear infinite; }

@keyframes ip-cam-sitter {
  0%,
  6% {
    transform: translate(-36%, -44%) scale(0.72);
  }
  24%,
  94% {
    transform: translate(-50%, -52%) scale(1);
  }
  100% {
    transform: translate(-36%, -44%) scale(0.72);
  }
}

@keyframes ip-cam-oval {
  0%,
  37% {
    stroke: #ffffff;
  }
  39%,
  96% {
    stroke: #22c55e;
  }
  100% {
    stroke: #ffffff;
  }
}

@keyframes ip-cam-msg1 {
  0%,
  19% {
    opacity: 1;
  }
  20%,
  100% {
    opacity: 0;
  }
}

@keyframes ip-cam-msg2 {
  0%,
  19% {
    opacity: 0;
  }
  20%,
  37% {
    opacity: 1;
  }
  38%,
  100% {
    opacity: 0;
  }
}

@keyframes ip-cam-msg3 {
  0%,
  37% {
    opacity: 0;
  }
  38%,
  64% {
    opacity: 1;
  }
  65%,
  100% {
    opacity: 0;
  }
}

@keyframes ip-cam-n3 {
  0%,
  44% {
    opacity: 0;
    transform: scale(1.5);
  }
  45% {
    opacity: 1;
    transform: scale(1.2);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
  50.5%,
  100% {
    opacity: 0;
  }
}

@keyframes ip-cam-n2 {
  0%,
  50.5% {
    opacity: 0;
    transform: scale(1.5);
  }
  51.5% {
    opacity: 1;
    transform: scale(1.2);
  }
  56% {
    opacity: 1;
    transform: scale(1);
  }
  56.5%,
  100% {
    opacity: 0;
  }
}

@keyframes ip-cam-n1 {
  0%,
  56.5% {
    opacity: 0;
    transform: scale(1.5);
  }
  57.5% {
    opacity: 1;
    transform: scale(1.2);
  }
  62% {
    opacity: 1;
    transform: scale(1);
  }
  62.5%,
  100% {
    opacity: 0;
  }
}

@keyframes ip-cam-flash {
  0%,
  62% {
    opacity: 0;
  }
  63% {
    opacity: 0.95;
  }
  66%,
  100% {
    opacity: 0;
  }
}

@keyframes ip-cam-result {
  0%,
  65% {
    opacity: 0;
    transform: translateY(12px);
  }
  68%,
  95% {
    opacity: 1;
    transform: none;
  }
  98%,
  100% {
    opacity: 0;
    transform: none;
  }
}

/* One keyframe per check: off (grey, faded) until its moment, then passed. */
@keyframes ip-chk-1 { 0%, 11% { filter: grayscale(1); opacity: 0.45; } 12%, 96% { filter: none; opacity: 1; } 97%, 100% { filter: grayscale(1); opacity: 0.45; } }
@keyframes ip-chk-2 { 0%, 15% { filter: grayscale(1); opacity: 0.45; } 16%, 96% { filter: none; opacity: 1; } 97%, 100% { filter: grayscale(1); opacity: 0.45; } }
@keyframes ip-chk-3 { 0%, 23% { filter: grayscale(1); opacity: 0.45; } 24%, 96% { filter: none; opacity: 1; } 97%, 100% { filter: grayscale(1); opacity: 0.45; } }
@keyframes ip-chk-4 { 0%, 26% { filter: grayscale(1); opacity: 0.45; } 27%, 96% { filter: none; opacity: 1; } 97%, 100% { filter: grayscale(1); opacity: 0.45; } }
@keyframes ip-chk-5 { 0%, 29% { filter: grayscale(1); opacity: 0.45; } 30%, 96% { filter: none; opacity: 1; } 97%, 100% { filter: grayscale(1); opacity: 0.45; } }
@keyframes ip-chk-6 { 0%, 32% { filter: grayscale(1); opacity: 0.45; } 33%, 96% { filter: none; opacity: 1; } 97%, 100% { filter: grayscale(1); opacity: 0.45; } }
@keyframes ip-chk-7 { 0%, 34% { filter: grayscale(1); opacity: 0.45; } 35%, 96% { filter: none; opacity: 1; } 97%, 100% { filter: grayscale(1); opacity: 0.45; } }
@keyframes ip-chk-8 { 0%, 36% { filter: grayscale(1); opacity: 0.45; } 37%, 96% { filter: none; opacity: 1; } 97%, 100% { filter: grayscale(1); opacity: 0.45; } }

/* -------------------------------------------------------------------------
 * Documents — photos drawn to scale
 * ---------------------------------------------------------------------- */

.ip__docs {
  --mm: 3.1px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip__doc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 12px 16px;
  border-radius: var(--ip-radius);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
  text-align: center;
}

.ip__doc-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: calc(45 * var(--mm) + 4px);
}

.ip__frame {
  display: block;
  width: calc(var(--w) * var(--mm));
  height: calc(var(--h) * var(--mm));
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--ip-paper-edge), var(--ip-shadow-sm);
}

.ip__frame-bg {
  fill: #ffffff;
}

.ip__frame-guide {
  fill: none;
  stroke: #1e6ff1;
  stroke-width: 0.35;
  stroke-dasharray: 1.2 0.8;
}

.ip__doc-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.4;
}

.ip__doc-text b {
  font-size: 15.5px;
}

.ip__doc-text b .ip__plan {
  margin-left: 5px;
}

.ip__doc-size {
  color: var(--ip-accent-text);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ip__doc-text small {
  color: var(--ip-muted);
  font-size: 12.5px;
}

/* The sizes page shows the cards right under the table: no band of its own. */
.ip__docs-band--table + .ip__docs-band--cards {
  padding-top: 0;
}

/* ---- The table ---- */

.ip__table-wrap {
  overflow-x: auto;
  border-radius: var(--ip-radius);
  border: 1px solid var(--ip-line);
  background: var(--ip-panel);
  -webkit-overflow-scrolling: touch;
}

.ip__table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.55;
}

.ip__table th,
.ip__table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--ip-line);
  text-align: left;
  vertical-align: top;
}

.ip__table thead th {
  background: var(--ip-panel-2);
  color: var(--ip-muted);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ip__table tbody tr:last-child th,
.ip__table tbody tr:last-child td {
  border-bottom: 0;
}

.ip__table tbody th {
  min-width: 170px;
  font-weight: 400;
}

.ip__table tbody th b {
  display: block;
  font-size: 15.5px;
}

.ip__table tbody th small {
  display: block;
  color: var(--ip-muted);
  font-size: 12.5px;
}

.ip__table tbody th .ip__plan {
  margin: 4px 0 0;
}

.ip__table td b {
  color: var(--ip-accent-text);
  font-size: 15.5px;
}

.ip__table td:nth-child(4),
.ip__table td:nth-child(5) {
  white-space: nowrap;
}

.ip__table-note {
  min-width: 220px;
  color: var(--ip-muted);
}

.ip__table-note em {
  display: block;
  margin-top: 4px;
  color: var(--ip-amber);
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
}

/* -------------------------------------------------------------------------
 * The print sheet
 * ---------------------------------------------------------------------- */

.ip__sheet-band {
  background: var(--ip-tint);
}

.ip__sheet-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.ip__sheets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
}

.ip__sheet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.ip__sheet svg {
  display: block;
  width: min(300px, 78vw);
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(15, 35, 80, 0.2));
}

.ip__sheet--test svg {
  width: min(210px, 56vw);
}

.ip__paper {
  fill: var(--ip-paper);
  stroke: var(--ip-paper-edge);
  stroke-width: 0.3;
}

.ip__sheet-edge {
  fill: none;
  stroke: rgba(15, 23, 42, 0.12);
  stroke-width: 0.2;
}

.ip__test-title {
  fill: #0f172a;
  font-size: 5px;
  font-weight: 700;
}

.ip__test-square {
  fill: rgba(30, 111, 241, 0.06);
  stroke: #1e6ff1;
  stroke-width: 0.5;
}

.ip__test-size {
  fill: #1e6ff1;
  font-size: 6px;
  font-weight: 800;
}

.ip__test-rule {
  fill: none;
  stroke: #0f172a;
  stroke-width: 0.25;
}

.ip__test-num {
  fill: #334155;
  font-size: 2.8px;
}

.ip__test-note {
  fill: #475569;
  font-size: 3.2px;
}

.ip__sheet figcaption {
  display: flex;
  flex-direction: column;
  font-size: 13.5px;
  line-height: 1.45;
}

.ip__sheet figcaption span {
  color: var(--ip-muted);
}

/* -------------------------------------------------------------------------
 * Convenience-store steps
 * ---------------------------------------------------------------------- */

.ip__stores-grid {
  display: grid;
  gap: 32px;
}

.ip__chains {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 0;
  padding: 0;
  list-style: none;
}

.ip__chains li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--ip-pill);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
  font-size: 14.5px;
  font-weight: 700;
}

.ip__chains .ip__icon {
  width: 18px;
  height: 18px;
  color: var(--ip-accent-text);
}

.ip__important {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--ip-radius);
  background: var(--ip-danger-soft);
  border: 1px solid var(--ip-danger-line);
}

.ip__important > b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ip-danger);
  font-size: 16px;
}

.ip__important .ip__icon {
  width: 20px;
  height: 20px;
}

.ip__important ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 20px;
  font-size: 15px;
  font-weight: 600;
}

.ip__howto {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip__howto li {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--ip-radius);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
}

.ip__howto .ip__step-n {
  margin: 0;
}

.ip__howto b {
  font-size: 16.5px;
  line-height: 1.45;
}

.ip__howto p {
  margin-top: 4px;
  color: var(--ip-muted);
  font-size: 15px;
}

/* -------------------------------------------------------------------------
 * Tips
 * ---------------------------------------------------------------------- */

.ip__tips {
  display: grid;
  gap: 16px;
}

.ip__tip {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: var(--ip-radius-lg);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
}

.ip__tip header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ip__tip header p {
  margin-top: 4px;
  color: var(--ip-muted);
  font-size: 15px;
}

.ip__tip-list {
  padding: 14px 16px;
  border-radius: var(--ip-radius-sm);
}

.ip__tip-list--do {
  background: var(--ip-green-soft);
}

.ip__tip-list--avoid {
  background: var(--ip-panel-2);
}

.ip__tip-list > b {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.ip__tip-list--do > b {
  color: var(--ip-green);
}

.ip__tip-list--avoid > b {
  color: var(--ip-muted);
}

.ip__tip-list ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
}

.ip__tip-list li {
  display: flex;
  gap: 8px;
}

.ip__tip-list .ip__icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  stroke-width: 2.6;
}

.ip__tip-list--do .ip__icon {
  color: var(--ip-green);
}

.ip__tip-list--avoid .ip__icon {
  color: var(--ip-danger);
}

/* -------------------------------------------------------------------------
 * Features
 * ---------------------------------------------------------------------- */

.ip__features {
  display: grid;
  gap: 16px;
}

.ip__feature {
  padding: 22px;
  border-radius: var(--ip-radius-lg);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
}

.ip__feature .ip__mark {
  margin-bottom: 14px;
}

.ip__feature p {
  margin-top: 8px;
  color: var(--ip-muted);
  font-size: 15.5px;
}

/* -------------------------------------------------------------------------
 * Privacy band — the one blue band on the page
 * ---------------------------------------------------------------------- */

.ip__privacy-band {
  padding-block: var(--ip-band);
  background: linear-gradient(160deg, var(--ip-band-blue-1), var(--ip-band-blue-2));
  color: #fff;
}

.ip__privacy-band .ip__eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.ip__privacy-band .ip__lead {
  color: rgba(255, 255, 255, 0.86);
}

.ip__privacy {
  display: grid;
  gap: 14px;
}

.ip__privacy article {
  padding: 22px;
  border-radius: var(--ip-radius-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ip__privacy-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 13px;
  background: #fff;
  color: #1e6ff1;
}

.ip__privacy p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.ip .ip__privacy-band .ip__text-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* -------------------------------------------------------------------------
 * Price and comparison
 * ---------------------------------------------------------------------- */

.ip__plans {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin-inline: auto;
}

.ip__plan-card {
  position: relative;
  padding: 26px;
  border-radius: var(--ip-radius-lg);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
}

.ip__plan-card--pro {
  border: 2px solid var(--ip-accent);
  box-shadow: var(--ip-shadow-sm);
}

.ip__plan-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: var(--ip-pill);
  background: var(--ip-accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
}

.ip__plan-badge .ip__icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}

.ip__plan-card h3 {
  font-size: 18px;
}

.ip__plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 8px;
}

.ip__plan-price b {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.ip__plan-card--pro .ip__plan-price b {
  color: var(--ip-accent-text);
}

.ip__plan-price span {
  color: var(--ip-muted);
  font-weight: 700;
  font-size: 15px;
}

.ip__plan-note {
  margin-top: 10px;
  color: var(--ip-muted);
  font-size: 15px;
}

.ip__plan-points {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.ip__plan-points li {
  display: flex;
  gap: 8px;
  line-height: 1.5;
}

.ip__plan-points .ip__icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--ip-accent-text);
  stroke-width: 2.6;
}

.ip__compare-wrap {
  max-width: 820px;
  margin: 28px auto 0;
  overflow-x: auto;
  border-radius: var(--ip-radius-lg);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
}

.ip__compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.ip__compare th,
.ip__compare td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ip-line);
  text-align: left;
}

.ip__compare td,
.ip__compare thead th:not(:first-child) {
  width: 22%;
  text-align: center;
}

.ip__compare thead th {
  background: var(--ip-panel-2);
  font-size: 13.5px;
  font-weight: 800;
}

.ip__compare tbody th {
  font-weight: 600;
}

.ip__compare tbody tr:last-child th,
.ip__compare tbody tr:last-child td {
  border-bottom: 0;
}

.ip__compare .ip__compare-pro {
  background: var(--ip-accent-soft);
}

.ip__compare thead .ip__compare-pro {
  color: var(--ip-accent-text);
}

.ip__cmp-yes {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ip-pass);
  color: #fff;
}

.ip__cmp-yes .ip__icon {
  width: 15px;
  height: 15px;
  stroke-width: 3.2;
}

.ip__cmp-no {
  color: var(--ip-muted);
}

.ip__cmp-text {
  display: inline-block;
  font-size: 13.5px;
  overflow-wrap: normal;
  word-break: normal;
  font-weight: 700;
}

/* -------------------------------------------------------------------------
 * Data list, notices, FAQ
 * ---------------------------------------------------------------------- */

.ip__data {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip__data-item {
  padding: 18px 20px;
  border-radius: var(--ip-radius);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
}

.ip__data-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.ip__data-head h3 {
  font-size: 16.5px;
}

.ip__chip {
  padding: 3px 12px;
  border-radius: var(--ip-pill);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.ip__chip--stays {
  background: var(--ip-green-soft);
  color: var(--ip-green);
}

.ip__chip--leaves {
  background: var(--ip-amber-soft);
  color: var(--ip-amber);
}

.ip__data-when {
  color: var(--ip-muted);
  font-size: 13.5px;
}

.ip__data-where {
  margin-top: 8px;
  color: var(--ip-muted);
  font-size: 15px;
}

.ip__notice {
  padding-block: var(--ip-band-sm);
}

.ip__notice-inner {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--ip-radius-lg);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
  border-left: 4px solid var(--ip-accent);
}

.ip__notice--warn .ip__notice-inner {
  border-left-color: var(--ip-amber);
}

.ip__notice--critical .ip__notice-inner {
  border-left-color: var(--ip-danger);
}

.ip__notice-mark {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--ip-panel-2);
}

.ip__notice--warn .ip__notice-mark {
  background: var(--ip-amber-soft);
  color: var(--ip-amber);
}

.ip__notice--info .ip__notice-mark {
  background: var(--ip-accent-soft);
  color: var(--ip-accent-text);
}

.ip__notice h2 {
  font-size: 20px;
}

.ip__notice p {
  margin-top: 8px;
  color: var(--ip-muted);
  font-size: 15.5px;
}

.ip__notice-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.ip__notice-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  border-left: 2px solid var(--ip-line);
}

.ip__notice-list b {
  font-size: 15.5px;
}

.ip__notice-list span {
  color: var(--ip-muted);
  font-size: 14.5px;
}

.ip__faq {
  display: grid;
  gap: 10px;
}

.ip__faq-band + .ip__faq-band {
  padding-top: 0;
}

.ip__faq-item {
  padding: 2px 20px;
  border-radius: var(--ip-radius);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
}

.ip__faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.ip__faq-item summary::-webkit-details-marker {
  display: none;
}

.ip__faq-item summary i {
  flex: none;
  margin-right: 3px;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid var(--ip-accent);
  border-bottom: 2.5px solid var(--ip-accent);
  transform: translateY(-3px) rotate(45deg);
}

.ip__faq-item[open] summary i {
  transform: translateY(2px) rotate(-135deg);
}

.ip__faq-item p {
  padding-bottom: 18px;
  color: var(--ip-muted);
  font-size: 15.5px;
}

/* -------------------------------------------------------------------------
 * Closing band
 * ---------------------------------------------------------------------- */

.ip__cta {
  padding-block: var(--ip-band);
  background-color: var(--ip-surface);
  background-image:
    radial-gradient(50% 80% at 50% 0%, var(--ip-glow), transparent 70%),
    linear-gradient(var(--ip-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ip-grid) 1px, transparent 1px);
  background-size:
    100% 100%,
    28px 28px,
    28px 28px;
  border-top: 1px solid var(--ip-line);
}

.ip__cta-inner {
  max-width: 720px;
  text-align: center;
}

.ip__cta-icon {
  display: block;
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 20px;
  box-shadow: var(--ip-shadow-sm);
}

.ip__cta-inner .ip__stores,
.ip__cta-inner .ip__actions {
  justify-content: center;
}

/* -------------------------------------------------------------------------
 * Pages, documents and prose
 * ---------------------------------------------------------------------- */

.ip__page-head {
  padding-block: clamp(36px, 4.5vw, 64px) 0;
}

.ip__page-head h1 {
  max-width: 24ch;
  font-size: clamp(30px, 4.2vw, 48px);
}

.ip__page-head .ip__lead {
  max-width: 760px;
}

/* A normal page's first band sits closer to its title. */
.ip__page:not(.ip__doc) > .ip__page-head + .ip__section,
.ip__page:not(.ip__doc) > .ip__page-head + * > .ip__section:first-child {
  padding-top: clamp(32px, 4vw, 56px);
}

.ip__doc-updated {
  margin-top: 14px;
  color: var(--ip-muted);
  font-size: 14px;
}

.ip__doc-lead {
  padding: 18px 20px;
  border-radius: var(--ip-radius);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
  color: var(--ip-ink);
}

/* A document is ONE column, whatever blocks it holds. */
.ip__doc .ip__container {
  width: min(880px, 100% - 32px);
}

.ip__doc .ip__measure {
  max-width: none;
}

.ip__doc .ip__section {
  padding-block: 0;
}

.ip__doc .ip__section + .ip__section {
  padding-top: var(--ip-doc-gap);
}

.ip__doc .ip__page-head {
  padding-bottom: var(--ip-doc-gap);
}

.ip__doc {
  padding-bottom: var(--ip-band);
}

.ip__doc .ip__section-head h2 {
  font-size: clamp(21px, 2.2vw, 26px);
}

.ip__doc .ip__section-head {
  margin-bottom: 18px;
}

.ip__toc {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: var(--ip-radius);
  background: var(--ip-panel-2);
  border: 1px solid var(--ip-line);
}

.ip__toc b {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ip-muted);
}

.ip__toc ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip__toc a {
  color: var(--ip-accent-text);
  font-size: 15px;
  text-decoration: none;
}

.ip__toc a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ip__prose {
  font-size: 16.5px;
}

.ip__prose h2 {
  margin-top: 40px;
  font-size: clamp(21px, 2.2vw, 26px);
}

.ip__prose h3 {
  margin-top: 26px;
}

.ip__prose h2:first-child,
.ip__prose > div > h2:first-child,
.ip__prose h3:first-child {
  margin-top: 0;
}

.ip__prose p,
.ip__prose ul,
.ip__prose ol {
  margin-top: 14px;
}

.ip__prose ul,
.ip__prose ol {
  padding-left: 22px;
}

.ip__prose ul {
  list-style: disc;
}

.ip__prose ol {
  list-style: decimal;
}

.ip__prose li::marker {
  color: var(--ip-muted);
}

.ip__prose li {
  margin-top: 7px;
}

.ip__prose a {
  color: var(--ip-accent-text);
  text-underline-offset: 3px;
}

.ip__prose strong {
  font-weight: 700;
}

.ip__prose table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 15px;
  border: 1px solid var(--ip-line);
  background: var(--ip-panel);
}

.ip__prose th,
.ip__prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ip-line);
  text-align: left;
  vertical-align: top;
}

.ip__prose th {
  width: 30%;
  background: var(--ip-panel-2);
  font-weight: 700;
}

.ip__figure img {
  border-radius: var(--ip-radius);
}

.ip__figure figcaption {
  margin-top: 10px;
  color: var(--ip-muted);
  font-size: 14px;
}

/* -------------------------------------------------------------------------
 * Posts
 * ---------------------------------------------------------------------- */

.ip__post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 16px;
  color: var(--ip-muted);
  font-size: 14px;
}

.ip__post-grid {
  display: grid;
  gap: 16px;
}

.ip__post-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: var(--ip-radius-lg);
  background: var(--ip-panel);
  border: 1px solid var(--ip-line);
}

.ip__post-card h3 a {
  text-decoration: none;
}

.ip__post-card p {
  margin-top: 8px;
  color: var(--ip-muted);
  font-size: 15px;
}

.ip__post-card-date {
  color: var(--ip-muted);
  font-size: 13px;
}

.ip__pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.ip__pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--ip-radius-sm);
  border: 1px solid var(--ip-line);
  text-decoration: none;
  font-weight: 700;
}

.ip__pager a[aria-current="page"] {
  background: var(--ip-accent);
  border-color: var(--ip-accent);
  color: #fff;
}

/* -------------------------------------------------------------------------
 * 404 / 500
 * ---------------------------------------------------------------------- */

.ip__state {
  padding-block: clamp(56px, 8vw, 120px);
  text-align: center;
}

.ip__state .ip__measure {
  margin-inline: auto;
}

.ip__state-frame {
  display: block;
  width: 120px;
  height: 160px;
  margin: 0 auto 26px;
}

.ip__state-paper {
  fill: var(--ip-paper);
  stroke: var(--ip-paper-edge);
  stroke-width: 0.4;
}

.ip__state-oval {
  fill: none;
  stroke: #1e6ff1;
  stroke-width: 0.6;
  stroke-dasharray: 1.6 1;
}

.ip__state-code {
  fill: #1e6ff1;
  font-size: 6px;
  font-weight: 800;
}

.ip__state p {
  margin-top: 14px;
  color: var(--ip-muted);
}

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */

.ip__footer {
  padding-top: 52px;
  background: var(--ip-surface);
  border-top: 1px solid var(--ip-line);
  font-size: 15px;
}

.ip__footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 24px;
}

.ip__footer-about,
.ip__footer-contact {
  grid-column: 1 / -1;
}

.ip__footer-about > p {
  max-width: 440px;
  margin-top: 14px;
  color: var(--ip-muted);
  font-size: 14.5px;
}

.ip__footer-promise {
  display: grid;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}

.ip__footer-promise li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ip__footer-promise .ip__icon {
  width: 16px;
  height: 16px;
  color: var(--ip-green);
  stroke-width: 3;
}

.ip__footer-build {
  margin-top: 14px;
  color: var(--ip-muted);
  font-size: 13.5px;
}

.ip__footer-col h2 {
  margin-bottom: 12px;
  color: var(--ip-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ip__footer-col ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip__footer-col a {
  text-decoration: none;
}

.ip__footer-col a:hover {
  color: var(--ip-accent-text);
}

.ip__footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.ip__footer-contact > a:first-of-type {
  color: var(--ip-accent-text);
  font-weight: 700;
}

.ip__footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 44px;
  padding-block: 22px;
  border-top: 1px solid var(--ip-line);
  color: var(--ip-muted);
  font-size: 13.5px;
  text-align: center;
}

.ip__footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}

.ip__footer-bottom a {
  text-decoration: none;
}

.ip__footer-bottom a:hover {
  color: var(--ip-ink);
}

.ip__builtwith {
  margin-left: 12px;
}

/* =========================================================================
 * Widths — mobile first. 640px is where two cards fit side by side; 960px is
 * where the header stops needing a drawer and the hero puts the phones beside
 * the words.
 * ====================================================================== */

@media (max-width: 479px) {
  .ip .ip__store {
    flex: 1 1 150px;
    min-width: 0;
    padding-inline: 12px 14px;
  }

  .ip__compare td,
  .ip__compare thead th:not(:first-child) {
    width: 25%;
  }

  .ip__phones .ip__phone--front {
    width: 66%;
    transform: translateX(-14%);
  }

  .ip__phones .ip__phone--back {
    width: 56%;
  }

  .ip__float {
    font-size: 11.5px;
  }

  .ip__float--size svg {
    width: 40px;
    height: 53px;
  }

  .ip__cam-phone {
    width: 230px;
  }

  .ip__cam-checks {
    width: 100%;
    max-width: 330px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 12.5px;
  }

  .ip__notice-inner {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .ip__plan-price b {
    font-size: 34px;
  }

  .ip__compare th,
  .ip__compare td {
    padding: 11px 10px;
    font-size: 14px;
  }
}

@media (min-width: 640px) {
  .ip__usps,
  .ip__features,
  .ip__privacy,
  .ip__post-grid,
  .ip__tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ip__plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .ip__steps--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ip__steps--2,
  .ip__steps--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ip__docs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ip__footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ip__footer-contact {
    grid-column: auto;
  }
}

@media (min-width: 960px) {
  :root {
    --ip-header-h: 72px;
  }

  .ip__header {
    background: color-mix(in srgb, var(--ip-surface) 90%, transparent);
    backdrop-filter: blur(12px);
  }

  .ip__menu-button,
  .ip__header-inner:has(#ip-menu:target) .ip__menu-button--close {
    display: none;
  }

  .ip__header-panel,
  .ip__header-panel:target {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    width: auto;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border-top: 0;
    overflow: visible;
  }

  .ip__nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px 18px;
  }

  .ip__nav a {
    padding: 8px 0;
    border-bottom: 0;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
  }

  .ip__header-actions {
    margin-top: 0;
    flex-wrap: nowrap;
  }

  .ip__header-actions .ip__button {
    white-space: nowrap;
  }

  .ip__lang ul {
    top: calc(100% + 8px);
    bottom: auto;
    left: auto;
    right: 0;
  }

  .ip__brand img,
  .ip__brand-mark {
    width: 44px;
    height: 44px;
  }

  .ip__hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .ip__phones {
    min-height: 600px;
  }

  .ip__camera-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .ip__showcase-grid,
  .ip__sheet-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
  }

  .ip__sheet-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .ip__showcase--flip .ip__showcase-copy {
    order: 2;
  }

  .ip__stores-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
  }

  .ip__usps,
  .ip__features,
  .ip__post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ip__privacy {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ip__steps--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ip__docs {
    --mm: 3.7px;
    gap: 16px;
  }

  .ip__doc-card {
    padding: 24px 16px 20px;
  }

  .ip__footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }

  .ip__footer-about {
    grid-column: auto;
  }

  .ip__footer-bottom {
    justify-content: space-between;
    text-align: left;
  }
}

/* The header has six links, a switcher, a toggle and a button; between 960 and
   1120px the tagline yields its room to them. */
@media (min-width: 960px) and (max-width: 1119px) {
  .ip__brand-text small {
    display: none;
  }

  .ip__nav ul {
    gap: 4px 14px;
  }

  .ip__nav a {
    font-size: 14px;
  }

  .ip__header-panel {
    gap: 14px;
  }
}

@media (hover: hover) {
  .ip__feature,
  .ip__usp,
  .ip__doc-card {
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .ip__feature:hover,
  .ip__usp:hover,
  .ip__doc-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ip-shadow-sm);
  }
}

/* Reduced motion: every element rests in its finished state. */
@media (prefers-reduced-motion: reduce) {
  .ip * {
    animation: none !important;
    transition: none !important;
  }
}
