@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap");

:root {
  --ink: #0f141c;
  --muted: #5b6575;
  --line: #d8e0eb;
  --paper: #ffffff;
  --soft: #f3f6fb;
  --band: #eaf0f8;
  --accent: #1d4f91;
  --accent-deep: #163e73;
  --accent-soft: #d7e5f6;
  --font-display: "Sora", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-ui: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --wrap: min(1180px, calc(100% - 48px));
  --header-h: 72px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  background: var(--paper);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration: none;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* —— Header (full width) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  overflow: visible;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

/*
 * backdrop-filter makes the header a clip container in Blink/WebKit.
 * Drop blur while the morph paints outside the 28px slot.
 */
.site-header:has(.brand.is-playing) {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--paper);
}

.site-header-inner {
  width: var(--wrap);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 10px;
  overflow: visible;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  min-width: max-content;
  overflow: visible;
}

/* Morph may paint outside the 28px slot — keep above nav while playing. */
.brand.is-playing {
  z-index: 5;
}

/* Hide wordmark while the icon morph plays so it cannot cover the mark. */
.brand.is-morphing .brand-name {
  opacity: 0;
  visibility: hidden;
  width: 0;
  max-width: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

/*
 * Idle = real favicon (exact product icon). Playing = morph SVG is sized/
 * offset so the end pose sits on this 28×28 slot; overflow paints S/Z outside.
 */
.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: block;
  flex: none;
  flex-shrink: 0;
  overflow: visible;
  line-height: 0;
}

.brand-mark-static {
  width: 28px;
  height: 28px;
  display: block;
}

.brand-mark-morph {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  overflow: visible;
  line-height: 0;
  pointer-events: none;
}

.brand-mark.is-playing .brand-mark-static {
  visibility: hidden;
}

.brand-mark.is-playing .brand-mark-morph {
  display: block;
  overflow: visible;
}

.brand-mark.is-playing .brand-mark-morph > .sz-logo-morph {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  flex: none;
  flex-shrink: 0;
  min-width: max-content;
  overflow: visible;
}

.brand-name-live {
  --brand-char-stagger: 70ms;
  --brand-char-in: 320ms;
  --brand-shine: 1.1s;
  display: inline-flex;
  align-items: baseline;
  min-width: max-content;
  overflow: visible;
}

.brand-name-chars {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.brand-name-char,
.brand-name-live > .tm {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.28em);
  will-change: opacity, transform, color;
}

/* After entrance (or reduced-motion): stay visible. */
.brand-name-live.is-shown .brand-name-char,
.brand-name-live.is-shown > .tm {
  opacity: 1;
  transform: none;
}

/* Staggered letter-in after morph. */
.brand-name-live.is-revealing .brand-name-char,
.brand-name-live.is-revealing > .tm {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--brand-char-in) ease,
    transform var(--brand-char-in) ease;
  transition-delay: calc(var(--i, 0) * var(--brand-char-stagger));
}

/* One trailing shine across letters (not infinite). */
.brand-name-live.is-live .brand-name-char {
  animation: brand-char-shine var(--brand-shine) ease both;
  animation-delay: calc(var(--i, 0) * 45ms);
}

@keyframes brand-char-shine {
  0% {
    color: var(--ink);
  }
  28% {
    color: color-mix(in srgb, var(--accent) 72%, var(--ink));
  }
  55% {
    color: var(--ink);
  }
  100% {
    color: var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark {
    transition: none;
  }

  .brand-name-char,
  .brand-name-live > .tm {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .brand-name-live.is-live .brand-name-char {
    animation: none;
  }
}

.tm {
  font-size: 0.55em;
  font-weight: 500;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.06em;
}

.footer-brand .tm,
h1 .tm {
  font-size: 0.45em;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover {
  color: var(--ink);
  background: var(--soft);
}

.nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

.lang-menu {
  position: relative;
}

.lang-menu-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.lang-menu-btn:hover {
  background: var(--soft);
}

.lang-menu-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.lang-menu-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 168px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(16, 32, 56, 0.1);
  z-index: 2;
}

.lang-menu.is-open .lang-menu-panel {
  display: grid;
}

.lang-menu-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.lang-menu-panel a:hover {
  background: var(--soft);
}

.lang-menu-panel a[aria-current="true"] {
  font-weight: 600;
  color: var(--accent);
}

.lang-menu-panel a[aria-current="true"]::after {
  content: "✓";
}

/* —— Hero full bleed —— */
.hero-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(900px 520px at 8% 0%, #d5e5f8 0%, transparent 55%),
    radial-gradient(700px 480px at 92% 20%, #c9dbf0 0%, transparent 50%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
  border-bottom: 1px solid var(--line);
}

.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 79, 145, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 79, 145, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: clamp(48px, 9vh, 96px) 0 clamp(56px, 10vh, 108px);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.hero-copy .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 18px;
}

.hero-copy .status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(29, 79, 145, 0.14);
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-copy .lede {
  margin: 0 0 28px;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.download-gate {
  display: grid;
  gap: 10px;
  max-width: 28rem;
}

.download-gate label {
  font-weight: 600;
}

.download-gate input {
  appearance: none;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  font: inherit;
}

.download-gate button:disabled {
  opacity: 0.6;
  cursor: default;
}

.download-gate a[hidden] {
  display: none;
}

.download-notify {
  margin-top: 36px;
}

.download-notify h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

.hero-film {
  position: relative;
  margin: 0;
  border-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, #fff);
  background: #eef3f9;
  box-shadow: 0 24px 60px rgba(16, 28, 48, 0.08);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.hero-film-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #eef3f9;
}

.hero-film-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hero-film-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-width: 112px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.hero-film-toggle:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.hero-film-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-film-video {
    object-fit: contain;
  }
}

/* —— Full-width bands —— */
.band {
  padding: clamp(56px, 9vw, 96px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

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

.band-ink {
  background: linear-gradient(180deg, #13233a 0%, #0f1b2d 100%);
  color: #e8eef8;
  border-bottom: 0;
}

.band-ink .muted,
.band-ink .project-desc,
.band-ink .project-link {
  color: #a9b7cc;
}

.band-ink .project {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.band-ink .project:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.band-ink .project-name,
.band-ink a {
  color: #9ec0ef;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.band-ink .section-kicker {
  color: #8eb4ea;
}

.hero-actions .btn,
.feature-cta .btn {
  min-width: 148px;
}

.feature-list {
  display: grid;
  gap: 28px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
  padding: 12px 0;
}

.feature-row-flip .feature-copy {
  order: 2;
}

.feature-copy h2,
.feature-copy h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.feature-copy p {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.feature-shot {
  margin: 0;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #eef3f9;
  overflow: hidden;
}

.feature-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .feature-row,
  .feature-row-flip {
    grid-template-columns: 1fr;
  }

  .feature-row-flip .feature-copy {
    order: 0;
  }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

.project {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 180px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.project:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 18px 40px rgba(29, 79, 145, 0.1);
}

.project-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--accent);
}

.project-desc {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.5;
}

.project-link {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.85rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split-card {
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.split-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.split-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.split-card p:last-child {
  margin-bottom: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* —— Inner pages —— */
.page-band {
  background: linear-gradient(180deg, #f7f9fc 0%, var(--paper) 42%);
  border-bottom: 1px solid var(--line);
}

.page-band .wrap {
  padding: clamp(40px, 7vw, 72px) 0 clamp(56px, 8vw, 88px);
  max-width: var(--wrap);
}

.page-band h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-band .lede,
.page-band p {
  margin: 0 0 1rem;
  max-width: 58ch;
}

.page-band .lede {
  color: var(--muted);
  font-size: 1.12rem;
}

.page-band p {
  color: var(--ink);
  font-size: 1.05rem;
}

.note {
  margin-top: 1.25rem;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  max-width: 58ch;
}

/* —— Footer full width —— */
.site-footer {
  background: #0f141c;
  color: #c5cedb;
  padding: 48px 0 calc(36px + env(safe-area-inset-bottom));
}

.footer-grid {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  color: #fff;
  margin: 0 0 4px;
}

.footer-former {
  margin: 0 0 8px;
  color: #9aa6b8;
  font-size: 0.8rem;
}

.footer-blurb {
  margin: 0;
  max-width: 34ch;
  font-size: 0.95rem;
  color: #9aa6b8;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f8ca0;
}

.footer-col a {
  display: block;
  color: #d5dde8;
  text-decoration: none;
  padding: 4px 0;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  width: var(--wrap);
  margin-inline: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #7f8ca0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.footer-beian {
  color: #7f8ca0;
  text-decoration: none;
}

.footer-beian:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .project,
  .btn {
    transition: none;
  }
}


.legal-doc {
  max-width: 760px;
}

.legal-doc .meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-doc h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal-doc h2 {
  margin: 1.75rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.legal-doc p {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.02rem;
}

.legal-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-doc li {
  margin: 0.4rem 0;
  color: var(--ink);
}

.legal-doc .note {
  margin-top: 1.5rem;
  padding: 14px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
}


.legal-entity {
  margin-top: 36px;
  padding: 24px 26px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--soft);
  max-width: 58ch;
}

.legal-entity h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.entity-name,
.footer-entity-name {
  margin: 0 0 8px;
  font-weight: 650;
  color: var(--ink);
}

.entity-addr,
.footer-entity-addr {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-entity-name {
  margin-top: 14px;
  color: #e8eef8;
  font-size: 0.92rem;
}

.entity-name-en,
.footer-entity-name-en {
  margin: 0 0 8px;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer-entity-name-en {
  margin-top: 0;
  color: #b7c2d4;
  font-size: 0.84rem;
}

.footer-entity-addr {
  color: #9aa6b8;
  font-size: 0.85rem;
  max-width: 36ch;
}

.footer-entity-country {
  white-space: nowrap;
}


.contact-mail {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 650;
  text-decoration: none;
}

.contact-mail:hover {
  text-decoration: underline;
}

.pricing-page .lede {
  max-width: 48rem;
}

.plan-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper);
  margin: 8px 0 28px;
}

.plan-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  min-height: 40px;
  min-width: 88px;
  padding: 8px 16px;
  cursor: pointer;
}

.plan-toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1100px) {
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.plan-card.is-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.plan-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.plan-card .plan-desc {
  margin: 8px 0 0;
  min-height: 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-price {
  margin: 22px 0 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.plan-price .plan-period {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.plan-card li {
  margin: 8px 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.plan-card li::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-right: 0.55em;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
  vertical-align: 0.15em;
}

.plan-cta {
  width: 100%;
  margin-top: 22px;
  box-sizing: border-box;
  cursor: pointer;
  font: inherit;
}

button.plan-cta:disabled {
  opacity: 0.55;
  cursor: default;
}

.pricing-checkout-error {
  margin-top: 1rem;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, #b42318 35%, var(--line));
  background: color-mix(in srgb, #b42318 8%, var(--paper));
  color: #8a1c14;
  font-size: 0.95rem;
}

.pricing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 8px;
}

.pricing-head .lede {
  margin: 8px 0 0;
  max-width: 36rem;
}

.pricing-head .plan-toggle {
  margin: 0;
  flex: none;
}

@media (max-width: 720px) {
  .pricing-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.pricing-footnote {
  margin: 36px 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pricing-footnote p,
.page-band .pricing-footnote p {
  max-width: none;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.pricing-footnote p + p {
  margin-top: 8px;
}

.pricing-footnote a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* Soft feature flags: site.js adds .feat-lang / .feat-oss to restore */
html:not(.feat-lang) .lang-menu {
  display: none !important;
}

html:not(.feat-oss) [data-feat="oss"] {
  display: none !important;
}
