:root {
  /* Color */
  --navy:        #15263F;  /* headings, header text, footer background */
  --ink:         #3A4A5F;  /* body text */
  --muted:       #5C6B7A;  /* secondary text, captions */
  --bg:          #FFFFFF;  /* main background */
  --bg-soft:     #F4F7FA;  /* alternating section background */
  --accent:      #1F5C99;  /* cool blue: links, primary buttons */
  --accent-hover:#1A4F84;  /* button and link hover */
  --ice:         #6FA8BE;  /* icy highlight, used only on the falls accent and dividers */
  --border:      #E2E9F0;  /* hairline borders, card edges */

  /* Type */
  --font-display: "Geist", "Inter", system-ui, sans-serif;  /* wordmark + headings */
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;  /* body, nav, buttons */

  /* Layout */
  --maxw: 1080px;        /* content max width */
  --gutter: 24px;        /* page side padding on mobile */
  --radius: 10px;        /* card and button corners */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--ice);
  color: var(--bg);
}

body {
  margin: 0;
  padding-top: 64px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 2px;
}

p {
  margin: 0;
}

p + p {
  margin-top: 18px;
}

.hero p,
.content-narrow p,
.product-copy p {
  max-width: 42rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  color: var(--navy);
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 26px;
  line-height: 1.15;
}

h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
}

.container {
  width: min(100%, calc(var(--maxw) + (var(--gutter) * 2)));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  height: 64px;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 150ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: #E5EAF0;
}

.header-inner {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms ease;
}

.nav-link:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 22px;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: var(--bg);
}

.button .external-arrow {
  margin-left: 0.4em;
  transition: transform 150ms ease;
}

.button:hover .external-arrow {
  transform: translateX(2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #C9D6E2;
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 22px;
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease;
}

.text-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--navy);
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  content: "";
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.section,
.hero {
  padding: 64px 0;
  scroll-margin-top: 86px;
}

.section-soft {
  background: var(--bg-soft);
}

.hero {
  display: flex;
  align-items: center;
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 3px minmax(0, 740px);
  gap: 22px;
  align-items: start;
}

.falls-line {
  width: 3px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ice) 0%, var(--navy) 100%);
}

.hero-content {
  max-width: 780px;
}

.hero .eyebrow,
.section-kicker {
  display: block;
  margin-bottom: 12px;
  color: #6B7A8D;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-subheadline {
  max-width: 42rem;
  margin-top: 20px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.hero-supporting {
  max-width: 42rem;
  margin-top: 16px;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
}

.section-heading {
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 28px;
}

.section-heading::before {
  display: block;
  width: 3px;
  min-height: 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ice) 0%, var(--navy) 100%);
  content: "";
}

.section-heading-text {
  min-width: 0;
  align-self: start;
}

.content-narrow {
  max-width: 42rem;
}

.twofer-panel {
  max-width: 780px;
  border: 1px solid #E5EAF0;
  border-radius: 12px;
  background: var(--bg-soft);
  padding: 28px;
}

.product-name {
  margin-top: 4px;
  font-size: 34px;
}

.product-copy {
  max-width: 42rem;
}

.product-actions {
  margin-top: 28px;
}

.small-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.card {
  display: flex;
  height: 100%;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #E5EAF0;
  border-radius: 10px;
  background: var(--bg);
  padding: 28px;
  transition: border-color 150ms ease;
}

.card:hover {
  border-color: var(--ice);
}

.card p {
  margin-top: 12px;
}

.card h3::before {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.site-footer {
  position: relative;
  background: var(--navy);
  color: var(--bg-soft);
  padding: 36px 0;
}

.site-footer::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ice) 0%, var(--navy) 100%);
  content: "";
}

.footer-inner {
  display: grid;
  gap: 18px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-links a {
  color: var(--bg);
  font-weight: 500;
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: var(--ice);
  text-decoration: underline;
}

.legal-main {
  padding: 56px 0 78px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  font-weight: 600;
  text-decoration: none;
}

.legal-article {
  max-width: 820px;
}

.legal-article header {
  margin-bottom: 34px;
}

.legal-article h1 {
  font-size: 34px;
}

.last-updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.legal-note {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 16px 18px;
  color: var(--ink);
  font-size: 15px;
}

.legal-section {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.legal-section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

@media (min-width: 760px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 56px;
    letter-spacing: -0.025em;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 18px;
  }

  .section,
  .hero {
    padding: 80px 0;
  }

  .hero {
    padding: 96px 0 80px;
  }

  .hero-subheadline {
    font-size: 20px;
  }

  .twofer-panel {
    padding: 48px;
  }

  .falls-line {
    height: 88px;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 64px;
  }

  .section,
  .hero {
    padding: 56px 0;
  }

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

  .site-menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    padding: 18px var(--gutter) 22px;
  }

  .site-menu.is-open {
    display: grid;
    gap: 18px;
  }

  .nav-links {
    display: grid;
    gap: 14px;
  }

  .nav-link {
    font-size: 16px;
  }

  .site-menu .button {
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 3px minmax(0, 1fr);
    gap: 16px;
  }

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

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

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