:root {
  --ink: #191919;
  --ink-soft: #555861;
  --paper: #f9fafc;
  --white: #ffffff;
  --blue: #bae3fa;
  --blue-strong: #82c9f2;
  --line: #e6e8ec;
  --surface: #f1f3f6;
  --radius-lg: 32px;
  --radius-md: 22px;
  --shadow: 0 24px 70px rgba(24, 34, 48, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(249, 250, 252, 0.88);
  border-bottom: 1px solid rgba(230, 232, 236, 0.75);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  border-radius: 24%;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: #4b4e55;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.nav-contact {
  padding: 11px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
}

.nav-contact:hover {
  color: var(--white);
  background: #323232;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 102px;
}

.hero::before {
  position: absolute;
  inset: -160px auto auto 58%;
  width: 560px;
  height: 560px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.42;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 68px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #565b63;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-copy > .eyebrow span {
  width: 8px;
  height: 8px;
  background: var(--blue-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(130, 201, 242, 0.2);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(54px, 7vw, 92px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

.hero-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(25, 25, 25, 0.18);
}

.button-primary:hover {
  background: #323232;
}

.button-secondary {
  background: var(--white);
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: #c5c8ce;
}

.response-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 0;
  color: #676b73;
  font-size: 13px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #3bb66f;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(59, 182, 111, 0.14);
}

.hero-visual {
  position: relative;
  min-height: 490px;
}

.support-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 238px;
  height: 238px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 45px;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%) rotate(3deg);
}

.support-mark::after {
  position: absolute;
  inset: -12px;
  z-index: -1;
  content: "";
  border: 1px dashed rgba(25, 25, 25, 0.14);
  border-radius: 54px;
}

.support-mark img {
  width: 176px;
  height: 176px;
  border-radius: 27%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(25, 25, 25, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 400px;
  height: 400px;
}

.orbit-two {
  width: 520px;
  height: 520px;
}

.topic-pill {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px 12px 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(230, 232, 236, 0.95);
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(24, 34, 48, 0.1);
  font-size: 13px;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.topic-pill span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  background: var(--blue);
  border-radius: 50%;
  font-size: 10px;
}

.pill-account {
  top: 8%;
  left: 3%;
}

.pill-health {
  top: 18%;
  right: -2%;
}

.pill-scan {
  bottom: 13%;
  left: 0;
}

.pill-premium {
  right: 3%;
  bottom: 4%;
}

.support-topics {
  padding: 94px 0 106px;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 660px;
  margin-bottom: 42px;
}

h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 790;
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.section-heading > p:last-child,
.faq-intro > p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.topic-card {
  min-height: 286px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.topic-card:hover {
  background: #edf7fd;
  border-color: #c9e8f9;
  transform: translateY(-5px);
}

.card-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  background: var(--white);
  border-radius: 50%;
  color: #646970;
  font-size: 11px;
  font-weight: 800;
}

.topic-card h3 {
  margin: 34px 0 8px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.topic-card p {
  margin: 0;
  color: #666a72;
  font-size: 14px;
}

.card-link {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 750;
}

.faq-section {
  padding: 112px 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: 92px;
}

.faq-intro {
  position: sticky;
  top: 32px;
}

.faq-intro a {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 5px;
}

.faq-list {
  border-top: 1px solid #d9dce1;
}

details {
  border-bottom: 1px solid #d9dce1;
  scroll-margin-top: 30px;
}

summary {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 4px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 720;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.summary-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid #cfd2d8;
  border-radius: 50%;
}

.summary-icon::before,
.summary-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  content: "";
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.summary-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

details[open] .summary-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.answer {
  max-width: 690px;
  padding: 0 56px 27px 4px;
  color: #5d6168;
}

.answer p {
  margin: 0;
}

.legal-overview {
  padding: 104px 0;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.legal-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.legal-card:hover {
  background: #edf7fd;
  border-color: #c9e8f9;
  transform: translateY(-5px);
}

.legal-card .card-number {
  margin-bottom: 44px;
}

.legal-card h3 {
  margin: 0 0 9px;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.legal-card p {
  margin: 0;
  color: #666a72;
  font-size: 14px;
}

.legal-card .card-link {
  margin-top: auto;
  padding-top: 28px;
}

.legal-secondary-link {
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.legal-secondary-link a {
  font-weight: 700;
  text-underline-offset: 4px;
}

.legal-page {
  background:
    radial-gradient(circle at 88% 6%, rgba(186, 227, 250, 0.42), transparent 28rem),
    var(--paper);
}

.legal-header {
  position: sticky;
  top: 0;
}

.legal-header nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--blue-strong);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.legal-hero {
  padding: 82px 0 54px;
}

.legal-hero-inner {
  max-width: 900px;
}

.legal-hero h1 {
  font-size: clamp(48px, 7vw, 82px);
}

.legal-hero .hero-lead {
  max-width: 780px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  color: #6a6e76;
  font-size: 13px;
  font-weight: 650;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: 70px;
  padding-bottom: 106px;
}

.legal-index {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 4px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 42px rgba(24, 34, 48, 0.06);
  backdrop-filter: blur(16px);
}

.legal-index strong {
  margin: 2px 10px 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-index a {
  padding: 9px 10px;
  color: #5f646c;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

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

.legal-document {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.legal-document section {
  padding: 34px 42px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.legal-document section:last-child {
  border-bottom: 0;
}

.legal-document h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.035em;
}

.legal-document p,
.legal-document li {
  color: #565b63;
  font-size: 16px;
  line-height: 1.72;
}

.legal-document p {
  margin: 0;
}

.legal-document p + p {
  margin-top: 14px;
}

.legal-document a {
  color: #1e668e;
  font-weight: 680;
  text-underline-offset: 4px;
}

.legal-notice {
  margin-top: 28px;
  padding: 20px 22px;
  background: #edf7fd;
  border: 1px solid #c9e8f9;
  border-radius: 16px;
  color: #405966;
  font-size: 14px;
}

.legal-contact {
  display: inline-flex;
  margin-top: 18px;
}

.contact-section {
  padding: 16px 0 104px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 72px;
  padding: 68px;
  color: var(--white);
  background: #17191c;
  border-radius: var(--radius-lg);
  box-shadow: 0 35px 80px rgba(17, 19, 22, 0.18);
}

.contact-card::before {
  position: absolute;
  top: -220px;
  right: -130px;
  width: 500px;
  height: 500px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.19;
}

.contact-copy,
.contact-details {
  position: relative;
  z-index: 1;
}

.eyebrow.light {
  color: #aeb4bd;
}

.contact-copy h2 {
  max-width: 600px;
  font-size: clamp(40px, 5vw, 64px);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 30px;
  color: #b9bec6;
  font-size: 17px;
}

.button-light {
  color: var(--ink);
  background: var(--blue);
}

.button-light:hover {
  background: #d0edfc;
}

.contact-details {
  align-self: center;
  display: grid;
  gap: 24px;
  padding: 26px 0 26px 42px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-details div {
  display: grid;
  gap: 5px;
}

.contact-details span {
  color: #858b94;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details a,
.contact-details strong {
  color: var(--white);
  font-size: 16px;
  font-weight: 680;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-details p {
  max-width: 330px;
  margin: 0;
  color: #bdc1c8;
  font-size: 14px;
}

footer {
  padding: 36px 0 40px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand div {
  display: grid;
}

.footer-brand strong {
  font-size: 15px;
}

.footer-brand span,
.copyright {
  color: #7a7f87;
  font-size: 12px;
}

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

.footer-links a {
  color: #555a62;
  font-size: 13px;
  font-weight: 650;
  text-underline-offset: 4px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 3px 0 0;
}

.error-page {
  min-height: 100vh;
  width: min(660px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-inline: auto;
}

.error-page img {
  margin-bottom: 30px;
  border-radius: 24%;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.error-page h1 {
  font-size: clamp(48px, 10vw, 78px);
}

.error-page > p:not(.eyebrow) {
  max-width: 570px;
  margin: 24px 0 30px;
  color: var(--ink-soft);
  font-size: 18px;
}

.error-page .button {
  width: auto;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(52, 160, 221, 0.45);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .hero {
    padding-top: 68px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(620px, 100%);
    min-height: 430px;
    margin-inline: auto;
  }

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

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-card {
    min-height: 238px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-index {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-index strong {
    grid-column: 1 / -1;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .faq-intro {
    position: static;
    max-width: 660px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 54px;
  }

  .contact-details {
    padding: 34px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, 1160px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    font-size: 19px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  nav {
    gap: 8px;
  }

  nav > a:not(.nav-contact) {
    display: none;
  }

  .nav-contact {
    padding: 9px 14px;
    font-size: 12px;
  }

  .hero {
    padding: 58px 0 72px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 370px;
  }

  .support-mark {
    width: 176px;
    height: 176px;
    border-radius: 35px;
  }

  .support-mark img {
    width: 128px;
    height: 128px;
  }

  .orbit-one {
    width: 300px;
    height: 300px;
  }

  .orbit-two {
    width: 390px;
    height: 390px;
  }

  .topic-pill {
    padding: 9px 13px 9px 9px;
    font-size: 11px;
  }

  .topic-pill span {
    width: 24px;
    height: 24px;
    font-size: 8px;
  }

  .pill-account {
    top: 7%;
    left: -2%;
  }

  .pill-health {
    right: -1%;
  }

  .pill-scan {
    bottom: 12%;
  }

  .pill-premium {
    right: 0;
  }

  .support-topics,
  .faq-section,
  .legal-overview {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: 238px;
  }

  .legal-hero {
    padding: 56px 0 38px;
  }

  .legal-layout {
    padding-bottom: 76px;
  }

  .legal-index {
    grid-template-columns: 1fr;
  }

  .legal-index strong {
    grid-column: auto;
  }

  .legal-document {
    border-radius: 22px;
  }

  .legal-document section {
    padding: 28px 22px;
  }

  .legal-document p,
  .legal-document li {
    font-size: 15px;
  }

  summary {
    min-height: 82px;
    padding: 20px 2px;
    font-size: 16px;
  }

  .answer {
    padding: 0 30px 24px 2px;
    font-size: 14px;
  }

  .contact-section {
    padding-bottom: 76px;
  }

  .contact-card {
    gap: 38px;
    padding: 36px 24px;
    border-radius: 24px;
  }

  .contact-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
