:root {
  color-scheme: light;
  --page: #eef7f7;
  --surface: rgb(255 255 255 / 84%);
  --surface-strong: #ffffff;
  --surface-tint: #ecf7ef;
  --surface-dark: #173044;
  --text: #173044;
  --text-soft: #627284;
  --text-faint: #78909f;
  --line: rgb(34 67 91 / 10%);
  --line-strong: rgb(34 67 91 / 16%);
  --accent: #22c95b;
  --accent-strong: #14944d;
  --accent-soft: #ecf7ef;
  --danger: #bc3a45;
  --shadow: 0 22px 64px rgb(14 36 56 / 14%);
  --shadow-soft: 0 10px 24px rgb(17 51 76 / 8%);
  --content: 1180px;
  --radius: 22px;
  --control-radius: 14px;
  --pill: 999px;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 4%, rgb(34 201 91 / 14%), transparent 26%),
    radial-gradient(circle at 94% 8%, rgb(70 168 214 / 12%), transparent 28%),
    linear-gradient(180deg, #fbfeff, var(--page));
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 68%, rgb(214 231 237 / 28%));
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms cubic-bezier(.16, 1, .3, 1), transform 620ms cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--control-radius);
  background: var(--surface-dark);
  color: #f4fbf8;
  padding: 10px 14px;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 8px 28px rgb(17 51 76 / 5%);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 8px 22px rgb(34 201 91 / 22%);
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.nav-links .mobile-nav-only {
  display: none;
}

.nav-actions {
  gap: 10px;
}

.nav-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
}

.nav-menu-button span,
.nav-menu-button::before,
.nav-menu-button::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-menu-button::before,
.nav-menu-button::after {
  content: "";
}

.nav-menu-button span {
  margin: 4px 0;
}

.nav-menu-button[aria-expanded="true"] span {
  display: none;
}

.nav-menu-button[aria-expanded="true"]::before {
  transform: translateY(1px) rotate(45deg);
}

.nav-menu-button[aria-expanded="true"]::after {
  transform: translateY(-1px) rotate(-45deg);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: var(--surface-strong);
  color: var(--text);
  padding: 0 20px;
  font-weight: 760;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.button:active {
  transform: translateY(0) scale(.98);
}

.button:focus-visible,
.nav-menu-button:focus-visible,
.faq summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 38%, transparent);
  outline-offset: 3px;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 28px rgb(34 201 91 / 20%);
}

.button.primary:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.button.dark {
  border-color: var(--surface-dark);
  background: var(--surface-dark);
  color: #f2fbf7;
}

.button.ghost {
  background: transparent;
}

.button.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.button.full {
  width: 100%;
}

.button[disabled],
.button[aria-disabled="true"] {
  cursor: wait;
  opacity: .65;
  transform: none;
  box-shadow: none;
}

.hero {
  min-height: min(700px, calc(100dvh - 132px));
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(460px, 1.05fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  padding: 54px 0 64px;
}

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

.eyebrow {
  margin: 0 0 15px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 780;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lead,
.page-lead {
  max-width: 32rem;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.media-demo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10.4;
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  border-radius: var(--radius);
  background: var(--surface-dark);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.media-demo > img:not(.demo-brand) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.media-demo::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgb(2 10 14 / 76%));
  pointer-events: none;
}

.demo-brand {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgb(0 0 0 / 24%);
}

.demo-subtitles {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  color: #f7fbfa;
  text-align: center;
  text-shadow: 0 2px 10px rgb(0 0 0 / 70%);
}

.demo-subtitles > strong,
.demo-subtitles > span {
  display: block;
}

.demo-subtitles strong {
  font-size: clamp(20px, 2.5vw, 29px);
  line-height: 1.24;
}

.demo-subtitles span {
  margin-top: 5px;
  color: #d9eee5;
  font-size: clamp(14px, 1.6vw, 18px);
}

.demo-word {
  display: inline;
  border-radius: 5px;
  background: color-mix(in srgb, var(--accent) 86%, transparent);
  color: #04160c;
  padding: 0 5px 2px;
  text-shadow: none;
}

.nowrap {
  white-space: nowrap;
}

.demo-explanation {
  position: absolute;
  top: 78px;
  left: 18px;
  z-index: 4;
  width: min(310px, calc(100% - 36px));
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 14px;
  background: rgb(5 19 27 / 78%);
  color: #f5faf8;
  padding: 16px;
  box-shadow: 0 18px 44px rgb(0 0 0 / 24%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.demo-explanation b {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.demo-explanation p {
  margin: 0;
  color: #c9d9db;
  font-size: 13px;
  line-height: 1.55;
}

.value-rail {
  width: min(var(--content), calc(100% - 48px));
  margin: 8px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 78%);
  box-shadow: var(--shadow-soft);
}

.value-rail-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
}

.value-item {
  min-height: 136px;
  padding: 26px 30px;
}

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

.value-item b {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}

.value-item p {
  margin: 0;
  color: var(--text-soft);
}

.section {
  padding: 100px 0;
}

.section.compact {
  padding: 76px 0;
}

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

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

.section h2,
.account-main h1,
.download-main h1,
.success-main h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-copy {
  max-width: 42rem;
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 18px;
}

.feature-stage {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 24px;
  align-items: stretch;
}

.feature-screen {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-dark);
  color: #f4fbf8;
  box-shadow: var(--shadow);
}

.feature-screen img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: .56;
}

.feature-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(3 15 20 / 4%), rgb(3 15 20 / 86%));
}

.feature-screen-copy {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 2;
}

.feature-screen-copy strong {
  display: block;
  max-width: 19ch;
  font-size: clamp(27px, 3.8vw, 43px);
  line-height: 1.15;
}

.feature-screen-copy p {
  max-width: 35rem;
  margin: 12px 0 0;
  color: #cfe0df;
}

.feature-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: 14px 26px;
  box-shadow: var(--shadow-soft);
}

.feature-option {
  padding: 25px 0;
}

.feature-option + .feature-option {
  border-top: 1px solid var(--line);
}

.feature-option b {
  display: block;
  font-size: 19px;
}

.feature-option p {
  margin: 8px 0 0;
  color: var(--text-soft);
}

.feature-option.active b {
  color: var(--accent-strong);
}

.workflow {
  margin-top: 42px;
  border-top: 1px solid var(--line-strong);
}

.workflow-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: center;
  min-height: 142px;
  border-bottom: 1px solid var(--line);
}

.workflow-row strong {
  font-size: 22px;
}

.workflow-row p {
  margin: 0;
  color: var(--text-soft);
}

.workflow-tag {
  justify-self: end;
  color: var(--accent-strong);
  font-weight: 740;
}

.credits-band {
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  border-radius: var(--radius);
  border: 1px solid rgb(54 122 92 / 18%);
  background:
    radial-gradient(circle at 8% 8%, rgb(36 210 92 / 18%), transparent 30%),
    radial-gradient(circle at 94% 16%, rgb(255 224 112 / 18%), transparent 28%),
    linear-gradient(180deg, rgb(255 255 255 / 97%), rgb(245 250 255 / 95%));
  color: var(--text);
  box-shadow: var(--shadow);
}

.credits-band-copy {
  padding: clamp(34px, 5vw, 66px);
}

.credits-band h2 {
  max-width: 11ch;
}

.credits-band p {
  max-width: 34rem;
  margin: 18px 0 0;
  color: var(--text-soft);
}

.credits-ledger {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 34px;
  margin: 22px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  background: rgb(255 255 255 / 74%);
  box-shadow: var(--shadow-soft);
}

.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row span {
  color: var(--text-soft);
}

.ledger-row strong {
  color: var(--accent-strong);
  font-size: 20px;
}

.free-levels {
  margin-top: 38px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 20px;
}

.free-level {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.free-level.highlight {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
}

.free-level b {
  display: block;
  font-size: 20px;
}

.free-level strong {
  display: block;
  margin-top: 20px;
  color: var(--accent-strong);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.free-level p {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.pricing-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.plan-card.recommended {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface-strong) 42%);
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-head h3 {
  margin: 0;
  font-size: 24px;
}

.plan-label {
  border-radius: var(--pill);
  background: var(--accent);
  color: #ffffff;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.plan-price {
  margin-top: 22px;
  font-size: 43px;
  font-weight: 840;
  line-height: 1;
}

.plan-price span {
  color: var(--text-faint);
  font-size: 14px;
  font-weight: 650;
}

.plan-credits {
  margin-top: 11px;
  color: var(--accent-strong);
  font-weight: 780;
}

.plan-use {
  min-height: 48px;
  margin: 14px 0 0;
  color: var(--text-soft);
}

.plan-features {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 0;
  color: var(--text-soft);
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 22px;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  font-weight: 900;
}

.plan-card .button {
  margin-top: auto;
}

.faq {
  max-width: 840px;
  margin: 38px auto 0;
  border-top: 1px solid var(--line-strong);
}

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

.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 24px 42px 24px 0;
  font-size: 18px;
  font-weight: 760;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 21px;
  color: var(--accent-strong);
  font-size: 25px;
  font-weight: 500;
}

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

.faq p {
  max-width: 46rem;
  margin: -6px 0 24px;
  color: var(--text-soft);
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  border-radius: var(--radius);
  border: 1px solid rgb(54 122 92 / 18%);
  background:
    radial-gradient(circle at 8% 15%, rgb(34 201 91 / 20%), transparent 34%),
    linear-gradient(145deg, #f2fff6, #edf7fb);
  color: var(--text);
  padding: clamp(32px, 5vw, 58px);
  box-shadow: var(--shadow-soft);
}

.final-cta h2 {
  max-width: 15ch;
}

.final-cta p {
  max-width: 42rem;
  margin: 12px 0 0;
  color: var(--text-soft);
}

.site-footer {
  padding: 48px 0 38px;
  border-top: 1px solid var(--line);
  background: rgb(255 255 255 / 42%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 26rem;
  margin: 14px 0 0;
  color: var(--text-soft);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links b {
  margin-bottom: 4px;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 13px;
}

.page-hero {
  padding: 72px 0 44px;
}

.page-hero h1 {
  max-width: 16ch;
}

.account-layout,
.download-layout,
.success-layout {
  min-height: calc(100dvh - 72px);
  padding: 52px 0 92px;
}

.account-main,
.download-main,
.success-main {
  max-width: 980px;
  margin: 0 auto;
}

.status-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.status-box.error {
  border-color: color-mix(in srgb, var(--danger) 44%, var(--line));
  color: var(--danger);
}

.not-found-copy + .not-found-copy {
  margin-top: 16px;
}

html.not-found-en [data-not-found-language="zh"],
html.not-found-zh [data-not-found-language="en"] {
  display: none;
}

.account-error-retry {
  margin-left: 12px;
}

.account-card {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.profile-panel,
.credits-panel {
  padding: 32px;
}

.account-panel-label {
  margin-bottom: 18px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.credits-panel {
  border-left: 1px solid rgb(54 122 92 / 14%);
  background:
    radial-gradient(circle at 88% 12%, rgb(255 224 112 / 20%), transparent 34%),
    linear-gradient(145deg, #effff4, #e8f4f7);
  color: var(--text);
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 24px;
  font-weight: 800;
}

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

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

.profile-email {
  color: var(--text-soft);
  word-break: break-word;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.credits-panel-label {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
}

.credits-balance {
  margin-top: 8px;
  color: var(--accent-strong);
  font-size: clamp(46px, 7vw, 72px);
  font-weight: 860;
  line-height: 1;
}

.credits-balance span {
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 650;
}

.credits-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.credits-meta div {
  border-top: 1px solid var(--line-strong);
  padding-top: 13px;
}

.credits-meta span,
.credits-meta strong {
  display: block;
}

.credits-meta span {
  color: var(--text-soft);
  font-size: 13px;
}

.credits-meta strong {
  margin-top: 4px;
}

.account-plans {
  margin-top: 68px;
}

.account-sync-note {
  margin: 12px 4px 0;
  color: var(--text-faint);
  font-size: 12px;
}

.pending-plan {
  margin: 24px 0 0;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: var(--radius);
  background: var(--accent-soft);
  padding: 20px 24px;
}

.pending-plan b,
.pending-plan p {
  display: block;
  margin: 0;
}

.pending-plan p {
  margin-top: 5px;
  color: var(--text-soft);
}

.loading-skeleton {
  overflow: hidden;
  position: relative;
  min-height: 230px;
  border-radius: var(--radius);
  background: var(--surface);
}

.loading-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 12%, transparent), transparent);
  animation: skeleton 1.25s ease-in-out infinite;
}

.account-loading-state {
  width: min(880px, 100%);
  min-height: 108px;
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
}

.account-loading-state strong,
.account-loading-state span {
  display: block;
}

.account-loading-state strong {
  color: var(--text);
  font-size: 16px;
}

.account-loading-state span {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.account-loading-spinner {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 3px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-top-color: var(--accent-strong);
  border-radius: 50%;
  animation: account-loading-spin .8s linear infinite;
}

@keyframes account-loading-spin {
  to { transform: rotate(1turn); }
}

@keyframes skeleton {
  to { transform: translateX(100%); }
}

.download-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.download-card,
.install-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.download-card h2,
.install-card h2 {
  margin: 0;
  font-size: 25px;
}

.download-card p,
.install-card p {
  color: var(--text-soft);
}

.download-card code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.6;
}

.version-line {
  margin: 24px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.version-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 840;
}

.version-line strong,
.version-line span {
  display: block;
}

.version-line span {
  color: var(--text-faint);
  font-size: 13px;
}

.install-steps {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.install-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
}

.install-step b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.install-step p {
  margin: 1px 0 0;
}

.success-state {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr .8fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.success-state.single {
  max-width: 760px;
  grid-template-columns: 1fr;
}

.success-copy,
.success-account {
  padding: 34px;
}

.success-account {
  background: var(--surface-tint);
}

.success-indicator {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
}

.success-copy h2 {
  margin: 22px 0 0;
  font-size: 31px;
}

.success-copy p,
.success-account p {
  color: var(--text-soft);
}

.sync-status {
  min-height: 84px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.legal-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 0 100px;
}

.legal-main article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(26px, 5vw, 58px);
  box-shadow: var(--shadow-soft);
}

.legal-main h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.08;
}

.legal-main h2 {
  margin: 38px 0 8px;
  font-size: 22px;
}

.legal-main p,
.legal-main li {
  color: var(--text-soft);
}

.legal-main a {
  color: var(--accent-strong);
}

@media (max-width: 980px) {
  .nav-links {
    gap: 14px;
  }

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

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

  .plan-use {
    min-height: 0;
  }
}

@media (max-width: 780px) {
  .shell {
    width: min(100% - 30px, var(--content));
  }

  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--page);
  }

  .nav-menu-button {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 15px;
    right: 15px;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-strong);
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 11px 12px;
  }

  .nav-links .mobile-nav-only {
    display: block;
  }

  .nav-actions > .button.ghost {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 0 62px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 12ch;
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-copy {
    max-width: none;
  }

  .media-demo {
    aspect-ratio: 4 / 3.25;
  }

  .demo-explanation {
    top: 68px;
  }

  .value-rail-inner,
  .feature-stage,
  .credits-band,
  .free-levels,
  .footer-grid,
  .account-card,
  .download-grid,
  .success-state {
    grid-template-columns: 1fr;
  }

  .value-item {
    min-height: auto;
    padding: 24px 0;
  }

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

  .section {
    padding: 76px 0;
  }

  .feature-screen,
  .feature-screen img {
    min-height: 430px;
  }

  .workflow-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 26px 0;
  }

  .workflow-tag {
    justify-self: start;
  }

  .credits-ledger {
    padding: 28px;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta .button {
    width: 100%;
  }

  .footer-bottom {
    display: grid;
  }

  .footer-links a,
  .footer-bottom a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .profile-panel,
  .credits-panel,
  .success-copy,
  .success-account {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: 12px;
  }

  .brand {
    font-size: 20px;
  }

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

  .nav-actions {
    margin-left: auto;
  }

  .nav-actions .button.small {
    padding-inline: 14px;
  }

  .hero-actions,
  .page-actions {
    display: grid;
  }

  .hero-actions .button,
  .page-actions .button {
    width: 100%;
  }

  .media-demo {
    aspect-ratio: 16 / 10.5;
  }

  .demo-explanation {
    display: none;
  }

  .demo-subtitles {
    left: 15px;
    right: 15px;
    bottom: 18px;
  }

  .feature-screen-copy {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .plan-card,
  .download-card,
  .install-card {
    padding: 24px;
  }

  .credits-meta {
    grid-template-columns: 1fr;
  }
}

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

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

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .demo-explanation {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .demo-explanation {
    background: #071923;
  }
}

/* 2026 commercial site redesign */
:root {
  --page: #f5faf6;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-tint: #eaf7ed;
  --surface-dark: #123b2b;
  --text: #12372c;
  --text-soft: #587064;
  --text-faint: #789187;
  --line: rgb(18 55 44 / 12%);
  --line-strong: rgb(18 55 44 / 20%);
  --accent: #22c95b;
  --accent-strong: #087940;
  --accent-soft: #e7f8eb;
  --shadow: 0 30px 72px rgb(15 61 40 / 13%);
  --shadow-soft: 0 14px 34px rgb(15 61 40 / 8%);
  --content: 1200px;
  --radius: 20px;
  --control-radius: 12px;
}

body {
  background:
    radial-gradient(circle at 94% 0%, rgb(51 204 112 / 13%), transparent 23rem),
    radial-gradient(circle at 0% 42%, rgb(200 241 212 / 46%), transparent 28rem),
    var(--page);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
}

body::before {
  background: linear-gradient(180deg, transparent 72%, rgb(220 245 227 / 48%));
}

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

.site-header {
  border-bottom: 1px solid rgb(18 55 44 / 9%);
  background: rgb(250 253 250 / 88%);
  box-shadow: 0 6px 24px rgb(15 61 40 / 4%);
}

.nav { min-height: 76px; gap: 24px; }

.brand { gap: 10px; font-size: 23px; letter-spacing: -.03em; }
.brand img { width: 39px; height: 39px; border-radius: 10px; box-shadow: none; }

.nav-links { gap: 20px; margin-left: auto; }
.nav-links a { color: #456155; font-size: 14px; font-weight: 700; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent-strong); }
.nav-actions { gap: 9px; }

.button {
  min-height: 44px;
  border-color: var(--line-strong);
  border-radius: var(--pill);
  background: rgb(255 255 255 / 82%);
  padding: 0 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 780;
  box-shadow: none;
}

.button:hover { border-color: var(--accent); box-shadow: 0 12px 26px rgb(15 96 53 / 11%); }
.button.primary { border-color: var(--accent-strong); background: var(--accent-strong); color: #ffffff; box-shadow: 0 10px 22px rgb(8 121 64 / 20%); }
.button.primary:hover { border-color: #056132; background: #056132; }
.button.dark { border-color: var(--surface-dark); background: var(--surface-dark); color: #ffffff; }
.button.ghost { border-color: transparent; background: transparent; }
.button.small { min-height: 38px; padding-inline: 14px; }

.reveal { transform: translateY(16px); transition-duration: 560ms; }

.hero {
  min-height: min(690px, calc(100dvh - 76px));
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  gap: clamp(46px, 7vw, 92px);
  padding: 56px 0 68px;
}

.hero-copy { max-width: 560px; }
.eyebrow { margin-bottom: 14px; color: var(--accent-strong); font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.hero h1, .page-hero h1 { max-width: 12ch; font-size: clamp(48px, 5.5vw, 72px); line-height: 1.03; letter-spacing: -.055em; }
.hero-lead, .page-lead { max-width: 30rem; margin-top: 23px; color: var(--text-soft); font-size: 19px; line-height: 1.62; }
.hero-actions, .page-actions { margin-top: 28px; }

.media-demo {
  aspect-ratio: 16 / 10;
  border: 1px solid rgb(18 55 44 / 13%);
  border-radius: 24px;
  background: #163b30;
  box-shadow: 0 34px 72px rgb(10 60 37 / 22%);
}

.media-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgb(6 49 30 / 18%), transparent 45%);
  pointer-events: none;
}

.media-demo::after { inset: 42% 0 0; background: linear-gradient(180deg, transparent, rgb(4 26 17 / 82%)); }
.demo-brand { top: 20px; left: 20px; width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 6px 18px rgb(0 0 0 / 22%); }
.demo-explanation { top: 76px; left: 20px; width: min(305px, calc(100% - 40px)); border-color: rgb(255 255 255 / 23%); border-radius: 12px; background: rgb(13 48 34 / 82%); }
.demo-subtitles { left: 30px; right: 30px; bottom: 28px; }
.demo-subtitles strong { font-size: clamp(21px, 2.5vw, 30px); }
.demo-subtitles span { color: #d5f4de; }
.demo-word { background: #8cf1ad; color: #07391d; }

.value-rail {
  width: min(var(--content), calc(100% - 56px));
  margin-top: 2px;
  border-color: var(--line);
  border-radius: 16px;
  background: rgb(255 255 255 / 72%);
  box-shadow: none;
}

.value-item { min-height: 126px; padding: 25px 28px; }
.value-item b { margin-bottom: 6px; font-size: 17px; letter-spacing: -.02em; }
.value-item p { font-size: 14px; line-height: 1.6; }

.section { padding: 112px 0; }
.section.compact { padding: 80px 0; }
.section-heading { max-width: 700px; }
.section h2, .account-main h1, .download-main h1, .success-main h1 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -.05em; line-height: 1.08; }
.section-copy { max-width: 39rem; margin-top: 16px; font-size: 17px; line-height: 1.65; }

.feature-stage { grid-template-columns: minmax(0, 1.16fr) minmax(320px, .84fr); gap: 20px; }
.feature-screen { min-height: 500px; border-radius: var(--radius); }
.feature-screen img { min-height: 500px; opacity: .66; }
.feature-screen::after { background: linear-gradient(180deg, rgb(8 44 29 / 2%), rgb(4 35 21 / 85%)); }
.feature-screen-copy { left: 34px; right: 34px; bottom: 32px; }
.feature-screen-copy strong { max-width: 17ch; font-size: clamp(31px, 3.4vw, 46px); letter-spacing: -.045em; }
.feature-list { border-color: var(--line); border-radius: var(--radius); background: rgb(255 255 255 / 76%); padding: 10px 26px; box-shadow: none; }
.feature-option { padding: 26px 0; }
.feature-option b { font-size: 18px; }

.workflow { border-top-color: var(--line-strong); }
.workflow-row { grid-template-columns: 150px minmax(0, 1fr) 180px; min-height: 126px; gap: 26px; }
.workflow-row strong { font-size: 20px; letter-spacing: -.025em; }
.workflow-tag { color: var(--accent-strong); font-size: 14px; }

.credits-band {
  border-color: rgb(8 121 64 / 18%);
  border-radius: 24px;
  background: linear-gradient(135deg, #e4f7e8, #ffffff 58%);
  box-shadow: none;
}
.credits-ledger { border-color: rgb(18 55 44 / 12%); background: rgb(255 255 255 / 78%); box-shadow: none; }
.ledger-row { padding: 16px 0; }
.ledger-row strong { font-size: 18px; }

.free-level { border-radius: 16px; box-shadow: none; }
.free-level.highlight { background: #daf5e3; }
.pricing-grid { gap: 16px; }
.plan-card { border-radius: 16px; box-shadow: none; }
.plan-card:hover { box-shadow: var(--shadow-soft); }
.plan-card.recommended { background: linear-gradient(180deg, #e5f8e9, #ffffff 46%); }
.plan-price { font-size: 42px; }
.plan-label { background: var(--accent-strong); }
.plan-features li::before { color: var(--accent-strong); }

.faq { max-width: 760px; }
.faq summary { font-size: 17px; }
.final-cta { border-color: rgb(8 121 64 / 18%); border-radius: 22px; background: linear-gradient(135deg, #dff7e6, #ffffff); box-shadow: none; }

.site-footer { border-top-color: var(--line); background: transparent; }
.footer-grid { grid-template-columns: 1.4fr .72fr .72fr; }
.footer-links a { color: var(--text-soft); }
.footer-bottom { color: var(--text-faint); }

/* Reusable commercial content pages */
.marketing-main { padding-bottom: 30px; }
.content-hero { padding: 88px 0 56px; }
.content-hero .eyebrow { margin-bottom: 12px; }
.content-hero h1 { max-width: 14ch; margin: 0; font-size: clamp(44px, 5.8vw, 74px); line-height: 1.03; letter-spacing: -.06em; }
.content-hero .page-lead { max-width: 41rem; }
.content-hero--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr); gap: 64px; align-items: center; }
.content-hero-visual { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #dff3e5; aspect-ratio: 1.15 / 1; box-shadow: var(--shadow-soft); }
.content-hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .84fr); gap: clamp(32px, 6vw, 86px); align-items: start; }
.section-grid.reverse > :first-child { order: 2; }
.section-grid.reverse > :last-child { order: 1; }
.visual-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #183d31; box-shadow: var(--shadow-soft); }
.visual-frame img { width: 100%; min-height: 390px; object-fit: cover; }
.visual-frame.photo { background: #dcefe2; }
.visual-frame.photo img { min-height: 390px; object-position: 74% center; }
.section-kicker { margin: 0 0 10px; color: var(--accent-strong); font-size: 13px; font-weight: 800; letter-spacing: .05em; }
.section-grid h2, .content-section h2 { margin: 0; font-size: clamp(30px, 3.8vw, 47px); line-height: 1.1; letter-spacing: -.045em; }
.section-grid p, .content-section > p { color: var(--text-soft); font-size: 17px; line-height: 1.68; }

.benefit-list { display: grid; gap: 0; margin: 26px 0 0; padding: 0; list-style: none; }
.benefit-list li { padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--text-soft); }
.benefit-list b { display: block; margin-bottom: 3px; color: var(--text); font-size: 16px; }

.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 38px; }
.bento-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgb(255 255 255 / 78%); padding: 28px; }
.bento-card h3 { margin: 0; font-size: 21px; line-height: 1.2; letter-spacing: -.025em; }
.bento-card p { margin: 10px 0 0; color: var(--text-soft); line-height: 1.6; }
.bento-card.large { grid-column: span 7; min-height: 292px; background: linear-gradient(145deg, #dcf6e4, #ffffff); }
.bento-card.tall { grid-column: span 5; min-height: 292px; background: #143d2f; color: #ffffff; }
.bento-card.tall p { color: #c9e9d1; }
.bento-card.third { grid-column: span 4; }

.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.how-step { position: relative; min-height: 250px; border-top: 2px solid var(--accent); padding: 24px 4px; }
.how-step strong { display: block; margin-bottom: 15px; font-size: 24px; letter-spacing: -.03em; }
.how-step p { margin: 0; color: var(--text-soft); line-height: 1.64; }
.how-step span { display: inline-block; margin-top: 22px; color: var(--accent-strong); font-weight: 760; }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
.resource-card { position: relative; display: flex; min-height: 290px; flex-direction: column; justify-content: flex-end; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #ffffff; padding: 28px; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.resource-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-soft); }
.resource-card .card-label { margin-bottom: auto; color: var(--accent-strong); font-size: 13px; font-weight: 800; letter-spacing: .05em; }
.resource-card h2, .resource-card h3 { margin: 0; color: var(--text); font-size: 25px; line-height: 1.16; letter-spacing: -.035em; }
.resource-card p { margin: 10px 0 0; color: var(--text-soft); line-height: 1.6; }
.resource-card--green { background: linear-gradient(145deg, #daf5e3, #ffffff); }
.resource-card--dark { background: #143d2f; }
.resource-card--dark h2, .resource-card--dark h3 { color: #ffffff; }
.resource-card--dark p { color: #cae9d3; }
.resource-card--photo { padding: 0; background: #dcefe2; }
.resource-card--photo img { width: 100%; height: 100%; min-height: 290px; object-fit: cover; object-position: 76% center; }
.resource-card--photo .photo-copy { position: absolute; inset: auto 0 0; padding: 28px; background: linear-gradient(180deg, transparent, rgb(6 46 27 / 84%)); }
.resource-card--photo h3, .resource-card--photo p { color: #ffffff; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(38px, 7vw, 90px); align-items: start; }
.article-body { max-width: 720px; }
.article-body h2 { margin: 56px 0 14px; font-size: clamp(28px, 3vw, 39px); letter-spacing: -.04em; }
.article-body h3 { margin: 32px 0 8px; font-size: 21px; letter-spacing: -.02em; }
.article-body p, .article-body li { color: var(--text-soft); font-size: 17px; line-height: 1.76; }
.article-body ul, .article-body ol { padding-left: 1.25rem; }
.article-body li + li { margin-top: 8px; }
.article-aside { position: sticky; top: 104px; border-left: 1px solid var(--line); padding-left: 20px; }
.article-aside b { display: block; margin-bottom: 12px; font-size: 14px; }
.article-aside a { display: block; margin: 10px 0; color: var(--text-soft); font-size: 14px; text-decoration: none; }
.article-aside a:hover { color: var(--accent-strong); }

.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.support-card { border: 1px solid var(--line); border-radius: 18px; background: rgb(255 255 255 / 78%); padding: 28px; }
.support-card h2 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.support-card p { color: var(--text-soft); line-height: 1.65; }
.support-card a { color: var(--accent-strong); font-weight: 760; text-decoration: none; }

.timeline { max-width: 820px; margin: 38px 0 0; }
.timeline-item { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 34px; padding: 30px 0; border-top: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-item time { color: var(--accent-strong); font-weight: 760; }
.timeline-item h2 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.timeline-item p, .timeline-item li { color: var(--text-soft); line-height: 1.64; }

.contact-sheet { display: grid; grid-template-columns: .92fr 1.08fr; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #ffffff; box-shadow: var(--shadow-soft); }
.contact-sheet-copy, .contact-sheet-image { padding: clamp(30px, 5vw, 56px); }
.contact-sheet-image { display: grid; place-items: center; background: #dcf5e4; }
.contact-sheet-image img { max-height: 340px; object-fit: cover; border-radius: 14px; }
.contact-sheet h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.05em; }
.contact-sheet p { color: var(--text-soft); line-height: 1.68; }

.legal-main { max-width: 900px; padding: 74px 0 100px; }
.legal-main article { border-color: var(--line); border-radius: 20px; background: rgb(255 255 255 / 76%); box-shadow: none; }
.legal-main h1 { letter-spacing: -.05em; }

@media (max-width: 980px) {
  .nav-links { gap: 13px; }
  .hero { grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr); gap: 34px; }
  .bento-card.large, .bento-card.tall { grid-column: span 6; }
  .bento-card.third { grid-column: span 4; }
  .resource-grid, .support-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-card--photo { display: none; }
}

@media (max-width: 780px) {
  .shell, .value-rail { width: min(100% - 32px, var(--content)); }
  .site-header { background: rgb(250 253 250 / 98%); }
  .nav { min-height: 68px; }
  .nav-links { top: 68px; left: 16px; right: 16px; border-radius: 16px; background: #ffffff; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 36px; padding: 44px 0 60px; }
  .hero h1, .page-hero h1 { max-width: 11ch; font-size: clamp(44px, 13vw, 62px); }
  .media-demo { aspect-ratio: 1 / .77; }
  .section { padding: 78px 0; }
  .section.compact { padding: 64px 0; }
  .feature-screen, .feature-screen img { min-height: 400px; }
  .content-hero { padding: 62px 0 44px; }
  .content-hero--wide, .section-grid, .contact-sheet { grid-template-columns: 1fr; gap: 30px; }
  .section-grid.reverse > :first-child, .section-grid.reverse > :last-child { order: initial; }
  .content-hero-visual { max-width: 560px; }
  .bento-card.large, .bento-card.tall, .bento-card.third { grid-column: span 12; min-height: auto; }
  .how-steps, .support-grid, .resource-grid { grid-template-columns: 1fr; }
  .how-step { min-height: 0; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 9px; }
  .contact-sheet-image { min-height: 250px; }
}

@media (max-width: 480px) {
  .brand img { width: 36px; height: 36px; }
  .hero-lead, .page-lead { font-size: 17px; }
  .media-demo { aspect-ratio: 1 / .82; }
  .demo-explanation { display: none; }
  .demo-subtitles { left: 18px; right: 18px; bottom: 20px; }
  .bento-card, .support-card, .resource-card { padding: 24px; }
  .resource-card--photo { padding: 0; }
  .article-body p, .article-body li { font-size: 16px; }
}

/* Homepage v2: product-first, using captured product states rather than illustrative UI. */
.subi-v2 {
  background: #f8fbf8;
}

.subi-v2::before {
  background: linear-gradient(180deg, transparent 72%, rgb(218 244 225 / 35%));
}

.v2-main { overflow: clip; }

.v2-hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  min-height: 690px;
  padding: 72px 0 54px;
}

.v2-hero-copy { max-width: 520px; }

.v2-hero h1 {
  max-width: 8.4ch;
  margin: 0;
  color: #10392a;
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 780;
  line-height: .99;
  letter-spacing: -.075em;
}

.v2-hero h1 em {
  color: var(--accent-strong);
  font-style: normal;
}

.v2-lead {
  max-width: 31rem;
  margin: 26px 0 0;
  color: #597469;
  font-size: 18px;
  line-height: 1.72;
}

.v2-availability {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 22px 0 0;
  color: #637a70;
  font-size: 13px;
  line-height: 1.55;
}

.v2-availability span {
  width: 7px;
  height: 7px;
  flex: none;
  margin-top: .45em;
  border-radius: 50%;
  background: #8cb7a0;
}

.v2-hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(11 57 35 / 18%);
  border-radius: 22px;
  background: #14241e;
  box-shadow: 0 36px 82px rgb(11 61 37 / 19%);
  transform: perspective(1600px) rotateY(-1.7deg) rotateX(.65deg);
}

.v2-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(110deg, rgb(255 255 255 / 8%), transparent 31%, transparent 74%, rgb(0 0 0 / 13%));
}

.v2-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  color: #b9c9bf;
  background: #1e2b26;
  font-size: 10px;
}

.v2-browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7e9589;
}

.v2-browser-bar b {
  width: 38%;
  min-width: 120px;
  margin-left: 11px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 4px;
  padding: 2px 8px;
  color: #a3b6aa;
  font-weight: 600;
}

.v2-browser-bar span { margin-left: auto; color: #78eaa1; font-weight: 700; }

.v2-hero-media > img {
  width: 100%;
  aspect-ratio: 1.506 / 1;
  object-fit: cover;
  object-position: center top;
}

.v2-frame-note {
  position: absolute;
  right: 20px;
  bottom: 19px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgb(255 255 255 / 19%);
  border-radius: 10px;
  background: rgb(7 35 23 / 85%);
  box-shadow: 0 8px 26px rgb(0 0 0 / 22%);
  padding: 8px 11px;
  color: #f5fff7;
  font-size: 11px;
  font-weight: 630;
  line-height: 1.38;
}

.v2-frame-note img { width: 28px; height: 28px; border-radius: 7px; }

.v2-proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.v2-proof-row article { min-height: 130px; padding: 26px 30px; }
.v2-proof-row article + article { border-left: 1px solid var(--line); }
.v2-proof-row strong { display: block; color: #173d2e; font-size: 17px; letter-spacing: -.025em; }
.v2-proof-row p { margin: 8px 0 0; color: #6a8177; font-size: 13px; line-height: 1.6; }

.v2-section { padding: 128px 0; }

.v2-heading { max-width: 800px; }
.v2-heading .eyebrow { margin: 0 0 13px; }
.v2-heading h2 {
  margin: 0;
  color: #113a2a;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -.065em;
}
.v2-heading > p:not(.eyebrow) { max-width: 610px; margin: 19px 0 0; color: #61796e; font-size: 17px; line-height: 1.68; }
.v2-heading.centered { margin-inline: auto; text-align: center; }
.v2-heading.centered > p:not(.eyebrow) { margin-inline: auto; }

.v2-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .72fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  margin-top: 55px;
}

.v2-product-large {
  position: relative;
  overflow: hidden;
  border-radius: 19px;
  background: #1d2b25;
  box-shadow: 0 28px 65px rgb(14 61 38 / 14%);
}

.v2-product-large > img { width: 100%; min-height: 460px; object-fit: cover; object-position: center top; }

.v2-product-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 12px;
  align-items: start;
  padding: 25px 30px;
  background: linear-gradient(90deg, rgb(10 43 28 / 96%), rgb(10 43 28 / 86%));
  color: #ffffff;
}

.v2-product-caption > span { color: #7ee9a0; font-size: 13px; font-weight: 800; }
.v2-product-caption b { display: block; font-size: 17px; letter-spacing: -.02em; }
.v2-product-caption p { margin: 3px 0 0; color: #c9e8d2; font-size: 13px; line-height: 1.5; }

.v2-feature-copy { display: grid; }
.v2-feature-copy article { padding: 23px 0; border-bottom: 1px solid var(--line); }
.v2-feature-copy article:first-child { border-top: 1px solid var(--line); }
.v2-feature-copy span, .v2-scene > span { color: var(--accent-strong); font-size: 11px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.v2-feature-copy h3 { margin: 8px 0 0; color: #143c2d; font-size: clamp(22px, 2.4vw, 31px); line-height: 1.1; letter-spacing: -.05em; }
.v2-feature-copy p { margin: 9px 0 0; color: #647b71; font-size: 14px; line-height: 1.65; }

.v2-dark-section { background: #113c2c; color: #ffffff; }
.v2-heading.light h2 { color: #ffffff; }
.v2-heading.light .eyebrow { color: #9df0b7; }
.v2-heading.light > p:not(.eyebrow) { color: #c3e5cd; }

.v2-dark-gallery { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); gap: 20px; margin-top: 52px; }
.v2-dark-gallery figure { position: relative; min-height: 360px; margin: 0; overflow: hidden; border: 1px solid rgb(255 255 255 / 18%); border-radius: 17px; background: #1d2b25; }
.v2-dark-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.v2-gallery-main img { aspect-ratio: 1.5 / 1; }
.v2-gallery-small img { aspect-ratio: .8 / 1; object-position: 40% top; }
.v2-dark-gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 24px; background: linear-gradient(180deg, transparent, rgb(4 24 15 / 94%)); }
.v2-dark-gallery figcaption b { display: block; color: #ffffff; font-size: 17px; }
.v2-dark-gallery figcaption span { display: block; max-width: 30rem; margin-top: 3px; color: #c5e8cf; font-size: 13px; line-height: 1.5; }

.split-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; align-items: end; max-width: none; }
.split-heading > p:not(.eyebrow) { max-width: 26rem; margin: 0 0 4px; }

.v2-scene-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 18px; margin-top: 54px; }
.v2-scene { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #ffffff; }
.v2-scene > img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.9); transition: transform .65s cubic-bezier(.16, 1, .3, 1); }
.v2-scene:hover > img { transform: scale(1.035); }
.v2-scene > div { position: absolute; inset: auto 0 0; padding: 27px; background: linear-gradient(180deg, transparent, rgb(7 37 24 / 94%)); color: #ffffff; }
.v2-scene h3 { margin: 8px 0 0; font-size: clamp(24px, 2.7vw, 37px); line-height: 1.04; letter-spacing: -.05em; }
.v2-scene-wide { grid-column: span 7; grid-row: span 2; }
.v2-scene-plain { grid-column: span 5; grid-row: span 1; padding: 30px; background: #e2f5e6; }
.v2-scene-plain h3 { max-width: 14ch; color: #123b2c; font-size: clamp(22px, 2.5vw, 32px); }
.v2-scene-plain p { max-width: 28rem; margin: 12px 0 0; color: #5e776b; font-size: 14px; line-height: 1.6; }
.v2-scene-tall { grid-column: span 5; grid-row: span 1; }
.v2-scene-tall img { object-position: right top; }
.v2-scene-tall > div { padding: 20px 24px; }
.v2-scene-tall h3 { font-size: clamp(20px, 2vw, 28px); }

.v2-orbit { position: absolute; right: 24px; bottom: 24px; width: 102px; height: 102px; border: 1px solid rgb(10 121 64 / 28%); border-radius: 50%; }
.v2-orbit::before, .v2-orbit::after { position: absolute; inset: 17px -8px; border: 1px solid rgb(10 121 64 / 22%); border-radius: 50%; content: ""; transform: rotate(-38deg); }
.v2-orbit::after { inset: -7px 18px; transform: rotate(35deg); }
.v2-orbit i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-strong); }
.v2-orbit i:nth-child(1) { top: 13px; right: 8px; }
.v2-orbit i:nth-child(2) { bottom: 15px; left: 4px; }
.v2-orbit i:nth-child(3) { right: 25px; bottom: 4px; }
.v2-orbit b { position: absolute; inset: 0; display: grid; place-items: center; color: #16814b; font-size: 11px; letter-spacing: -.03em; }

.v2-extension-section { padding-top: 106px; }
.v2-extension-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(370px, 1.1fr); gap: clamp(30px, 7vw, 100px); align-items: center; overflow: hidden; border: 1px solid rgb(8 121 64 / 18%); border-radius: 24px; background: linear-gradient(125deg, #e0f6e6, #f7fcf8 60%, #d5f1dc); padding: clamp(32px, 5vw, 70px); }
.v2-extension-card h2 { margin: 0; color: #133d2d; font-size: clamp(42px, 5vw, 63px); line-height: 1.02; letter-spacing: -.07em; }
.v2-extension-card p:not(.eyebrow) { max-width: 32rem; margin: 19px 0 0; color: #5e776c; font-size: 16px; line-height: 1.68; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-left: 10px; color: #117343; font-size: 14px; font-weight: 760; text-decoration: none; }
.text-link span { font-size: 19px; line-height: 0; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(3px); }
.v2-extension-shot { position: relative; overflow: hidden; border: 1px solid rgb(11 57 35 / 16%); border-radius: 17px; background: #1e2b25; box-shadow: 0 22px 46px rgb(18 80 46 / 16%); transform: rotate(2deg); }
.v2-extension-shot > img { width: 100%; height: 330px; object-fit: cover; object-position: center top; }
.v2-extension-chip { position: absolute; top: 15px; right: 15px; display: inline-flex; align-items: center; gap: 6px; border-radius: 9px; background: rgb(255 255 255 / 94%); padding: 6px 9px; color: #1c4c35; font-size: 11px; font-weight: 800; box-shadow: 0 4px 14px rgb(0 0 0 / 14%); }
.v2-extension-chip img { width: 26px; height: 26px; border-radius: 7px; }

.v2-pricing { padding-bottom: 105px; }
.v2-pricing .free-levels { max-width: 780px; margin: 45px auto 22px; }
.v2-pricing .pricing-grid { margin-top: 20px; }
.v2-pricing-note { max-width: 680px; margin: 20px auto 0; color: #6c8378; font-size: 13px; line-height: 1.55; text-align: center; }
.v2-faq { padding-top: 90px; border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .v2-hero { grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr); gap: 38px; }
  .v2-hero h1 { font-size: clamp(48px, 6vw, 70px); }
  .v2-extension-card { grid-template-columns: minmax(0, .8fr) minmax(300px, 1.2fr); }
}

@media (max-width: 780px) {
  .v2-hero { grid-template-columns: 1fr; min-height: 0; gap: 40px; padding: 53px 0 40px; }
  .v2-hero h1 { max-width: 10ch; font-size: clamp(50px, 14vw, 70px); }
  .v2-hero-media { max-width: 660px; transform: none; }
  .v2-proof-row { grid-template-columns: 1fr; }
  .v2-proof-row article { min-height: auto; padding: 22px 0; }
  .v2-proof-row article + article { border-top: 1px solid var(--line); border-left: 0; }
  .v2-section { padding: 82px 0; }
  .v2-heading h2 { font-size: clamp(38px, 11vw, 58px); }
  .v2-feature-layout, .v2-dark-gallery, .split-heading, .v2-extension-card { grid-template-columns: 1fr; gap: 32px; }
  .v2-product-large > img { min-height: 0; }
  .v2-dark-gallery figure, .v2-gallery-small { min-height: 280px; }
  .v2-gallery-small img { aspect-ratio: 1.5 / 1; object-position: center top; }
  .split-heading > p:not(.eyebrow) { margin: 0; }
  .v2-scene-grid { grid-auto-rows: auto; grid-template-columns: 1fr; }
  .v2-scene-wide, .v2-scene-plain, .v2-scene-tall { grid-column: auto; grid-row: auto; min-height: 280px; }
  .v2-scene-wide { min-height: 360px; }
  .v2-extension-card { padding: 34px; }
  .v2-extension-shot { max-width: 610px; transform: none; }
  .v2-extension-shot > img { height: auto; }
}

@media (max-width: 480px) {
  .v2-hero { padding-top: 42px; }
  .v2-lead { font-size: 16px; }
  .v2-availability { font-size: 12px; }
  .v2-browser-bar { height: 27px; }
  .v2-browser-bar b { min-width: 82px; }
  .v2-frame-note { right: 11px; bottom: 11px; padding: 6px 7px; font-size: 9px; }
  .v2-frame-note img { width: 22px; height: 22px; }
  .v2-section { padding: 68px 0; }
  .v2-heading > p:not(.eyebrow) { font-size: 15px; }
  .v2-product-caption { grid-template-columns: 30px 1fr; padding: 17px; }
  .v2-product-caption p { font-size: 12px; }
  .v2-scene > div { padding: 21px; }
  .v2-scene-plain { min-height: 310px; padding: 23px; }
  .v2-orbit { right: 17px; bottom: 17px; transform: scale(.85); transform-origin: bottom right; }
  .v2-extension-card { padding: 26px 22px; }
  .v2-extension-card h2 { font-size: 42px; }
  .text-link { display: none; }
}

/* Homepage v3: direct product positioning with real, non-repeated product captures. */
.subi-home-v3 {
  background: #f8fbf8;
}

.subi-home-v3::before {
  background: linear-gradient(180deg, transparent 72%, rgb(218 244 225 / 28%));
}

.home-main {
  overflow: clip;
}

.subi-home-v3 .reveal {
  opacity: 1;
  transform: none;
}

.js .subi-home-v3 .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js .subi-home-v3 .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: clamp(38px, 6vw, 82px);
  min-height: 620px;
  padding: 50px 0 44px;
}

.home-hero-copy {
  max-width: 520px;
}

.home-hero .eyebrow {
  max-width: 35rem;
  margin: 0 0 15px;
}

.home-hero h1 {
  max-width: 9.4em;
  margin: 0;
  color: #10392a;
  font-size: clamp(47px, 4.2vw, 58px);
  font-weight: 790;
  line-height: 1.02;
  letter-spacing: -.068em;
}

html[lang="en"] .home-hero h1 {
  max-width: 12ch;
  font-size: clamp(46px, 4vw, 57px);
  letter-spacing: -.055em;
}

.home-lead {
  max-width: 32rem;
  margin: 24px 0 0;
  color: #567165;
  font-size: 18px;
  line-height: 1.68;
}

.home-hero .hero-actions,
.home-lightweight-card .hero-actions {
  margin-top: 27px;
}

.home-availability {
  max-width: 31rem;
  margin: 19px 0 0;
  color: #71847b;
  font-size: 12px;
  line-height: 1.55;
}

.home-hero-media,
.home-product-shot {
  margin: 0;
}

.home-hero-media img {
  width: 100%;
  height: auto;
  border: 1px solid rgb(11 57 35 / 15%);
  border-radius: 16px;
  background: #141b18;
  box-shadow: 0 28px 70px rgb(15 69 41 / 17%);
}

.home-hero-media figcaption,
.home-product-shot figcaption {
  margin: 11px 2px 0;
  color: #72847b;
  font-size: 12px;
  line-height: 1.5;
}

.home-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-proof article {
  min-height: 126px;
  padding: 25px 29px;
}

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

.home-proof strong {
  display: block;
  color: #173d2e;
  font-size: 17px;
  letter-spacing: -.025em;
}

.home-proof p {
  margin: 8px 0 0;
  color: #687f74;
  font-size: 13px;
  line-height: 1.6;
}

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

.home-heading,
.home-context-intro {
  max-width: 830px;
}

.home-heading h2,
.home-context-intro h2,
.home-meaning-copy h2,
.home-lightweight-card h2 {
  margin: 0;
  color: #113a2a;
  font-size: clamp(40px, 4.7vw, 62px);
  font-weight: 770;
  line-height: 1.05;
  letter-spacing: -.062em;
}

.home-heading > p,
.home-context-intro > p:not(.eyebrow),
.home-meaning-copy > p,
.home-lightweight-card > div > p {
  max-width: 660px;
  margin: 19px 0 0;
  color: #5e776c;
  font-size: 17px;
  line-height: 1.68;
}

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

.home-heading.centered > p {
  margin-inline: auto;
}

.home-translation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  margin-top: 47px;
}

.home-translation-example {
  overflow: hidden;
  border: 1px solid rgb(18 71 45 / 13%);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgb(14 61 38 / 8%);
}

.home-original {
  display: grid;
  gap: 8px;
  padding: 26px 28px;
  background: #e4f6e8;
}

.home-original span,
.home-translation-compare span {
  color: #197d49;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-original strong {
  color: #153b2d;
  font-size: clamp(21px, 2.3vw, 29px);
  line-height: 1.25;
}

.home-translation-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.home-translation-compare article {
  padding: 27px 28px 29px;
}

.home-translation-compare article + article {
  border-left: 1px solid var(--line);
}

.home-translation-compare article.is-subi {
  background: #f3fbf5;
}

.home-translation-compare blockquote {
  margin: 13px 0 0;
  color: #173d2e;
  font-size: 20px;
  font-weight: 760;
  line-height: 1.45;
}

.home-translation-compare p {
  margin: 12px 0 0;
  color: #6a8076;
  font-size: 13px;
  line-height: 1.6;
}

.home-translation-points {
  display: grid;
  border-top: 1px solid var(--line);
}

.home-translation-points article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.home-translation-points b {
  color: #163e2f;
  font-size: 18px;
}

.home-translation-points p {
  margin: 7px 0 0;
  color: #687f74;
  font-size: 14px;
  line-height: 1.6;
}

.home-context {
  background: linear-gradient(180deg, #eef9f1, #f8fbf8);
}

.home-context-intro .eyebrow {
  margin: 0 0 13px;
}

.home-context-intro h2 {
  max-width: 13ch;
}

.home-product-shot {
  margin-top: 45px;
  min-width: 0;
}

.home-shot-scroll {
  overflow: hidden;
  border: 1px solid rgb(12 56 36 / 16%);
  border-radius: 16px;
  background: #171817;
  box-shadow: 0 22px 58px rgb(14 61 38 / 12%);
}

.home-product-shot img {
  width: 100%;
  height: auto;
}

.home-meaning {
  padding-top: 96px;
}

.home-meaning-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.home-translation-layout > *,
.home-meaning-layout > *,
.home-lightweight-card > * {
  min-width: 0;
}

.home-meaning-layout .home-product-shot {
  margin-top: 0;
}

.home-meaning-copy h2 {
  font-size: clamp(36px, 4vw, 54px);
}

.home-meaning-example {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.home-meaning-example div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.home-meaning-example dt {
  color: #19824c;
  font-weight: 800;
}

.home-meaning-example dd {
  margin: 0;
  color: #536e62;
  line-height: 1.62;
}

.home-lightweight {
  padding-top: 92px;
}

.home-lightweight-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: center;
  border: 1px solid rgb(12 121 65 / 16%);
  border-radius: 20px;
  background: linear-gradient(130deg, #e0f6e6, #f8fcf9 62%, #d8f2df);
  padding: clamp(34px, 5vw, 66px);
}

.home-lightweight-card h2 {
  max-width: 13ch;
}

.home-lightweight-mark {
  display: grid;
  justify-items: center;
  gap: 17px;
  text-align: center;
}

.home-lightweight-mark img {
  width: 112px;
  height: 112px;
  border-radius: 25px;
  box-shadow: 0 18px 42px rgb(34 201 91 / 22%);
}

.home-lightweight-mark strong {
  color: #17402f;
  font-size: 20px;
  line-height: 1.4;
}

.home-pricing {
  padding-bottom: 102px;
}

.home-pricing .free-levels {
  max-width: 780px;
  margin: 43px auto 22px;
}

.home-pricing .pricing-grid {
  margin-top: 20px;
}

.home-pricing-note {
  max-width: 720px;
  margin: 20px auto 0;
  color: #6a8176;
  font-size: 13px;
  line-height: 1.58;
  text-align: center;
}

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

@media (max-width: 1040px) {
  .home-hero {
    grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
    gap: 34px;
  }

  .home-hero h1 {
    font-size: clamp(46px, 5.4vw, 62px);
  }
}

@media (max-width: 780px) {
  .home-hero,
  .home-translation-layout,
  .home-meaning-layout,
  .home-lightweight-card {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 0;
    gap: 36px;
    padding: 44px 0 42px;
  }

  .home-hero-copy {
    max-width: none;
  }

  .home-hero h1,
  html[lang="en"] .home-hero h1 {
    max-width: 9.4em;
    font-size: clamp(44px, 12vw, 64px);
  }

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

  .home-proof article {
    min-height: auto;
    padding: 21px 0;
  }

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

  .home-section {
    padding: 78px 0;
  }

  .home-heading h2,
  .home-context-intro h2,
  .home-meaning-copy h2,
  .home-lightweight-card h2 {
    font-size: clamp(37px, 10.5vw, 54px);
  }

  .home-translation-layout {
    margin-top: 37px;
  }

  .home-translation-compare {
    grid-template-columns: 1fr;
  }

  .home-translation-compare article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .home-shot-scroll {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .home-shot-scroll img {
    width: 760px;
    max-width: none;
  }

  .home-product-shot figcaption::after {
    content: " · 可左右滑动查看完整截图";
  }

  html[lang="en"] .home-product-shot figcaption::after {
    content: " · Swipe sideways to view the full capture";
  }

  .home-meaning {
    padding-top: 70px;
  }

  .home-meaning-layout {
    gap: 35px;
  }

  .home-lightweight-card {
    gap: 38px;
    padding: 34px;
  }

  .home-lightweight-mark {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .home-hero .eyebrow {
    font-size: 10px;
    line-height: 1.45;
  }

  .home-lead,
  .home-heading > p,
  .home-context-intro > p:not(.eyebrow),
  .home-meaning-copy > p,
  .home-lightweight-card > div > p {
    font-size: 16px;
  }

  .home-hero-media figcaption,
  .home-product-shot figcaption {
    font-size: 11px;
  }

  .home-section {
    padding: 66px 0;
  }

  .home-original,
  .home-translation-compare article {
    padding: 22px;
  }

  .home-translation-compare blockquote {
    font-size: 18px;
  }

  .home-shot-scroll img {
    width: 700px;
  }

  .home-meaning-example div {
    grid-template-columns: 56px 1fr;
  }

  .home-lightweight-card {
    padding: 27px 22px;
  }

  .home-lightweight-mark img {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subi-home-v3 .reveal,
  .js .subi-home-v3 .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Browser extension availability and test-build installation page. */
.v2-download { padding: 0 0 106px; }
.v2-download-hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr); gap: clamp(42px, 8vw, 115px); align-items: center; padding: 84px 0 70px; }
.v2-download-hero h1 { max-width: 10ch; margin: 0; color: #123b2c; font-size: clamp(51px, 6vw, 80px); line-height: 1.01; letter-spacing: -.074em; }
.v2-download-hero h1 em { color: var(--accent-strong); font-style: normal; }
.v2-download-hero > div > p:not(.eyebrow) { max-width: 33rem; margin: 23px 0 0; color: #60796d; font-size: 17px; line-height: 1.72; }
.v2-store-status { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; max-width: 430px; margin-top: 28px; border: 1px solid rgb(8 121 64 / 18%); border-radius: 13px; background: #e9f8ed; padding: 12px; }
.v2-store-status img { width: 34px; height: 34px; border-radius: 9px; }
.v2-store-status b, .v2-store-status span { display: block; }
.v2-store-status b { color: #1b4b35; font-size: 13px; }
.v2-store-status span { margin-top: 2px; color: #678172; font-size: 11px; }
.v2-store-status i { border: 1px solid rgb(8 121 64 / 18%); border-radius: 999px; padding: 4px 7px; color: #137344; font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; }
.v2-download-visual { position: relative; overflow: hidden; border: 1px solid rgb(12 56 36 / 15%); border-radius: 20px; background: #1d2a25; box-shadow: 0 30px 68px rgb(12 65 40 / 16%); }
.v2-download-visual img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; object-position: center top; }
.v2-download-visual span { position: absolute; top: 15px; right: 15px; border: 1px solid rgb(255 255 255 / 19%); border-radius: 999px; background: rgb(5 35 21 / 78%); padding: 7px 10px; color: #e8f8ed; font-size: 11px; font-weight: 740; }
.v2-install-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 18px; align-items: stretch; }
.v2-build-card, .v2-install-steps { border: 1px solid var(--line); border-radius: 19px; background: #ffffff; padding: clamp(27px, 4vw, 44px); }
.v2-build-card { background: linear-gradient(150deg, #e4f7e8, #ffffff 63%); }
.v2-build-card-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.v2-build-card h2, .v2-install-steps h2 { margin: 0; color: #173f30; font-size: clamp(28px, 3vw, 39px); line-height: 1.08; letter-spacing: -.05em; }
.v2-build-card-head > span { border: 1px solid rgb(8 121 64 / 20%); border-radius: 999px; padding: 5px 8px; color: #137344; font-size: 10px; font-weight: 790; white-space: nowrap; }
.v2-build-card > p { margin: 21px 0; color: #60786d; font-size: 14px; line-height: 1.65; }
.v2-build-card dl { display: grid; gap: 13px; margin: 26px 0 0; }
.v2-build-card dl div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding-top: 13px; border-top: 1px solid var(--line); }
.v2-build-card dt { color: #6e8479; font-size: 12px; }
.v2-build-card dd { min-width: 0; margin: 0; color: #294d3c; font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.v2-build-card code, .v2-install-steps code { border-radius: 4px; background: rgb(15 71 42 / 8%); padding: 2px 4px; color: #24523a; font-size: .91em; }
.v2-install-steps { background: #143e2e; color: #ffffff; }
.v2-install-steps .eyebrow { color: #9ef3b9; }
.v2-install-steps h2 { color: #ffffff; }
.v2-install-steps ol { display: grid; gap: 0; margin: 25px 0 0; padding: 0; list-style: none; }
.v2-install-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 15px 0; border-top: 1px solid rgb(255 255 255 / 15%); }
.v2-install-steps li b { color: #94efb0; font-size: 12px; }
.v2-install-steps li strong { display: block; font-size: 15px; }
.v2-install-steps li p { margin: 4px 0 0; color: #c5e4cd; font-size: 13px; line-height: 1.55; }
.v2-install-steps code { background: rgb(255 255 255 / 12%); color: #e0f4e5; }
.v2-download-help { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 42px; }
.v2-download-help h2 { margin: 0; color: #153e2f; font-size: clamp(27px, 3vw, 39px); letter-spacing: -.05em; }
.v2-download-help p:not(.eyebrow) { max-width: 37rem; margin: 10px 0 0; color: #62796f; font-size: 14px; line-height: 1.62; }
.v2-download-help > div:last-child { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 780px) {
  .v2-download-hero, .v2-install-grid { grid-template-columns: 1fr; gap: 32px; }
  .v2-download-hero { padding: 55px 0; }
  .v2-download-hero > *, .v2-download-visual { min-width: 0; width: 100%; }
  .v2-download-visual img { height: auto; aspect-ratio: auto; object-fit: contain; object-position: center top; }
  .v2-download-help { display: grid; align-items: start; padding-top: 30px; }
}

@media (max-width: 480px) {
  .v2-download { padding-bottom: 65px; }
  .v2-download-hero h1 { font-size: 50px; }
  .v2-store-status { grid-template-columns: 30px 1fr; }
  .v2-store-status img { width: 30px; height: 30px; }
  .v2-store-status i { grid-column: 2; justify-self: start; }
  .v2-build-card, .v2-install-steps { padding: 24px; }
  .v2-download-help > div:last-child { display: grid; }
  .v2-download-help .button { width: 100%; }
}

/* Compact account summary: keep the height proportional to its small data set. */
.account-layout {
  padding: 38px 0 68px;
}

.account-main {
  max-width: 920px;
}

.account-main > .eyebrow {
  margin-bottom: 10px;
}

.account-main > h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(40px, 4.6vw, 58px);
}

.account-main > .page-lead {
  max-width: 42rem;
  margin-top: 14px;
  font-size: 16px;
}

.account-card {
  width: min(880px, 100%);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  margin: 22px auto 0;
}

.profile-panel,
.credits-panel {
  padding: 22px 24px;
}

.account-panel-label {
  margin-bottom: 12px;
}

.profile-head {
  gap: 13px;
}

.profile-avatar {
  width: 52px;
  height: 52px;
  font-size: 21px;
}

.profile-name {
  font-size: 18px;
}

.profile-actions {
  gap: 8px;
  margin-top: 18px;
}

.profile-actions .button.small {
  min-height: 38px;
  padding-inline: 14px;
}

.credits-balance {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 5px;
  font-size: clamp(38px, 4vw, 50px);
}

.credits-balance span:first-child {
  color: inherit;
  font: inherit;
}

.credits-balance span:last-child {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 650;
}

.credits-meta {
  gap: 10px 18px;
  margin-top: 18px;
}

.credits-meta div {
  padding-top: 9px;
}

.credits-meta span {
  font-size: 12px;
}

.credits-meta strong {
  margin-top: 3px;
  font-size: 15px;
}

.account-sync-note {
  width: min(880px, 100%);
  margin: 9px auto 0;
}

.account-plans {
  margin-top: 48px;
}

@media (max-width: 780px) {
  .account-layout {
    padding: 32px 0 56px;
  }

  .account-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-main > h1 {
    max-width: 12ch;
  }

  .credits-panel {
    border-top: 1px solid rgb(54 122 92 / 14%);
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .account-layout {
    padding-top: 26px;
  }

  .profile-panel,
  .credits-panel {
    padding: 20px;
  }

  .credits-balance {
    font-size: 40px;
  }
}
