/* Heritage AI v4 mockup replica layer */

:root {
  --paper: #F4EFE5;
  --paper-deep: #EDE5D4;
  --ink: #1A130A;
  --ink-2: #5B4F3A;
  --ink-3: #6F624C;
  --dark: #161009;
  --dark-2: #1F1810;
  --ivory: #F4EFE5;
  --ivory-72: rgba(244, 239, 229, 0.72);
  --ivory-45: rgba(244, 239, 229, 0.45);
  --gold: #C9A961;
  --gold-line: rgba(201, 169, 97, 0.32);
  --gold-soft: rgba(201, 169, 97, 0.1);
  --bg-primary: var(--paper);
  --bg-secondary: var(--paper);
  --bg-tertiary: var(--paper-deep);
  --bg-elevated: var(--paper);
  --border-subtle: var(--gold-line);
  --border-strong: rgba(201, 169, 97, 0.48);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-2);
  --text-tertiary: var(--ink-3);
  --accent: var(--gold);
  --accent-text: #765C24;
  --accent-hover: #D9BC78;
  --accent-soft: var(--gold-soft);
  --accent-line: var(--gold-line);
  --max-content: 1280px;
  --section-py: clamp(72px, 9vw, 140px);
  --section-py-mobile: 72px;
  --radius-card: 0;
  --radius-btn: 2px;
  --radius-pill: 2px;
}

html.theme-light-warm {
  --text-tertiary: var(--ink-3);
}

html,
body {
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

.container {
  max-width: var(--max-content);
  padding-left: clamp(20px, 4.5vw, 72px);
  padding-right: clamp(20px, 4.5vw, 72px);
}

section {
  background: var(--paper);
}

.display {
  font-size: clamp(34px, 5.6vw, 84px);
  line-height: 1.06;
}

.h-section {
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.06;
}

.body-lg,
.body {
  color: var(--ink-2);
}

.eyebrow,
.mono-label,
.how-num,
.release-num,
.seg-num,
.faq-q-num {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 6px 11px;
  border-radius: 0;
}

.eyebrow::before {
  display: none;
}

.btn {
  min-height: 0;
  height: auto;
  padding: 15px 30px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  border-color: var(--gold-line);
  color: inherit;
}

.card,
.card-elevated,
.how-card,
.feat-card,
.release-card,
.ai-card,
.pricing-tier,
.pricing-card,
.seg-card,
.faq-item,
.plat-surface,
.app-exp-screen-group,
.app-exp-screen-card,
.page-card {
  border-radius: 0;
  background: var(--paper);
  border: 1px solid var(--gold-line);
  box-shadow: none;
}

.section-head,
.problem-head,
.sec-copy,
.app-exp-copy {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
  max-width: none;
  margin-bottom: clamp(36px, 5vw, 72px);
}

.section-head::before,
.problem-head::before,
.sec-copy::before,
.app-exp-copy::before {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  background: var(--gold-line);
}

.section-head > .eyebrow,
.problem-head > .eyebrow,
.sec-copy > .eyebrow,
.app-exp-copy > .eyebrow {
  grid-column: 1 / -1;
}

.section-head .h-section,
.problem-head .h-section,
.sec-copy .h-section,
.app-exp-copy .h-section {
  max-width: 13ch;
}

.section-head .body-lg,
.problem-head .body-lg,
.sec-copy .body-lg,
.app-exp-copy .body-lg {
  margin-top: 0 !important;
  align-self: start;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.65;
}

.hd {
  position: fixed;
  inset: 0 0 auto;
  background: linear-gradient(rgba(22, 16, 9, 0.55), transparent);
  border: 0;
  padding: 22px 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hd-scrolled {
  background: rgba(22, 16, 9, 0.86);
  border-bottom: 1px solid rgba(201, 169, 97, 0.18);
}

.hd-inner {
  min-height: 0;
  grid-template-columns: auto auto 1fr;
  justify-content: start;
  column-gap: 26px;
}

.hd-brand {
  justify-self: start;
  order: -1;
  gap: 0;
  color: var(--ivory);
}

.hd-brand svg {
  display: none;
}

.hd-wordmark {
  font-size: 22px;
  color: var(--ivory);
  letter-spacing: -0.02em;
}

.hd-ai {
  color: var(--gold);
}

.hd-left {
  order: 0;
  justify-self: start;
}

.hd-right {
  order: 0;
  justify-self: end;
  gap: 8px;
}

.hd-menu-trigger,
.hd-language-trigger,
.hd-auth-card {
  min-height: 0;
  border: 0;
  background: transparent;
  color: var(--ivory-72);
  padding: 9px 14px;
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 500;
  min-width: 44px;
  min-height: 44px;
}

.hd-menu-trigger span:not(.hd-menu-lines),
.hd-menu-trigger svg {
  display: none;
}

.hd-menu-lines {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.hd-menu-lines i {
  display: block;
  height: 1px;
  background: var(--ivory-72);
}

.hd-signin {
  display: inline-flex;
  color: var(--ivory-72);
}

.hd-signin:hover { color: var(--ivory); }

.hd-language-trigger {
  padding-left: 8px;
  padding-right: 8px;
}

.hd-cta {
  background: var(--gold);
  color: var(--dark);
  padding: 11px 22px;
  border-radius: 2px;
}

.hd-menu-panel,
.hd-language-panel {
  background: var(--dark);
  border-color: rgba(201, 169, 97, 0.28);
  border-radius: 0;
}

.hd-menu-panel a,
.hd-language-panel button {
  color: var(--ivory-72);
}

.hero {
  min-height: min(100vh, 920px);
  height: auto;
  display: flex;
  align-items: flex-end;
  padding: clamp(110px, 16vh, 160px) 0 0;
  background: var(--dark);
  --text-primary: var(--ivory);
  --text-secondary: var(--ivory-72);
  --text-tertiary: var(--ivory-45);
  --accent-text: var(--accent);
}

.v4-hero-media {
  z-index: 0;
}

.hero-bg {
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(22, 16, 9, 0.68) 0%, rgba(22, 16, 9, 0.38) 42%, transparent 70%),
    linear-gradient(
    180deg,
    rgba(22, 16, 9, 0.42) 0%,
    rgba(22, 16, 9, 0.12) 38%,
    rgba(22, 16, 9, 0.62) 74%,
    rgba(22, 16, 9, 0.88) 100%
  );
}

.hero::before {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: block;
  max-width: var(--max-content);
  margin-inline: auto;
  padding-top: 0;
  padding-bottom: clamp(48px, 6vw, 84px);
}

.hero-copy {
  align-items: flex-start;
  text-align: start;
  gap: 0;
  max-width: none;
  position: relative;
}

.hero-copy .display,
.hero-copy .body-lg {
  text-shadow: 0 1px 18px rgba(22, 16, 9, 0.95), 0 0 2px rgba(22, 16, 9, 0.8);
}

.hero .badge-gold {
  height: auto;
  padding: 0;
  margin-bottom: 22px;
  background: transparent;
  border: 0;
  color: var(--ivory-45);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .badge-gold .mk-dot {
  display: none;
}

.hero .display {
  max-width: 15ch;
  color: var(--ivory);
}

.hero .display br:nth-of-type(2),
.hero-h3 {
  display: none;
}

.hero .body-lg {
  max-width: 52ch;
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ivory);
  opacity: 1;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  align-items: center;
  flex-wrap: wrap;
}

/* !important: theme.css ha html.theme-* .btn-secondary a specificità più alta */
.hero-actions .btn-secondary {
  color: var(--ivory) !important;
  background: rgba(22, 16, 9, 0.35) !important;
  border: 1px solid rgba(244, 239, 229, 0.35) !important;
}

.hero-actions .btn-secondary:hover {
  background: rgba(22, 16, 9, 0.55) !important;
  border-color: rgba(244, 239, 229, 0.6) !important;
  color: var(--ivory) !important;
}

.hero-micro {
  display: none;
}

.hero-video {
  position: relative;
  width: 100%;
  margin: 0;
  z-index: 1;
}

.hero-video-frame {
  position: relative;
  border: 1px solid rgba(201, 169, 97, 0.35);
  background: var(--dark);
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.hero-video-frame video {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover;
}

.hero-video-unmute {
  position: absolute;
  right: 8px;
  bottom: 8px;
  top: auto;
  left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 2px;
  background: rgba(22, 16, 9, 0.78);
  border: 1px solid rgba(201, 169, 97, 0.35);
  color: var(--ivory);
}

.hero-video-controls {
  position: absolute;
  left: 8px;
  bottom: 8px;
  top: auto;
  right: auto;
  display: flex;
  gap: 6px;
}

.hero-video-control {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 0;
  border-radius: 2px;
  background: rgba(22, 16, 9, 0.78);
  border: 1px solid rgba(201, 169, 97, 0.35);
  color: var(--ivory);
}

.hero-video figcaption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.45);
  text-align: start;
}

.problem-head {
  margin-bottom: clamp(36px, 5vw, 72px);
}

.problem-founder-video {
  grid-column: 2;
  align-self: center;
  max-width: 520px;
  justify-self: stretch;
}

.problem-founder-video figcaption {
  color: var(--ink-3);
}

.problem-body-full {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none !important;
  text-align: justify;
  text-wrap: pretty;
}

.section-head--full {
  grid-template-columns: 1fr;
}

.section-head--full .h-section,
.section-head--full .body-lg {
  max-width: none;
  width: 100%;
}

.problem-stats,
.how-grid,
.feat-grid,
.sec-pillars,
.ai-grid,
.release-grid,
.pricing-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
}

.problem-stats,
.problem-flow,
.problem-closing,
.problem-video,
.problem-process-figure {
  margin-top: clamp(36px, 5vw, 64px);
}

.problem-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
}

.problem-stat,
.how-card,
.feat-card,
.sec-pillar,
.ai-card,
.release-card {
  min-height: 0;
  padding: 30px 26px 38px;
  background: var(--paper);
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  gap: 10px;
}

.how-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(36px, 5vw, 64px);
}

.how-connector,
.how-illus,
.feat-icon,
.feat-corner,
.pricing-card-top {
  display: none;
}

.how-num,
.release-num {
  position: static;
  background: var(--ink);
  color: var(--paper);
  padding: 6px 11px;
  border-radius: 0;
}

.how-card .h-card,
.release-card .h-card,
.feat-card .h-card,
.sec-pillar .h-card,
.ai-card .h-card {
  font-size: 27px;
  margin: 8px 0 0;
}

.problem-flow {
  border: 1px solid var(--gold-line);
  border-radius: 0;
  background: var(--paper);
}

.problem-flow-step {
  border-radius: 0;
  background: var(--paper);
  border-color: var(--gold-line);
}

.yt-facade-frame,
.problem-process-figure img {
  border-radius: 0;
  border-color: var(--gold-line);
  box-shadow: none;
}

.v4-dark-act {
  background: var(--dark);
  color: var(--ivory);
  --text-tertiary: var(--ivory-45);
  --accent-text: var(--accent);
  padding-bottom: clamp(56px, 6vw, 88px);
}

.v4-engine-loop {
  width: 100%;
  height: 46vw;
  max-height: 640px;
  opacity: 0.34;
  mask-image:
    linear-gradient(105deg, transparent 0%, rgba(0, 0, 0, 0.45) 38%, #000 62%),
    linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(105deg, transparent 0%, rgba(0, 0, 0, 0.45) 38%, #000 62%),
    linear-gradient(180deg, #000 30%, transparent 100%);
  mask-composite: intersect;
}

.v4-dark-act > section {
  background: transparent;
  padding-top: clamp(72px, 9vw, 140px);
}

.v4-dark-act .eyebrow,
.v4-dark-act .mono-label,
.v4-dark-act .release-num {
  background: var(--gold);
  color: var(--dark);
}

.v4-dark-act .h-section,
.v4-dark-act .h-card,
.v4-dark-act .body-lg,
.v4-dark-act .body,
.v4-dark-act .section-inline-link {
  color: var(--ivory);
}

.v4-dark-act .body-lg,
.v4-dark-act .body,
.v4-dark-act .yt-facade figcaption {
  color: var(--ivory-72);
}

.v4-dark-act .section-head::before,
.v4-dark-act .release-card,
.v4-dark-act .yt-facade-frame {
  border-color: rgba(201, 169, 97, 0.25);
}

.v4-dark-act .release-grid {
  background: rgba(201, 169, 97, 0.22);
  border-color: rgba(201, 169, 97, 0.22);
}

.v4-dark-act .release-card,
.v4-dark-act .recovery-card {
  background: #1D1610;
}

.recovery .section-head {
  margin-top: clamp(40px, 5vw, 72px);
}

.v4-recovery-matter {
  display: block;
  margin-top: clamp(36px, 5vw, 64px);
}

.v4-recovery-matter .recovery-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
  border: 0;
}

.v4-recovery-matter .recovery-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 30px 0;
  border-top: 1px solid rgba(201, 169, 97, 0.22);
}

.v4-recovery-matter .recovery-card .h-card {
  grid-column: 2;
  margin: 0 0 8px;
}

.v4-recovery-matter .recovery-card .body {
  grid-column: 2;
  min-width: 0;
}

.v4-recovery-material {
  display: block;
  margin: clamp(40px, 5vw, 56px) 0 0;
  overflow: visible;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.rec-band {
  height: auto;
}

.v4-recovery-material img {
  display: block;
  width: 100%;
  height: clamp(220px, 30vw, 380px);
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(201, 169, 97, 0.25);
  background: #0f0c08;
}

.v4-recovery-material figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-45);
}

.recovery-license {
  margin-top: clamp(40px, 5vw, 64px);
  padding: 26px 30px;
  border: 1px solid var(--gold-line);
  background: rgba(201, 169, 97, 0.07);
  color: var(--ivory) !important;
  font-size: 17px;
  line-height: 1.6;
}

.features {
  padding-top: 0;
}

.v4-proof-band {
  margin: 0 calc(-1 * clamp(20px, 4.5vw, 72px)) clamp(72px, 9vw, 140px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-width: 1px 0;
  border-color: var(--gold-line);
  background: var(--gold-line);
}

.v4-proof-item {
  min-height: 0;
  padding: 46px 32px 50px;
  background: var(--paper);
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.v4-proof-value,
.problem-stat-value {
  max-width: 100%;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.v4-proof-item .body {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 14px;
}

.feat-grid,
.ai-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.security {
  background: var(--paper-deep);
}

.security-bg {
  display: none;
}

.sec-top {
  display: block;
}

.security .sec-pillar,
.security .yt-facade-frame {
  background: var(--paper-deep);
}

.app-exp,
.platforms,
.faq {
  background: var(--paper);
}

.plat-surfaces {
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
}

/* L'head dell'ecosistema esce dalla griglia-banda: torna head di sezione standard */
.app-exp-layout {
  display: block;
  background: transparent;
  border: 0;
  gap: 0;
}

.app-exp-screen-group {
  border-top: 1px solid var(--gold-line);
  padding-top: clamp(28px, 4vw, 48px);
  margin-top: clamp(28px, 4vw, 48px);
}

.plat-surfaces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(36px, 5vw, 64px);
}

.app-exp-screen-group,
.plat-surface {
  background: var(--paper);
  border: 0;
}

.plat-surface {
  padding: 34px 30px 38px;
  border-radius: 0;
}

.plat-surface h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
  font-size: 24px;
}

.plat-surface .badge {
  border-radius: 2px;
  border: 1px solid var(--gold-line);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plat-surface .badge .mk-dot { background: var(--accent) !important; }

.plat-surface .btn {
  border-radius: 2px;
  align-self: flex-start;
}

.ios-notify-input,
.plat-surface input[type="email"] {
  border-radius: 2px;
  border: 1px solid var(--border-strong);
  background: var(--surface-input);
}

.platform-requirements {
  border: 1px solid var(--gold-line);
  border-radius: 0;
  background: transparent;
}

@media (max-width: 880px) {
  .plat-surfaces { grid-template-columns: 1fr; }
}

.seg-grid {
  display: block;
  border-top: 1px solid var(--gold-line);
  margin-top: clamp(36px, 5vw, 64px);
}

.seg-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 4fr) minmax(0, 7fr);
  gap: 24px;
  min-height: 0;
  padding: 28px 0;
  border-style: solid;
  border-width: 0 0 1px;
  border-color: var(--gold-line);
  border-radius: 0;
  background: transparent;
  align-items: baseline;
}

.section-video {
  margin-top: clamp(48px, 6vw, 80px);
}

.seg-tag {
  font-size: 26px;
  line-height: 1.15;
}

.audiences .body-lg,
.audience-note {
  max-width: 62ch;
}

.pricing {
  padding-top: 0;
}

.pricing .section-head-center {
  align-items: flex-start;
  text-align: start;
}

.pricing .section-head-center .h-section,
.pricing .section-head-center .body-lg {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: start !important;
}

.pricing-tier-grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) minmax(0, 5fr);
  margin-top: clamp(36px, 5vw, 64px);
}

.pricing-tier {
  padding: 44px 42px 48px;
  background: var(--paper);
}

.pricing-tier-featured {
  background: var(--dark);
  color: var(--ivory);
}

.pricing-tier-featured .body,
.pricing-tier-featured .pricing-bullets li,
.pricing-tier-featured .caption {
  color: var(--ivory-72);
}

.pricing-tier .h-card {
  font-size: 32px;
  margin: 16px 0 4px;
}

.pricing-toggle {
  justify-content: flex-start;
  background: transparent;
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-radius: 0;
}

.pricing-toggle button {
  border-radius: 0;
}

.pricing-plan-price {
  font-family: var(--font-display);
  font-size: clamp(44px, 4vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
}

.pricing-bullets li {
  color: var(--ink-2);
}

.pricing-bullets li svg {
  display: none;
}

.pricing-bullets li::before {
  top: 17px;
  width: 14px;
  height: 1px;
  border-radius: 0;
  background: var(--gold);
}

.faq-list {
  border-top: 1px solid var(--gold-line);
}

.faq-item {
  border-style: solid;
  border-color: var(--gold-line);
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.faq-q {
  grid-template-columns: 70px minmax(0, 1fr) auto;
  padding: 28px 0;
}

.faq-q-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
}

.cta-final {
  background: var(--dark);
  color: var(--ivory);
  --accent-text: var(--accent);
  text-align: start;
  padding: clamp(72px, 9vw, 140px) 0;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 16, 9, 0.22), rgba(22, 16, 9, 0.9)),
    radial-gradient(60% 90% at 42% 50%, rgba(201, 169, 97, 0.08), transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.v4-cta-loop {
  opacity: 0.3;
}

.cta-seal-bg {
  display: none;
}

.cta-final-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}

.cta-final .display {
  max-width: none !important;
  margin: 20px 0 0 !important;
  text-align: start !important;
  color: var(--ivory);
}

.cta-final .body-lg {
  margin: 24px 0 0 !important;
  text-align: start !important;
  max-width: none;
  width: 100%;
  text-align: justify !important;
  color: var(--ivory-72);
}

.cta-final .pre-register {
  display: none;
}

.cta-final-buttons {
  justify-content: flex-start;
  margin-top: 36px;
}

.cta-final-micro {
  grid-column: auto;
  grid-row: auto;
  align-self: start;
  margin: 0;
  padding-top: 34px;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
  color: var(--ivory-72);
  text-align: start;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  text-transform: none;
  letter-spacing: 0;
}

.sec-copy--center {
  align-items: center;
}

.ft {
  background: var(--dark);
  color: var(--ivory-45);
  --text-tertiary: var(--ivory-45);
  --accent-text: var(--accent);
  border-top: 1px solid rgba(201, 169, 97, 0.18);
}

@media (max-width: 1000px) {
  .problem-stats,
  .how-grid,
  .feat-grid,
  .sec-pillars,
  .ai-grid,
  .release-grid,
  .pricing-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .section-head,
  .problem-head,
  .sec-copy,
  .app-exp-copy,
  .cta-final-inner {
    grid-template-columns: 1fr;
  }

  .seg-card {
    grid-template-columns: 54px 1fr;
  }

  .seg-card .body {
    grid-column: 2;
  }

  .cta-final-micro {
    grid-column: auto;
    grid-row: auto;
  }

  .problem-founder-video,
  .problem-body-full {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .hd-menu-trigger {
    display: flex;
    padding: 9px 8px;
  }

  .hd-auth-card,
  .hd-language-trigger {
    padding: 9px 8px;
    font-size: 13px;
  }

  .hd-cta {
    padding: 10px 14px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .problem-stats,
  .how-grid,
  .feat-grid,
  .sec-pillars,
  .ai-grid,
  .release-grid,
  .pricing-tier-grid,
  .v4-proof-band {
    grid-template-columns: 1fr;
  }
}

/* Approved video frame variant A: this file loads after sections.css. */
.yt-facade-frame,
.problem-founder-video .hero-video-frame,
.app-exp-video-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #E6DCC4;
  box-shadow: 0 14px 40px rgba(26, 19, 10, 0.10);
}

#recovery .yt-facade-frame {
  border: 1px solid rgba(201, 169, 97, 0.18);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}
