/* Cevr — production static site v7 */

:root {
  color-scheme: dark;

  --bg: #101214;
  --surface: #15181b;
  --surface-2: #181c20;
  --surface-3: #1d2227;

  --text: #f3f4f6;
  --text-soft: #d7dce2;
  --muted: #a6adb6;
  --faint: #747d89;

  --line: rgba(255, 255, 255, 0.105);
  --line-soft: rgba(255, 255, 255, 0.07);

  --accent: #9fb3c8;
  --accent-strong: #c8d6e3;
  --accent-soft: rgba(159, 179, 200, 0.12);

  --shadow: 0 18px 48px rgba(0, 0, 0, 0.13);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --container: 1120px;
  --gutter: 40px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 44px;
  --space-7: 56px;
  --space-8: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(159, 179, 200, 0.055), transparent 31rem),
    linear-gradient(180deg, #111417 0%, var(--bg) 46%, #0e1012 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  letter-spacing: -0.014em;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
}

ul {
  margin: 0;
}

.container {
  width: min(100% - var(--gutter), var(--container));
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171a1e;
  color: var(--accent-strong);
  font-weight: 720;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav a,
.mobile-nav a {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.nav a:hover,
.mobile-nav a:hover {
  color: var(--text);
}

.mobile-menu {
  display: none;
  position: relative;
  margin-left: auto;
}

.mobile-menu summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  user-select: none;
  touch-action: manipulation;
}

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

.mobile-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.mobile-menu[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.mobile-nav {
  width: 192px;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(24, 28, 32, 0.98);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  display: grid;
  align-content: center;
  border-bottom: 1px solid var(--line-soft);
}

.home-hero {
  min-height: 500px;
  padding: var(--space-8) 0 var(--space-7);
}

.page-hero {
  min-height: 330px;
  padding: var(--space-7) 0 var(--space-6);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7.4vw, 84px);
  line-height: 0.97;
  letter-spacing: -0.066em;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.hero-copy {
  max-width: 670px;
  margin-bottom: var(--space-5);
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.page-hero .hero-copy {
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: #e8edf2;
  color: #111417;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.section {
  padding: var(--space-7) 0;
  border-bottom: 1px solid var(--line-soft);
}

.section.tight {
  padding: var(--space-5) 0;
}

.section:last-of-type {
  border-bottom: 0;
}

.statement-card {
  padding: clamp(26px, 4.5vw, 46px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow);
}

.statement-card p {
  max-width: 890px;
  color: var(--text-soft);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.section-heading {
  padding-top: 4px;
}

.section-heading h2 {
  max-width: 460px;
  font-size: clamp(32px, 4.7vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.section-heading p {
  max-width: 420px;
  margin-top: var(--space-4);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.product-card,
.principle,
.info-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.product-card {
  padding: clamp(28px, 4.5vw, 42px);
}

.product-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-4);
}

.status-pill,
.product-type {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
}

.status-pill {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.product-type {
  border: 1px solid var(--line-soft);
  color: var(--muted);
}

.product-card h3 {
  max-width: 620px;
  margin-bottom: var(--space-3);
  font-size: clamp(23px, 2.7vw, 31px);
  line-height: 1.1;
  letter-spacing: -0.043em;
}

.product-card p {
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.feature-list {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4) 0 0;
  margin-top: var(--space-4);
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: #cdd3da;
  line-height: 1.52;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.principle {
  min-height: 200px;
  padding: var(--space-4);
}

.principle h3 {
  margin-bottom: var(--space-3);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.principle p,
.info-card p,
.privacy-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.info-card {
  padding: var(--space-4);
}

.info-card h3 {
  margin-bottom: var(--space-3);
  font-size: 19px;
  line-height: 1.2;
}

.privacy-copy {
  display: grid;
  gap: var(--space-3);
}

.privacy-copy p {
  font-size: 17px;
}

.page-copy {
  max-width: 760px;
  display: grid;
  gap: var(--space-4);
}

.page-copy h2 {
  margin-top: var(--space-5);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.page-copy h2:first-of-type {
  margin-top: var(--space-3);
}

.page-copy p,
.page-copy li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.page-copy strong {
  color: var(--text-soft);
}

.page-copy a {
  color: var(--accent-strong);
}

.page-copy ul {
  display: grid;
  gap: var(--space-2);
  padding-left: 20px;
}

.site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 13px;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;

    --bg: #f4f2ee;
    --surface: #f7f6f3;
    --surface-2: #ffffff;
    --surface-3: #f0eee9;

    --text: #15181c;
    --text-soft: #2a3037;
    --muted: #5f6873;
    --faint: #7d8792;

    --line: rgba(21, 24, 28, 0.12);
    --line-soft: rgba(21, 24, 28, 0.08);

    --accent: #51677d;
    --accent-strong: #33485e;
    --accent-soft: rgba(81, 103, 125, 0.10);

    --shadow: 0 18px 48px rgba(21, 24, 28, 0.06);
  }

  body {
    background:
      radial-gradient(circle at 20% 0%, rgba(81, 103, 125, 0.065), transparent 31rem),
      linear-gradient(180deg, #f8f7f4 0%, var(--bg) 52%, #efede8 100%);
  }

  .brand-mark {
    background: #f7f6f3;
  }

  .button.primary {
    background: #15181c;
    color: #ffffff;
  }

  .button.secondary {
    background: rgba(255, 255, 255, 0.55);
  }

  .mobile-menu summary {
    background: rgba(255, 255, 255, 0.55);
  }

  .mobile-nav {
    background: rgba(255, 255, 255, 0.98);
  }

  .mobile-nav a:hover {
    background: rgba(21, 24, 28, 0.045);
  }

  .feature-list li {
    color: #3e4650;
  }
}

@media (max-width: 960px) {
  :root {
    --gutter: 32px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

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

  .section-heading h2,
  .section-heading p {
    max-width: 680px;
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 28px;
    --space-7: 48px;
    --space-8: 56px;
  }

  .site-header {
    min-height: 72px;
    padding: 16px 0;
  }

  .home-hero {
    min-height: 460px;
  }

  .page-hero {
    min-height: 290px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
    letter-spacing: -0.058em;
  }

  .page-hero h1 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .principles-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: auto;
  }

  .site-footer {
    min-height: auto;
    padding: var(--space-4) 0;
  }
}
