:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #6f6b62;
  --soft: #f5f3ee;
  --paper: #fffefa;
  --line: #ded9cf;
  --line-strong: #c9c1b5;
  --rail: #101214;
  --accent: #2f6fec;
  --accent-dark: #1d56c9;
  --green: #138a63;
  --amber: #b77700;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--soft);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(16, 18, 20, 0.04), transparent 28%),
    var(--soft);
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 243, 238, 0.9);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 3;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 790;
  font-size: 18px;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 7px;
  background: #0f172a;
}

.brand-mark span {
  border-radius: 4px;
  background: #2563eb;
}

.brand-mark span:nth-child(2) {
  background: #0b1f3a;
  transform: translateY(5px);
}

.brand-mark span:nth-child(3) {
  background: #f59e0b;
  transform: translateY(-3px);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-header nav a {
  min-height: 36px;
  border-radius: 7px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(30px, 6vw, 88px);
  padding: clamp(42px, 8vw, 96px) clamp(20px, 5vw, 84px);
}

.hero-copy {
  max-width: 790px;
  animation: enter 520ms ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 790;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.94;
  max-width: 880px;
}

.page-heading h1,
.legal-content h1,
.center-page h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
}

.lede {
  margin: 20px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  min-height: 42px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 760;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

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

.primary {
  color: #fff;
  background: var(--accent);
}

.primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 12px 28px rgba(47, 111, 236, 0.18);
}

.secondary {
  background: #ebe7de;
  color: var(--ink);
}

.product-visual {
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: clamp(20px, 3vw, 32px);
  display: grid;
  align-content: center;
  gap: 18px;
  box-shadow: 0 24px 70px rgba(16, 18, 20, 0.08);
  animation: enter 620ms 100ms ease both;
}

.visual-top,
.visual-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.visual-top span {
  color: var(--muted);
  font-weight: 740;
}

.visual-top strong {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 36px;
  border: 10px solid var(--accent);
  box-shadow: inset 0 0 0 1px var(--line);
}

.visual-line {
  height: 10px;
  width: 52%;
  border-radius: 999px;
  background: #e4dfd5;
}

.visual-line.wide {
  width: 84%;
}

.visual-row {
  min-height: 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.visual-row b {
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  color: #8e321d;
  background: #f7e1d8;
}

.visual-row b.amber {
  color: #744800;
  background: #f6e7c4;
}

.visual-row b.green {
  color: var(--green);
  background: #e9f3ee;
}

.split-section,
.page-shell,
.legal-shell {
  padding: clamp(42px, 7vw, 86px) clamp(20px, 5vw, 84px);
}

.split-section {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
}

.link-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.link-list a {
  padding: 22px;
  text-decoration: none;
  border-top: 1px solid var(--line);
  transition: background 150ms ease;
}

.link-list a:first-child {
  border-top: 0;
}

.link-list a:hover {
  background: #fbf8f0;
}

.link-list span {
  font-weight: 790;
}

.link-list p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.page-heading {
  max-width: 780px;
}

.form-layout {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 22px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 730;
}

.full-span,
.contact-form .button {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
}

textarea {
  min-height: 160px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(47, 111, 236, 0.45);
  outline-offset: 2px;
}

.hidden-field {
  display: none;
}

.support-notes {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
}

.support-notes p,
.support-notes li {
  color: var(--muted);
  line-height: 1.55;
}

.support-notes ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.legal-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 820px);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.legal-index {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 4px;
}

.legal-index span {
  margin-bottom: 10px;
  font-weight: 790;
}

.legal-index a {
  min-height: 34px;
  display: flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.legal-index a:hover {
  color: var(--ink);
}

.legal-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: clamp(24px, 4vw, 48px);
}

.legal-content h2 {
  margin-top: 36px;
  font-size: 25px;
}

.legal-content p,
.legal-content li,
.legal-content td,
.legal-content th {
  color: var(--muted);
  line-height: 1.62;
}

.legal-content ul,
.legal-content ol {
  padding-left: 21px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

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

.legal-content th {
  color: var(--ink);
  background: #f0ece4;
}

.text-link {
  color: var(--accent);
  font-weight: 780;
}

.center-page {
  min-height: 100svh;
  display: grid;
  place-content: center;
  gap: 18px;
  padding: 32px;
  text-align: center;
}

.center-page .brand {
  justify-self: center;
}

.center-page p {
  margin: 0;
  color: var(--muted);
}

.center-page .button {
  justify-self: center;
}

.site-footer {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  margin-left: 14px;
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .hero,
  .split-section,
  .form-layout,
  .legal-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .legal-index {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }
}

@media (max-width: 620px) {
  .site-header nav {
    width: 100%;
  }

  .site-header nav a {
    flex: 1;
    justify-content: center;
    min-width: 74px;
  }

  .hero-actions,
  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer a {
    margin: 0 12px 0 0;
  }
}
