/* SPDX-License-Identifier: GPL-3.0-or-later */

:root {
  color-scheme: light dark;
  --ink: #16202a;
  --muted: #526273;
  --canvas: #f5f8fb;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #ffffff;
  --line: rgba(33, 58, 82, 0.14);
  --accent: #147bb8;
  --accent-strong: #0a5f9e;
  --accent-soft: #dceffa;
  --navy: #10283b;
  --shadow: 0 24px 70px rgba(35, 67, 92, 0.13);
  --radius: 1.1rem;
  --page: min(1160px, calc(100% - 2.5rem));
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f0f6fa;
    --muted: #aabac7;
    --canvas: #10171d;
    --surface: rgba(28, 38, 46, 0.88);
    --surface-solid: #1b252d;
    --line: rgba(202, 225, 240, 0.13);
    --accent: #52b9ec;
    --accent-strong: #8ed7fa;
    --accent-soft: #183c50;
    --navy: #dff3ff;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% -5%, rgba(52, 165, 220, 0.18), transparent 34rem),
    radial-gradient(circle at -5% 28%, rgba(32, 119, 176, 0.1), transparent 30rem),
    var(--canvas);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.13em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 0.25rem;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-180%);
  background: var(--surface-solid);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: var(--page);
  min-height: 4.75rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand img {
  width: 2.35rem;
  height: 2.35rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 620;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  width: var(--page);
  min-height: 45rem;
  margin: 0 auto;
  padding: 7rem 0 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(22rem, 0.96fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  color: var(--navy);
  font-size: clamp(3.1rem, 7vw, 6rem);
  font-weight: 780;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 750;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.hero__lede {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.3rem);
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  padding: 0.7rem 1.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface-solid);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button--primary {
  border-color: transparent;
  background: var(--accent-strong);
  color: #fff;
}

@media (prefers-color-scheme: dark) {
  .button--primary {
    color: #07131a;
  }
}

.hero__facts {
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
}

.hero__facts li {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.suite-window {
  position: relative;
  overflow: hidden;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.suite-window::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(93, 194, 242, 0.16), transparent 42%);
}

.window-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.25rem 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.window-bar img {
  width: 1.7rem;
  height: 1.7rem;
  margin-right: 0.15rem;
}

.window-bar__rule {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.suite-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.suite-tile {
  min-height: 8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
}

.suite-tile:first-child {
  grid-column: 1 / -1;
  min-height: 10.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--accent-soft), var(--surface-solid));
}

.suite-tile img {
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 0.85rem;
}

.suite-tile:first-child img {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0;
}

.suite-tile strong,
.suite-tile span {
  display: block;
}

.suite-tile strong {
  font-size: 0.95rem;
}

.suite-tile span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.4;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 6.5rem 0;
}

.section--bordered {
  border-top: 1px solid var(--line);
}

.section__intro {
  max-width: 48rem;
  margin-bottom: 2.8rem;
}

.section__intro p,
.large-copy {
  color: var(--muted);
  font-size: 1.12rem;
}

.principles,
.product-grid,
.privacy-grid {
  display: grid;
  gap: 1rem;
}

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

.principle,
.product-card,
.privacy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.principle {
  padding: 1.5rem;
}

.principle p,
.product-card p,
.privacy-card p {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  grid-template-columns: repeat(12, 1fr);
}

.product-card {
  grid-column: span 4;
  min-height: 15rem;
  padding: 1.6rem;
}

.product-card:nth-child(1),
.product-card:nth-child(2) {
  grid-column: span 6;
}

.product-card__top {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-card__top img {
  width: 3.2rem;
  height: 3.2rem;
}

.product-card__label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-band {
  width: var(--page);
  margin: 2rem auto 0;
  padding: clamp(2rem, 5vw, 4.3rem);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--surface-solid), var(--accent-soft));
  box-shadow: var(--shadow);
}

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

.privacy-card {
  padding: 1.25rem;
}

.privacy-card h3 {
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.release-note {
  max-width: 52rem;
  margin: 0 auto;
  padding: 3rem;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.release-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 3.5rem 0;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: inherit;
}

.legal {
  width: min(820px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5.5rem 0 7rem;
}

.legal h1 {
  max-width: none;
  margin-bottom: 0.75rem;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
}

.legal .effective {
  margin: 0 0 3.5rem;
  color: var(--muted);
}

.legal h2 {
  margin-top: 3rem;
  margin-bottom: 0.8rem;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.legal h3 {
  margin-top: 2rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.legal p,
.legal li {
  color: color-mix(in srgb, var(--ink) 86%, var(--muted));
}

.legal li + li {
  margin-top: 0.55rem;
}

.legal-summary {
  margin: 2rem 0 3.5rem;
  padding: 1.4rem 1.5rem;
  border-left: 0.3rem solid var(--accent);
  border-radius: 0 0.8rem 0.8rem 0;
  background: var(--accent-soft);
}

.legal-summary p {
  margin: 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.data-table th,
.data-table td {
  padding: 0.9rem 0.75rem;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 850px) {
  .hero {
    min-height: auto;
    padding: 5rem 0;
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 11ch;
  }

  .suite-window {
    max-width: 38rem;
  }

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

  .product-card,
  .product-card:nth-child(1),
  .product-card:nth-child(2) {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  :root {
    --page: min(100% - 1.5rem, 1160px);
  }

  .site-header__inner {
    min-height: 4.2rem;
  }

  .site-nav a:first-child {
    display: none;
  }

  .hero {
    padding-top: 4rem;
  }

  .suite-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .suite-tile:first-child {
    grid-column: auto;
  }

  .product-card,
  .product-card:nth-child(1),
  .product-card:nth-child(2) {
    grid-column: 1 / -1;
  }

  .section {
    padding: 5rem 0;
  }

  .site-footer {
    flex-direction: column;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .data-table tr {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .data-table td {
    padding: 0.25rem 0;
    border: 0;
  }
}

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