:root {
  --navy: #1a2744;
  --blue: #2348d8;
  --blue-soft: #eef3ff;
  --orange: #e67a2e;
  --gold: #f4b942;
  --gold-soft: #fff8e7;
  --mint: #e8f8ef;
  --rose: #fff1f5;
  --cream: #faf7f2;
  --bg: #fffdf9;
  --text: #1a2744;
  --muted: #5c6778;
  --line: #ece7df;
  --card: #ffffff;
  --shadow: 0 10px 26px rgba(26, 39, 68, 0.055);
  --shadow-soft: 0 3px 12px rgba(26, 39, 68, 0.04);
  --radius: 22px;
  --max: 1160px;
  --pad: 24px;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC",
    "Hiragino Sans CNS", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

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

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  height: 88px;
  min-height: 88px;
  padding: 0;
}

.logo-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}

.logo {
  display: block;
  width: 248px;
  height: 81px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.nav a {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 32px;
  text-decoration: none;
  white-space: nowrap;
}

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

.nav-account,
.nav a.nav-account[aria-current="page"] {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  min-width: 72px;
  max-width: 72px;
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.nav-account:hover,
.nav a.nav-account[aria-current="page"]:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.page-account .site-header .wrap {
  width: min(1390px, calc(100% - 48px));
  max-width: 1390px;
}

.page-account .nav-account,
.page-account .nav a.nav-account[aria-current="page"] {
  width: auto;
  min-width: 88px;
  max-width: none;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  gap: 6px;
  padding: 0 14px;
  background: #e8f0ff;
  border-color: transparent;
  color: #2855e7;
}

.page-account .nav-account-icon {
  display: block;
  flex-shrink: 0;
}

.hero {
  padding: 28px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(360px, 0.56fr);
  align-items: start;
  gap: 16px 24px;
}

.hero-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-science {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  margin: 0;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e7f8ff 0%, #d7f1ff 58%, #eef6ff 100%);
  border: 1.5px solid #7ec8ee;
  box-shadow: 0 0 0 3px rgba(35, 148, 216, 0.1), 0 6px 16px rgba(35, 72, 216, 0.08);
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-science-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #1b7ab8;
}

.hero-science-atom {
  display: inline-flex;
  color: #2a8ec4;
}

.hero-copy h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(44px, 7vw, 68px);
  font-weight: 800;
  line-height: 1.05;
}

.hero-copy .tagline {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
}

.hero-copy .lead {
  margin: 0 0 20px;
  max-width: 34rem;
  color: var(--muted);
  font-size: 17px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid #e7eef8;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(26, 39, 68, 0.03);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.hero-badge-icon {
  display: inline-flex;
  color: var(--blue);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.hero-downloads {
  margin: 0 0 14px;
}

.store-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  max-width: 170px;
  text-decoration: none;
}

.store-badge img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.store-badge.is-pending {
  cursor: default;
}

.store-badge.is-missing-asset {
  min-width: 148px;
  padding: 0 14px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.store-badge--apple.is-missing-asset::after {
  content: "App Store";
}

.store-badge--google.is-missing-asset::after {
  content: "Google Play";
}

.store-soon {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.btn[hidden],
.account-dashboard[hidden],
.account-grid[hidden],
.account-card[hidden],
.change-box[hidden] {
  display: none !important;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--navy);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  background: #1c3cbb;
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
}

.btn-secondary:hover {
  color: var(--blue);
}

.trust-line {
  margin: 0;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  overflow: visible;
  padding: 2px 2% 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 4% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, #e8f1ff 0%, rgba(232, 241, 255, 0) 74%);
  z-index: 0;
}

.hero-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 790px;
  height: auto;
  aspect-ratio: 1536 / 1024;
  object-fit: contain;
  object-position: center top;
}

.phone {
  background: var(--card);
  border: 1px solid #e8e4dc;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.phone-main {
  position: relative;
  z-index: 3;
  width: min(348px, 80%);
  margin: 28px auto 0;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 24px;
  margin: 28px 0 0;
  padding: 26px 0 8px;
  border-top: 1px solid #eef1f6;
  list-style: none;
}

.hero-trust li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  min-width: 0;
}

.hero-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
}

.hero-trust h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.hero-trust p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding: 68px 0;
}

.section-intro {
  max-width: 38rem;
  margin: 0 0 36px;
}

.section h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.25;
}

.section-intro p,
.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.band-blue {
  background: var(--blue-soft);
}

.band-voice {
  background: #eef6ff;
}

.promo-banner-section {
  padding: 20px 0 12px;
}

.promo-banner {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2172 / 724;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.features-section {
  padding-bottom: 40px;
}

.features-section + .band-voice {
  padding-top: 48px;
}

.features-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef3ff;
  color: #2855e7;
  font-size: 13px;
  font-weight: 800;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.feature-break {
  display: none;
  flex-basis: 100%;
  width: 100%;
  height: 0;
  overflow: hidden;
}

.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(176px, 1.18fr);
  flex: 0 0 calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  align-items: stretch;
  gap: 10px 12px;
  min-width: 0;
  padding: 26px 18px 18px 26px;
  background: var(--card);
  border: 1px solid #eee6da;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:nth-child(4),
.feature-card:nth-child(5),
.feature-card.wide {
  flex: 0 0 43%;
  width: 43%;
  max-width: 43%;
}

@media (min-width: 1025px) {
  .feature-card.wide + .feature-card.wide {
    margin-left: 6px;
  }
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(26, 39, 68, 0.08);
}

.feature-card.notes {
  background: #fff7e6;
  border-color: #f3e2b6;
}

.feature-card.voice {
  background: #eaf2ff;
  border-color: #cddcf6;
}

.feature-card.challenge {
  background: #efeaff;
  border-color: #d8d0f3;
}

.feature-card.vocab {
  background: #e8f8ef;
  border-color: #c6ead4;
}

.feature-card.favorites {
  background: #fff0f4;
  border-color: #f4d4de;
}

.feature-deco {
  position: absolute;
  top: 18px;
  right: 18px;
  pointer-events: none;
}

.feature-deco-pencil {
  position: absolute;
  top: 28px;
  right: -6px;
}

.feature-card:not(.wide) {
  grid-template-rows: auto 1fr;
}

.feature-card:not(.wide) .feature-head {
  grid-column: 1 / -1;
  width: 100%;
  gap: 15px;
  margin: 0 0 2px;
}

.feature-card:not(.wide) .feature-head h3 {
  margin: 0;
  color: #10284f;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .feature-card:not(.wide) .feature-head h3 {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .feature-card:not(.wide) .feature-head h3 {
    white-space: normal;
    font-size: 22px;
    flex-shrink: 1;
  }
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}

.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #ffe08a;
  color: #7a4e00;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.feature-card.notes .feature-num {
  background: #ffd36a;
  color: #7a4e00;
}

.feature-card.voice .feature-num {
  background: #2855e7;
  color: #fff;
}

.feature-card.challenge .feature-num {
  background: #7b6cf0;
  color: #fff;
}

.feature-card.vocab .feature-num {
  background: #2ea36d;
  color: #fff;
}

.feature-card.favorites .feature-num {
  background: #e37a96;
  color: #fff;
}

.feature-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.feature-copy h3 {
  margin: 0;
  color: #10284f;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.2;
}

.feature-kicker {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}

.feature-card.notes .feature-kicker {
  color: #c9891a;
}

.feature-card.voice .feature-kicker {
  color: #2855e7;
}

.feature-card.challenge .feature-kicker {
  color: #6b5ce7;
}

.feature-card.vocab .feature-kicker {
  color: #1b8a5a;
}

.feature-card.favorites .feature-kicker {
  color: #c45b7a;
}

.feature-copy > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.feature-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-points li {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #10284f;
  font-size: 12px;
  font-weight: 700;
}

.feature-shot {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 4px 0 0;
}

.feature-shot img {
  display: block;
  width: 100%;
  max-width: 236px;
  height: auto;
  max-height: none;
  aspect-ratio: 390 / 844;
  object-fit: contain;
  object-position: top center;
  border: 1px solid rgba(26, 39, 68, 0.06);
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(26, 39, 68, 0.08);
  background: #fff;
}

.feature-card.wide {
  grid-template-columns: minmax(0, 1.1fr) minmax(148px, 0.9fr);
  align-items: center;
  gap: 8px 12px;
  padding: 22px 16px 16px 22px;
}

.feature-card.wide .feature-shot {
  align-items: center;
  padding: 0;
}

.feature-card.wide .feature-shot img {
  width: min(100%, 168px);
  max-height: 360px;
}

.voice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 580px);
  align-items: start;
  gap: 28px;
}

.voice-copy h2 {
  margin: 0 0 14px;
}

.voice-copy .lead {
  margin: 0 0 22px;
  max-width: 34rem;
  color: var(--muted);
  font-size: 18px;
}

.voice-points {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.voice-points li {
  position: relative;
  padding: 11px 16px 11px 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy);
  font-weight: 700;
}

.voice-points li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 14px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #fff;
  background: var(--blue);
}

.voice-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

.voice-phone {
  margin: 0;
}

.voice-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.voice-phone-main {
  width: min(278px, 54%);
}

.voice-phone-side {
  width: min(232px, 44%);
}

.voice-note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.pricing-trial {
  margin: 0 0 16px;
  color: var(--navy);
  font-weight: 700;
}

.pricing-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pricing-includes li {
  padding: 6px 12px;
  background: var(--blue-soft);
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px 24px 26px;
}

.pricing-card.featured {
  background: var(--gold-soft);
  border-color: #f0d089;
  box-shadow: var(--shadow);
}

.plan-badge {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 4px 10px;
  background: var(--orange);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.pricing-card h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
}

.price-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.price-launch {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.price-launch span {
  font-size: 16px;
  font-weight: 700;
}

.price-daily {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0.78;
}

.price-standard {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.plan-cta {
  margin-top: auto;
  align-self: flex-start;
}

.plan-cta.is-static {
  pointer-events: none;
  opacity: 0.72;
}

.pricing-current {
  margin: 0 0 12px;
  color: var(--navy);
  font-weight: 700;
}

.grade-chip.locked {
  cursor: default;
  opacity: 0.95;
}

.pricing-notes {
  max-width: 40rem;
  margin: 24px 0 0;
}

.pricing-notes p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.pricing-disclaimer {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.flow-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: stretch;
}

.flow-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px 22px;
  text-align: center;
}

.flow-arrow {
  align-self: center;
  height: 2px;
  background: #d5deef;
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #9aadc8;
  border-top: 2px solid #9aadc8;
  transform: translateY(-50%) rotate(45deg);
}

.step-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.flow-step h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

#about h2 {
  margin-bottom: 20px;
}

.about-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 36px 40px;
}

.about-card .lead {
  margin: 0 0 16px;
  max-width: 40rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  white-space: normal;
}

.about-note {
  margin: 0 0 20px;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.65;
  white-space: normal;
}

.about-details {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.about-details p {
  margin: 0;
  color: var(--navy);
}

.company-name {
  font-size: 20px;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.footer-logo {
  width: 148px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.footer-links a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

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

.legal-page {
  padding: 40px 0 72px;
}

.legal-back {
  margin: 0 0 18px;
}

.legal-back a {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.legal-back a:hover {
  color: var(--blue);
}

.legal-page h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
}

.legal-updated {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 15px;
}

.legal-page article section + section {
  margin-top: 28px;
}

.legal-page h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.legal-page p {
  margin: 0 0 12px;
  max-width: 44rem;
}

.legal-page p:last-child {
  margin-bottom: 0;
}

.checkout-wrap {
  max-width: 40rem;
}

.account-wrap,
.account-shell {
  width: min(1390px, calc(100% - 48px));
  max-width: 1390px;
  margin: 0 auto;
}

.account-page .account-lead,
.account-page .account-email,
.account-page .account-detail,
.account-page .account-renew-note,
.account-page .account-side-block p,
.account-page .account-tip p {
  max-width: none;
}

.account-page {
  padding: 18px 0 48px;
}

.page-account h1,
.page-account h2 {
  color: #10284f;
}

.page-account .btn-primary {
  background: #2855e7;
}

.page-account .btn-primary:hover {
  background: #1f46c8;
}

.page-account .btn-secondary {
  border-color: #e4ddd2;
}

.page-account .account-actions .btn {
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
}

.page-account .account-actions .btn-ghost {
  min-width: 0;
  padding-left: 8px;
  padding-right: 8px;
  border: 0;
  background: transparent;
  color: #7a8494;
  font-weight: 700;
}

.page-account #page-note:empty {
  display: none;
}

#period-row[hidden] {
  display: none !important;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px 24px;
  margin: 0 0 10px;
}

.account-heading {
  margin: 0;
  min-width: 0;
}

.account-page .account-heading h1 {
  margin: 0 0 8px;
  color: #10284f;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
}

.account-lead {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 16px;
}

.account-email,
.account-signed-in {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.account-deco {
  display: block;
  width: min(560px, 42vw);
  max-width: 600px;
  height: auto;
  margin-top: -8px;
  pointer-events: none;
}

.account-grid,
.account-dashboard {
  display: grid;
  gap: 26px;
  align-items: start;
  margin: 8px 0 28px;
}

@media (min-width: 768px) {
  .account-grid,
  .account-dashboard {
    grid-template-columns: minmax(0, 1.94fr) minmax(260px, 1fr);
    gap: 26px;
  }
}

.checkout-card,
.account-card,
.result-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px 24px;
  margin: 20px 0;
}

.page-account .account-card {
  margin: 0;
  padding: 36px 34px;
  border-color: #eee8df;
  border-radius: 24px;
}

.account-dashboard .account-card {
  margin: 0;
}

.account-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 16px;
}

.account-card-head h2,
.account-card-side > h2 {
  margin: 0;
}

.account-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.status-badge.ok {
  background: var(--mint);
  color: #1b6b43;
}

.status-badge.warn {
  background: var(--gold-soft);
  color: #8a5a10;
}

.status-badge.bad {
  background: var(--rose);
  color: #9b1c38;
}

.status-badge.wait {
  background: var(--blue-soft);
  color: var(--blue);
}

.status-badge.muted {
  background: #f3efe8;
  color: var(--muted);
}

.account-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--blue-soft);
}

.account-check {
  display: none;
  flex-shrink: 0;
}

.account-highlight.tone-ok .account-check {
  display: inline-flex;
}

.account-card-lead,
.account-side-intro,
.account-secure {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.account-secure {
  margin: 4px 0 18px;
  font-size: 13px;
}

.account-page .account-card-main label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #10284f;
  font-size: 14px;
  font-weight: 800;
}

.account-field {
  position: relative;
  display: block;
}

.account-field-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  color: #8a93a3;
  transform: translateY(-50%);
  pointer-events: none;
}

.account-field input {
  width: 100%;
  min-height: 60px;
  padding: 12px 44px;
  border: 1px solid #e7e1d8;
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font-size: 16px;
}

.account-field input::placeholder {
  color: #9aa3b2;
}

.account-eye {
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a93a3;
  transform: translateY(-50%);
  cursor: pointer;
}

.account-benefit-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.account-benefit-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0ece5;
}

.account-benefit-list li:last-child {
  border-bottom: 0;
}

.account-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
}

.account-support-box {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--blue-soft);
}

.account-mail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.account-benefit-list .account-side-title {
  margin: 0 0 2px;
  font-size: 15px;
}

.account-benefit-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.account-support-box .account-side-title {
  margin-bottom: 6px;
}

.account-highlight.tone-ok {
  background: #eef8f3;
}

.account-highlight.tone-warn {
  background: var(--gold-soft);
}

.account-highlight.tone-bad {
  background: var(--rose);
}

.account-highlight.tone-wait {
  background: var(--blue-soft);
}

.account-highlight.tone-muted {
  background: #f6f3ee;
}

.account-page .account-summary,
.legal-page .account-card .account-summary {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.account-detail,
.account-renew-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.account-meta {
  display: grid;
  gap: 18px;
  margin: 0 0 10px;
}

.account-meta div {
  min-width: 0;
}

.account-meta dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.account-meta dd {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
}

@media (min-width: 720px) {
  .account-card-main .account-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 20px;
  }
}

.grade-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.grade-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 32px;
  padding: 0 10px;
  background: var(--blue-soft);
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.account-empty {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.account-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #f0ece5;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.account-trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.account-trust-icon {
  display: inline-flex;
  color: var(--blue);
}

.account-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.account-actions .btn {
  min-width: 0;
  max-width: 100%;
}

.account-card-side .account-side-block {
  margin: 0 0 18px;
}

.account-side-label,
.account-side-title {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.account-side-value {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  word-break: break-word;
}

.account-side-trust,
.account-tip {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--blue-soft);
}

.account-side-trust .account-side-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-side-trust + .account-side-block {
  padding-top: 16px;
  border-top: 1px solid #f0ece5;
}

.account-tip {
  background: #f7f1e6;
}

.account-side-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 0 18px;
}

.account-side-links a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.account-side-links a:hover {
  color: var(--blue);
}

.change-box {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.result-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.checkout-card h2,
.account-card h2,
.result-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.checkout-card label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--navy);
  font-weight: 700;
}

.checkout-card input {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
}

.grade-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.grade-chip {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.grade-chip.selected {
  background: var(--blue-soft);
  border-color: var(--blue);
}

.form-note {
  min-height: 1.5em;
  color: var(--muted);
}

.form-note.error {
  color: #b42318;
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 16px 20px;
  }

  .nav {
    gap: 14px;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(240px, 0.88fr) minmax(300px, 1.12fr);
    gap: 14px 18px;
  }

  .hero-visual {
    padding-top: 4px;
  }

  .hero-art {
    max-width: 88%;
  }

  .hero-trust {
    grid-template-columns: 1fr 1fr;
  }

  .voice-grid {
    gap: 24px;
  }

  .phone-main {
    width: min(318px, 76%);
  }

  .feature-card:nth-child(4),
  .feature-card:nth-child(5),
  .feature-card.wide {
    flex-basis: 48%;
    width: 48%;
    max-width: 48%;
    padding: 22px 16px 16px 20px;
  }

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

  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    justify-self: center;
    width: 100%;
  }

}

@media (max-width: 768px) {
  .header-inner {
    gap: 12px 16px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 14px;
  }

  .hero-grid {
    grid-template-columns: minmax(220px, 0.95fr) minmax(260px, 1.05fr);
    gap: 12px 14px;
  }

  .hero-visual {
    padding-top: 4px;
  }

  .hero-art {
    max-width: 86%;
  }

  .voice-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    grid-column: auto;
    max-width: none;
  }

  .pricing-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .flow-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .flow-arrow {
    width: 2px;
    height: 22px;
    justify-self: center;
    background: #d5deef;
  }

  .flow-arrow::after {
    top: auto;
    bottom: -1px;
    right: 50%;
    transform: translateX(50%) rotate(135deg);
  }

  .feature-break {
    display: block;
  }

  .feature-card:not(.wide) {
    flex-basis: calc((100% - 24px) / 2);
    width: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }

  .feature-card,
  .feature-card.wide {
    grid-template-columns: 1fr;
    padding: 24px 22px 22px;
  }

  .feature-shot {
    justify-content: center;
  }

  .feature-shot img,
  .feature-card.wide .feature-shot img {
    width: 82%;
    max-width: none;
    max-height: none;
  }

  .hero-trust {
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    margin-top: 20px;
    padding-top: 22px;
  }

  .phone-main {
    width: min(340px, 88%);
    margin: 8px auto 0;
  }
}

@media (max-width: 640px) {
  .feature-break {
    display: none;
  }

  .feature-grid {
    gap: 20px;
  }

  .feature-card,
  .feature-card:not(.wide),
  .feature-card:nth-child(4),
  .feature-card:nth-child(5),
  .feature-card.wide {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: none;
    padding: 24px 20px 20px;
  }

  .feature-shot img,
  .feature-card.wide .feature-shot img {
    width: 82%;
    max-width: none;
  }

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

  .hero-science {
    min-height: 42px;
    padding: 6px 12px 6px 8px;
    font-size: 14px;
  }

  .hero-science-icon {
    width: 26px;
    height: 26px;
  }

  .store-badge,
  .store-badge img {
    max-width: 170px;
  }

  .hero-visual {
    min-height: 0;
    padding: 4px 0 8px;
    max-width: none;
    margin: 0;
    justify-content: flex-start;
  }

  .hero-art {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .account-deco {
    width: min(500px, 40vw);
  }
}

@media (max-width: 768px) {
  .account-hero {
    grid-template-columns: 1fr;
  }

  .account-deco {
    width: min(560px, 100%);
    max-width: 100%;
    margin: 4px 0 8px;
  }

  .page-account .account-card {
    padding: 28px 22px;
  }
}

@media (max-width: 767px) {
  .account-grid,
  .account-dashboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-trust {
    grid-template-columns: 1fr;
  }

  .account-actions,
  .result-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .account-actions .btn,
  .result-actions .btn {
    width: 100%;
  }

  .page-account .account-heading h1 {
    font-size: 32px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    min-height: 0;
    padding: 12px 0;
    gap: 10px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 12px;
    width: 100%;
  }
}

@media (max-width: 430px) {
  :root {
    --pad: 18px;
  }

  .logo {
    width: 186px;
    height: 61px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-copy .lead {
    font-size: 16px;
  }

  .voice-visual {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .voice-phone-main,
  .voice-phone-side {
    width: min(280px, 82%);
  }

  .section {
    padding: 52px 0;
  }

  .hero {
    padding: 36px 0 28px;
  }

  .about-card {
    padding: 24px 20px;
  }
}
