@import url("https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800;9..144,900&display=swap");

:root {
  --carbon: #141210;
  --carbon-soft: #231f1b;
  --cream: #f2e8d5;
  --paper: #fbf6ec;
  --ember: #d19a3f;
  --ember-light: #e5bc72;
  --residual: #7e3320;
  --smoke: #8c8579;
  --line: rgba(20, 18, 16, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Albert Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 7%, rgba(209, 154, 63, 0.11), transparent 25rem),
    var(--cream);
  color: var(--carbon);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; height: auto; max-width: 100%; }
button, input { font: inherit; }
::selection { background: var(--ember); color: var(--carbon); }

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 26px 42px 12px;
}

.wordmark {
  align-items: center;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.18em;
}

.wordmark-ember {
  background: var(--ember);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(209, 154, 63, 0.13);
  height: 7px;
  width: 7px;
}

.header-cta {
  align-items: center;
  border-bottom: 1px solid var(--carbon);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 0.08em;
  padding: 7px 0 5px;
  text-transform: uppercase;
}

.header-cta svg,
.text-link svg {
  height: 16px;
  transition: transform 180ms ease;
  width: 16px;
}

.header-cta:hover svg,
.text-link:hover svg { transform: translateX(4px); }

.hero {
  align-items: center;
  display: grid;
  gap: clamp(54px, 8vw, 130px);
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.8fr);
  margin: 0 auto;
  max-width: 1280px;
  min-height: 770px;
  overflow: hidden;
  padding: 64px 42px 100px;
}

.hero-copy {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.manifesto-kicker,
.form-overline,
.form-success-kicker,
.mail-label {
  color: var(--residual);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.week-intro h2,
.companion h2,
.for-you h2,
.signup-copy h2,
.closing-cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3.55rem, 6.3vw, 6.75rem);
  line-height: 0.94;
  max-width: 780px;
}

.hero h1 em {
  color: var(--residual);
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  background: var(--ember);
  bottom: -3px;
  content: "";
  height: 5px;
  left: 3%;
  position: absolute;
  transform: rotate(-1deg);
  width: 94%;
}

.hero-lede {
  color: #4f4942;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.65;
  margin: 34px 0 0;
  max-width: 610px;
}

.hero-lede strong { color: var(--carbon); font-weight: 700; }

.hero-actions {
  align-items: center;
  display: flex;
  gap: 22px;
  margin-top: 35px;
}

.hero-actions > p {
  color: #6d665d;
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
  max-width: 215px;
}

.button {
  align-items: center;
  border: 1px solid var(--carbon);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 12px;
  justify-content: center;
  letter-spacing: 0.045em;
  min-height: 56px;
  padding: 0 25px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button svg { height: 17px; width: 17px; }

.button-primary {
  background: var(--carbon);
  box-shadow: 8px 8px 0 var(--ember);
  color: var(--paper);
}

.button-primary:hover { background: var(--residual); transform: translate(-2px, -2px); }

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.trust-line li {
  align-items: center;
  color: #5e574f;
  display: flex;
  font-size: 0.78rem;
  gap: 6px;
}

.trust-line svg {
  color: var(--residual);
  height: 14px;
  stroke-width: 2.5;
  width: 14px;
}

.guide-stage {
  height: 635px;
  margin: 0 auto;
  max-width: 490px;
  position: relative;
  width: 100%;
}

.guide-glow {
  background: var(--ember);
  border-radius: 50%;
  filter: blur(55px);
  height: 300px;
  opacity: 0.32;
  position: absolute;
  right: -40px;
  top: 160px;
  width: 300px;
}

.guide-page {
  background: var(--paper);
  border: 1px solid rgba(20, 18, 16, 0.13);
  box-shadow: 0 30px 70px rgba(20, 18, 16, 0.18);
  height: auto;
  left: 50%;
  position: absolute;
  top: 50%;
  transform-origin: center;
  width: 345px;
}

.guide-page-back { transform: translate(-38%, -48%) rotate(9deg); }
.guide-page-middle { transform: translate(-62%, -50%) rotate(-7deg); }
.guide-cover { box-shadow: 0 36px 80px rgba(20, 18, 16, 0.25); transform: translate(-50%, -51%) rotate(0.5deg); }

.guide-seal {
  align-items: center;
  background: var(--carbon);
  border: 4px solid var(--cream);
  border-radius: 50%;
  bottom: 40px;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  height: 116px;
  justify-content: center;
  position: absolute;
  right: -5px;
  transform: rotate(5deg);
  width: 116px;
}

.guide-seal strong {
  color: var(--ember-light);
  font-family: var(--font-display);
  font-size: 2.7rem;
  line-height: 0.8;
}

.guide-seal span {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 10px;
  text-transform: uppercase;
}

.manifesto {
  background: var(--carbon);
  color: var(--paper);
  padding: clamp(72px, 8vw, 105px) 32px;
  text-align: center;
}

.manifesto-kicker { color: var(--ember-light); }

.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 auto;
  max-width: 1050px;
}

.manifesto blockquote span { color: var(--ember-light); }

.manifesto > p:last-child {
  color: #bcb4a7;
  font-size: 0.98rem;
  margin: 33px auto 0;
  max-width: 650px;
}

.section-shell {
  margin: 0 auto;
  max-width: 1280px;
  padding-left: 42px;
  padding-right: 42px;
}

.included {
  padding-bottom: clamp(74px, 8vw, 105px);
  padding-top: clamp(74px, 8vw, 105px);
}

.section-heading {
  display: grid;
  gap: 38px;
  grid-template-columns: 0.9fr 1.4fr 0.85fr;
}

.section-heading .eyebrow { margin-top: 12px; }

.section-heading h2,
.week-intro h2,
.companion h2,
.for-you h2,
.signup-copy h2,
.closing-cta h2 {
  font-size: clamp(2.55rem, 4.7vw, 4.8rem);
  line-height: 1.02;
}

.section-heading > p:last-child,
.week-intro > p,
.companion-copy > p,
.signup-copy > p {
  color: #5d564e;
  line-height: 1.75;
  margin: 8px 0 0;
}

.included-grid {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 68px;
}

.included-card {
  border-left: 1px solid var(--line);
  padding: 16px 42px 38px;
}

.included-card:last-child { border-right: 1px solid var(--line); }

.included-card > svg {
  color: var(--residual);
  height: 27px;
  margin-bottom: 34px;
  stroke-width: 1.5;
  width: 27px;
}

.included-card > p {
  color: var(--residual);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.included-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.16;
  margin: 0 0 18px;
}

.included-card > span {
  color: #625b53;
  display: block;
  font-size: 0.9rem;
  line-height: 1.7;
}

.week-section {
  background: var(--paper);
  padding: clamp(74px, 8vw, 105px) max(42px, calc((100vw - 1196px) / 2));
}

.week-intro {
  align-items: end;
  display: grid;
  gap: 70px;
  grid-template-columns: 1.45fr 0.7fr;
}

.week-intro > p { margin-bottom: 10px; }

.week-layout {
  align-items: start;
  display: grid;
  gap: clamp(50px, 7vw, 105px);
  grid-template-columns: 1fr 0.72fr;
  margin-top: 68px;
}

.day-list {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.day-list li {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 44px 1fr;
  padding: 17px 0 19px;
}

.day-number {
  color: var(--residual);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.day-list h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 5px;
}

.day-list p {
  color: #6a635a;
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
}

.inside-preview {
  justify-self: center;
  margin: 0;
  max-width: 410px;
  position: sticky;
  top: 30px;
  width: 100%;
}

.inside-preview-frame {
  background: var(--carbon);
  box-shadow: 14px 14px 0 var(--ember);
  padding: 18px;
  transform: rotate(1.2deg);
}

.inside-preview-frame img { height: auto; width: 100%; }

.inside-preview figcaption {
  color: #6a635a;
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 30px 0 0 18px;
  max-width: 360px;
}

.companion {
  align-items: center;
  background:
    radial-gradient(circle at 82% 43%, rgba(209, 154, 63, 0.15), transparent 22rem),
    var(--carbon);
  color: var(--paper);
  display: grid;
  gap: clamp(70px, 10vw, 150px);
  grid-template-columns: 1fr 0.78fr;
  padding: clamp(80px, 8vw, 110px) max(42px, calc((100vw - 1196px) / 2));
}

.eyebrow-light { color: var(--ember-light); }
.companion-copy { max-width: 650px; }

.companion-copy > p {
  color: #bdb5aa;
  margin-top: 34px;
  max-width: 600px;
}

.companion .companion-quote {
  border-left: 2px solid var(--ember);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.45;
  margin-top: 38px;
  padding-left: 24px;
}

.author-inline {
  align-items: center;
  border-top: 1px solid rgba(242, 232, 213, 0.16);
  display: grid;
  gap: 20px;
  grid-template-columns: 82px 1fr;
  margin-top: 34px;
  max-width: 590px;
  padding-top: 25px;
}

.author-inline img {
  border: 2px solid var(--ember);
  border-radius: 50%;
  height: 82px;
  object-fit: cover;
  object-position: center 30%;
  width: 82px;
}

.author-inline p { margin: 0; }

.author-inline .author-inline-label {
  color: var(--ember-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 5px;
}

.author-inline div > p:last-child {
  color: #bdb5aa;
  font-size: 0.78rem;
  line-height: 1.55;
}

.author-inline em {
  color: var(--paper);
  font-family: var(--font-display);
  font-style: italic;
}

.text-link {
  align-items: center;
  border-bottom: 1px solid var(--ember);
  color: var(--ember-light);
  display: inline-flex;
  font-size: 0.77rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.11em;
  margin-top: 40px;
  padding-bottom: 7px;
  text-transform: uppercase;
}

.mail-stack { min-height: 480px; position: relative; }

.mail-card {
  background: var(--paper);
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.36);
  color: var(--carbon);
  left: 0;
  padding: 34px;
  position: absolute;
  top: 25px;
  transform: rotate(-1.3deg);
  width: 100%;
  z-index: 2;
}

.mail-card-back {
  background: var(--ember);
  color: var(--carbon);
  height: 430px;
  left: 35px;
  padding: 18px;
  top: 0;
  transform: rotate(5deg);
  z-index: 1;
}

.mail-card-back span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mail-card header { align-items: center; display: flex; gap: 13px; }

.avatar {
  align-items: center;
  background: var(--residual);
  border-radius: 50%;
  color: var(--paper);
  display: flex;
  font-family: var(--font-display);
  font-weight: 700;
  height: 43px;
  justify-content: center;
  width: 43px;
}

.mail-card header div:last-child { display: flex; flex-direction: column; }
.mail-card header strong { font-size: 0.85rem; }
.mail-card header span { color: var(--smoke); font-size: 0.68rem; }
.mail-rule { background: var(--line); height: 1px; margin: 26px 0 29px; }
.mail-card .mail-label { font-size: 0.6rem; margin-bottom: 10px; }

.mail-card h3 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1.1;
  margin: 0 0 22px;
}

.mail-card > p:not(.mail-label) { color: #5d564e; font-size: 0.88rem; line-height: 1.7; }

.mail-signoff {
  color: var(--residual);
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 30px;
}

.signup-section {
  align-items: start;
  background: var(--ember);
  display: grid;
  gap: clamp(65px, 9vw, 135px);
  grid-template-columns: 0.95fr 0.75fr;
  padding: clamp(72px, 8vw, 105px) max(42px, calc((100vw - 1196px) / 2));
}

.signup-copy .eyebrow { color: var(--carbon); }
.signup-copy > p { color: rgba(20, 18, 16, 0.76); max-width: 580px; }

.signup-copy ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 33px 0 0;
  padding: 0;
}

.signup-copy li {
  align-items: center;
  display: flex;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 10px;
}

.signup-copy li svg { height: 16px; stroke-width: 2.6; width: 16px; }

.signup-card {
  background: var(--paper);
  box-shadow: 16px 16px 0 var(--carbon);
  padding: clamp(30px, 4vw, 52px);
}

.form-overline { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.signup-form { display: grid; gap: 19px; }
.form-field { display: grid; gap: 7px; }

.form-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--carbon);
  border-radius: 0;
  color: var(--carbon);
  outline: none;
  padding: 13px 2px 12px;
  width: 100%;
}

.form-field input::placeholder { color: #a0988d; }
.form-field input:focus { border-color: var(--residual); box-shadow: 0 2px 0 var(--residual); }

.form-submit {
  align-items: center;
  background: var(--carbon);
  border: 0;
  color: var(--paper);
  cursor: pointer;
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.08em;
  margin-top: 12px;
  min-height: 56px;
  padding: 0 20px;
  text-transform: uppercase;
  transition: background 180ms ease;
  width: 100%;
}

.form-submit:hover:not(:disabled) { background: var(--residual); }
.form-submit:disabled { cursor: wait; opacity: 0.72; }
.form-submit svg { height: 17px; width: 17px; }

.form-consent {
  color: #746c62;
  font-size: 0.76rem;
  line-height: 1.55;
  margin: 2px 0 0;
  text-align: center;
}

.form-consent em { font-style: italic; }

.form-success {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 325px;
  text-align: center;
}

.form-success > span {
  align-items: center;
  background: var(--ember);
  border-radius: 50%;
  display: flex;
  height: 50px;
  justify-content: center;
  margin-bottom: 25px;
  width: 50px;
}

.form-success > span svg { height: 22px; stroke-width: 2.5; width: 22px; }
.form-success-kicker { margin-bottom: 10px; }

.form-success h3 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin: 0;
}

.form-success > p:last-child {
  color: #655e55;
  font-size: 0.87rem;
  line-height: 1.7;
  max-width: 380px;
}

.closing-cta {
  align-items: center;
  background: var(--carbon);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  padding: clamp(66px, 7vw, 90px) 24px;
  text-align: center;
}

.closing-cta h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.7rem);
  line-height: 0.98;
  max-width: 950px;
}

.button-light {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--carbon);
  margin-top: 38px;
}

.button-light:hover {
  background: var(--paper);
  border-color: var(--paper);
  transform: translateY(-2px);
}

footer {
  align-items: center;
  background: var(--carbon);
  color: var(--paper);
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr auto 1fr;
  padding: 34px max(42px, calc((100vw - 1196px) / 2));
}

.wordmark-footer { justify-self: start; }
footer p { color: #aaa296; font-size: 0.7rem; margin: 0; }
footer p:last-child { justify-self: end; }

@media (max-width: 1050px) {
  .hero { gap: 30px; grid-template-columns: 1.05fr 0.72fr; }
  .guide-page { width: 305px; }
  .guide-stage { height: 590px; }
  .section-heading { grid-template-columns: 0.55fr 1.3fr; }
  .section-heading > p:last-child { grid-column: 2; margin-top: -10px; }
  .companion, .signup-section { gap: 70px; }
}

@media (max-width: 840px) {
  .site-header { padding-left: 24px; padding-right: 24px; }
  .hero { grid-template-columns: 1fr; padding: 70px 24px 90px; }
  .hero-copy { max-width: 730px; }
  .guide-stage { height: 650px; max-width: 540px; }
  .guide-page { width: 350px; }
  .section-shell { padding-left: 24px; padding-right: 24px; }
  .section-heading,
  .week-intro,
  .week-layout,
  .companion,
  .signup-section { grid-template-columns: 1fr; }
  .section-heading { gap: 18px; }
  .section-heading > p:last-child { grid-column: auto; margin-top: 12px; max-width: 580px; }
  .included-grid { grid-template-columns: 1fr; margin-top: 65px; }
  .included-card,
  .included-card:last-child { border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .week-section,
  .companion,
  .signup-section { padding-left: 24px; padding-right: 24px; }
  .week-intro { align-items: start; gap: 30px; }
  .week-intro > p { max-width: 620px; }
  .week-layout { margin-top: 60px; }
  .inside-preview { margin: 0 auto; max-width: 520px; position: relative; top: auto; }
  .companion { gap: 80px; }
  .mail-stack { margin: 0 auto; max-width: 520px; min-height: 500px; width: 100%; }
  .signup-card { max-width: 620px; width: 100%; }
  footer { grid-template-columns: 1fr; justify-items: start; padding-left: 24px; padding-right: 24px; }
  footer p:last-child, .wordmark-footer { justify-self: start; }
}

@media (max-width: 560px) {
  .site-header { padding-top: 20px; }
  .header-cta { border: 1px solid var(--carbon); font-size: 0.64rem; padding: 8px 10px; }
  .header-cta svg { display: none; }
  .hero { padding-top: 62px; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 4.6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions > p { max-width: 100%; }
  .button { width: 100%; }
  .trust-line { align-items: flex-start; flex-direction: column; gap: 9px; }
  .guide-stage { height: 510px; }
  .guide-page { width: min(75vw, 305px); }
  .guide-page-back { transform: translate(-41%, -48%) rotate(7deg); }
  .guide-page-middle { transform: translate(-59%, -50%) rotate(-6deg); }
  .guide-seal { bottom: 15px; height: 92px; right: 3px; width: 92px; }
  .guide-seal strong { font-size: 2.2rem; }
  .guide-seal span { font-size: 0.46rem; }
  .manifesto { padding-left: 24px; padding-right: 24px; }
  .manifesto blockquote { font-size: clamp(2.65rem, 13vw, 4rem); }
  .included-card { padding-left: 28px; padding-right: 28px; }
  .day-list li { gap: 15px; grid-template-columns: 35px 1fr; }
  .inside-preview-frame { box-shadow: 9px 9px 0 var(--ember); padding: 10px; }
  .mail-stack { min-height: 455px; }
  .mail-card { padding: 26px 23px; }
  .mail-card-back { height: 405px; left: 16px; }
  .mail-card h3 { font-size: 1.8rem; }
  .author-inline { grid-template-columns: 68px 1fr; }
  .author-inline img { height: 68px; width: 68px; }
  .signup-card { box-shadow: 9px 9px 0 var(--carbon); }
}

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

/* Ajustes de la versión estática (iconos sin dependencias de React). */
.icon-arrow { display: inline-block; font-size: 1.15em; line-height: 1; transition: transform 180ms ease; }
.header-cta:hover .icon-arrow,
.text-link:hover .icon-arrow { transform: translateX(4px); }
.check { color: var(--residual); font-size: 0.95rem; font-weight: 800; line-height: 1; }
.signup-copy .check { color: var(--carbon); }
.feature-icon { color: var(--residual); display: block; font-size: 1.7rem; line-height: 1; margin-bottom: 34px; }
.form-submit .icon-arrow { font-size: 1.2rem; }
.success-check { align-items: center; background: var(--ember); border-radius: 50%; display: flex; font-size: 1.2rem; font-weight: 800; height: 50px; justify-content: center; margin-bottom: 25px; width: 50px; }
[hidden] { display: none !important; }
