:root {
  color-scheme: light dark;
  --background: #f7fafb;
  --surface: #ffffff;
  --surface-muted: #eaf3f5;
  --text: #10272c;
  --muted: #50686e;
  --brand: #075c69;
  --brand-hover: #044b56;
  --brand-soft: #d9eef1;
  --accent: #16a0af;
  --border: #cbdcdf;
  --shadow: 0 24px 70px rgba(13, 63, 72, 0.13);
  --small-shadow: 0 12px 36px rgba(13, 63, 72, 0.09);
  --radius-large: 28px;
  --radius-medium: 18px;
  --content-width: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #081518;
    --surface: #102328;
    --surface-muted: #173238;
    --text: #effafb;
    --muted: #b1c8cd;
    --brand: #78dbe4;
    --brand-hover: #a0edf3;
    --brand-soft: #173d44;
    --accent: #58cbd7;
    --border: #315057;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    --small-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brand);
  text-underline-offset: 0.18em;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: 1.3rem;
}

.shell {
  width: min(calc(100% - 40px), var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--surface);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 750;
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(5, 46, 54, 0.18);
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

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

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  padding-block: clamp(70px, 10vw, 130px);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-summary,
.document-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: #075c69;
  color: #ffffff;
  box-shadow: 0 9px 24px rgba(7, 92, 105, 0.2);
}

.button-primary:hover {
  background: #044b56;
  color: #ffffff;
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.platform-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-art {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.icon-halo {
  position: absolute;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 177, 191, 0.32), rgba(41, 177, 191, 0));
}

.app-icon {
  position: relative;
  border-radius: 49px;
  box-shadow: var(--shadow);
}

.sample-card {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--small-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sample-card-one {
  right: -10px;
  bottom: 56px;
  width: 182px;
  padding: 18px;
}

.sample-card-one span,
.sample-card-one strong {
  display: block;
}

.sample-label,
.sample-caption {
  color: var(--muted);
  font-size: 0.78rem;
}

.sample-card-one strong {
  margin-block: 2px;
  font-size: 2.4rem;
  line-height: 1.05;
}

.sample-card-two {
  top: 52px;
  left: -8px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.sample-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #29aa78;
  box-shadow: 0 0 0 5px rgba(41, 170, 120, 0.13);
}

.section {
  padding-block: clamp(70px, 9vw, 110px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--surface);
  box-shadow: var(--small-shadow);
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 700;
}

.privacy-panel,
.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  margin-block: 40px 100px;
  padding: clamp(34px, 6vw, 64px);
  border-radius: var(--radius-large);
}

.privacy-panel {
  background: var(--brand-soft);
}

.support-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--small-shadow);
}

.privacy-panel h2,
.support-panel h2 {
  margin-bottom: 18px;
}

.privacy-panel p:not(.eyebrow),
.support-panel p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-block: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.document {
  max-width: 880px;
  padding-block: clamp(64px, 9vw, 108px);
}

.document-header {
  margin-bottom: 48px;
}

.document-header h1 {
  margin-bottom: 16px;
  font-size: clamp(3rem, 7vw, 5rem);
}

.document-meta {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.summary-callout,
.contact-card {
  margin-bottom: 56px;
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--surface);
  box-shadow: var(--small-shadow);
}

.summary-callout h2,
.contact-card h2 {
  margin-bottom: 16px;
  font-size: 1.65rem;
}

.summary-callout ul {
  margin-bottom: 0;
}

.summary-callout li + li {
  margin-top: 8px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-address {
  grid-column: 1 / -1;
  font-size: 0.95rem;
}

.prose section {
  scroll-margin-top: 100px;
}

.prose section + section {
  margin-top: 52px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.prose h2 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.prose h3 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose strong {
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 9px;
}

.notice {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--surface-muted);
  color: var(--muted);
}

details {
  border-top: 1px solid var(--border);
}

details:last-of-type {
  border-bottom: 1px solid var(--border);
}

summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
  color: var(--text);
  font-weight: 760;
  cursor: pointer;
}

summary::after {
  content: "+";
  color: var(--brand);
  font-size: 1.35rem;
}

details[open] summary::after {
  content: "−";
}

details > :not(summary) {
  margin-right: 30px;
}

details > :last-child {
  margin-bottom: 24px;
}

.not-found {
  min-height: calc(100vh - 170px);
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found-inner {
  max-width: 640px;
  padding-block: 80px;
}

.not-found h1 {
  margin-bottom: 18px;
}

.not-found p {
  margin-bottom: 30px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

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

.footer-inner p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 7px 9px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 420px;
  }

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

  .privacy-panel,
  .support-panel,
  .contact-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-address {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--content-width));
  }

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

  .brand span {
    display: none;
  }

  .site-header nav a {
    padding-inline: 9px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-art {
    min-height: 340px;
  }

  .app-icon {
    width: 170px;
    height: 170px;
    border-radius: 38px;
  }

  .icon-halo {
    width: 300px;
    height: 300px;
  }

  .sample-card-one {
    right: 0;
    bottom: 30px;
    width: 150px;
    padding: 14px;
  }

  .sample-card-two {
    top: 32px;
    left: 0;
  }

  .privacy-panel,
  .support-panel {
    margin-bottom: 70px;
    border-radius: 22px;
  }

  .button-row,
  .button-row .button,
  .contact-card .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 28px;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .contact-card .button {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 11pt;
  }

  .document {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .prose p,
  .prose li,
  .document-meta,
  .document-intro {
    color: #222222;
  }

  a {
    color: #000000;
  }
}
