:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --paper-deep: #ece9e1;
  --ink: #171a1d;
  --muted: #62676d;
  --subtle: #8b8f93;
  --line: rgba(23, 26, 29, 0.14);
  --line-strong: rgba(23, 26, 29, 0.25);
  --mint: #b9f4dc;
  --mint-deep: #6ac8a4;
  --lavender: #d9d3ff;
  --night: #151a22;
  --night-soft: #202735;
  --white: #ffffff;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow: 0 18px 55px rgba(29, 35, 42, 0.09);
  --shell: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 78% 6%, rgba(217, 211, 255, 0.62), transparent 28rem),
    radial-gradient(circle at 8% 30%, rgba(185, 244, 220, 0.38), transparent 25rem),
    var(--paper);
  content: "";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
p, h1, h2, h3 { margin-top: 0; }

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(23, 26, 29, 0.08);
  background: rgba(245, 243, 238, 0.88);
  backdrop-filter: blur(18px);
}
.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
  font-weight: 760;
  letter-spacing: 0.055em;
  text-decoration: none;
}
.wordmark-mark {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.wordmark-mark::before,
.wordmark-mark::after {
  position: absolute;
  content: "";
}
.wordmark-mark::before {
  width: 7px;
  height: 2px;
  left: 5px;
  top: 7px;
  border-radius: 2px;
  background: var(--ink);
  transform: rotate(-35deg);
}
.wordmark-mark::after {
  width: 4px;
  height: 4px;
  right: 2px;
  top: 2px;
  border-radius: 50%;
  background: var(--mint-deep);
}
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 0.88rem;
}
.primary-nav a,
.footer-links a,
.text-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.primary-nav a {
  color: var(--muted);
  text-decoration: none;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--ink); }
.language-switcher {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
}
.language-switcher button {
  min-width: 35px;
  padding: 5px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--subtle);
  cursor: pointer;
  font-size: 0.7rem;
}
.language-switcher button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.hero {
  padding: clamp(72px, 9vw, 112px) 0 clamp(72px, 9vw, 108px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(58px, 8vw, 110px);
}
.eyebrow,
.section-kicker,
.card-kicker {
  margin-bottom: 18px;
  color: #357f68;
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.3vw, 4.35rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.hero-intro {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.19rem);
  line-height: 1.72;
}
.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #30353a; }
.button-soft { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.45); color: var(--ink); }
.button-soft:hover { border-color: var(--ink); background: var(--white); }
.button-mint { background: var(--mint); color: #13231d; }
.button-mint:hover { background: #a7ebd1; }
.button-wide { width: 100%; }
.external-arrow { font-size: 1rem; line-height: 1; }

.hero-orbit {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(23, 26, 29, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.82), rgba(236,233,225,.75));
  box-shadow: var(--shadow);
}
.hero-orbit::before,
.hero-orbit::after,
.orbit-ring {
  position: absolute;
  border: 1px solid rgba(23, 26, 29, 0.12);
  border-radius: 50%;
  content: "";
}
.hero-orbit::before { width: 330px; height: 330px; right: -82px; top: -76px; }
.hero-orbit::after { width: 250px; height: 250px; right: -42px; top: -35px; }
.orbit-ring { width: 165px; height: 165px; right: 2px; top: 8px; }
.orbit-dot {
  position: absolute;
  right: 72px;
  top: 72px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint-deep);
  box-shadow: 0 0 0 14px rgba(106, 200, 164, 0.15);
}
.orbit-copy {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
}
.orbit-copy small {
  display: block;
  margin-bottom: 12px;
  color: var(--subtle);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.orbit-copy p {
  max-width: 310px;
  margin: 0;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  font-weight: 590;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.section { padding: clamp(70px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 44px;
}
.section-heading h2,
.support-banner h2,
.contact-panel h2,
.page-hero h1 {
  margin-bottom: 16px;
  font-weight: 630;
  letter-spacing: -0.045em;
  line-height: 1.04;
}
.section-heading h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.section-heading-copy p:last-child {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.05rem;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.principle-card {
  min-height: 235px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.47);
}
.principle-index {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 730;
}
.principle-card h3 { margin-bottom: 10px; font-size: 1.16rem; letter-spacing: -0.025em; }
.principle-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.work-list { border-top: 1px solid var(--line); }
.work-row {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 48px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.work-row h3 { margin: 0; font-size: 1rem; letter-spacing: -0.015em; }
.work-row p { max-width: 680px; margin: 0; color: var(--muted); }

.support-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: 54px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 54px);
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--white);
  box-shadow: 0 22px 60px rgba(17, 22, 29, 0.18);
}
.support-banner::after {
  position: absolute;
  width: 330px;
  height: 330px;
  right: -135px;
  bottom: -170px;
  border: 1px solid rgba(185, 244, 220, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(185, 244, 220, 0.03), 0 0 0 110px rgba(185, 244, 220, 0.025);
  content: "";
}
.support-banner .section-kicker { color: var(--mint); }
.support-banner h2 { max-width: 600px; font-size: clamp(2rem, 3.8vw, 3rem); }
.support-banner-copy > p:last-of-type { max-width: 650px; color: #c9ced5; }
.support-summary {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 10px;
}
.support-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.support-summary-row:first-child { border-top: 1px solid rgba(255,255,255,.13); }
.support-summary-row span { color: #b6bec8; font-size: 0.84rem; }
.support-summary-row strong { font-size: 0.94rem; }
.support-summary .button { margin-top: 12px; }

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 38px;
  padding: 34px 0;
}
.contact-panel h2 { max-width: 720px; margin-bottom: 12px; font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
.contact-panel p { max-width: 660px; margin: 0; color: var(--muted); }

.site-footer { padding: 34px 0 46px; border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: end;
}
.footer-brand p { max-width: 410px; margin: 14px 0 0; color: var(--subtle); font-size: 0.79rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; color: var(--muted); font-size: 0.77rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 0.72rem; }

/* Support page */
.page-hero { padding: clamp(66px, 8vw, 94px) 0 clamp(52px, 7vw, 78px); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { max-width: 720px; font-size: clamp(2.7rem, 5vw, 4rem); }
.page-hero p:last-child { max-width: 690px; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.support-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.support-option {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.55);
  box-shadow: 0 14px 38px rgba(29,35,42,.06);
}
.support-option.featured { background: linear-gradient(145deg, #ffffff, #edf8f3); }
.support-option h2 { margin-bottom: 12px; font-size: clamp(1.65rem, 2.8vw, 2.25rem); font-weight: 620; letter-spacing: -0.04em; line-height: 1.08; }
.support-option p { color: var(--muted); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.price-line strong { font-size: 1.15rem; }
.price-line span { color: var(--subtle); font-size: 0.8rem; }
.secure-note { margin: 12px 0 0; color: var(--subtle) !important; font-size: 0.74rem; }
.portal-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
  align-items: center;
  margin-top: 18px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-deep);
}
.portal-panel h2 { margin-bottom: 8px; font-size: 1.3rem; letter-spacing: -0.025em; }
.portal-panel p { max-width: 660px; margin: 0; color: var(--muted); font-size: .92rem; }
.support-disclosure {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.support-disclosure p { max-width: 790px; margin: 0; color: var(--subtle); font-size: 0.78rem; }
.text-link { color: var(--ink); font-size: .82rem; font-weight: 700; }

/* Legal pages */
.legal-main { padding: clamp(64px, 8vw, 96px) 0 100px; }
.legal-header { margin-bottom: 52px; }
.legal-header h1 { margin-bottom: 12px; font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 630; letter-spacing: -0.05em; line-height: 1; }
.legal-header p { color: var(--subtle); }
.legal-copy { max-width: 760px; }
.legal-copy h2 { margin: 34px 0 10px; font-size: 1.12rem; letter-spacing: -0.02em; }
.legal-copy p, .legal-copy li { color: var(--muted); }
.legal-copy a { text-underline-offset: 4px; }
[hidden] { display: none !important; }

/* 404 */
.error-main { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 70px 0; }
.error-copy { max-width: 680px; text-align: center; }
.error-code { margin-bottom: 16px; color: #357f68; font-size: .75rem; font-weight: 760; letter-spacing: .14em; }
.error-copy h1 { margin-bottom: 16px; font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 630; letter-spacing: -.05em; line-height: 1; }
.error-copy p { margin-bottom: 28px; color: var(--muted); }

:focus-visible { outline: 3px solid rgba(53,127,104,.35); outline-offset: 4px; }

@media (max-width: 860px) {
  .nav-shell { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-orbit { min-height: 300px; }
  .section-heading { grid-template-columns: 1fr; gap: 8px; }
  .principles { grid-template-columns: 1fr; }
  .principle-card { min-height: auto; }
  .principle-index { margin-bottom: 28px; }
  .support-banner { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .shell, .narrow-shell { width: min(calc(100% - 30px), var(--shell)); }
  .site-header { position: static; }
  .nav-shell { min-height: 64px; gap: 12px; }
  .language-switcher button { min-width: 31px; padding-inline: 6px; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 3.45rem); }
  .hero-actions .button { flex: 1 1 150px; }
  .hero-orbit { min-height: 265px; border-radius: 24px; }
  .orbit-copy { left: 24px; right: 24px; bottom: 24px; }
  .section { padding-block: 68px; }
  .work-row { grid-template-columns: 1fr; gap: 8px; }
  .support-banner { padding: 28px 24px; border-radius: 24px; }
  .contact-panel .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .support-options { grid-template-columns: 1fr; }
  .support-option { min-height: auto; padding: 28px 24px; border-radius: 24px; }
  .portal-panel { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .portal-panel .button { width: 100%; }
  .support-disclosure { grid-template-columns: 1fr; gap: 14px; }
}

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


/* v6 customer support page */
.support-help-hero { padding-bottom: clamp(48px, 7vw, 78px); }
.support-help-section { padding-top: 0; border-top: 0; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.help-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(26px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.5); box-shadow: 0 12px 38px rgba(29,35,42,.05); }
.help-card-primary { background: var(--night); color: var(--white); }
.help-card-primary .card-kicker { color: var(--mint); }
.help-card h2 { margin-bottom: 14px; font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 630; letter-spacing: -.04em; line-height: 1.08; }
.help-card p:not(.card-kicker) { margin-bottom: 0; color: var(--muted); }
.help-card-primary p:not(.card-kicker) { color: rgba(255,255,255,.72); }
.help-card-primary .button-primary { background: var(--mint); color: #13231d; }
.help-card-primary .button-primary:hover { background: #a7ebd1; }
.support-help-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.support-help-list article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.3); }
.support-help-list h3 { margin: 18px 0 10px; font-size: 1.05rem; letter-spacing: -.02em; }
.support-help-list p { color: var(--muted); font-size: .94rem; }
@media (max-width: 760px) {
  .help-grid, .support-help-list { grid-template-columns: 1fr; }
  .help-card { min-height: 0; }
}
