:root {
  --bg: #f6f1e8;
  --bg-alt: #efe5d4;
  --surface: rgba(255, 252, 245, 0.82);
  --surface-strong: #fffaf0;
  --ink: #1d2a28;
  --muted: #5a6c67;
  --line: rgba(29, 42, 40, 0.12);
  --brand: #145c50;
  --brand-strong: #0d473e;
  --accent: #c96f4a;
  --accent-soft: #f0cbb7;
  --moss: #b8c6a2;
  --sand: #e5c790;
  --coral: #e89b7d;
  --shadow: 0 24px 60px rgba(52, 43, 24, 0.12);
  --radius: 24px;
  --radius-sm: 18px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 111, 74, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(20, 92, 80, 0.18), transparent 24%),
    linear-gradient(180deg, #fbf7ef 0%, var(--bg) 42%, #f4ede3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(29, 42, 40, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 42, 40, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(36, 30, 17, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(20, 92, 80, 0.08);
}

.nav-cta {
  color: #fff !important;
  background: var(--brand);
}

.nav-cta:hover {
  background: var(--brand-strong) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(20, 92, 80, 0.1);
  color: var(--ink);
  font: inherit;
}

.section {
  margin-top: 28px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-compact {
  padding-block: 20px;
}

.section-alt {
  background: linear-gradient(180deg, rgba(239, 229, 212, 0.9), rgba(255, 250, 240, 0.92));
}

.section-dark {
  color: #f7f2e8;
  background:
    radial-gradient(circle at top left, rgba(232, 155, 125, 0.3), transparent 28%),
    linear-gradient(135deg, #173530 0%, #204944 54%, #35564d 100%);
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - 180px);
}

.home-page .hero {
  grid-template-columns: 1fr;
  min-height: auto;
}

.page-hero {
  text-align: left;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.cta-band .eyebrow {
  color: rgba(255, 244, 232, 0.82);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: "Fraunces", serif;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  /* max-width: 12ch; */
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 14ch;
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
  line-height: 1.65;
}

.hero-lead,
.page-lead,
.section-heading p {
  color: var(--muted);
  max-width: 68ch;
}

.hero-copy,
.hero-panel,
.metric-card,
.stack-card,
.feature-card,
.info-card,
.proof-card,
.detail-card,
.module-card,
.use-case-card,
.demo-card,
.contact-form,
.reference-item {
  position: relative;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.home-flow {
  max-width: 820px;
}

.hero-actions,
.cta-band-actions,
.press-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 39, 35, 0.12);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #0f7464 100%);
}

.button-secondary {
  border-color: rgba(20, 92, 80, 0.18);
  background: rgba(255, 255, 255, 0.6);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-points li::before,
.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(201, 111, 74, 0.12);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.metric-card,
.stack-card,
.info-card,
.feature-card,
.proof-card,
.detail-card,
.module-card,
.use-case-card,
.demo-card,
.contact-form,
.reference-item {
  padding: 24px;
  border: 1px solid rgba(29, 42, 40, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 248, 0.7);
}

.metric-card::after,
.stack-card::after,
.info-card::after,
.feature-card::after,
.proof-card::after,
.detail-card::after,
.module-card::after,
.use-case-card::after,
.demo-card::after,
.contact-form::after,
.reference-item::after {
  content: "";
  position: absolute;
  inset: auto -30% -30% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 92, 80, 0.1), transparent 70%);
}

.metric-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 3rem;
  font-weight: 800;
}

.metric-label {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stack-card {
  display: grid;
  gap: 16px;
}

.stack-card div,
.timeline article,
.module-grid article,
.feature-card,
.proof-card,
.detail-card,
.module-card,
.use-case-card,
.demo-note,
.reference-item {
  display: grid;
  gap: 10px;
}

.stack-card span,
.timeline span {
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-page .trust-strip,
.home-page .home-stack,
.home-page .home-timeline,
.home-page .press-list,
.home-page .cta-band-actions {
  grid-template-columns: 1fr;
}

.home-page .trust-strip,
.home-page .press-list,
.home-page .cta-band,
.home-page .site-footer {
  display: grid;
  gap: 16px;
}

.home-page .hero-actions,
.home-page .press-list,
.home-page .cta-band-actions {
  display: grid;
  width: 100%;
}

.home-page .hero-actions .button,
.home-page .press-list a,
.home-page .cta-band-actions .button {
  width: 100%;
}

.home-page .hero-summary {
  max-width: 420px;
}

.home-feature {
  display: grid;
  gap: 14px;
}

.home-feature-illustration {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 2;
  }

.home-feature-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.home-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(29, 42, 40, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.home-page .module-grid article {
  min-height: auto;
}

.home-page .home-dark-stack {
  display: grid;
  gap: 18px;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.section-heading.narrow h2 {
  max-width: 11ch;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

.accent-moss {
  background: linear-gradient(180deg, rgba(184, 198, 162, 0.34), rgba(255, 252, 245, 0.72));
}

.accent-sand {
  background: linear-gradient(180deg, rgba(229, 199, 144, 0.34), rgba(255, 252, 245, 0.72));
}

.accent-coral {
  background: linear-gradient(180deg, rgba(232, 155, 125, 0.34), rgba(255, 252, 245, 0.72));
}

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

.timeline article {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid rgba(29, 42, 40, 0.1);
}

.timeline span {
  color: var(--brand);
  font-size: 0.9rem;
}

.module-grid article {
  min-height: 180px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-grid,
.detailed-grid,
.use-case-grid,
.form-layout {
  align-items: stretch;
}

.proof-card.tall,
.detail-card,
.demo-card,
.contact-form {
  min-height: 100%;
}

.press-list a {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(20, 92, 80, 0.08);
  color: var(--brand-strong);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #102d29 100%);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 6px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.home-page .cta-band {
  align-items: flex-start;
  justify-content: flex-start;
}

.reference-list {
  display: grid;
  gap: 14px;
}

.reference-item {
  transition: transform 180ms ease, border-color 180ms ease;
}

.reference-item:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 92, 80, 0.22);
}

.home-reference-card {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.9);
}

.communication-shell {
  width: min(calc(100% - 32px), 920px);
  padding: 56px 0 48px;
}

.communication-section {
  display: grid;
  gap: 24px;
}

.communication-title {
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.communication-list {
  display: grid;
  gap: 18px;
}

.communication-anchor {
  display: block;
  height: 1px;
}

.communication-item {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(29, 42, 40, 0.12);
  border-radius: 24px;
  background: rgba(255, 252, 245, 0.86);
  box-shadow: 0 16px 34px rgba(52, 43, 24, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.communication-item:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 92, 80, 0.24);
  box-shadow: 0 20px 40px rgba(52, 43, 24, 0.12);
}

.communication-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(29, 42, 40, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(239, 229, 212, 0.92), rgba(255, 250, 240, 0.96));
}

.communication-thumb-cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.communication-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.communication-thumb-logo img {
  object-fit: contain;
  padding: 28px;
}

.communication-copy {
  display: grid;
  gap: 8px;
}

.communication-type {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.communication-copy h2 {
  max-width: none;
  font-family: "Fraunces", serif;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.communication-source {
  color: var(--muted);
  font-size: 0.98rem;
}

.reference-item strong {
  font-size: 1rem;
}

.form-layout {
  grid-template-columns: 0.92fr 1.08fr;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.demo-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(20, 92, 80, 0.08);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.audio-controls,
.demo-inline-meta,
.alignment-legend,
.result-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.reading-demo-form audio {
  width: 100%;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 92, 80, 0.12);
  color: var(--brand-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.status-badge-muted {
  background: rgba(29, 42, 40, 0.08);
  color: var(--muted);
}

.status-badge-error {
  background: rgba(201, 111, 74, 0.18);
  color: #8a3f20;
}

.result-grid {
  margin-top: 24px;
}

.result-card {
  flex: 1 1 180px;
  min-height: 150px;
}

.result-label {
  color: var(--muted);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-value {
  display: block;
  margin-top: 14px;
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: var(--brand-strong);
}

.result-layout {
  margin-top: 18px;
}

.result-panel {
  min-height: 180px;
}

.alignment-card {
  margin-top: 20px;
}

.alignment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.alignment-token {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(29, 42, 40, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.alignment-token strong,
.alignment-token span,
.alignment-token small {
  display: block;
}

.alignment-token strong {
  font-size: 1rem;
}

.alignment-token span {
  color: var(--muted);
}

.alignment-token small {
  color: var(--brand-strong);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.alignment-token.is-match {
  border-color: rgba(20, 92, 80, 0.22);
  background: rgba(184, 198, 162, 0.34);
}

.alignment-token.is-substitution {
  border-color: rgba(201, 111, 74, 0.26);
  background: rgba(240, 203, 183, 0.5);
}

.alignment-token.is-insertion {
  border-color: rgba(232, 155, 125, 0.28);
  background: rgba(232, 155, 125, 0.2);
}

.alignment-token.is-deletion {
  border-color: rgba(29, 42, 40, 0.18);
  background: rgba(29, 42, 40, 0.06);
}

.alignment-empty {
  color: var(--muted);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(29, 42, 40, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(20, 92, 80, 0.22);
  border-color: rgba(20, 92, 80, 0.3);
}

.form-disclaimer {
  color: var(--muted);
  font-size: 0.92rem;
}

.demo-page {
  min-width: 430px;
  min-height: 100vh;
  overflow: auto;
}

.demo-shell {
  display: grid;
  min-height: 100vh;
  padding-bottom: 0;
}

.demo-header {
  position: sticky;
  top: 16px;
}

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

.demo-page-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 108px);
  padding: 24px 20px 32px;
}

.phone-shell-wrap {
  display: flex;
  justify-content: center;
}

.phone-shell-wrap-solo {
  width: 100%;
}

.phone-shell {
  position: relative;
  width: 390px;
  min-height: 790px;
  padding: 14px;
  border-radius: 42px;
  background: linear-gradient(160deg, #1a1d22 0%, #2f3540 100%);
  box-shadow:
    0 30px 70px rgba(18, 19, 21, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -4px 12px rgba(0, 0, 0, 0.22);
}

.phone-shell::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.phone-screen {
  min-height: 728px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(20, 92, 80, 0.18), transparent 30%),
    linear-gradient(180deg, #f7f2e8 0%, #efe6d7 100%);
}

.phone-shell-static {
  flex: 0 0 auto;
}

.phone-screen-static {
  min-height: 762px;
}

.app-root {
  height: 100%;
}

.app-screen {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 728px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
}

.app-header-title {
  font-size: 1rem;
  font-weight: 800;
}

.app-header-subtitle {
  color: var(--muted);
  font-size: 0.82rem;
}

.app-icon-button,
.app-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid rgba(29, 42, 40, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font: inherit;
}

.app-back-button {
  gap: 8px;
  padding: 0 12px;
}

.app-body {
  display: grid;
  gap: 16px;
  padding: 8px 18px 18px;
  align-content: start;
}

.app-panel {
  padding: 18px;
  border: 1px solid rgba(29, 42, 40, 0.1);
  border-radius: 24px;
  background: rgba(255, 251, 245, 0.74);
  box-shadow: 0 12px 28px rgba(45, 36, 20, 0.08);
}

.app-panel-dark {
  color: #fff;
  background: linear-gradient(135deg, #145c50 0%, #18403b 100%);
}

.app-login {
  display: grid;
  align-content: center;
  gap: 18px;
  height: 100%;
  padding: 22px;
}

.app-login .app-panel {
  padding: 24px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: rgba(20, 92, 80, 0.14);
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 800;
}

.app-form {
  display: grid;
  gap: 14px;
}

.app-form label {
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 700;
}

.app-form input,
.app-form select,
.app-form textarea,
.app-inline-select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(29, 42, 40, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.app-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand) 0%, #0f7464 100%);
  color: #fff;
  font: inherit;
  font-weight: 800;
}

.app-button-secondary {
  background: rgba(20, 92, 80, 0.08);
  color: var(--brand-strong);
}

.app-button-danger {
  background: linear-gradient(135deg, #ce624a 0%, #b84c36 100%);
}

.app-button:disabled {
  opacity: 0.7;
}

.app-muted {
  color: var(--muted);
}

.app-student-list,
.app-actions,
.app-reading-text,
.app-result-list {
  display: grid;
  gap: 12px;
}

.app-student-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(29, 42, 40, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.app-student-meta {
  display: grid;
  gap: 4px;
}

.app-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.status-pending {
  color: #8c5a17;
  background: #f8ecd1;
}

.status-progress {
  color: #145c50;
  background: rgba(20, 92, 80, 0.12);
}

.status-completed {
  color: #2d7045;
  background: #d9f0dc;
}

.app-reading-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(252, 244, 233, 0.9));
  border: 1px solid rgba(29, 42, 40, 0.08);
}

.app-reading-label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-reading-text {
  font-size: 1.12rem;
  line-height: 1.85;
}

.app-record-panel {
  display: grid;
  gap: 14px;
  text-align: center;
}

.app-timer {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.app-timer-ring {
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 252, 245, 0.98) 58%, transparent 59%),
    conic-gradient(var(--brand) calc(var(--progress, 0) * 1%), rgba(20, 92, 80, 0.12) 0);
}

.app-timer-value {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.app-wave {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: end;
  gap: 5px;
  height: 52px;
}

.app-wave span {
  display: block;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(20, 92, 80, 0.9), rgba(201, 111, 74, 0.58));
  animation: wavePulse 1.1s ease-in-out infinite;
  transform-origin: bottom center;
}

.app-wave span:nth-child(2n) {
  animation-duration: 1.4s;
}

.app-wave span:nth-child(3n) {
  animation-duration: 1.7s;
}

.app-helper-text {
  font-size: 0.84rem;
  color: var(--muted);
}

.app-result-score {
  display: grid;
  gap: 6px;
  text-align: center;
}

.app-result-score strong {
  font-size: 3rem;
  line-height: 1;
}

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

.app-result-item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(20, 92, 80, 0.08);
}

.app-alignment-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.app-alignment-line {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.app-alignment-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.app-alignment-label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-alignment-token {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(29, 42, 40, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
}

.app-alignment-token.is-match {
  border-color: rgba(45, 112, 69, 0.18);
  background: rgba(217, 240, 220, 0.98);
  color: #2d7045;
}

.app-alignment-token.is-empty {
  color: var(--muted);
  background: rgba(29, 42, 40, 0.04);
}

.app-audio-panel {
  gap: 10px;
}

.app-audio-player {
  width: 100%;
  height: 42px;
}

.app-bottom-note {
  display: none;
}

@keyframes wavePulse {
  0%,
  100% {
    transform: scaleY(0.45);
    opacity: 0.72;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal-delay-1 {
  transition-delay: 120ms;
}

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

@media (max-width: 1080px) {
  .hero,
  .grid-4,
  .grid-5,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .trust-strip,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--content));
  }

  .site-header {
    top: 10px;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .nav-cta {
    text-align: center;
  }

  .section {
    padding: 28px 20px;
    border-radius: 22px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  h2 {
    max-width: 100%;
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .hero,
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .timeline {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    width: 390px;
  }

  .app-result-list {
    grid-template-columns: 1fr;
  }

  .app-alignment-panel {
    grid-template-columns: 1fr;
  }

  .button,
  .hero-actions .button,
  .cta-band-actions .button,
  .audio-controls .button {
    width: 100%;
  }

  .hero-actions,
  .cta-band-actions,
  .press-list {
    width: 100%;
  }
}

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

  .reveal,
  .reveal-delay-1,
  .button,
  .site-nav a,
  .reference-item {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}