/*
  Osenro company site (osenro.com). Served under a strict CSP: no inline styles, no external fonts
  or images. Every colour is a custom property; light is the default, dark follows prefers-color-scheme.

  Shares its design language with the Nomad Medi product site (nomadmedi-site/site/site.css): the
  microplate-well dot grid, specimen-tube cap colours as markers, and the app's royal-blue accent.
  The company page's one signature element is the 96-well plate in the hero.
*/

:root {
  color-scheme: light dark;

  /* surfaces */
  --bg: #f3f6fa;
  --bg-2: #e9eef5;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --line: rgb(11 26 44 / 0.09);
  --line-strong: rgb(11 26 44 / 0.16);

  /* text (AA on --bg and --surface) */
  --ink: #0b1a2c;
  --ink-2: #33445a;
  --muted: #526175;

  /* accent: same royal blue as the app */
  --accent: #0071e3;
  --accent-hover: #0062c4;
  --accent-ink: #0058b3;
  --accent-soft: #e4effc;
  --on-accent: #ffffff;

  /* specimen-tube cap colours (markers only, never text) */
  --cap-lavender: #8b6fd6;
  --cap-red: #d6453d;
  --cap-blue: #3d9be0;
  --cap-gold: #d9a21b;
  --cap-green: #2e9e6a;
  --cap-grey: #8a94a3;

  --ok: #1d7a3a;
  --ok-soft: #e6f5ea;

  /* the deep band (analyzers) stays dark in both themes */
  --deep: #0a1830;
  --deep-line: rgb(255 255 255 / 0.11);
  --deep-ink: #eef4fb;
  --deep-ink-2: #d3deeb;
  --deep-muted: #aebdcf;
  --deep-accent: #79b8ff;

  --well: rgb(11 26 44 / 0.075);
  --mesh-1: rgb(0 113 227 / 0.16);
  --mesh-2: rgb(139 111 214 / 0.13);
  --mesh-3: rgb(61 155 224 / 0.12);

  --shadow-sm: 0 1px 2px rgb(11 26 44 / 0.05), 0 2px 8px -2px rgb(11 26 44 / 0.06);
  --shadow-md: 0 1px 2px rgb(11 26 44 / 0.04), 0 12px 32px -12px rgb(11 26 44 / 0.16);
  --shadow-lg: 0 2px 6px rgb(11 26 44 / 0.05), 0 30px 70px -24px rgb(11 26 44 / 0.28);
  --btn-glow: 0 1px 2px rgb(0 40 90 / 0.2), 0 8px 20px -8px rgb(0 113 227 / 0.55);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI Variable Text",
    "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-code: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07101c;
    --bg-2: #0f1b2c;
    --surface: #0d1929;
    --surface-2: #0a1524;
    --line: rgb(214 228 245 / 0.09);
    --line-strong: rgb(214 228 245 / 0.17);

    --ink: #edf3fa;
    --ink-2: #c3cfdd;
    --muted: #97a6b9;

    --accent: #0071e3;
    --accent-hover: #1a80ea;
    --accent-ink: #72b4ff;
    --accent-soft: rgb(0 113 227 / 0.18);

    --ok: #66d391;
    --ok-soft: rgb(102 211 145 / 0.12);

    --deep: #0d2140;

    --well: rgb(214 228 245 / 0.07);
    --mesh-1: rgb(0 113 227 / 0.28);
    --mesh-2: rgb(139 111 214 / 0.18);
    --mesh-3: rgb(61 155 224 / 0.14);

    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
    --shadow-md: 0 1px 2px rgb(0 0 0 / 0.3), 0 14px 34px -14px rgb(0 0 0 / 0.6);
    --shadow-lg: 0 2px 6px rgb(0 0 0 / 0.35), 0 30px 70px -24px rgb(0 0 0 / 0.75);
    --btn-glow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px -8px rgb(0 113 227 / 0.7);
  }
}

/* ------------------------------------------------------------------ base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.008em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

code {
  font-family: var(--font-code);
  font-size: 0.88em;
}

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--btn-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--muted);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9375rem;
}

.btn-quiet {
  background: transparent;
  color: var(--ink);
}

.btn-quiet:hover {
  background: var(--bg-2);
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 2px;
}

.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--bg-2);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 960px) {
  .js .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    padding: 4px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
  }

  .js .site-nav a {
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
  }

  /* without JavaScript the section links are simply hidden on small screens; the page scrolls */
  html:not(.js) .site-nav {
    display: none;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .header-actions .btn-demo {
    display: none;
  }

  .header-inner {
    gap: 12px;
  }
}

/* ------------------------------------------------------------------ section rhythm */
.section {
  padding: clamp(72px, 10vw, 136px) 0;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head h2,
.deep h2,
.pricing-card h2 {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.section-head p {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ textures */
.hero,
.closing,
.page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* microplate wells */
.hero::after,
.closing::after,
.page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at center, var(--well) 2.2px, transparent 2.8px);
  background-size: 22px 22px;
  background-position: -11px -11px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / 0.55) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / 0.55) 55%, transparent 100%);
  pointer-events: none;
}

.closing::after {
  -webkit-mask-image: radial-gradient(60% 70% at 50% 60%, #000, transparent);
  mask-image: radial-gradient(60% 70% at 50% 60%, #000, transparent);
}

/* soft mesh */
.hero::before,
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40% 55% at 80% 30%, var(--mesh-1), transparent 70%),
    radial-gradient(30% 40% at 98% 78%, var(--mesh-2), transparent 70%),
    radial-gradient(35% 45% at 8% 6%, var(--mesh-3), transparent 70%);
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(45% 60% at 50% 100%, var(--mesh-1), transparent 70%),
    radial-gradient(30% 40% at 85% 30%, var(--mesh-2), transparent 70%);
}

/* ------------------------------------------------------------------ hero */
.hero {
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 104px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 26px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
}

.hero-kicker .tag {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 650;
}

.hero h1 {
  font-size: clamp(2.6rem, 1.3rem + 5.2vw, 5.4rem);
  font-weight: 750;
  line-height: 0.99;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.hero-lede {
  max-width: 34rem;
  margin-top: 26px;
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-actions .btn {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1.0625rem;
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  padding: 64px 0 36px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
}

.footer-grid > div p {
  max-width: 22rem;
  margin-top: 14px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.site-footer ul {
  display: grid;
  gap: 10px;
}

.site-footer ul a {
  color: var(--ink-2);
  text-decoration: none;
}

.site-footer ul a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

/* ------------------------------------------------------------------ simple pages (legal, 404) */
.page {
  min-height: calc(100vh - var(--header-h) - 280px);
  padding: clamp(64px, 10vw, 136px) 0;
}

.page-inner {
  max-width: 42rem;
}

.page-inner h1 {
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.25rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.page-inner p {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 1.125rem;
}

.page-inner .hero-actions {
  margin-top: 32px;
}

.page-meta {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 550;
}

.page-code {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-ink);
  font-size: clamp(4.5rem, 3rem + 7vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}


/* ------------------------------------------------------------------ hero plate (signature element) */
.hero h1 {
  max-width: 12ch;
}

.plate {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.plate svg {
  width: 100%;
  height: auto;
}

.plate-body {
  fill: var(--surface-2);
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.plate-label {
  fill: var(--muted);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.plate .well {
  fill: var(--surface);
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.plate .fill {
  transform-box: fill-box;
  transform-origin: center;
}

.plate .f-lav { fill: var(--cap-lavender); }
.plate .f-red { fill: var(--cap-red); }
.plate .f-blue { fill: var(--cap-blue); }
.plate .f-gold { fill: var(--cap-gold); }
.plate .f-green { fill: var(--cap-green); }
.plate .f-accent { fill: var(--accent); }

.plate-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
}

.plate-foot strong {
  color: var(--ink);
  font-weight: 620;
}

/* the one load moment: the plate is filled column by column, like a pipette run */
@media (prefers-reduced-motion: no-preference) {
  .plate .fill {
    animation: well-in 0.5s var(--ease) both;
  }
  .plate .c1 { animation-delay: 0.25s; }
  .plate .c2 { animation-delay: 0.33s; }
  .plate .c3 { animation-delay: 0.41s; }
  .plate .c4 { animation-delay: 0.49s; }
  .plate .c5 { animation-delay: 0.57s; }
  .plate .c6 { animation-delay: 0.65s; }
  .plate .c7 { animation-delay: 0.73s; }
  .plate .c8 { animation-delay: 0.81s; }
  .plate .c9 { animation-delay: 0.89s; }
  .plate .c10 { animation-delay: 0.97s; }
  .plate .c11 { animation-delay: 1.05s; }
  .plate .c12 { animation-delay: 1.13s; }
}

@keyframes well-in {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ------------------------------------------------------------------ our product */
.product {
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.product-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 6vw, 72px);
  border-radius: clamp(22px, 3vw, 36px);
  background: var(--deep);
  color: var(--deep-ink);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 100% 0%, rgb(0 113 227 / 0.45), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgb(139 111 214 / 0.22), transparent 70%);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at center, rgb(255 255 255 / 0.07) 2px, transparent 2.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent);
  mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent);
}

.product-id {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-id svg {
  width: 52px;
  height: 52px;
  flex: none;
}

.product-id h3 {
  color: #fff;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.product-id p {
  margin-top: 2px;
  color: var(--deep-accent);
  font-size: 1rem;
  font-weight: 600;
}

.product-summary {
  max-width: 36rem;
  margin-top: 24px;
  color: var(--deep-ink-2);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin-top: 30px;
}

.highlights li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--deep-muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.highlights svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  color: var(--deep-accent);
}

.highlights strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 620;
}

.product-card .hero-actions {
  margin-top: 36px;
}

.btn-on-deep {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  border-color: rgb(255 255 255 / 0.22);
}

.btn-on-deep:hover {
  background: rgb(255 255 255 / 0.14);
  border-color: rgb(255 255 255 / 0.4);
}

.product-card :focus-visible {
  outline-color: var(--deep-accent);
}

/* the workflow excerpt on the right of the product card */
.flow {
  padding: 24px;
  border: 1px solid var(--deep-line);
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / 0.045);
}

.flow h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.flow ol li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--deep-ink-2);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.flow ol li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--deep-accent);
  box-shadow: 0 0 0 3px rgb(121 184 255 / 0.22);
}

.flow ol li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 28px;
  bottom: -12px;
  width: 2px;
  background: rgb(121 184 255 / 0.3);
}

.flow ol li:last-child::after {
  display: none;
}

.flow-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 7px 13px 7px 9px;
  border-radius: 999px;
  background: rgb(102 211 145 / 0.14);
  color: #7fe0a6;
  font-size: 0.875rem;
  font-weight: 650;
}

.flow-seal svg {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------------ how we build */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 72px);
}

.principle {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 30px 0;
  border-top: 1px solid var(--line-strong);
}

.principle-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.principle-icon svg {
  width: 24px;
  height: 24px;
}

.principle h3 {
  font-size: 1.3125rem;
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.principle p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ contact */
.closing {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.closing h2 {
  max-width: 14ch;
  margin: 0 auto;
  font-size: clamp(2.5rem, 1.3rem + 4.8vw, 4.75rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.closing p {
  max-width: 36rem;
  margin: 22px auto 0;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

.closing .hero-actions {
  justify-content: center;
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 960px) {
  .product-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow {
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .plate {
    max-width: 600px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .principles-grid,
  .highlights {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

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

  .flow {
    padding: 20px;
  }

  .principle {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .menu-toggle,
  .hero::before,
  .hero::after {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  .product-card {
    border: 1px solid var(--deep-line);
  }
}
