:root {
  --ink: #101418;
  --muted: #52606d;
  --line: #dbe3ea;
  --paper: #f7fafb;
  --white: #ffffff;
  --charcoal: #07100f;
  --cyan: #00b8d9;
  --mint: #27d7a6;
  --amber: #ffb13d;
  --coral: #ee6b5f;
  --shadow: 0 24px 70px rgba(12, 24, 32, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 16, 15, 0.74);
  color: var(--white);
  padding: 0 18px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 2px solid var(--mint);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(39, 215, 166, 0.22), transparent 48%),
    #0b1d1a;
}

.brand-mark::after {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 12px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  color: var(--white);
  outline: 0;
}

.site-header.is-scrolled {
  min-height: 58px;
  background: rgba(7, 16, 15, 0.88);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--white);
}

.nav-toggle span + span {
  margin-top: 4px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 88vh;
  overflow: hidden;
  align-items: end;
  background: var(--charcoal);
  color: var(--white);
}

.hero-canvas,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  width: 100%;
  height: 100%;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(7, 16, 15, 0.96) 0%, rgba(7, 16, 15, 0.74) 42%, rgba(7, 16, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 16, 15, 0.72) 0%, rgba(7, 16, 15, 0) 48%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 150px 0 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 8.6rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.32rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  padding: 12px 18px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: 0;
}

.button-primary {
  background: var(--mint);
  color: #07100f;
  box-shadow: 0 16px 34px rgba(39, 215, 166, 0.22);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero-proof {
  display: grid;
  max-width: 780px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 50px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.hero-proof div {
  min-width: 0;
  background: rgba(7, 16, 15, 0.72);
  padding: 18px;
}

.hero-proof dt {
  color: var(--white);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.hero-proof dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

.signal-strip {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 18px;
  text-align: center;
}

.signal-strip span {
  max-width: 760px;
  color: #38444d;
  font-weight: 700;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading.compact {
  max-width: 520px;
}

.section-heading h2,
.metric-panel h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 4.1rem;
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.feature-card,
.solution-list article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 280px;
  padding: 28px;
}

.feature-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #e6fbf5;
  color: #087a63;
  font-weight: 800;
}

.feature-card h3,
.solution-list h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 1.28rem;
}

.feature-card p,
.solution-list p,
.check-list {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: start;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.solution-list article {
  min-height: 210px;
  padding: 24px;
  box-shadow: none;
}

.solution-list article:nth-child(2) {
  border-top: 4px solid var(--amber);
}

.solution-list article:nth-child(3) {
  border-top: 4px solid var(--coral);
}

.solution-list article:nth-child(4) {
  border-top: 4px solid var(--cyan);
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: stretch;
}

.metric-panel {
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
  padding: 34px;
}

.metric-panel h2 {
  color: var(--white);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.metrics-grid div {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  padding: 26px;
}

.metrics-grid strong {
  color: #0b8f75;
  font-size: 3.4rem;
  line-height: 1;
}

.metrics-grid span {
  color: var(--muted);
  font-weight: 700;
}

.security-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

.security-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(39, 215, 166, 0.18), transparent 38%),
    linear-gradient(315deg, rgba(255, 177, 61, 0.14), transparent 40%),
    #07100f;
  box-shadow: var(--shadow);
}

.security-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 104px;
  height: 104px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(39, 215, 166, 0.72);
  border-radius: 8px;
  background: rgba(39, 215, 166, 0.12);
  box-shadow: 0 0 44px rgba(39, 215, 166, 0.32);
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.ring-one {
  width: 190px;
  height: 190px;
}

.ring-two {
  width: 292px;
  height: 292px;
}

.ring-three {
  width: 394px;
  height: 394px;
}

.node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 30px rgba(255, 177, 61, 0.55);
}

.node-a {
  top: 22%;
  left: 58%;
}

.node-b {
  top: 65%;
  left: 25%;
  background: var(--cyan);
}

.node-c {
  top: 72%;
  right: 20%;
  background: var(--mint);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--mint);
  color: var(--charcoal);
  content: "";
}

.check-list li::after {
  position: absolute;
  top: 6px;
  left: 5px;
  width: 7px;
  height: 4px;
  transform: rotate(-45deg);
  border-bottom: 2px solid var(--charcoal);
  border-left: 2px solid var(--charcoal);
  content: "";
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd6df;
  border-radius: 7px;
  background: #fbfdfe;
  color: var(--ink);
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(0, 184, 217, 0.18);
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: -4px 0 0;
  color: #0b8f75;
  font-weight: 800;
}

.site-footer {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  padding: 26px max(16px, calc((100vw - 1120px) / 2));
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-brand,
.site-footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
  outline: 0;
}

.legal-page {
  background: var(--paper);
}

.legal-page .privacy-hero,
.legal-page .terms-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 16, 15, 0.97) 0%, rgba(7, 16, 15, 0.82) 52%, rgba(7, 16, 15, 0.5) 100%),
    radial-gradient(circle at 82% 22%, rgba(39, 215, 166, 0.28), transparent 28%),
    radial-gradient(circle at 72% 76%, rgba(255, 177, 61, 0.22), transparent 25%),
    #07100f;
  color: var(--white);
  padding: 152px 0 76px;
  text-align: left;
}

.legal-page .privacy-hero::before,
.legal-page .terms-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}

.legal-page .privacy-hero .container,
.legal-page .terms-hero .container {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.legal-page .privacy-hero h1,
.legal-page .terms-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.legal-page .privacy-hero p,
.legal-page .terms-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.15rem;
}

.legal-page .privacy-content,
.legal-page .terms-content {
  background: var(--paper);
  padding: 82px 0 96px;
}

.legal-page .privacy-container,
.legal-page .terms-container {
  width: min(920px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.legal-page .privacy-section,
.legal-page .terms-section,
.legal-page .update-date {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-page .privacy-section,
.legal-page .terms-section {
  margin-bottom: 18px;
  padding: 34px;
}

.legal-page .privacy-section h2,
.legal-page .terms-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  padding-bottom: 14px;
}

.legal-page .privacy-section h3,
.legal-page .terms-section h3,
.legal-page .terms-section h4 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
}

.legal-page .privacy-section p,
.legal-page .privacy-section li,
.legal-page .terms-section p,
.legal-page .terms-section li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-page .privacy-section p,
.legal-page .terms-section p {
  margin: 0 0 14px;
}

.legal-page .privacy-section ul,
.legal-page .privacy-section ol,
.legal-page .terms-section ul,
.legal-page .terms-section ol {
  margin: 14px 0;
  padding-left: 22px;
}

.legal-page .privacy-section li,
.legal-page .terms-section li {
  margin-bottom: 8px;
}

.legal-page .privacy-section a,
.legal-page .terms-section a {
  color: #0b8f75;
  font-weight: 800;
}

.legal-page .privacy-section a:hover,
.legal-page .terms-section a:hover {
  text-decoration: underline;
}

.legal-page .privacy-section code {
  border-radius: 6px;
  background: #edf4f7;
  color: var(--ink);
  padding: 2px 6px;
}

.legal-page .policy-meta {
  color: var(--ink);
  font-weight: 800;
}

.legal-page .section-number {
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #e6fbf5;
  color: #087a63;
  font-size: 1rem;
  font-weight: 800;
  margin-right: 0;
}

.legal-page .table-container {
  overflow-x: auto;
  margin: 24px 0;
}

.legal-page .privacy-table {
  width: 100%;
  min-width: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: none;
}

.legal-page .privacy-table th,
.legal-page .privacy-table td {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  padding: 14px;
  text-align: left;
}

.legal-page .privacy-table th {
  background: #edf4f7;
  color: var(--ink);
  font-weight: 800;
}

.legal-page .privacy-table tr:last-child td {
  border-bottom: 0;
}

.legal-page .contact-info,
.legal-page .update-date,
.legal-page .highlight-box {
  border-left: 4px solid var(--mint);
  background: #edf8f5;
  border-radius: var(--radius);
  margin: 22px 0;
  padding: 18px 20px;
}

.legal-page .update-date {
  margin-bottom: 18px;
}

.legal-page .contact-info p,
.legal-page .update-date p,
.legal-page .highlight-box p {
  margin: 0;
  color: #0d5f51;
  font-weight: 700;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(260px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(7, 16, 15, 0.95);
    padding: 8px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 86vh;
  }

  .hero h1 {
    font-size: 5.7rem;
  }

  .hero-copy {
    font-size: 1.16rem;
  }

  .hero-proof dt {
    font-size: 2rem;
  }

  .section-heading h2,
  .metric-panel h2,
  .contact-copy h2 {
    font-size: 3.15rem;
  }

  .metrics-grid strong {
    font-size: 2.9rem;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(7, 16, 15, 0.95), rgba(7, 16, 15, 0.58)),
      linear-gradient(0deg, rgba(7, 16, 15, 0.78), rgba(7, 16, 15, 0.04));
  }

  .hero-proof,
  .platform-grid,
  .split-section,
  .proof-section,
  .security-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .solution-list,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 74px 0;
  }

  .security-visual {
    min-height: 360px;
  }

  .legal-page .privacy-hero h1,
  .legal-page .terms-hero h1 {
    font-size: 3.3rem;
  }

  .legal-page .privacy-hero p,
  .legal-page .terms-hero p {
    font-size: 1.05rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 0 12px;
  }

  .brand {
    font-size: 0.94rem;
  }

  .hero-inner {
    width: calc(100% - 28px);
    padding: 128px 0 36px;
  }

  .hero h1 {
    font-size: 3.85rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-proof dt {
    font-size: 1.8rem;
  }

  .section-heading h2,
  .metric-panel h2,
  .contact-copy h2 {
    font-size: 2.35rem;
  }

  .metrics-grid strong {
    font-size: 2.35rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .section {
    width: calc(100% - 28px);
    padding: 62px 0;
  }

  .feature-card,
  .solution-list article,
  .contact-form {
    padding: 22px;
  }

  .security-visual {
    min-height: 300px;
  }

  .ring-three {
    width: 330px;
    height: 330px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-page .privacy-hero,
  .legal-page .terms-hero {
    padding: 124px 0 54px;
  }

  .legal-page .privacy-hero .container,
  .legal-page .terms-hero .container,
  .legal-page .privacy-container,
  .legal-page .terms-container {
    width: calc(100% - 28px);
  }

  .legal-page .privacy-hero h1,
  .legal-page .terms-hero h1 {
    font-size: 2.45rem;
  }

  .legal-page .privacy-content,
  .legal-page .terms-content {
    padding: 54px 0 68px;
  }

  .legal-page .privacy-section,
  .legal-page .terms-section {
    padding: 22px;
  }

  .legal-page .privacy-section h2,
  .legal-page .terms-section h2 {
    align-items: flex-start;
    font-size: 1.26rem;
  }

  .legal-page .section-number {
    min-width: 30px;
    height: 30px;
  }
}

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