:root {
  --black: #070604;
  --ink: #17110b;
  --ivory: #f8f0df;
  --muted: rgba(248, 240, 223, 0.72);
  --line: rgba(221, 178, 92, 0.28);
  --gold: #ddb25c;
  --gold-2: #f1d18b;
  --wine: #823232;
  --green: #12382f;
  --paper: #fff8eb;
  --max: 1180px;
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  margin: 0;
  overflow-x: hidden;
  padding-bottom: 82px;
}

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

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

.topbar {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 6, 4, 0.78);
  border-bottom: 1px solid rgba(248, 240, 223, 0.12);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 76px;
  inset: 0 0 auto;
  padding: 0 clamp(18px, 4vw, 54px);
  position: fixed;
  z-index: 50;
}

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

.brand-symbol {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border: 1px solid rgba(248, 240, 223, 0.42);
  height: 16px;
  transform: rotate(45deg);
  width: 16px;
}

.brand span:last-child,
.nav-links a,
.nav-cta,
.eyebrow,
.checkout-label {
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand span:last-child {
  color: var(--ivory);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: clamp(20px, 3vw, 42px);
}

.nav-links a {
  color: rgba(248, 240, 223, 0.68);
}

.nav-cta {
  border: 1px solid rgba(221, 178, 92, 0.58);
  border-radius: 4px;
  color: var(--gold-2);
  justify-self: end;
  padding: 13px 18px;
}

.hero {
  isolation: isolate;
  min-height: 88svh;
  overflow: hidden;
  padding: 96px clamp(20px, 5vw, 68px) 28px;
  position: relative;
}

.hero-image {
  background-image: url("assets/portada-365-dias-de-historia.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.85);
  inset: 0;
  opacity: 0.42;
  position: absolute;
  transform: scale(1.06);
  z-index: -3;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 6, 4, 0.98) 0%, rgba(7, 6, 4, 0.84) 44%, rgba(7, 6, 4, 0.52) 100%),
    linear-gradient(180deg, rgba(7, 6, 4, 0.2) 0%, rgba(7, 6, 4, 0.98) 100%);
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero::before {
  border: 1px solid rgba(221, 178, 92, 0.18);
  content: "";
  inset: 96px clamp(16px, 2vw, 28px) 24px;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero-shell {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  margin: 0 auto;
  max-width: var(--max);
  min-height: calc(88svh - 124px);
}

.eyebrow {
  color: var(--gold);
  margin: 0 0 18px;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.96;
  margin-bottom: 20px;
  max-width: 850px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.96;
  margin-bottom: 22px;
  text-wrap: balance;
}

h3 {
  color: var(--ivory);
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.18;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-lede {
  color: rgba(248, 240, 223, 0.86);
  font-size: clamp(1.06rem, 1.6vw, 1.25rem);
  line-height: 1.58;
  margin-bottom: 18px;
  max-width: 820px;
}

.hero-price {
  align-items: center;
  border-block: 1px solid var(--line);
  display: flex;
  gap: 18px;
  margin: 0 0 16px;
  max-width: 460px;
  padding: 12px 0;
}

.price-label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-price strong {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 3.2vw, 3.5rem);
  line-height: 0.9;
}

.hero-price span:last-child {
  display: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.button {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.04em;
  min-height: 54px;
  padding: 0 26px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.button.primary {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border: 1px solid var(--gold);
  box-shadow: 0 18px 40px rgba(221, 178, 92, 0.22);
  color: var(--ink);
}

.button.ghost {
  background: rgba(248, 240, 223, 0.04);
  border: 1px solid rgba(248, 240, 223, 0.32);
  color: var(--ivory);
}

.button.full {
  width: 100%;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.assurance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.assurance-list li {
  color: rgba(248, 240, 223, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
  padding-left: 16px;
  position: relative;
}

.assurance-list li::before {
  background: var(--gold);
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 8px;
  transform: rotate(45deg);
  width: 6px;
}

.product-stage {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.cover-frame {
  margin: 0;
  position: relative;
}

.cover-frame::before {
  border: 1px solid rgba(221, 178, 92, 0.62);
  content: "";
  inset: -12px;
  position: absolute;
  transform: rotate(-1deg);
  z-index: -1;
}

.cover-frame img {
  aspect-ratio: 683 / 1024;
  border: 1px solid rgba(221, 178, 92, 0.46);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.62);
  height: auto;
  max-height: min(50svh, 460px);
  object-fit: contain;
  width: min(100%, 430px);
}

.cover-caption {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 5px;
  max-width: 420px;
  padding-top: 14px;
  text-align: center;
}

.cover-caption span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cover-caption strong {
  color: rgba(248, 240, 223, 0.88);
  font-size: 0.98rem;
  line-height: 1.35;
}

.metrics {
  background: var(--ivory);
  color: var(--ink);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric {
  border-right: 1px solid rgba(23, 17, 11, 0.14);
  min-height: 126px;
  padding: 26px clamp(18px, 4vw, 42px);
}

.metric strong {
  color: var(--wine);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 3.5vw, 3.4rem);
  line-height: 0.94;
  white-space: nowrap;
}

.metric span {
  color: rgba(23, 17, 11, 0.72);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-top: 12px;
  text-transform: uppercase;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(80px, 10vw, 132px) clamp(20px, 5vw, 34px);
}

.app-section {
  align-items: center;
  display: grid;
  gap: clamp(30px, 6vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  max-width: 1240px;
}

.app-copy {
  max-width: 780px;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.app-badges span {
  background: rgba(18, 56, 47, 0.72);
  border: 1px solid rgba(241, 209, 139, 0.28);
  border-radius: 999px;
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  text-transform: uppercase;
}

.app-preview {
  display: grid;
  justify-items: center;
}

.app-device {
  background:
    linear-gradient(180deg, rgba(248, 240, 223, 0.07), rgba(248, 240, 223, 0.02)),
    #10100e;
  border: 1px solid rgba(221, 178, 92, 0.42);
  border-radius: 36px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  max-width: 390px;
  padding: 14px;
  width: 100%;
}

.app-top {
  align-items: center;
  color: rgba(248, 240, 223, 0.74);
  display: flex;
  font-size: 0.76rem;
  font-weight: 850;
  justify-content: space-between;
  letter-spacing: 0.08em;
  padding: 8px 10px 14px;
  text-transform: uppercase;
}

.app-top strong {
  color: var(--gold);
  font-size: 0.76rem;
}

.app-screen {
  background:
    linear-gradient(180deg, rgba(18, 56, 47, 0.15), rgba(7, 6, 4, 0.2)),
    var(--paper);
  border-radius: 24px;
  color: var(--ink);
  display: grid;
  gap: 14px;
  min-height: 560px;
  overflow: hidden;
  padding: 16px;
}

.today-card,
.share-card {
  background: rgba(255, 248, 235, 0.94);
  border: 1px solid rgba(23, 17, 11, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(23, 17, 11, 0.14);
  padding: 18px;
}

.today-card span,
.share-card span {
  color: var(--wine);
  display: block;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.today-card strong {
  color: var(--ink);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  line-height: 0.95;
  margin-bottom: 10px;
}

.today-card p {
  color: rgba(23, 17, 11, 0.72);
  font-size: 0.94rem;
  line-height: 1.5;
  margin: 0;
}

.mini-calendar {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-calendar span {
  align-items: center;
  background: rgba(23, 17, 11, 0.08);
  border: 1px solid rgba(23, 17, 11, 0.12);
  border-radius: var(--radius);
  color: rgba(23, 17, 11, 0.74);
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 800;
  justify-content: center;
  min-height: 72px;
}

.mini-calendar .is-active {
  background: var(--green);
  color: var(--ivory);
}

.share-card {
  align-self: end;
  background:
    linear-gradient(135deg, rgba(130, 50, 50, 0.14), rgba(221, 178, 92, 0.14)),
    rgba(255, 248, 235, 0.94);
}

.share-card strong {
  color: var(--ink);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.06;
}

.app-feature-grid {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-feature-grid article {
  background: rgba(248, 240, 223, 0.055);
  border: 1px solid rgba(248, 240, 223, 0.12);
  border-radius: var(--radius);
  padding: 24px;
}

.manifesto,
.sample-section,
.checkout-inner {
  align-items: center;
  display: grid;
  gap: clamp(34px, 7vw, 82px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.reason-grid,
.includes-grid {
  display: grid;
  gap: 14px;
}

.reason-card,
.includes-grid article,
.sample-card {
  background: rgba(248, 240, 223, 0.055);
  border: 1px solid rgba(248, 240, 223, 0.12);
  border-radius: var(--radius);
  padding: 24px;
}

.reason-card span {
  color: var(--gold);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.content-section {
  max-width: 1240px;
  padding-top: 0;
}

.section-heading {
  margin-bottom: clamp(34px, 6vw, 62px);
  max-width: 900px;
}

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

.quote-band {
  background: var(--green);
  border-block: 1px solid rgba(221, 178, 92, 0.22);
  padding: clamp(70px, 10vw, 118px) clamp(20px, 5vw, 34px);
}

.quote-inner {
  margin: 0 auto;
  max-width: 1080px;
}

.quote-inner p {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5.4vw, 5.4rem);
  font-weight: 800;
  line-height: 1.04;
  margin: 0;
  text-align: center;
  text-wrap: balance;
}

.sample-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.03;
}

.sample-card strong {
  color: var(--ivory);
}

.sample-quote {
  border-left: 4px solid var(--gold);
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.34;
  margin: 18px 0 0;
  padding-left: 18px;
}

.checkout-section {
  background:
    linear-gradient(90deg, rgba(7, 6, 4, 0.96), rgba(7, 6, 4, 0.68)),
    url("assets/portada-365-dias-de-historia.png") center / cover;
  border-block: 1px solid rgba(221, 178, 92, 0.22);
  padding: clamp(76px, 10vw, 126px) clamp(20px, 5vw, 34px);
}

.checkout-inner {
  margin: 0 auto;
  max-width: var(--max);
}

.checkout-box {
  background: rgba(248, 240, 223, 0.96);
  border: 1px solid rgba(221, 178, 92, 0.5);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 28px;
}

.checkout-label {
  color: var(--wine);
}

.checkout-box strong {
  color: var(--ink);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 0.9;
  margin: 14px 0 22px;
}

.checkout-box ul {
  border-block: 1px solid rgba(23, 17, 11, 0.16);
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0 0 24px;
  padding: 20px 0;
}

.checkout-box li {
  color: rgba(23, 17, 11, 0.76);
  font-weight: 800;
}

.faq-section {
  background: #080706;
  color: var(--ivory);
  margin: 0;
  max-width: none;
}

.faq-section .section-heading,
.faq-list {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
}

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

details {
  background: rgba(248, 240, 223, 0.045);
  border: 1px solid rgba(248, 240, 223, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

summary {
  color: var(--ivory);
  cursor: pointer;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 950;
  list-style: none;
  padding: 26px 58px 26px 28px;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  color: var(--gold);
  content: "+";
  font-size: 1.7rem;
  line-height: 1;
  position: absolute;
  right: 28px;
  top: 25px;
}

details[open] summary::after {
  content: "-";
}

details p {
  color: rgba(248, 240, 223, 0.72);
  margin-bottom: 0;
  max-width: 760px;
  padding: 0 28px 26px;
}

details a {
  color: var(--gold);
  font-weight: 950;
}

.site-footer {
  background: #080706;
  border-top: 1px solid rgba(221, 178, 92, 0.18);
  display: grid;
  justify-items: center;
  min-height: 210px;
  padding: 50px clamp(20px, 5vw, 54px);
  text-align: center;
}

.footer-inner {
  display: grid;
  gap: 10px;
}

.site-footer p {
  color: rgba(248, 240, 223, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  font-weight: 950;
}

.floating-cta {
  align-items: center;
  background: linear-gradient(180deg, rgba(32, 25, 15, 0.96), rgba(7, 6, 4, 0.96));
  border: 1px solid rgba(221, 178, 92, 0.58);
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  color: var(--ivory);
  display: inline-flex;
  gap: 12px;
  left: 50%;
  max-width: calc(100vw - 32px);
  min-height: 58px;
  padding: 0 24px;
  position: fixed;
  transform: translateX(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 60;
}

.floating-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px);
}

.floating-cta::before {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  content: "";
  flex: 0 0 auto;
  height: 10px;
  transform: rotate(45deg);
  width: 10px;
}

.floating-cta span {
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-shell,
  .app-section,
  .manifesto,
  .sample-section,
  .checkout-inner {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 680px) {
  .topbar {
    height: 64px;
    padding-inline: 16px;
  }

  .brand span:last-child {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .brand-symbol {
    height: 13px;
    width: 13px;
  }

  .nav-cta {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 10px 12px;
  }

  .hero {
    min-height: auto;
    padding: 80px 20px 32px;
  }

  .hero::before {
    inset: 76px 10px 14px;
  }

  .hero-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .product-stage {
    max-width: 160px;
    order: -1;
    place-self: center;
  }

  .cover-frame img {
    max-height: none;
    width: min(40vw, 150px);
  }

  .cover-caption {
    display: none;
  }

  h1 {
    font-size: clamp(2.18rem, 10vw, 2.85rem);
    line-height: 1;
    margin-bottom: 14px;
  }

  h2 {
    font-size: clamp(2.15rem, 10.4vw, 3.35rem);
  }

  .hero-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    padding: 9px 0;
  }

  .hero-price strong {
    font-size: clamp(2rem, 11vw, 2.65rem);
    grid-row: auto;
  }

  .hero-price span:last-child {
    display: none;
  }

  .hero-actions,
  .assurance-list {
    display: grid;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 12px;
  }

  .hero-actions .button.ghost {
    display: none;
  }

  .button {
    font-size: 0.82rem;
    min-height: 52px;
    padding: 0 16px;
    text-align: center;
    white-space: normal;
    width: 100%;
  }

  .assurance-list {
    display: none;
  }

  .metrics,
  .includes-grid {
    grid-template-columns: 1fr;
  }

  .app-section {
    gap: 28px;
  }

  .app-badges {
    display: grid;
  }

  .app-badges span {
    border-radius: var(--radius);
    text-align: center;
  }

  .app-device {
    border-radius: 28px;
    max-width: 310px;
    padding: 10px;
  }

  .app-screen {
    border-radius: 20px;
    min-height: 430px;
    padding: 12px;
  }

  .today-card strong {
    font-size: 2.15rem;
  }

  .mini-calendar span {
    min-height: 58px;
  }

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

  .floating-cta {
    bottom: 12px;
    min-height: 56px;
    padding: 0 18px;
    width: calc(100vw - 24px);
  }

  .floating-cta span {
    font-size: 0.76rem;
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .brand span:last-child {
    display: none;
  }
}
