:root {
  color-scheme: light;
  --ink: #18272c;
  --muted: #607177;
  --paper: #fbf8f0;
  --surface: #ffffff;
  --line: #dce5e7;
  --blue: #3a6c7c;
  --blue-deep: #234f5e;
  --blue-soft: #e8f2f4;
  --yellow: #ffef56;
  --yellow-soft: #fff9c9;
  --coral: #ee6c59;
  --shadow: 0 22px 60px rgba(35, 79, 94, 0.14);
  --radius-lg: 30px;
  --radius-md: 20px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

button,
summary {
  font: inherit;
}

button {
  color: inherit;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(220, 229, 231, 0.86);
  background: rgba(251, 248, 240, 0.9);
  backdrop-filter: blur(18px);
}

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

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(80, 68, 0, 0.16);
}

.brand-wordmark {
  display: grid;
  line-height: 1.02;
}

.brand-wordmark strong {
  font-size: 1.03rem;
  letter-spacing: -0.02em;
}

.brand-wordmark span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 680;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.language-picker {
  position: relative;
  flex: 0 0 auto;
}

.language-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 700;
}

.language-toggle svg {
  width: 18px;
  height: 18px;
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  width: 210px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(24, 39, 44, 0.15);
}

.language-menu[hidden] {
  display: none;
}

.language-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.language-option:hover,
.language-option[aria-checked="true"] {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.language-option[aria-checked="true"]::after {
  content: "✓";
  font-weight: 900;
}

.mobile-menu-links {
  display: none;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.mobile-menu-links a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 690;
}

.mobile-menu-links a:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e8dc73;
  background: var(--yellow);
}

.hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -140px;
  bottom: -180px;
  border: 1px solid rgba(35, 79, 94, 0.25);
  border-radius: 50%;
}

.hero-shell {
  width: min(calc(100% - 40px), 1280px);
  min-height: 680px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(540px, 1.25fr);
  align-items: center;
  gap: 42px;
  padding: 72px 0 82px;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero h1 {
  max-width: 730px;
  font-size: clamp(2.75rem, 6vw, 5.4rem);
}

.hero-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: #32454b;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.platform-line {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.platform-line span {
  padding: 7px 11px;
  border: 1px solid rgba(35, 79, 94, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.43);
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 780;
}

.hero-note {
  margin: 18px 0 0;
  color: #52646a;
  font-size: 0.88rem;
}

.device-constellation {
  position: relative;
  min-height: 520px;
}

.device {
  overflow: hidden;
  background: #f6fafb;
  box-shadow: var(--shadow);
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mac {
  position: absolute;
  width: min(760px, 100%);
  right: 0;
  top: 24px;
  padding: 9px;
  border: 1px solid rgba(35, 79, 94, 0.3);
  border-radius: 24px;
  transform: rotate(1.2deg);
}

.hero-mac img {
  border-radius: 15px;
}

.hero-ipad {
  position: absolute;
  width: 235px;
  height: 356px;
  left: 12px;
  bottom: -24px;
  z-index: 2;
  padding: 7px;
  border: 1px solid rgba(35, 79, 94, 0.27);
  border-radius: 26px;
  transform: rotate(-5deg);
}

.hero-ipad img {
  border-radius: 20px;
}

.hero-iphone {
  position: absolute;
  width: 174px;
  height: 378px;
  right: 28px;
  bottom: -52px;
  z-index: 3;
  padding: 6px;
  border: 1px solid rgba(35, 79, 94, 0.27);
  border-radius: 31px;
  transform: rotate(4deg);
}

.hero-iphone img {
  border-radius: 25px;
}

.proof-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 190px;
  padding: 38px 30px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 23px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 850;
}

.proof-item h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.proof-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

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

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

.section-heading h2,
.cta-copy h2,
.support-contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.platform-showcase {
  border-top: 1px solid var(--line);
}

.platform-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 72px;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.platform-row:nth-child(even) .platform-media {
  order: 2;
}

.platform-media {
  display: flex;
  justify-content: center;
}

.platform-media img {
  box-shadow: 0 20px 50px rgba(35, 79, 94, 0.13);
}

.platform-media.mac img {
  border: 8px solid white;
  border-radius: 24px;
}

.platform-media.ipad img {
  width: min(520px, 100%);
  border: 8px solid white;
  border-radius: 30px;
}

.platform-media.iphone img {
  width: min(310px, 76%);
  border: 7px solid white;
  border-radius: 34px;
}

.platform-copy small {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-copy h3 {
  margin: 14px 0 14px;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.platform-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.device-caption {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.cta-band {
  padding: 0 0 104px;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
}

.cta-card {
  min-height: 340px;
  padding: 52px;
}

.cta-card + .cta-card {
  border-left: 1px solid var(--line);
}

.cta-card:first-child {
  background: var(--blue-soft);
}

.cta-kicker {
  margin: 0 0 55px;
  color: var(--blue);
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-copy p {
  margin: 18px 0 30px;
  color: var(--muted);
}

.text-link,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 13px;
  font-weight: 790;
}

.text-link {
  border: 1px solid var(--blue);
  color: var(--blue-deep);
}

.text-link:hover {
  background: white;
}

.primary-button {
  border: 1px solid var(--blue-deep);
  background: var(--blue-deep);
  color: white;
  cursor: pointer;
}

.primary-button:hover {
  background: var(--blue);
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--blue-soft);
}

.page-hero .section-shell {
  padding: 82px 0 72px;
}

.page-hero h1 {
  max-width: 800px;
  font-size: clamp(2.65rem, 6vw, 5rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.effective-date {
  display: inline-block;
  margin-top: 24px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 760;
}

.document-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 790px);
  align-items: start;
  gap: 64px;
  padding: 72px 0 110px;
}

.document-nav {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 7px;
}

.document-nav a {
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.document-nav a:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.policy-intro {
  margin-bottom: 54px;
  padding: 25px 28px;
  border-left: 5px solid var(--yellow);
  background: var(--yellow-soft);
  color: #4d541d;
}

.policy-section {
  scroll-margin-top: 118px;
  padding: 0 0 43px;
  margin-bottom: 43px;
  border-bottom: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0 0 18px;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.policy-section p {
  margin: 11px 0 0;
  color: #46595f;
}

.contact-inline {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.contact-inline h2 {
  margin: 0;
  font-size: 1.5rem;
}

.contact-inline p {
  margin: 10px 0 22px;
  color: var(--muted);
}

.support-main {
  padding: 74px 0 110px;
}

.support-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 42px;
  border: 1px solid #d7ce66;
  background: var(--yellow-soft);
}

.support-contact p {
  max-width: 670px;
  margin: 14px 0 0;
  color: #53583b;
}

.contact-note {
  margin-top: 10px !important;
  font-size: 0.82rem;
}

.support-section {
  padding-top: 82px;
}

.support-section > h2 {
  margin: 0 0 30px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  list-style: none;
  padding: 24px 52px 24px 0;
  cursor: pointer;
  font-size: 1.07rem;
  font-weight: 760;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 20px;
  color: var(--blue);
  font-size: 1.55rem;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 820px;
  padding: 0 52px 26px 0;
  color: var(--muted);
}

.prepare-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
}

.prepare-item {
  padding: 28px 25px;
  border-right: 1px solid var(--line);
}

.prepare-item:last-child {
  border-right: 0;
}

.prepare-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-deep);
}

.prepare-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.privacy-hint {
  margin-top: 40px;
  color: var(--muted);
}

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

.footer-shell {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

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

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 13px;
}

.footer-brand strong {
  display: block;
}

.footer-brand p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--blue-deep);
}

.footer-legal {
  grid-column: 1 / -1;
  margin: -44px 0 26px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.copyright,
.icp {
  margin: 0;
  color: #7d8a8f;
  font-size: 0.78rem;
}

.icp a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.icp a:hover {
  color: var(--blue-deep);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

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

  .device-constellation {
    min-height: 500px;
  }

  .proof-grid,
  .prepare-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2),
  .prepare-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n+2),
  .prepare-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .platform-row {
    gap: 44px;
  }

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

  .document-nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .nav-shell,
  .section-shell,
  .footer-shell,
  .hero-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-shell {
    min-height: 68px;
    gap: 10px;
  }

  .brand-wordmark span,
  .main-nav {
    display: none;
  }

  .language-picker {
    margin-left: auto;
  }

  .mobile-menu-links {
    display: block;
  }

  .hero-shell {
    padding: 52px 0 74px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .device-constellation {
    min-height: 390px;
  }

  .hero-mac {
    width: 92%;
    top: 16px;
    right: 2%;
  }

  .hero-ipad {
    width: 150px;
    height: 228px;
    left: 2%;
    bottom: 0;
  }

  .hero-iphone {
    width: 116px;
    height: 252px;
    right: 7%;
    bottom: -6px;
  }

  .proof-grid,
  .cta-grid,
  .prepare-list {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:nth-child(2),
  .prepare-item,
  .prepare-item:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child,
  .prepare-item:last-child {
    border-bottom: 0;
  }

  .proof-number {
    margin-bottom: 12px;
  }

  .devices-section {
    padding: 80px 0;
  }

  .platform-row {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 58px 0;
  }

  .platform-row:nth-child(even) .platform-media {
    order: 0;
  }

  .platform-copy {
    max-width: 600px;
  }

  .cta-card {
    min-height: auto;
    padding: 40px 28px;
  }

  .cta-card + .cta-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .cta-kicker {
    margin-bottom: 30px;
  }

  .page-hero .section-shell {
    padding: 60px 0 56px;
  }

  .page-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .document-layout {
    padding-top: 45px;
  }

  .document-nav {
    display: none;
  }

  .support-main {
    padding-top: 48px;
  }

  .support-contact {
    grid-template-columns: 1fr;
    padding: 32px 26px;
  }

  .support-contact .primary-button {
    justify-self: start;
  }

  .footer-shell {
    min-height: 220px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
    padding: 36px 0;
  }

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

  .footer-legal {
    margin: 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
