/**
 * landing.css — marketing homepage (index.html)
 * Uses design tokens from theme.css; mirrors home-panel glass aesthetic.
 */

body.landing-page {
  margin: 0;
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  overflow-x: hidden;
  min-height: 100vh;
}

body.landing-page *,
body.landing-page *::before,
body.landing-page *::after {
  box-sizing: border-box;
}

body.landing-page ::-webkit-scrollbar {
  width: 6px;
}
body.landing-page ::-webkit-scrollbar-track {
  background: var(--teal-light);
}
body.landing-page ::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 3px;
}

/* ── Header (marketing — solid teal, matches login page) ── */

body.landing-page > header.landing-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(0, 128, 128, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 clamp(20px, 4vw, 56px);
  min-height: 96px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 24px rgba(0, 64, 64, 0.18);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

body.landing-page > header.landing-header.landing-header--scrolled {
  background: rgba(0, 77, 77, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 24px rgba(0, 64, 64, 0.18);
}

body.landing-page .logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex: 0 0 auto;
  min-width: 0;
  max-width: min(480px, 48vw);
}

/* Circular clip matches the round logo artwork */
body.landing-page .logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 40, 40, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.95);
}

body.landing-page .logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

body.landing-page .logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

body.landing-page .logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.18rem;
  font-weight: 400;
  color: white;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.landing-page .logo-tagline {
  font-family: 'Sora', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.landing-nav > a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.landing-nav > a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.landing-nav-sign-in,
.landing-nav-cta,
.landing-nav-dashboard,
.landing-nav-close {
  display: none;
}

.landing-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.landing-sign-in {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.landing-sign-in:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.landing-dashboard-link {
  display: none;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.landing-dashboard-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

body.landing-page:has(.app-account-bar.is-visible) .landing-sign-in {
  display: none;
}
body.landing-page:has(.app-account-bar.is-visible) .landing-dashboard-link {
  display: inline-flex;
}
body.landing-page:has(.app-account-bar.is-visible) .landing-header-cta {
  display: none;
}

/* Give the brand room when the account bar is visible */
body.landing-page:has(.app-account-bar.is-visible) .logo-tagline {
  display: none;
}

@media (max-width: 1180px) {
  body.landing-page .logo-tagline {
    display: none;
  }
  .landing-nav > a {
    padding: 8px 10px;
    font-size: 0.84rem;
  }
}

.landing-header-cta {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.landing-header-cta:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.45);
}

body.landing-page .hamburger {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: transparent;
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
  color: white;
  transition: background 0.2s;
}
body.landing-page .hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
}
body.landing-page .hamburger i {
  color: white;
  font-size: 26px;
}

/* Compact account bar on marketing header */
body.landing-page .app-header-tray {
  margin-left: 0;
}
body.landing-page .app-account-bar {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
body.landing-page .app-account-email {
  display: none;
}
body.landing-page a.app-account-name {
  font-size: 0.82rem;
  max-width: 120px;
}
body.landing-page button.btn-logout {
  font-size: 0.72rem;
  padding: 7px 12px;
}

/* Logged-in mobile nav account panel (injected by account-ui.js) */
.landing-nav-account {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 300px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.landing-nav-account__name {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-nav-account__email {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-nav-account__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.landing-nav-account__actions a,
button.landing-nav-logout {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
}

.landing-nav-account__actions a {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.landing-nav-account__actions a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

button.landing-nav-logout {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

button.landing-nav-logout:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
}

button.landing-nav-logout:disabled {
  opacity: 0.65;
  cursor: wait;
}

body.landing-auth .landing-cta__btn-secondary {
  display: none;
}

body.landing-nav-open {
  overflow: hidden;
}

/* ── Layout shell ─────────────────────────────────────── */

.landing-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.landing-section {
  padding: clamp(64px, 8vw, 90px) clamp(20px, 4vw, 48px);
}

.landing-section--white {
  background: var(--white);
}
.landing-section--bg {
  background: var(--bg);
}

#modules.landing-section--bg {
  border-top: 1px solid rgba(0, 128, 128, 0.1);
}

#exam.landing-section--white {
  border-top: 1px solid rgba(0, 128, 128, 0.1);
}

.landing-inner .app-page-sub {
  margin-bottom: 48px;
}

.landing-pricing-head .app-page-sub {
  margin-bottom: 0;
}

.landing-faq .app-page-title {
  margin-bottom: 12px;
}

/* ── Hero ─────────────────────────────────────────────── */

.landing-hero {
  position: relative;
  padding: clamp(56px, 8vw, 88px) clamp(20px, 4vw, 48px) clamp(56px, 6vw, 72px);
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(0, 198, 198, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(0, 128, 128, 0.08) 0%, transparent 50%),
    var(--bg);
  border-bottom: none;
}

.landing-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}

#differentiators.landing-section {
  padding-top: clamp(48px, 6vw, 64px);
}

.landing-hero__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

.landing-hero__kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.landing-hero h1,
.landing-hero__title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin: 0 0 20px;
  max-width: 15em;
}

.landing-hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.12em;
  max-width: 11em;
}

.landing-hero__title-line {
  display: block;
}

.landing-hero__title-line--accent {
  color: var(--teal-dark);
  font-size: 1.06em;
  letter-spacing: -0.025em;
}

.landing-hero__title-line--accent em {
  font-style: italic;
  color: var(--teal);
  position: relative;
}

.landing-hero__title-line--accent em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-light), var(--teal));
  opacity: 0.55;
}

.landing-hero__title-line--close {
  font-style: italic;
  color: var(--text-dark);
  padding-left: 0.12em;
}

.landing-hero__lead {
  font-size: 1.02rem;
  color: var(--text-mid);
  line-height: 1.72;
  max-width: 540px;
  margin: 0 0 32px;
  font-weight: 400;
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-hero__actions .btn {
  padding: 13px 24px;
}

/* Hero metric blobs */
.landing-hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.landing-metric-blob {
  background: var(--white);
  border: 1px solid rgba(0, 102, 102, 0.28);
  padding: clamp(22px, 2.5vw, 30px) clamp(16px, 2vw, 22px);
  text-align: center;
  box-shadow:
    0 2px 6px rgba(0, 64, 64, 0.08),
    0 10px 32px rgba(0, 128, 128, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.landing-metric-blob:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(0, 64, 64, 0.05),
    0 12px 36px rgba(0, 128, 128, 0.12);
}

.landing-metric-blob:nth-child(1) {
  border-radius: 36px 36px 14px 36px;
}

.landing-metric-blob:nth-child(2) {
  border-radius: 36px 14px 36px 36px;
}

.landing-metric-blob:nth-child(3) {
  border-radius: 14px 36px 36px 36px;
}

.landing-metric-blob:nth-child(4) {
  border-radius: 36px 36px 36px 14px;
}

/* Trust metrics strip */
.landing-trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.landing-trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px clamp(20px, 4vw, 48px);
}

.landing-trust-item {
  font-size: 0.88rem;
  color: var(--text-mid);
  text-align: center;
  line-height: 1.4;
}

.landing-trust-item strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--teal-dark);
  margin-bottom: 2px;
}

/* ── Module tabs ─────────────────────────────────────── */

#modules {
  scroll-margin-top: 80px;
}

.landing-module {
  position: relative;
}

.landing-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  margin-bottom: 40px;
  width: fit-content;
  max-width: 100%;
  position: relative;
  z-index: 5;
}

.landing-module-panels {
  position: relative;
  z-index: 1;
}

.landing-tab-btn {
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 0.84em;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-mid);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  z-index: 2;
}
.landing-tab-btn i {
  font-size: 17px;
}
.landing-tab-btn.active {
  background: var(--teal);
  color: white;
  box-shadow: 0 3px 12px rgba(0, 128, 128, 0.28);
}
.landing-tab-btn[data-tab='oral'].active,
.landing-tab-btn[data-tab='written'].active {
  background: var(--teal);
  box-shadow: 0 3px 12px rgba(0, 128, 128, 0.28);
}
.landing-tab-btn:not(.active):hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.landing-tab-panel {
  display: none;
}
.landing-tab-panel.active {
  display: block;
}
.landing-tab-panel[hidden] {
  display: none !important;
}

/* ── Exam / feature cards ─────────────────────────────── */

.landing-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.landing-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.landing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0, 128, 128, 0.12);
}
.landing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
}
.landing-card--written::before {
  background: linear-gradient(90deg, var(--accent-written), var(--accent));
}

.landing-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.landing-part-badge {
  display: inline-block;
  background: var(--teal);
  color: white;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}
.landing-card--written .landing-part-badge {
  background: var(--accent-written);
}
.landing-card__time {
  font-size: 0.76em;
  color: var(--text-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.landing-card__time i {
  font-size: 14px;
}

.landing-card h3 {
  font-size: 1.08em;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
}
.landing-card p {
  font-size: 0.84em;
  color: var(--text-mid);
  line-height: 1.68;
  margin: 0 0 18px;
}

.landing-tool {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.landing-tool i {
  color: var(--teal);
  font-size: 18px;
  flex-shrink: 0;
}
.landing-card--written .landing-tool i {
  color: var(--accent-written);
}
.landing-tool__title {
  font-size: 0.8em;
  font-weight: 600;
  color: var(--text-dark);
}
.landing-tool__sub {
  font-size: 0.72em;
  color: var(--text-light);
  margin-top: 1px;
}

.landing-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}
.landing-chip {
  font-size: 0.7em;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--teal-light);
  color: var(--teal-dark);
}
.landing-chip--warn {
  background: #fff3e0;
  color: #bf360c;
}
.landing-chip--ok {
  background: #e8f5e9;
  color: var(--success);
}

.landing-written-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.landing-written-grid .landing-card--wide {
  grid-column: span 2;
}
.landing-tool-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.landing-scenario-strip {
  background: linear-gradient(135deg, var(--teal-deep) 0%, #003838 100%);
  border-radius: 20px;
  padding: 28px 28px 24px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  box-shadow: 0 12px 40px rgba(0, 77, 77, 0.28);
}
.landing-scenario-strip h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2em;
  color: white;
  margin: 0 0 8px;
}
.landing-scenario-strip p {
  font-size: 0.82em;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin: 0;
}
.landing-scenario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.landing-scenario-tag {
  font-size: 0.68em;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}
.landing-scenario-tag--hi {
  background: rgba(0, 198, 198, 0.2);
  color: var(--accent);
}

/* ── Role-play flow ───────────────────────────────────── */

.landing-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.landing-flow::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--teal), var(--border));
  z-index: 0;
}
.landing-flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.landing-flow__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 3px 12px rgba(0, 128, 128, 0.12);
}
.landing-flow__num i {
  color: var(--teal);
  font-size: 22px;
}
.landing-flow__step h4 {
  font-size: 0.86em;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 5px;
}
.landing-flow__step p {
  font-size: 0.76em;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
}

/* ── Metric typography (hero blobs) ───────────────────── */

.landing-metric-blob .landing-metric__val {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.1rem, 3.2vw, 2.75rem);
  color: #004d4d;
  line-height: 1;
  margin-bottom: 8px;
}

.landing-metric-blob .landing-metric__lbl {
  font-size: 0.75rem;
  color: var(--text-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.landing-metric-blob .landing-metric__sub {
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 500;
  margin-top: 6px;
  text-transform: lowercase;
}

/* ── Differentiators ──────────────────────────────────── */

.landing-diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 40px;
  align-items: stretch;
}

.landing-diff-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-diff-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 77, 77, 0.1);
}

.landing-diff-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.landing-diff-card__icon .material-icons {
  color: var(--teal);
  font-size: 22px;
}

.landing-diff-card__icon--written {
  background: rgba(99, 102, 241, 0.1);
}

.landing-diff-card__icon--written .material-icons {
  color: var(--accent-written);
}

.landing-diff-card h3 {
  font-size: 1.08em;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
  line-height: 1.35;
}

.landing-diff-card p:not(.landing-diff-card__tagline) {
  font-size: 0.84em;
  color: var(--text-mid);
  line-height: 1.68;
  margin: 0 0 4px;
}

.landing-diff-card__benefits {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.landing-diff-card__benefits li {
  font-size: 0.84em;
  color: var(--text-mid);
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}

.landing-diff-card__benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.landing-diff-card:has(.landing-diff-card__icon--written) .landing-diff-card__benefits li::before {
  background: var(--accent-written);
}

.landing-diff-card__foot {
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
  padding-top: 14px;
}

.landing-diff-card__foot .landing-chip-row {
  margin-top: 0;
  min-height: 58px;
  width: 100%;
  align-content: flex-start;
}

.landing-diff-card__tagline {
  font-size: 0.82em;
  font-style: italic;
  color: var(--teal-dark);
  margin: 0;
  padding-top: 14px;
  line-height: 1.55;
  width: 100%;
  position: relative;
}

.landing-diff-card__tagline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.landing-compare {
  width: 100%;
}

.landing-compare__board {
  display: grid;
  grid-template-columns: minmax(120px, 22%) 1fr 1fr;
  column-gap: 10px;
  padding: 10px;
  border-radius: 20px;
  background: #eef2f2;
  box-shadow: 0 10px 40px rgba(0, 64, 64, 0.1);
}

.landing-compare__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 14px 14px 0 0;
  min-height: 56px;
}

.landing-compare__head .material-icons {
  font-size: 18px;
}

.landing-compare__head--features {
  background: var(--white);
  color: var(--text-light);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
  border-bottom: none;
}

.landing-compare__head--typical {
  background: linear-gradient(180deg, #8a9a9a, #6b8080);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.landing-compare__head--platform {
  background: linear-gradient(180deg, #009090, #006666);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 0.74rem;
  line-height: 1.25;
  text-align: center;
}

.landing-compare__row {
  display: contents;
}

.landing-compare__label,
.landing-compare__cell {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(0, 43, 43, 0.08);
  display: flex;
  align-items: center;
  min-height: 52px;
}

.landing-compare__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mid);
  line-height: 1.35;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.landing-compare__cell {
  gap: 12px;
  border-left: 1px solid rgba(0, 43, 43, 0.06);
  border-right: 1px solid rgba(0, 43, 43, 0.06);
}

.landing-compare__cell p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
}

.landing-compare__cell--typical {
  background: #f8fafa;
  color: var(--text-mid);
}

.landing-compare__cell--platform {
  background: #fff;
  color: var(--text-dark);
}

.landing-compare__cell--platform p {
  font-weight: 600;
}

.landing-compare__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.landing-compare__icon .material-icons {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
}

.landing-compare__icon--no {
  background: linear-gradient(180deg, #ef5350, #c62828);
}

.landing-compare__icon--yes {
  background: linear-gradient(180deg, #43a88a, #00796b);
}

.landing-compare__board > .landing-compare__row:last-of-type .landing-compare__label,
.landing-compare__board > .landing-compare__row:last-of-type .landing-compare__cell {
  border-bottom: none;
  border-radius: 0 0 14px 14px;
}

.landing-compare__board > .landing-compare__row:nth-of-type(even) .landing-compare__label {
  background: #f3f6f6;
}

.landing-compare__board > .landing-compare__row:nth-of-type(even) .landing-compare__cell--typical {
  background: #eef1f1;
}

.landing-compare__board > .landing-compare__row:nth-of-type(even) .landing-compare__cell--platform {
  background: #f5fbfb;
}

/* ── More features grid ───────────────────────────────── */

.landing-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.landing-mcard {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.landing-mcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0, 128, 128, 0.12);
}
.landing-mcard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.03), transparent 60%);
  pointer-events: none;
}
.landing-mcard__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.25s;
}
.landing-mcard:hover .landing-mcard__icon {
  background: var(--teal);
}
.landing-mcard__icon i {
  color: var(--teal);
  font-size: 22px;
  transition: color 0.25s;
}
.landing-mcard:hover .landing-mcard__icon i {
  color: white;
}
.landing-mcard h3 {
  font-size: 1.05em;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}
.landing-mcard p {
  font-size: 0.84em;
  color: var(--text-mid);
  line-height: 1.68;
  margin: 0;
}
.landing-mcard__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.82em;
  text-decoration: none;
  margin-top: 16px;
  transition: gap 0.2s;
  position: relative;
  z-index: 1;
}
.landing-mcard__link:hover {
  gap: 9px;
}
.landing-mcard__link i {
  font-size: 15px;
}

.landing-mcard--featured {
  background: linear-gradient(145deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-color: var(--teal);
  box-shadow: 0 12px 40px rgba(0, 128, 128, 0.22);
}
.landing-mcard--featured .landing-mcard__icon {
  background: rgba(255, 255, 255, 0.2);
}
.landing-mcard--featured .landing-mcard__icon i,
.landing-mcard--featured:hover .landing-mcard__icon i {
  color: white;
}
.landing-mcard--featured:hover .landing-mcard__icon {
  background: rgba(255, 255, 255, 0.3);
}
.landing-mcard--featured h3 {
  color: white;
}
.landing-mcard--featured p {
  color: rgba(255, 255, 255, 0.82);
}
.landing-mcard--featured .landing-mcard__link {
  color: rgba(255, 255, 255, 0.92);
}
.landing-mcard--featured::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent);
}

.landing-status {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.64em;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  background: rgba(0, 128, 128, 0.1);
  color: var(--teal-dark);
  z-index: 1;
}
.landing-status--live {
  background: #e8f5e9;
  color: var(--success);
}
.landing-status--new {
  background: #fff3e0;
  color: #bf360c;
}

/* ── Pricing ──────────────────────────────────────────── */

.landing-pricing-head {
  text-align: center;
  margin-bottom: 52px;
}
.landing-pricing-head .app-section-label {
  justify-content: center;
}
.landing-pricing-head .app-section-label::before {
  display: none;
}
.landing-pricing-head .app-page-sub {
  margin: 8px auto 0;
  text-align: center;
}

.landing-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.landing-pcard {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}
.landing-pcard:hover {
  transform: translateY(-4px);
}
.landing-pcard--pop {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-color: var(--teal);
  transform: scale(1.04);
  box-shadow: 0 20px 50px rgba(0, 128, 128, 0.26);
}
.landing-pcard--pop:hover {
  transform: scale(1.04) translateY(-4px);
}

.landing-pop-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.65em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}
.landing-ptier {
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 7px;
}
.landing-pcard--pop .landing-ptier {
  color: rgba(255, 255, 255, 0.65);
}
.landing-pamount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 7px;
}
.landing-pamount .num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8em;
  color: var(--text-dark);
  line-height: 1;
}
.landing-pcard--pop .landing-pamount .num {
  color: white;
}
.landing-pamount .per {
  font-size: 0.83em;
  color: var(--text-light);
}
.landing-pcard--pop .landing-pamount .per {
  color: rgba(255, 255, 255, 0.65);
}
.landing-pdesc {
  font-size: 0.83em;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0 0 22px;
}
.landing-pcard--pop .landing-pdesc {
  color: rgba(255, 255, 255, 0.75);
}
.landing-plist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin: 0;
  padding: 0;
}
.landing-plist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.83em;
  color: var(--text-mid);
  line-height: 1.5;
}
.landing-pcard--pop .landing-plist li {
  color: rgba(255, 255, 255, 0.9);
}
.landing-plist li i {
  font-size: 16px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 1px;
}
.landing-pcard--pop .landing-plist li i {
  color: rgba(255, 255, 255, 0.8);
}
.landing-plist li.off {
  color: #bbb;
}
.landing-plist li.off i {
  color: #ccc;
}
.landing-pbtn {
  margin-top: 24px;
  width: 100%;
}

.btn-white {
  background: white;
  color: var(--teal-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}
.btn-white:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.btn-pop {
  background: white;
  color: var(--teal-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}
.btn-pop:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

.landing-pnote {
  text-align: center;
  margin-top: 28px;
  font-size: 0.8em;
  color: var(--text-light);
}

/* ── Bottom band (FAQ + CTA + footer) ─────────────────── */

.landing-bottom {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 198, 198, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--white) 28%, var(--white) 100%);
  border-top: 1px solid var(--border);
}

/* ── FAQ ──────────────────────────────────────────────── */

.landing-faq-section {
  padding-bottom: clamp(48px, 6vw, 64px);
}

.landing-faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 48px);
}

.landing-faq__head {
  position: static;
  top: auto;
  max-width: 640px;
}

.landing-faq__intro {
  margin: 0 0 20px;
  font-size: 0.95em;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 52ch;
}

.landing-faq__topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-faq__topics li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84em;
  font-weight: 600;
  color: var(--text-mid);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.landing-faq__topics i {
  font-size: 18px;
  color: var(--teal);
}

.landing-faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.landing-faq__item {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.landing-faq__item:hover {
  border-color: rgba(0, 128, 128, 0.22);
  box-shadow: 0 6px 22px rgba(0, 128, 128, 0.08);
}

.landing-faq__item[open] {
  border-color: rgba(0, 128, 128, 0.32);
  box-shadow: 0 10px 32px rgba(0, 128, 128, 0.12);
  background: var(--white);
}

.landing-faq__item summary {
  font-weight: 700;
  font-size: 0.9em;
  cursor: pointer;
  color: var(--text-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  user-select: none;
  transition: background 0.2s ease;
}

.landing-faq__item summary:hover {
  background: rgba(224, 247, 247, 0.45);
}

.landing-faq__item[open] summary {
  background: rgba(224, 247, 247, 0.35);
  border-bottom: 1px solid rgba(205, 232, 232, 0.8);
}

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

.landing-faq__q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.landing-faq__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.72em;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 0.22s ease, color 0.22s ease;
}

.landing-faq__item[open] .landing-faq__num {
  background: var(--teal);
  color: white;
}

.landing-faq__text {
  line-height: 1.45;
  padding-top: 5px;
}

.landing-faq__toggle {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal-light);
  transition: background 0.22s ease, transform 0.22s ease;
}

.landing-faq__toggle i {
  color: var(--teal);
  font-size: 20px;
  transition: transform 0.22s ease;
}

.landing-faq__item[open] .landing-faq__toggle {
  background: rgba(0, 128, 128, 0.14);
}

.landing-faq__item[open] .landing-faq__toggle i {
  transform: rotate(180deg);
}

.landing-faq__answer {
  padding: 0 18px 18px 18px;
}

@media (min-width: 641px) {
  .landing-faq__answer {
    padding-left: 64px;
  }
}

.landing-faq__answer p {
  font-size: 0.88em;
  color: var(--text-mid);
  line-height: 1.72;
  margin: 0;
}

/* ── CTA band ─────────────────────────────────────────── */

.landing-cta {
  padding: clamp(8px, 2vw, 16px) clamp(20px, 4vw, 48px) clamp(56px, 7vw, 80px);
  position: relative;
}

.landing-cta__panel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(0, 198, 198, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(0, 128, 128, 0.28) 0%, transparent 50%),
    linear-gradient(152deg, #007575 0%, #005656 42%, #003838 100%);
  box-shadow:
    0 2px 4px rgba(0, 40, 40, 0.04),
    0 20px 48px rgba(0, 64, 64, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.landing-cta__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.landing-cta__grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(135deg, black 20%, transparent 70%);
  -webkit-mask-image: linear-gradient(135deg, black 20%, transparent 70%);
}

.landing-cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.landing-cta__orb--a {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -40px;
  background: rgba(0, 220, 220, 0.2);
}

.landing-cta__orb--b {
  width: 220px;
  height: 220px;
  bottom: -100px;
  left: 12%;
  background: rgba(0, 160, 160, 0.16);
}

.landing-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 52px);
}

.landing-cta__main .app-section-label {
  color: rgba(255, 255, 255, 0.72);
}

.landing-cta__main .app-section-label::before {
  background: rgba(255, 255, 255, 0.5);
}

.landing-cta__main .app-page-title {
  color: white;
  margin-bottom: 12px;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  line-height: 1.12;
}

.landing-cta__lede {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
  max-width: 48ch;
}

.landing-cta__pills {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-cta__pills li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.landing-cta__pills i {
  font-size: 16px;
  opacity: 0.88;
}

.landing-cta__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 32px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-cta__stat {
  flex: 1 1 0;
  min-width: 100px;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-cta__stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.landing-cta__stat dt {
  font-family: 'DM Serif Display', serif;
  font-size: 1.65rem;
  font-weight: 400;
  color: white;
  line-height: 1.1;
  margin: 0;
}

.landing-cta__stat-infinity {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.landing-cta__stat dd {
  margin: 4px 0 0;
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.02em;
}

.landing-cta__aside {
  display: flex;
  justify-content: flex-end;
}

.landing-cta__card {
  width: 100%;
  max-width: 320px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 32px rgba(0, 32, 32, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.landing-cta__card-label {
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.landing-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-cta__actions .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 0.92em;
}

.landing-cta__btn-primary {
  box-shadow: 0 4px 16px rgba(0, 128, 128, 0.28);
}

.landing-cta__btn-secondary {
  color: var(--teal-dark);
  border-color: rgba(0, 128, 128, 0.35);
}

.landing-cta__btn-secondary:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.landing-cta__card-note {
  margin: 16px 0 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text-light);
  text-align: center;
}

/* ── Landing footer ───────────────────────────────────── */

body.landing-page .landing-footer {
  margin-top: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 128, 128, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #001818 0%, #000c0c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(48px, 5vw, 64px) clamp(20px, 4vw, 48px) clamp(28px, 3vw, 36px);
}

.landing-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.landing-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.landing-footer__logo-link:hover .landing-footer__brand-name {
  color: rgba(255, 255, 255, 0.92);
}

.landing-footer__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-footer__logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.landing-footer__brand-name {
  font-family: 'DM Serif Display', serif;
  color: white;
  font-size: 1.05rem;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.landing-footer__tagline {
  margin: 14px 0 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.48);
  max-width: 32ch;
}

.landing-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.landing-footer__col-title {
  margin: 0 0 14px;
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.landing-footer__col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-footer__col a {
  margin-right: 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.2s ease;
  width: fit-content;
}

.landing-footer__col a:hover {
  color: white;
}

.landing-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: clamp(20px, 3vw, 28px);
}

.landing-footer__copy {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.36);
}

.landing-footer__legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.landing-footer__legal a {
  margin-right: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-footer__legal a:hover {
  color: white;
}

/* ── Reveal animation ─────────────────────────────────── */

@keyframes landing-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes landing-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.landing-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}
.landing-reveal.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .landing-reveal {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .btn:hover,
  .landing-card:hover,
  .landing-mcard:hover,
  .landing-pcard:hover {
    transform: none;
  }
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 1200px) {
  .landing-card-grid,
  .landing-diff-grid,
  .landing-more-grid,
  .landing-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-written-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-written-grid .landing-card--wide {
    grid-column: span 2;
  }
  .landing-hero__metrics {
    max-width: 420px;
    margin: 0 auto;
  }
  .landing-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .landing-flow::before {
    display: none;
  }
  .landing-trust-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .landing-hero__shell {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .landing-hero h1,
  .landing-hero__title {
    max-width: none;
  }
  .landing-faq {
    gap: 28px;
  }

  .landing-faq__head {
    max-width: none;
  }

  .landing-faq__intro {
    max-width: none;
  }

  .landing-cta__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: clamp(32px, 5vw, 44px) clamp(24px, 4vw, 36px);
  }

  .landing-cta__aside {
    justify-content: stretch;
  }

  .landing-cta__card {
    max-width: none;
  }

  .landing-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .landing-footer__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .landing-scenario-strip {
    grid-template-columns: 1fr;
  }
  .landing-tool-row {
    grid-template-columns: 1fr;
  }

  .landing-compare__board {
    grid-template-columns: 1fr 1fr;
    padding: 8px;
    column-gap: 8px;
  }

  .landing-compare__head--features {
    display: none;
  }

  .landing-compare__head--typical {
    grid-column: 1;
  }

  .landing-compare__head--platform {
    grid-column: 2;
  }

  .landing-compare__row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 8px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
  }

  .landing-compare__label {
    border: none;
    border-bottom: 1px solid var(--border);
    background: #f3f6f6 !important;
    min-height: auto;
    padding: 10px 14px;
  }

  .landing-compare__cell {
    border: none;
    min-height: auto;
  }

  .landing-compare__cell--typical {
    border-bottom: 1px solid var(--border);
  }

  .landing-compare__board > .landing-compare__row:last-of-type .landing-compare__label,
  .landing-compare__board > .landing-compare__row:last-of-type .landing-compare__cell {
    border-radius: 0;
  }

  .landing-compare__board > .landing-compare__row:nth-of-type(even) {
    background: transparent;
  }
}

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

  body.landing-page > header.landing-header {
    min-height: 80px;
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }

  body.landing-page .logo {
    max-width: none;
  }

  body.landing-page .logo-tagline {
    display: none;
  }

  body.landing-page .logo-mark {
    width: 56px;
    height: 56px;
  }

  .landing-nav {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: var(--teal-deep);
    padding: 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .landing-nav.active {
    display: flex;
  }
  .landing-nav > a {
    font-size: 1.05rem;
    padding: 14px 20px;
  }
  .landing-nav-sign-in,
  .landing-nav-cta,
  .landing-nav-dashboard {
    display: inline-flex;
    margin-top: 8px;
  }
  .landing-nav-cta {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.32);
  }
  .landing-nav-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
    line-height: 0;
  }
  .landing-nav-close i {
    color: white;
    font-size: 28px;
  }

  body.landing-page .hamburger {
    display: block;
    position: relative;
    z-index: 1001;
  }

  .landing-header__actions .landing-sign-in,
  .landing-header__actions .landing-header-cta,
  .landing-header__actions .landing-dashboard-link {
    display: none;
  }

  body.landing-page:has(.app-account-bar.is-visible) .landing-nav-dashboard {
    display: inline-flex;
  }
  body.landing-page:has(.app-account-bar.is-visible) .landing-nav-sign-in {
    display: none;
  }

  body.landing-page.landing-auth .landing-header__actions {
    display: none;
  }

  body.landing-page.landing-auth .landing-nav-account {
    display: flex;
  }

  body.landing-page.landing-auth .landing-nav > a.landing-nav-dashboard {
    display: none;
  }

  body.landing-page.landing-auth > header.landing-header {
    height: auto;
    min-height: 80px;
    padding-left: 16px;
    padding-right: 12px;
    gap: 8px;
  }

  body.landing-page.landing-auth .logo {
    max-width: min(320px, calc(100vw - 64px));
    flex: 1 1 auto;
  }

  body.landing-page.landing-auth .hamburger {
    flex-shrink: 0;
  }

  .landing-card-grid,
  .landing-diff-grid,
  .landing-more-grid,
  .landing-pricing-grid,
  .landing-written-grid {
    grid-template-columns: 1fr;
  }
  .landing-written-grid .landing-card--wide {
    grid-column: span 1;
  }
  .landing-pcard--pop {
    transform: none;
  }
  .landing-pcard--pop:hover {
    transform: translateY(-4px);
  }
  .landing-tabs {
    flex-wrap: wrap;
    width: 100%;
  }
  .landing-flow {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  body.landing-page > header.landing-header {
    min-height: 68px;
  }

  body.landing-page.landing-auth > header.landing-header {
    min-height: 68px;
    padding-left: 12px;
    padding-right: 12px;
  }

  body.landing-page.landing-auth .logo-mark {
    width: 50px;
    height: 50px;
  }

  body.landing-page .logo-mark {
    width: 50px;
    height: 50px;
  }

  .landing-hero__actions {
    flex-direction: column;
  }
  .landing-hero__actions .btn {
    justify-content: center;
    width: 100%;
  }
  .landing-flow {
    grid-template-columns: 1fr;
  }
  .landing-trust-bar__inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .landing-faq__answer {
    padding-left: 20px;
  }
  .landing-faq__topics {
    flex-direction: column;
  }
  .landing-cta__stats {
    gap: 16px;
  }

  .landing-cta__stat {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 0;
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    text-align: center;
  }

  .landing-footer__columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .landing-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
