:root {
  --ink: #241f21;
  --muted: #6f6361;
  --paper: #fffaf4;
  --paper-strong: #fff4e8;
  --line: rgba(92, 61, 41, 0.16);
  --coral: #ee785e;
  --coral-dark: #cc5a3f;
  --apricot: #f6c890;
  --mint: #cfead9;
  --aqua: #a7d8d7;
  --lilac: #d9cdfa;
  --gold: #d59b45;
  --shadow: 0 24px 80px rgba(88, 54, 35, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(246, 200, 144, 0.3), transparent 32rem),
    radial-gradient(circle at 90% 8%, rgba(167, 216, 215, 0.32), transparent 30rem),
    linear-gradient(180deg, #fff8ef 0%, #fffdf9 45%, #f8fbf8 100%);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(92, 61, 41, 0.1);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.76);
  box-shadow: 0 14px 45px rgba(65, 42, 30, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(255, 250, 244, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), #f4a489);
  box-shadow: inset 0 -10px 18px rgba(123, 58, 36, 0.18);
}

.brand-mark span {
  width: 19px;
  height: 24px;
  border: 4px solid #fff;
  border-radius: 16px 16px 8px 8px;
  border-bottom-color: transparent;
  position: relative;
}

.brand-mark span::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 7px;
  width: 4px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.header-cta {
  border-radius: 999px;
  padding: 10px 14px;
  color: #514644;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a:hover {
  background: rgba(238, 120, 94, 0.1);
  color: var(--coral-dark);
}

.header-cta {
  color: #fff;
  background: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.section {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) minmax(460px, 1.05fr);
  align-items: center;
  gap: 72px;
  min-height: min(820px, calc(100vh - 118px));
  padding: 58px 0 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(238, 120, 94, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 22ch;
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy p {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  box-shadow: 0 16px 34px rgba(238, 120, 94, 0.28);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero-price {
  margin: 18px 0 0;
  color: var(--coral-dark);
  font-weight: 800;
  font-size: 1.05rem;
}

.hero-price span {
  margin-left: 2px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.88rem;
}

.trust-row {
  margin-top: 22px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: #655a57;
  font-size: 0.86rem;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -2% 4% 14%;
  z-index: -1;
  border-radius: 42% 58% 40% 60%;
  background: linear-gradient(135deg, rgba(238, 120, 94, 0.18), rgba(207, 234, 217, 0.54));
  filter: blur(10px);
}

.hero-visual img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: floatHero 7s ease-in-out infinite;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 20px 60px rgba(82, 56, 40, 0.08);
}

.stats-strip div {
  min-height: 148px;
  padding: 28px;
  background: rgba(255, 253, 249, 0.86);
}

.stats-strip strong {
  display: block;
  color: var(--coral-dark);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.stats-strip span {
  display: block;
  max-width: 190px;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 650;
}

.split,
.features,
.ai-band,
.timeline-section,
.library,
.pricing,
.faq,
.cta-section {
  padding: 110px 0 0;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.section-intro {
  max-width: 620px;
}

.section-intro.centered {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-intro.centered .eyebrow {
  justify-content: center;
}

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

.benefit-card,
.library-card {
  min-height: 238px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 48px rgba(78, 53, 36, 0.07);
}

.benefit-card:nth-child(2) {
  background: rgba(207, 234, 217, 0.42);
}

.benefit-card:nth-child(3) {
  background: rgba(217, 205, 250, 0.34);
}

.benefit-card:nth-child(4) {
  background: rgba(167, 216, 215, 0.32);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--coral-dark);
  font-size: 1.25rem;
  font-weight: 800;
}

.feature-showcase {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.phone-mockup {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(54, 40, 32, 0.18);
  border-radius: 42px;
  background: #1d1b1a;
  box-shadow: 0 30px 80px rgba(34, 25, 22, 0.24);
}

.phone-top {
  width: 96px;
  height: 22px;
  margin: 0 auto -10px;
  border-radius: 0 0 16px 16px;
  background: #070707;
  position: relative;
  z-index: 2;
}

.phone-screen {
  min-height: 650px;
  padding: 34px 18px 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fff9f1, #fffefd);
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.app-bar button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 22px;
}

.mood-grid button {
  display: grid;
  gap: 8px;
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff3e7;
  cursor: pointer;
}

.mood-grid span {
  color: #5f5350;
  font-size: 0.78rem;
  font-weight: 700;
}

.range-label {
  display: block;
  margin-bottom: 8px;
  color: #5f5350;
  font-size: 0.9rem;
  font-weight: 700;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--coral);
}

textarea {
  width: 100%;
  min-height: 120px;
  margin: 20px 0 14px;
  padding: 16px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.app-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--coral);
  font-weight: 800;
}

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

.feature-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.feature-list span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--coral-dark);
  background: #fff0e6;
  font-weight: 800;
}

.ai-band {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: center;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #514644;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral-dark);
}

.ai-panel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 31, 33, 0.92), rgba(67, 58, 52, 0.92)),
    var(--ink);
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.panel-header span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
}

.panel-header span:nth-child(2) {
  background: var(--apricot);
}

.panel-header span:nth-child(3) {
  background: var(--mint);
}

.insight-card {
  padding: 22px;
  border-radius: 8px;
  margin-top: 12px;
}

.insight-card small {
  display: block;
  margin-bottom: 10px;
  color: rgba(36, 31, 33, 0.62);
  font-weight: 800;
  text-transform: uppercase;
}

.insight-card strong {
  display: block;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.18;
}

.insight-card.hot {
  background: linear-gradient(135deg, #ffb49c, #f2765e);
}

.insight-card.cool {
  background: linear-gradient(135deg, #ccefe3, #95d7d5);
}

.insight-card.soft {
  background: linear-gradient(135deg, #eee6ff, #d6c7ff);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.timeline-item {
  position: relative;
  min-height: 228px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 48px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 1px var(--line), 0 0 0 8px rgba(238, 120, 94, 0.12);
}

.timeline-item.active {
  background: #231f20;
}

.timeline-item.active h3,
.timeline-item.active span {
  color: #fff;
}

.timeline-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.library-card {
  min-height: 288px;
}

.library-card > span {
  display: block;
  width: 68px;
  height: 68px;
  margin-bottom: 58px;
  border-radius: 50%;
}

.moon {
  background:
    radial-gradient(circle at 38% 34%, #fffaf4 0 22px, transparent 23px),
    linear-gradient(135deg, #8dc8e8, #d9cdfa);
}

.breath {
  border: 10px solid #55bfae;
  box-shadow: inset 0 0 0 10px rgba(85, 191, 174, 0.18), 0 0 0 10px rgba(85, 191, 174, 0.08);
}

.focus {
  background:
    linear-gradient(90deg, transparent 45%, #fff 45% 55%, transparent 55%),
    linear-gradient(0deg, transparent 45%, #fff 45% 55%, transparent 55%),
    linear-gradient(135deg, #f5c26f, #ee785e);
}

.price-card {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  text-align: center;
}

.price-card-top {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--coral-dark);
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 800;
}

.price-value {
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-period {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
}

.guarantee-badge {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(207, 234, 217, 0.5);
  color: #2f6b4a;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.guarantee-badge.light {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #ffe6dc;
}

.price-features {
  display: grid;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 32px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.price-features li {
  position: relative;
  padding-left: 30px;
  color: #514644;
  font-weight: 650;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral-dark);
  font-weight: 800;
}

.btn-large {
  width: 100%;
  max-width: 420px;
  min-height: 56px;
  font-size: 1.05rem;
}

.price-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.faq {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 64px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

summary {
  cursor: pointer;
  padding: 22px;
  font-weight: 800;
}

details p {
  padding: 0 22px 22px;
  margin: 0;
}

.cta-section {
  padding-bottom: 76px;
}

.cta-inner {
  padding: clamp(34px, 7vw, 80px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(36, 31, 33, 0.96), rgba(86, 63, 53, 0.92)),
    var(--ink);
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  max-width: 850px;
}

.cta-inner .eyebrow,
.cta-inner p {
  color: #ffd7c9;
}

.signup-form {
  max-width: 720px;
  margin-top: 34px;
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  color: #ffe6dc;
  font-weight: 800;
}

.signup-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.signup-form input {
  min-width: 0;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  outline: 0;
}

.signup-form input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.form-note {
  min-height: 24px;
  margin: 12px 0 0;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-links {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- Página de boas-vindas / pós-pagamento ---------- */

.welcome-hero {
  display: grid;
  grid-template-columns: minmax(440px, 0.95fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 64px;
  padding: 50px 0 30px;
}

.welcome-hero .eyebrow {
  color: var(--coral-dark);
}

.welcome-hero h1 {
  max-width: 15ch;
}

.welcome-hero > .welcome-copy > p {
  max-width: 480px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.welcome-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.welcome-visual {
  position: relative;
  isolation: isolate;
  justify-self: center;
}

.welcome-visual::before {
  content: "";
  position: absolute;
  inset: 6% -6% 2% 10%;
  z-index: -1;
  border-radius: 42% 58% 40% 60%;
  background: linear-gradient(135deg, rgba(238, 120, 94, 0.2), rgba(217, 205, 250, 0.5));
  filter: blur(14px);
}

.welcome-visual img {
  width: min(100%, 320px);
  border-radius: 8px;
  filter: drop-shadow(0 30px 60px rgba(88, 54, 35, 0.22));
}

.step-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.step-visual {
  justify-self: center;
  padding: 16px;
  border-radius: 32px;
  background: #1d1b1a;
  box-shadow: 0 30px 70px rgba(34, 25, 22, 0.22);
}

.step-visual img {
  display: block;
  width: min(100%, 260px);
  border-radius: 20px;
}

.install-card ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.install-card ol li {
  line-height: 1.6;
}

.install-card .step-glyph {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--coral-dark);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.note-card {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 48px rgba(78, 53, 36, 0.07);
}

.note-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

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

.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.signature-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), #f4a489);
  color: #fff;
  font-weight: 800;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.signature strong {
  display: block;
  font-size: 0.95rem;
}

.signature span {
  display: block;
  color: #ffd7c9;
  font-size: 0.82rem;
}

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

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

@keyframes floatHero {
  0%,
  100% {
    transform: translateY(0) rotate(0.2deg);
  }
  50% {
    transform: translateY(-10px) rotate(-0.2deg);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    position: fixed;
    inset: 76px 18px auto;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 250, 244, 0.96);
    box-shadow: var(--shadow);
  }

  .hero,
  .split,
  .feature-showcase,
  .ai-band,
  .faq,
  .welcome-hero,
  .step-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-visual {
    order: -1;
  }

  .welcome-visual,
  .step-visual {
    order: -1;
  }

  .stats-strip,
  .timeline,
  .library-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-links {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(calc(100% - 20px), var(--max));
    margin-top: 10px;
    border-radius: 8px;
  }

  .brand {
    font-size: 0.94rem;
  }

  .section {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero {
    gap: 28px;
    padding-top: 30px;
  }

  h1 {
    max-width: 18ch;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions,
  .signup-form div {
    grid-template-columns: 1fr;
  }

  .btn,
  .signup-form .btn {
    width: 100%;
  }

  .stats-strip,
  .benefit-grid,
  .timeline,
  .library-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .welcome-hero {
    padding-top: 30px;
  }

  .welcome-visual img {
    width: min(100%, 240px);
  }

  .split,
  .features,
  .ai-band,
  .timeline-section,
  .library,
  .pricing,
  .faq,
  .cta-section {
    padding-top: 78px;
  }

  .price-card {
    padding: 26px 20px;
  }

  .btn-large {
    max-width: none;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .feature-list article {
    grid-template-columns: 1fr;
  }

  .phone-screen {
    min-height: 590px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
