:root {
  --ink: #183238;
  --ink-soft: #2b4850;
  --muted: #667b7c;
  --ocean: #205d66;
  --ocean-dark: #174a52;
  --sea-glass: #82afa8;
  --sea-glass-soft: #cfe0dc;
  --apricot: #f39a78;
  --apricot-dark: #ad5c43;
  --mist: #f4f7f6;
  --mist-blue: #e8f2f1;
  --near-white: #fafbf8;
  --line: #dde8e6;
  --white: #ffffff;
  --shadow-soft: 0 22px 70px rgba(31, 74, 76, 0.1);
  --shadow-card: 0 16px 42px rgba(31, 74, 76, 0.08);
  --shell: 1180px;
  --header-height: 82px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--near-white);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg {
  display: block;
}

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ocean);
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  transition: background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.site-header[data-scrolled] {
  background: rgba(250, 251, 248, 0.82);
  box-shadow: 0 1px 0 rgba(32, 93, 102, 0.08);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.55px;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 7px 20px rgba(32, 93, 102, 0.15);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-soft);
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 12px;
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  inset: auto 0 6px;
  height: 1px;
  background: var(--ocean);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 12px 19px;
  color: var(--white);
  background: var(--ocean);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(32, 93, 102, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--ocean-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  position: relative;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(32, 93, 102, 0.12);
  border-radius: 14px;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 19px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease;
}

.menu-toggle > span:nth-of-type(2) {
  transform: translate(-50%, calc(-50% - 4px));
}

.menu-toggle > span:nth-of-type(3) {
  transform: translate(-50%, calc(-50% + 4px));
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 760px;
  padding: calc(var(--header-height) + 82px) 0 94px;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 42%, rgba(255, 255, 255, 0.9) 0 9%, transparent 37%),
    linear-gradient(128deg, var(--mist-blue) 0%, #f1f6f3 42%, var(--near-white) 76%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(to bottom, transparent, var(--near-white));
  pointer-events: none;
}

.hero-atmosphere,
.hero-atmosphere > * {
  position: absolute;
  pointer-events: none;
}

.hero-atmosphere {
  inset: 0;
}

.hero-cloud {
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.68;
}

.hero-cloud-one {
  width: 550px;
  height: 250px;
  left: -170px;
  top: 285px;
  background: rgba(255, 255, 255, 0.5);
  transform: rotate(-12deg);
}

.hero-cloud-two {
  width: 470px;
  height: 210px;
  right: -140px;
  bottom: 80px;
  background: rgba(207, 224, 220, 0.28);
  transform: rotate(13deg);
}

.hero-orbit {
  border: 1px solid rgba(32, 93, 102, 0.11);
  border-radius: 50%;
}

.hero-orbit-one {
  width: 640px;
  height: 640px;
  right: -225px;
  top: 15px;
}

.hero-orbit-two {
  width: 370px;
  height: 370px;
  left: -155px;
  bottom: -95px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(440px, 1.06fr);
  align-items: center;
  gap: 70px;
}

.hero-copy {
  padding-bottom: 20px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--ocean);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero h1,
.section-heading h2,
.knowledge-copy h2,
.language-copy h2,
.download-card h2 {
  margin: 0;
  font-weight: 710;
  letter-spacing: -0.052em;
  line-height: 0.99;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(57px, 6vw, 82px);
}

h1 em,
h2 em {
  color: var(--ocean);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-intro {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 36px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 720;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: var(--white);
  background: var(--ocean);
  box-shadow: 0 12px 30px rgba(32, 93, 102, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--ocean-dark);
  box-shadow: 0 15px 34px rgba(32, 93, 102, 0.27);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(32, 93, 102, 0.16);
  backdrop-filter: blur(12px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-2px);
}

.launch-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.launch-note > span {
  width: 7px;
  height: 7px;
  background: var(--apricot);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(243, 154, 120, 0.16);
}

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

.hero-visual::before {
  content: "";
  position: absolute;
  width: 490px;
  height: 490px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(130, 175, 168, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.6);
}

.phone-frame {
  position: relative;
  z-index: 3;
  width: 292px;
  aspect-ratio: 0.48;
  padding: 9px;
  background: #173237;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 48px;
  box-shadow:
    0 42px 80px rgba(29, 70, 72, 0.22),
    0 12px 28px rgba(29, 70, 72, 0.14),
    inset 0 0 0 1px rgba(0, 0, 0, 0.34);
  transform: rotate(3deg);
}

.phone-frame::before {
  content: "";
  position: absolute;
  z-index: 5;
  width: 92px;
  height: 25px;
  left: 50%;
  top: 15px;
  background: #173237;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-frame-real {
  aspect-ratio: 720 / 1565;
  padding: 7px;
  overflow: hidden;
}

.phone-frame-real::before {
  content: none;
}

.home-screen-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eef5f4;
  border-radius: 40px;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 20px 17px 18px;
  background: linear-gradient(150deg, #e8f2f1 0%, #f7f8f4 56%, #f4f7f6 100%);
  border-radius: 40px;
}

.phone-screen::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 110px;
  right: -80px;
  top: 150px;
  background: rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  filter: blur(14px);
}

.phone-status {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 8px;
  font-weight: 750;
}

.phone-status-icons {
  font-size: 6px;
  letter-spacing: 2px;
}

.phone-topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 23px;
}

.phone-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 760;
}

.phone-brand img {
  border-radius: 7px;
}

.avatar-placeholder {
  width: 27px;
  height: 27px;
  background:
    radial-gradient(circle at 50% 38%, var(--sea-glass) 0 17%, transparent 18%),
    radial-gradient(circle at 50% 90%, var(--sea-glass) 0 32%, transparent 33%),
    rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.phone-heading {
  position: relative;
  z-index: 3;
  margin-top: 26px;
  text-align: center;
}

.phone-heading small {
  display: block;
  margin-bottom: 8px;
  color: var(--ocean);
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-heading strong {
  font-size: 22px;
  line-height: 1.04;
  letter-spacing: -0.75px;
}

.phone-atlas {
  position: relative;
  z-index: 2;
  height: 205px;
  margin-top: 6px;
}

.atlas-globe {
  position: absolute;
  width: 126px;
  height: 126px;
  left: 50%;
  top: 49px;
  border: 1px solid rgba(32, 93, 102, 0.2);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: inset 18px 0 28px rgba(130, 175, 168, 0.09), 0 12px 30px rgba(32, 93, 102, 0.08);
}

.atlas-globe::before,
.atlas-globe::after {
  content: "";
  position: absolute;
  inset: 12px 37px;
  border: 1px solid rgba(32, 93, 102, 0.15);
  border-radius: 50%;
}

.atlas-globe::after {
  inset: 50% 7px auto;
  border-width: 1px 0 0;
  border-radius: 0;
}

.atlas-path {
  position: absolute;
  z-index: 2;
  width: 125px;
  height: 82px;
  left: calc(50% - 62px);
  top: 73px;
  border-bottom: 3px solid var(--sea-glass);
  border-radius: 0 0 50% 50%;
  transform: rotate(-14deg);
}

.atlas-path::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  right: 4px;
  bottom: -5px;
  background: var(--apricot);
  border: 3px solid #f5f8f6;
  border-radius: 50%;
}

.atlas-chip {
  position: absolute;
  z-index: 4;
  padding: 5px 9px;
  color: var(--ocean);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(32, 93, 102, 0.12);
  border-radius: 999px;
  box-shadow: 0 5px 13px rgba(32, 93, 102, 0.07);
  font-size: 7px;
  font-style: normal;
  font-weight: 650;
}

.atlas-chip-one {
  left: 17px;
  top: 74px;
}

.atlas-chip-two {
  right: 19px;
  top: 130px;
}

.phone-actions {
  position: absolute;
  z-index: 4;
  inset: auto 14px 75px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.phone-action-card {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(32, 93, 102, 0.1);
  border-radius: 15px;
  box-shadow: 0 7px 20px rgba(32, 93, 102, 0.07);
}

.phone-action-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  color: var(--ocean);
  background: var(--mist-blue);
  border-radius: 50%;
  font-size: 12px;
  font-style: normal;
}

.phone-action-card.review .phone-action-icon {
  color: var(--apricot-dark);
  background: rgba(243, 154, 120, 0.15);
}

.phone-action-card b {
  font-size: 9px;
}

.phone-action-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 6px;
}

.phone-nav {
  position: absolute;
  z-index: 4;
  inset: auto 27px 19px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(32, 93, 102, 0.09);
  border-radius: 18px;
  box-shadow: 0 7px 20px rgba(32, 93, 102, 0.08);
  backdrop-filter: blur(10px);
}

.phone-nav span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--muted);
  border-radius: 2px;
}

.phone-nav span.active {
  width: 22px;
  height: 22px;
  background: rgba(130, 175, 168, 0.24);
  border-color: transparent;
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px transparent;
}

.phone-nav span.active::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 7px;
  background: var(--ocean);
  border-radius: 2px;
}

.progress-float {
  position: absolute;
  z-index: 5;
  right: -6px;
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 195px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(32, 93, 102, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.progress-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--ocean);
  background: var(--mist-blue);
  border-radius: 11px;
}

.progress-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.progress-float > span:last-child {
  display: grid;
  gap: 2px;
}

.progress-float small {
  color: var(--muted);
  font-size: 9px;
}

.progress-float strong {
  font-size: 12px;
}

.quiet-proof {
  position: relative;
  z-index: 3;
  padding: 20px 0 38px;
  background: var(--near-white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
}

.proof-grid p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 68px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 660;
}

.proof-grid p + p {
  border-left: 1px solid var(--line);
}

.proof-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-ocean { background: var(--ocean); }
.dot-glass { background: var(--sea-glass); }
.dot-apricot { background: var(--apricot); }

.section {
  padding: 120px 0;
}

.intro-section {
  background: var(--near-white);
}

.section-heading {
  max-width: 730px;
}

.centered-heading {
  margin-inline: auto;
  text-align: center;
}

.centered-heading .eyebrow {
  justify-content: center;
}

.section-heading h2,
.knowledge-copy h2,
.language-copy h2,
.download-card h2 {
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.07;
}

.section-heading > p:last-child {
  max-width: 610px;
  margin: 25px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 66px;
}

.step-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 24px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 14px 40px rgba(31, 74, 76, 0.045);
}

.featured-step {
  background: linear-gradient(145deg, #edf5f2, #ffffff);
  border-color: rgba(130, 175, 168, 0.46);
}

.step-number {
  position: absolute;
  z-index: 4;
  top: 20px;
  right: 22px;
  color: var(--sea-glass);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.step-visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--mist);
  border-radius: 21px;
}

.scan-visual {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 9px;
  padding: 44px 28px;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.92), transparent 53%),
    var(--mist);
}

.scan-word {
  padding: 10px 14px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(31, 74, 76, 0.05);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.scan-word.known {
  color: var(--ocean);
  background: #e4efeb;
  border-color: rgba(130, 175, 168, 0.46);
}

.scan-word.learning {
  color: var(--apricot-dark);
  background: #fff0e9;
  border-color: rgba(243, 154, 120, 0.4);
}

.scan-cursor {
  position: absolute;
  width: 22px;
  height: 28px;
  right: 68px;
  bottom: 48px;
  background: var(--ocean);
  clip-path: polygon(0 0, 100% 68%, 57% 72%, 70% 100%, 56% 100%, 44% 75%, 11% 100%);
  filter: drop-shadow(0 4px 4px rgba(32, 93, 102, 0.2));
}

.meaning-visual {
  padding: 17px;
  background: rgba(255, 255, 255, 0.7);
}

.meaning-image {
  position: relative;
  height: 151px;
  overflow: hidden;
  background: #dbe9e6;
  border-radius: 15px;
}

.meaning-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.meaning-word {
  display: grid;
  gap: 3px;
  margin: 16px 0 0 3px;
}

.meaning-word strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.meaning-word span {
  color: var(--muted);
  font-size: 11px;
}

.audio-button {
  position: absolute;
  right: 17px;
  bottom: 17px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ocean);
  background: var(--mist-blue);
  border-radius: 50%;
}

.audio-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.review-visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.96), transparent 49%),
    var(--mist);
}

.review-ring {
  width: 126px;
  height: 126px;
  display: grid;
  place-content: center;
  text-align: center;
  background: conic-gradient(var(--apricot) 0 72%, var(--line) 72% 100%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 13px var(--mist), 0 12px 24px rgba(31, 74, 76, 0.08);
}

.review-ring strong {
  font-size: 31px;
  line-height: 1;
}

.review-ring small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.review-days {
  position: absolute;
  inset: auto 23px 20px;
  display: flex;
  justify-content: space-between;
}

.review-days span {
  display: grid;
  gap: 6px;
  place-items: center;
}

.review-days i {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.review-days b {
  width: 7px;
  height: 7px;
  background: var(--sea-glass-soft);
  border-radius: 50%;
}

.review-days .today b {
  background: var(--apricot);
  box-shadow: 0 0 0 4px rgba(243, 154, 120, 0.16);
}

.step-copy {
  padding: 26px 4px 5px;
}

.step-copy h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.step-copy p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.knowledge-section {
  overflow: hidden;
  background: linear-gradient(135deg, #edf4f2 0%, var(--mist) 48%, #f8f9f6 100%);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 94px;
}

.knowledge-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.knowledge-visual::before,
.knowledge-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(32, 93, 102, 0.12);
  border-radius: 50%;
}

.knowledge-visual::before {
  width: 560px;
  height: 560px;
}

.knowledge-visual::after {
  width: 440px;
  height: 440px;
}

.map-card {
  position: relative;
  z-index: 3;
  width: min(100%, 470px);
  min-height: 520px;
  overflow: hidden;
  padding: 27px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 34px;
  box-shadow: 0 34px 80px rgba(31, 74, 76, 0.13);
  backdrop-filter: blur(18px);
  transform: rotate(-2deg);
}

.map-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.map-card-header > span:first-child {
  display: grid;
  gap: 5px;
}

.map-card-header small {
  color: var(--ocean);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-card-header strong {
  font-size: 18px;
}

.map-more {
  color: var(--muted);
  letter-spacing: 2px;
}

.map-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 38px;
}

.map-total strong {
  font-size: 39px;
  letter-spacing: -0.05em;
}

.map-total span {
  color: var(--muted);
  font-size: 12px;
}

.map-progress {
  height: 9px;
  display: flex;
  overflow: hidden;
  margin-top: 20px;
  background: var(--line);
  border-radius: 999px;
}

.map-known { background: linear-gradient(90deg, #4e8b78, var(--sea-glass)); }
.map-learning { background: linear-gradient(90deg, var(--sea-glass), var(--apricot)); }
.map-new { background: var(--line); }

.map-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: var(--muted);
  font-size: 9px;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.map-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.map-legend i.known { background: #67998b; }
.map-legend i.learning { background: var(--apricot); }
.map-legend i.new { background: var(--line); }
.map-legend b { color: var(--ink-soft); }

.map-orbits {
  position: relative;
  height: 270px;
  margin-top: 20px;
}

.map-globe,
.map-orbit,
.map-node {
  position: absolute;
}

.map-globe {
  width: 190px;
  height: 190px;
  left: 50%;
  top: 48px;
  border: 1px solid rgba(32, 93, 102, 0.14);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: inset 25px 0 40px rgba(130, 175, 168, 0.09);
}

.map-globe::before,
.map-globe::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(32, 93, 102, 0.1);
  border-radius: 50%;
}

.map-globe::before { inset: 13px 55px; }
.map-globe::after { inset: 70px 8px; }

.map-orbit {
  left: 50%;
  top: 50%;
  border: 1px solid rgba(32, 93, 102, 0.16);
  border-radius: 50%;
}

.orbit-a {
  width: 300px;
  height: 115px;
  transform: translate(-50%, -37%) rotate(-14deg);
}

.orbit-b {
  width: 245px;
  height: 94px;
  transform: translate(-50%, -42%) rotate(28deg);
}

.map-node {
  width: 12px;
  height: 12px;
  background: var(--sea-glass);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(32, 93, 102, 0.2);
}

.node-one { left: 37px; top: 115px; }
.node-two { right: 42px; top: 120px; background: var(--apricot); }
.node-three { left: 120px; bottom: 20px; }
.node-four { right: 110px; top: 45px; background: var(--ocean); }

.knowledge-copy h2 {
  max-width: 540px;
}

.knowledge-intro {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.feature-list {
  display: grid;
  gap: 24px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ocean);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(32, 93, 102, 0.12);
  border-radius: 15px;
}

.feature-icon.apricot-icon {
  color: var(--apricot-dark);
  background: rgba(255, 242, 236, 0.76);
  border-color: rgba(243, 154, 120, 0.2);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-list li > span:last-child {
  display: grid;
  gap: 6px;
}

.feature-list strong {
  font-size: 15px;
}

.feature-list small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.language-section {
  background: var(--near-white);
}

.language-panel {
  position: relative;
  min-height: 510px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 80px;
  overflow: hidden;
  padding: 70px 78px;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 40%, rgba(130, 175, 168, 0.28), transparent 38%),
    var(--ocean);
  border-radius: 40px;
  box-shadow: 0 30px 80px rgba(32, 93, 102, 0.18);
}

.language-panel::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -210px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

.light-eyebrow {
  color: #bcd3ce;
}

.language-copy {
  position: relative;
  z-index: 2;
}

.language-copy h2 em {
  color: #bcd3ce;
}

.language-copy > p:last-child {
  max-width: 570px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.72;
}

.language-orbit {
  position: relative;
  z-index: 2;
  min-height: 360px;
}

.language-globe,
.language-ring,
.language-chip {
  position: absolute;
}

.language-globe {
  width: 230px;
  height: 230px;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: inset 35px 0 55px rgba(130, 175, 168, 0.16), 0 30px 70px rgba(0, 0, 0, 0.08);
  transform: translate(-50%, -50%);
}

.language-globe::before,
.language-globe::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.language-globe::before { inset: 13px 67px; }
.language-globe::after { inset: 82px 8px; }

.language-ring {
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

.ring-one {
  width: 365px;
  height: 135px;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.ring-two {
  width: 315px;
  height: 125px;
  transform: translate(-50%, -50%) rotate(29deg);
}

.language-chip {
  z-index: 3;
  padding: 9px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  font-size: 12px;
  font-style: normal;
  font-weight: 680;
}

.chip-en { left: 22px; top: 85px; transform: rotate(-7deg); }
.chip-ja { right: 0; top: 50px; transform: rotate(6deg); }
.chip-es { right: -14px; bottom: 60px; transform: rotate(-5deg); }
.chip-zh { left: 7px; bottom: 72px; transform: rotate(5deg); }
.chip-fr { left: 50%; top: 47%; transform: translate(-50%, -50%); color: var(--apricot-dark); }

.download-section {
  padding-top: 40px;
  background: var(--near-white);
}

.download-card {
  position: relative;
  overflow: hidden;
  padding: 76px 40px;
  text-align: center;
  background: linear-gradient(145deg, var(--mist-blue), #f8f8f4 60%, #fff2eb);
  border: 1px solid var(--line);
  border-radius: 40px;
}

.download-card > *:not(.download-orbit) {
  position: relative;
  z-index: 2;
}

.download-orbit {
  position: absolute;
  border: 1px solid rgba(32, 93, 102, 0.1);
  border-radius: 50%;
}

.download-orbit-one {
  width: 450px;
  height: 450px;
  left: -220px;
  bottom: -240px;
}

.download-orbit-two {
  width: 360px;
  height: 360px;
  right: -180px;
  top: -180px;
}

.download-mark {
  margin: 0 auto 26px;
  border-radius: 21px;
  box-shadow: 0 14px 30px rgba(32, 93, 102, 0.19);
}

.download-card .eyebrow {
  justify-content: center;
}

.download-card > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.store-placeholder {
  min-width: 184px;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 15px;
  opacity: 0.9;
}

.store-placeholder svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.store-placeholder > span {
  display: grid;
  justify-items: start;
  gap: 2px;
}

.store-placeholder small {
  font-size: 9px;
}

.store-placeholder strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.site-footer {
  padding: 36px 0 28px;
  background: var(--near-white);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 13px;
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 630;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--ocean);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

/* Policy and support pages */
.subpage-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 80% 15%, rgba(232, 242, 241, 0.9), transparent 32%),
    var(--near-white);
}

.subpage-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.subpage-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ocean);
  font-size: 13px;
  font-weight: 680;
}

.back-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.placeholder-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 70px 0 110px;
}

.placeholder-card {
  width: min(100%, 720px);
  padding: 60px;
  text-align: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.placeholder-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  color: var(--ocean);
  background: var(--mist-blue);
  border-radius: 20px;
}

.placeholder-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.placeholder-card .eyebrow {
  justify-content: center;
}

.placeholder-card h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 61px);
  letter-spacing: -0.05em;
}

.placeholder-card > p:not(.eyebrow) {
  max-width: 510px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.placeholder-card .button {
  margin-top: 30px;
}

/* Support */
.support-page-body {
  background:
    radial-gradient(circle at 12% 78%, rgba(243, 154, 120, 0.08), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(232, 242, 241, 0.96), transparent 34%),
    var(--near-white);
}

.support-main {
  flex: 1;
  display: grid;
  align-items: center;
  padding: 58px 0 104px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
}

.support-intro {
  max-width: 510px;
}

.support-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  color: var(--ocean);
  background: rgba(232, 242, 241, 0.92);
  border: 1px solid rgba(130, 175, 168, 0.22);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(31, 74, 76, 0.07);
}

.support-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-intro .eyebrow,
.support-form-heading .eyebrow {
  margin-bottom: 18px;
}

.support-intro h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 710;
  letter-spacing: -0.055em;
  line-height: 1;
}

.support-lede {
  max-width: 470px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.support-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.support-detail > span {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--apricot-dark);
  background: rgba(243, 154, 120, 0.13);
  border-radius: 14px;
}

.support-detail svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-detail p {
  display: grid;
  gap: 5px;
  margin: 1px 0 0;
}

.support-detail strong {
  font-size: 14px;
}

.support-detail small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.support-form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(221, 232, 230, 0.92);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.support-form-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 210px;
  right: -105px;
  top: -105px;
  border: 1px solid rgba(130, 175, 168, 0.18);
  border-radius: 50%;
}

.support-form-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 710;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.support-form {
  display: grid;
  gap: 21px;
  margin-top: 34px;
}

.support-field {
  display: grid;
  gap: 9px;
}

.support-field label {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.support-field input,
.support-field textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(250, 251, 248, 0.88);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.support-field input {
  height: 52px;
}

.support-field textarea {
  min-height: 152px;
  line-height: 1.55;
  resize: vertical;
}

.support-field input:hover,
.support-field textarea:hover {
  border-color: rgba(130, 175, 168, 0.7);
}

.support-field input:focus,
.support-field textarea:focus {
  background: var(--white);
  border-color: var(--sea-glass);
  box-shadow: 0 0 0 4px rgba(130, 175, 168, 0.14);
}

.support-field small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.support-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.support-submit {
  width: 100%;
  margin-top: 3px;
  cursor: pointer;
}

.support-submit:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.support-privacy-note {
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.support-form-status {
  margin: -3px 0 0;
  padding: 13px 15px;
  color: var(--ink-soft);
  background: var(--mist-blue);
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.5;
}

.support-form-status[data-state="success"] {
  color: #285e50;
  background: rgba(130, 175, 168, 0.19);
}

.support-form-status[data-state="error"] {
  color: #7a3528;
  background: rgba(243, 154, 120, 0.17);
}

.subpage-footer {
  padding: 24px 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.subpage-footer p {
  margin: 0;
}

/* Legal documents */
.legal-page-body {
  display: block;
  background: var(--near-white);
}

.legal-header {
  position: relative;
  z-index: 10;
  background: rgba(250, 251, 248, 0.88);
  border-bottom: 1px solid rgba(32, 93, 102, 0.08);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.legal-main {
  display: block;
}

.legal-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.92) 0 8%, transparent 34%),
    linear-gradient(128deg, var(--mist-blue), #f1f6f3 52%, var(--near-white));
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 84px;
  background: linear-gradient(to bottom, transparent, var(--near-white));
  pointer-events: none;
}

.legal-hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 76px 92px;
}

.legal-hero .eyebrow {
  margin-bottom: 18px;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 8vw, 86px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.legal-updated {
  margin: 22px 0 0;
  color: var(--ocean);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.55;
}

.legal-orbit {
  position: absolute;
  border: 1px solid rgba(32, 93, 102, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.legal-orbit-one {
  width: 420px;
  height: 420px;
  top: -146px;
  right: -80px;
}

.legal-orbit-two {
  width: 230px;
  height: 230px;
  right: 170px;
  bottom: -135px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: space-between;
  gap: 90px;
  padding-block: 86px 128px;
}

.legal-toc {
  position: sticky;
  top: 34px;
  align-self: start;
  padding: 22px 0;
}

.legal-toc > p {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-toc nav {
  display: grid;
  border-left: 1px solid var(--line);
}

.legal-toc a {
  margin-left: -1px;
  padding: 7px 0 7px 18px;
  color: var(--ink-soft);
  border-left: 1px solid transparent;
  font-size: 12px;
  line-height: 1.35;
  transition: color 160ms ease, border-color 160ms ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--ocean);
  border-left-color: var(--ocean);
}

.legal-document {
  min-width: 0;
}

.legal-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 72px;
  padding: 22px 24px;
  color: var(--ink-soft);
  background: linear-gradient(135deg, rgba(232, 242, 241, 0.86), rgba(255, 255, 255, 0.74));
  border: 1px solid rgba(130, 175, 168, 0.36);
  border-radius: 22px;
}

.legal-summary-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--ocean);
  background: rgba(255, 255, 255, 0.76);
  border-radius: 14px;
}

.legal-summary-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.legal-summary p {
  margin: 0;
  font-size: 14px;
  font-weight: 610;
  line-height: 1.65;
}

.legal-section {
  position: relative;
  scroll-margin-top: 30px;
  padding: 0 0 64px 72px;
}

.legal-section + .legal-section {
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.legal-section-number {
  position: absolute;
  top: 5px;
  left: 0;
  margin: 0;
  color: var(--sea-glass);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.legal-section + .legal-section .legal-section-number {
  top: 69px;
}

.legal-section h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.legal-section p:not(.legal-section-number),
.legal-section li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.82;
}

.legal-section p:not(.legal-section-number) {
  margin: 0;
}

.legal-section p:not(.legal-section-number) + p,
.legal-section p + ul {
  margin-top: 17px;
}

.legal-section ul {
  display: grid;
  gap: 9px;
  margin-bottom: 0;
  padding-left: 21px;
}

.legal-section li::marker {
  color: var(--apricot-dark);
}

.legal-section a:not(.button) {
  color: var(--ocean);
  font-weight: 670;
  text-decoration: underline;
  text-decoration-color: rgba(32, 93, 102, 0.28);
  text-underline-offset: 3px;
}

.legal-section a:not(.button):hover,
.legal-section a:not(.button):focus-visible {
  text-decoration-color: currentColor;
}

.legal-contact {
  margin-top: 8px;
  padding-right: 44px;
  padding-bottom: 48px;
  background: linear-gradient(135deg, rgba(232, 242, 241, 0.9), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(130, 175, 168, 0.32) !important;
  border-radius: 28px;
}

.legal-contact.legal-section {
  padding-top: 46px;
}

.legal-contact.legal-section .legal-section-number {
  top: 53px;
}

.legal-contact .button {
  margin-top: 25px;
}

.legal-contact .button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.legal-footer {
  border-top: 1px solid var(--line);
}

/* Release notes */
.release-notes-page-body {
  background:
    radial-gradient(circle at 82% 11%, rgba(207, 224, 220, 0.78), transparent 31%),
    radial-gradient(circle at 8% 82%, rgba(243, 154, 120, 0.08), transparent 27%),
    var(--near-white);
}

.release-notes-main {
  flex: 1;
  padding: 72px 0 118px;
}

.release-notes-shell {
  width: min(calc(100% - 48px), 1080px);
}

.release-notes-intro {
  max-width: 680px;
}

.release-notes-intro .eyebrow {
  margin-bottom: 18px;
}

.release-notes-intro h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 76px);
  font-weight: 710;
  letter-spacing: -0.055em;
  line-height: 1;
}

.release-notes-intro h1 em {
  display: block;
}

.release-notes-intro > p:last-child {
  max-width: 590px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.release-card {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 32px;
  margin-top: 48px;
  padding: clamp(30px, 5vw, 52px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(221, 232, 230, 0.96);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.release-card::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  top: -130px;
  right: -110px;
  border: 1px solid rgba(130, 175, 168, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.release-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.release-card-label {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.release-card h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 710;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.release-version-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.release-version-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--sea-glass);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 160ms ease, stroke 160ms ease;
}

.release-version-link:hover svg,
.release-version-link:focus-visible svg {
  stroke: var(--ocean);
  opacity: 1;
}

.release-card:target {
  border-color: rgba(32, 93, 102, 0.34);
  box-shadow: 0 28px 80px rgba(31, 74, 76, 0.16);
}

.release-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--apricot-dark);
  background: rgba(243, 154, 120, 0.13);
  border: 1px solid rgba(243, 154, 120, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 720;
}

.release-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--apricot);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(243, 154, 120, 0.14);
}

.release-carousel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: start;
  gap: 42px;
  margin-top: 18px;
}

.release-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.release-list li {
  border-bottom: 1px solid var(--line);
}

.release-point-button {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 17px 15px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.release-point-button:hover,
.release-point-button:focus-visible {
  color: var(--ocean-dark);
  background: rgba(232, 242, 241, 0.55);
}

.release-point-button[aria-current="true"] {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(232, 242, 241, 0.94), rgba(255, 255, 255, 0.8));
  border-color: rgba(130, 175, 168, 0.42);
  box-shadow: inset 3px 0 0 var(--ocean), 0 10px 26px rgba(31, 74, 76, 0.07);
}

.release-point-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ocean);
  background: var(--mist-blue);
  border-radius: 13px;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.06em;
  transition: color 160ms ease, background 160ms ease;
}

.release-point-button[aria-current="true"] .release-point-number {
  color: var(--white);
  background: var(--ocean);
}

.release-gallery {
  position: sticky;
  top: 24px;
  align-self: start;
}

.release-gallery-slides {
  min-height: 470px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: linear-gradient(145deg, rgba(232, 242, 241, 0.72), rgba(250, 251, 248, 0.96));
  border: 1px solid var(--line);
  border-radius: 24px;
}

.release-gallery-slide {
  width: min(100%, 220px);
  margin: 0;
  animation: release-slide-in 220ms ease both;
}

.release-gallery-slide[hidden] {
  display: none;
}

@keyframes release-slide-in {
  from {
    opacity: 0;
    transform: translateX(14px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.release-gallery-slide img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(31, 74, 76, 0.12);
}

.release-media-button {
  width: 100%;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 16px;
  cursor: zoom-in;
  transition: transform 160ms ease, filter 160ms ease;
}

.release-media-button:hover,
.release-media-button:focus-visible {
  filter: brightness(0.98);
  transform: translateY(-2px);
}

.release-gallery-pair {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.release-gallery-placeholder {
  min-height: 420px;
  align-content: center;
  justify-items: center;
  gap: 12px;
  color: var(--muted);
  text-align: center;
}

.release-gallery-placeholder span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--ocean);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 13px;
  font-weight: 780;
}

.release-gallery-placeholder p {
  margin: 0;
  font-size: 13px;
}

.release-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 16px;
}

.release-carousel-controls p {
  min-width: 82px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  text-align: center;
}

.release-carousel-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ocean);
  background: var(--mist-blue);
  border: 1px solid rgba(130, 175, 168, 0.24);
  border-radius: 50%;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.release-carousel-arrow:hover,
.release-carousel-arrow:focus-visible {
  color: var(--white);
  background: var(--ocean);
  transform: translateY(-1px);
}

.release-carousel-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.release-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 24px;
  overflow: auto;
  background: transparent;
  border: 0;
}

.release-lightbox::backdrop {
  background: rgba(17, 37, 41, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.release-lightbox-panel {
  position: relative;
  width: max-content;
  max-width: 100%;
  min-height: calc(100dvh - 48px);
  display: grid;
  place-items: center;
  margin: auto;
}

.release-lightbox-panel > img {
  width: auto;
  max-width: min(86vw, 520px);
  max-height: calc(100dvh - 64px);
  height: auto;
  background: var(--near-white);
  border-radius: 22px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.release-lightbox-close {
  position: fixed;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(32, 93, 102, 0.13);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(17, 37, 41, 0.18);
  cursor: pointer;
}

.release-lightbox-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

@media (max-width: 960px) {
  .release-carousel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .release-gallery {
    position: static;
  }

  .release-gallery-slides {
    min-height: 460px;
  }
}

/* Account and cloud backups */
.account-page-body {
  background:
    radial-gradient(circle at 78% 8%, rgba(207, 224, 220, 0.72), transparent 30%),
    linear-gradient(150deg, #f7faf8 0%, var(--near-white) 55%, #f3f7f6 100%);
}

.account-main {
  flex: 1;
  padding: 66px 0 110px;
}

.account-shell {
  width: min(calc(100% - 48px), 880px);
}

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

.account-heading h1 {
  margin: 16px 0 0;
  font-size: clamp(46px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.account-heading h1 em {
  color: var(--apricot-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.account-heading > p:last-child {
  max-width: 630px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.account-panel,
.account-session-card,
.backup-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.account-panel {
  padding: 38px;
  border-radius: 30px;
}

.account-panel[data-account-loading] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 210px;
  color: var(--muted);
}

.account-panel[data-account-loading][hidden] {
  display: none;
}

.account-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--sea-glass-soft);
  border-top-color: var(--ocean);
  border-radius: 50%;
  animation: account-spin 800ms linear infinite;
}

@keyframes account-spin {
  to { transform: rotate(360deg); }
}

.account-panel-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.account-panel-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--ocean);
  background: var(--mist-blue);
  border-radius: 17px;
}

.account-panel-icon svg,
.backup-notice svg,
.restore-dialog-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-panel-heading h2,
.backup-intro h2,
.restore-dialog h2 {
  margin: 0;
  letter-spacing: -0.035em;
}

.account-panel-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.provider-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 30px;
}

.provider-button {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  cursor: pointer;
  font-weight: 680;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.provider-button:hover,
.provider-button:focus-visible {
  border-color: var(--sea-glass);
  box-shadow: 0 8px 24px rgba(31, 74, 76, 0.09);
  transform: translateY(-1px);
}

.provider-button svg {
  width: 21px;
  height: 21px;
}

.provider-button-apple {
  color: var(--white);
  background: #111;
  border-color: #111;
}

.provider-button-apple svg {
  fill: currentColor;
}

.provider-button:disabled,
.email-sign-in button:disabled,
.email-sign-in input:disabled {
  cursor: wait;
  opacity: 0.58;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 27px 0 19px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.email-sign-in label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 680;
}

.email-sign-in-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.email-sign-in input {
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--near-white);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
}

.email-sign-in input:focus {
  border-color: var(--sea-glass);
  box-shadow: 0 0 0 4px rgba(130, 175, 168, 0.14);
}

.account-message,
.backup-status {
  margin: 18px 0 0;
  padding: 12px 14px;
  color: var(--ink-soft);
  background: var(--mist-blue);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.account-message.error,
.backup-status.error {
  color: #7a3528;
  background: rgba(243, 154, 120, 0.17);
}

.account-message.success,
.backup-status.success {
  color: #285e50;
  background: rgba(130, 175, 168, 0.19);
}

.account-fine-print {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.account-session-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-radius: 22px;
}

.account-user {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.account-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--ocean), var(--sea-glass));
  border-radius: 14px;
  font-weight: 780;
}

.account-user > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.account-user small,
.account-user em {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-button,
.icon-text-button {
  color: var(--ocean);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.backup-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
}

.backup-intro .eyebrow {
  margin-bottom: 12px;
}

.backup-intro h2 {
  font-size: clamp(34px, 5vw, 46px);
}

.icon-text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0;
}

.icon-text-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.backup-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-top: 24px;
  padding: 18px;
  color: var(--ink-soft);
  background: rgba(232, 242, 241, 0.72);
  border: 1px solid rgba(130, 175, 168, 0.28);
  border-radius: 18px;
}

.backup-notice svg {
  width: 23px;
  height: 23px;
  color: var(--ocean);
}

.backup-notice p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.backup-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.backup-card {
  padding: 25px;
  border-radius: 24px;
}

.backup-card.current-backup {
  border-color: rgba(32, 93, 102, 0.38);
  box-shadow: 0 18px 46px rgba(31, 74, 76, 0.12);
}

.backup-card-heading,
.backup-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.backup-card-heading h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.backup-card-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.current-backup-badge,
.backup-ready {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ocean);
  font-size: 11px;
  font-weight: 730;
}

.current-backup-badge {
  padding: 7px 10px;
  background: var(--mist-blue);
  border-radius: 999px;
}

.backup-ready::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--sea-glass);
  border-radius: 50%;
}

.backup-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.backup-details > div {
  min-width: 0;
  padding: 13px;
  background: var(--mist);
  border-radius: 13px;
}

.backup-details dt {
  color: var(--muted);
  font-size: 10px;
}

.backup-details dd {
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: 760;
}

.backup-card-footer {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.backup-select-button {
  min-height: 42px;
  padding: 0 17px;
  font-size: 12px;
}

.restore-dialog {
  width: min(calc(100% - 32px), 510px);
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.restore-dialog::backdrop {
  background: rgba(17, 40, 43, 0.48);
  backdrop-filter: blur(4px);
}

.restore-dialog-card {
  padding: 34px;
  text-align: center;
  background: var(--near-white);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(17, 40, 43, 0.25);
}

.restore-dialog-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: var(--apricot-dark);
  background: rgba(243, 154, 120, 0.16);
  border-radius: 18px;
}

.restore-dialog h2 {
  font-size: 27px;
}

.restore-dialog p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.restore-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 27px;
}

.account-overview-heading {
  max-width: 760px;
}

.account-profile-card,
.account-overview-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.account-profile-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 24px 28px;
  border-radius: 24px;
}

.account-profile-primary {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 17px;
}

.account-profile-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 19px;
}

.account-profile-primary .eyebrow,
.overview-card-heading .eyebrow {
  margin: 0 0 7px;
  font-size: 9px;
}

.account-profile-primary h2 {
  overflow: hidden;
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-profile-primary > div > p:last-child {
  overflow: hidden;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-profile-details {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 16px 28px;
  margin: 0;
}

.account-profile-details div {
  display: grid;
  gap: 4px;
}

.account-profile-details dt,
.backup-summary-metrics dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-profile-details dd,
.backup-summary-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
}

.account-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 20px;
  margin-top: 22px;
}

.account-overview-card {
  padding: 30px;
  border-radius: 26px;
}

.overview-card-heading {
  display: flex;
  align-items: center;
  gap: 15px;
}

.overview-card-heading h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.overview-card-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ocean);
  background: var(--mist-blue);
  border-radius: 15px;
}

.overview-card-icon svg,
.in-app-restore-note svg,
.overview-card-action svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.overview-card-icon svg {
  width: 24px;
  height: 24px;
}

.overview-status,
.account-links-card > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.backup-summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 0;
}

.backup-summary-metrics > div {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 14px;
  background: var(--near-white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.backup-summary-metrics dd {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.in-app-restore-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  margin-top: 18px;
  padding: 13px 14px;
  color: var(--ink-soft);
  background: rgba(232, 242, 241, 0.72);
  border-radius: 14px;
}

.in-app-restore-note svg {
  width: 20px;
  height: 20px;
  color: var(--ocean);
}

.in-app-restore-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.overview-card-action {
  width: 100%;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.overview-card-action svg {
  width: 17px;
  height: 17px;
}

.account-resource-links {
  display: grid;
  margin-top: 21px;
  border-top: 1px solid var(--line);
}

.account-resource-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 680;
}

.account-resource-links a:hover,
.account-resource-links a:focus-visible {
  color: var(--ocean);
}

@media (max-width: 760px) {
  .account-profile-card {
    grid-template-columns: 1fr auto;
  }

  .account-profile-details {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .account-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .account-profile-card,
  .account-overview-card {
    padding: 22px;
  }

  .account-profile-card {
    grid-template-columns: 1fr;
  }

  .account-profile-card > .text-button {
    justify-self: start;
  }

  .account-profile-details {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
  }

  .backup-summary-metrics {
    grid-template-columns: 1fr;
  }
}

:focus-visible {
  outline: 3px solid rgba(243, 154, 120, 0.72);
  outline-offset: 4px;
}

@media (max-width: 1040px) {
  .support-layout {
    gap: 48px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    gap: 24px;
  }

  .progress-float { right: 0; }

  .knowledge-grid {
    gap: 48px;
  }

  .language-panel {
    padding-inline: 54px;
  }
}

@media (max-width: 880px) {
  .support-main {
    padding-top: 42px;
  }

  .support-layout {
    width: min(calc(100% - 48px), 680px);
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .support-intro {
    max-width: 600px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 58px);
  }

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

  .hero-copy {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-actions,
  .launch-note {
    justify-content: center;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin-inline: auto;
  }

  .step-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 24px;
  }

  .step-copy {
    padding: 0;
  }

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

  .knowledge-visual {
    order: 2;
  }

  .knowledge-copy {
    max-width: 680px;
  }

  .language-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 60px;
  }

  .language-copy {
    max-width: 680px;
  }

  .language-orbit {
    width: min(100%, 450px);
    margin-inline: auto;
  }
}

@media (max-width: 759px) {
  :root {
    --header-height: 72px;
  }

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

  .site-header {
    background: rgba(250, 251, 248, 0.82);
    backdrop-filter: blur(18px);
  }

  .brand {
    font-size: 18px;
  }

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

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 12px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  }

  .site-nav[data-open] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a,
  .site-nav .nav-cta {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 15px;
  }

  .site-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 7px;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 54px) 0 70px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 67px);
  }

  .hero-intro {
    font-size: 16px;
  }

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

  .phone-frame {
    width: 267px;
  }

  .hero-visual::before {
    width: 430px;
    height: 430px;
  }

  .progress-float {
    right: 4px;
    bottom: 8px;
  }

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

  .proof-grid p {
    justify-content: flex-start;
    min-height: 54px;
    padding-inline: 24px;
  }

  .proof-grid p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 86px 0;
  }

  .section-heading h2,
  .knowledge-copy h2,
  .language-copy h2,
  .download-card h2 {
    font-size: clamp(37px, 11vw, 49px);
  }

  .section-heading > p:last-child {
    font-size: 15px;
  }

  .steps-grid {
    margin-top: 46px;
  }

  .step-card {
    display: block;
    padding: 18px;
    border-radius: 25px;
  }

  .step-visual {
    min-height: 250px;
  }

  .step-copy {
    padding: 23px 4px 7px;
  }

  .knowledge-visual {
    min-height: 540px;
  }

  .map-card {
    min-height: 490px;
    padding: 22px;
    transform: none;
  }

  .knowledge-visual::before {
    width: 460px;
    height: 460px;
  }

  .knowledge-visual::after {
    width: 350px;
    height: 350px;
  }

  .map-legend {
    gap: 8px;
    font-size: 8px;
  }

  .language-panel {
    padding: 48px 24px;
    border-radius: 30px;
  }

  .language-orbit {
    min-height: 320px;
    transform: scale(0.88);
  }

  .download-card {
    padding: 60px 20px;
    border-radius: 30px;
  }

  .store-row {
    display: grid;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: start;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .placeholder-card {
    padding: 44px 22px;
    border-radius: 28px;
  }

  .support-main {
    padding: 34px 0 78px;
  }

  .support-layout {
    width: min(calc(100% - 32px), 680px);
    gap: 38px;
  }

  .support-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 26px;
    border-radius: 18px;
  }

  .support-intro h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  .support-lede {
    font-size: 15px;
  }

  .support-detail {
    margin-top: 27px;
    padding-top: 22px;
  }

  .support-form-card {
    padding: 28px 22px;
    border-radius: 28px;
  }

  .support-form {
    margin-top: 28px;
  }

  .subpage-header .brand span {
    display: none;
  }

  .legal-hero {
    min-height: 380px;
  }

  .legal-hero-inner {
    padding-block: 62px 78px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 56px 86px;
  }

  .legal-toc {
    position: static;
    padding: 0 0 52px;
  }

  .legal-toc nav {
    grid-template-columns: 1fr 1fr;
    gap: 2px 20px;
    border-left: 0;
  }

  .legal-toc a {
    margin-left: 0;
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .legal-toc a:hover,
  .legal-toc a:focus-visible {
    border-left-color: transparent;
    border-bottom-color: var(--ocean);
  }

  .legal-summary {
    margin-bottom: 58px;
  }

  .release-notes-main {
    padding: 44px 0 82px;
  }

  .release-notes-shell {
    width: min(calc(100% - 32px), 820px);
  }

  .release-notes-intro h1 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .release-notes-intro > p:last-child {
    font-size: 15px;
  }

  .release-card {
    margin-top: 36px;
    padding: 28px 22px;
    border-radius: 28px;
  }

  .release-card-header {
    flex-direction: column;
    gap: 18px;
    padding-bottom: 26px;
  }

  .release-badge {
    order: -1;
  }

  .release-point-button {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    padding: 14px 11px;
    font-size: 15px;
  }

  .release-point-number {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .release-carousel {
    gap: 24px;
    margin-top: 12px;
  }

  .release-gallery-slides {
    min-height: 420px;
    padding: 12px;
    border-radius: 20px;
  }

  .release-gallery-slide {
    width: min(100%, 200px);
  }

  .release-gallery-pair {
    width: min(100%, 310px);
  }

  .release-lightbox {
    padding: 12px;
  }

  .release-lightbox-close {
    top: 12px;
    right: 12px;
  }

  .account-main {
    padding: 44px 0 80px;
  }

  .account-shell {
    width: min(calc(100% - 32px), 880px);
  }

  .account-heading h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  .account-panel {
    padding: 24px;
  }

  .provider-buttons,
  .email-sign-in-row {
    grid-template-columns: 1fr;
  }

  .email-sign-in-row .button {
    width: 100%;
  }

  .backup-details {
    grid-template-columns: 1fr 1fr;
  }

  .backup-card-heading,
  .backup-card-footer {
    align-items: flex-start;
  }

  .backup-card-footer {
    flex-direction: column;
  }

  .backup-select-button {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .phone-frame {
    width: 246px;
  }

  .progress-float {
    min-width: 178px;
  }

  .map-card {
    padding-inline: 18px;
  }

  .map-total strong {
    font-size: 34px;
  }

  .language-orbit {
    width: 430px;
    left: 50%;
    transform: translateX(-50%) scale(0.76);
  }

  .legal-hero h1 {
    font-size: 48px;
  }

  .legal-lede {
    font-size: 18px;
  }

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

  .legal-summary {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .legal-section,
  .legal-section + .legal-section {
    padding-left: 44px;
  }

  .legal-contact {
    padding-right: 22px;
  }

  .account-panel-heading,
  .account-session-card,
  .backup-intro,
  .backup-card-heading {
    align-items: flex-start;
  }

  .account-panel-heading {
    flex-direction: column;
  }

  .account-session-card {
    flex-direction: column;
  }

  .backup-intro {
    align-items: flex-end;
  }

  .current-backup-badge {
    max-width: 120px;
    text-align: center;
  }

  .restore-dialog-card {
    padding: 27px 20px;
  }

  .restore-dialog-actions {
    grid-template-columns: 1fr;
  }
}

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

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