/* Quiles sub-pages. Calm Hearth aesthetic — aligned with home.css.
   Warm cream surface, deep navy ink, coral accent, sage success.
   Instrument Serif for headings + Instrument Sans for body. */

@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --bg: #f4ecdc;
  --paper-2: #fbf6ec;
  --paper-3: #f0e7d3;
  --ink: #1d2434;
  --ink-soft: rgba(29, 36, 52, 0.78);
  --ink-faint: rgba(29, 36, 52, 0.62);
  --ink-quietest: rgba(29, 36, 52, 0.5);
  --rule: rgba(29, 36, 52, 0.12);
  --rule-2: rgba(29, 36, 52, 0.18);
  --accent: #d96a4a;
  --accent-hover: #c45a3d;
  --accent-soft: rgba(217, 106, 74, 0.12);
  --good: #7a8e6b;
  --night: #27314a;
  --radius: 14px;
  --radius-card: 24px;
  --radius-pill: 999px;
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 56px);
  --stack: clamp(72px, 12vw, 128px);
  --font-sans: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", "Menlo", "Cascadia Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1714;
    --paper-2: #221d18;
    --paper-3: #2a241e;
    --ink: #f0ebe1;
    --ink-soft: rgba(240, 235, 225, 0.82);
    --ink-faint: rgba(240, 235, 225, 0.62);
    --ink-quietest: rgba(240, 235, 225, 0.46);
    --rule: rgba(240, 235, 225, 0.14);
    --rule-2: rgba(240, 235, 225, 0.22);
    --accent: #e07d5d;
    --accent-hover: #d96a4a;
    --accent-soft: rgba(217, 106, 74, 0.16);
    --good: #9bab8c;
    --night: #0f1320;
  }
}

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

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.15s ease, color 0.15s ease;
}

a:hover {
  border-color: var(--ink);
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.4em;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(44px, 8vw, 88px);
  letter-spacing: -0.035em;
}

h1 em, h2 em, h3 em { color: var(--accent); font-style: italic; }

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.022em;
}

h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
  font-weight: 400;
  font-family: var(--font-serif);
}

small,
.small {
  font-size: 13px;
  color: var(--ink-faint);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header — shared with home.css. Grid: brand · nav · lang · CTA. */

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px 28px;
  padding: 26px var(--gutter) 0;
  max-width: var(--maxw);
  margin: 0 auto;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 0;
}
.wordmark .mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-size: 14px;
  color: var(--ink-soft);
}
.site-nav a {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  color: var(--ink-soft);
}
.site-nav a:hover { color: var(--ink); border-color: var(--rule); }
.site-nav a.active, .site-nav a[aria-current="page"] { color: var(--ink); }

.lang-switch {
  display: inline-flex;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-quietest);
  letter-spacing: 0.04em;
  align-items: center;
}
.lang-switch a {
  padding: 4px 6px;
  border-radius: 6px;
  border-bottom: 0;
  color: var(--ink-quietest);
}
.lang-switch a.active, .lang-switch a[aria-current="page"] { color: var(--ink); }
.lang-switch a:hover { color: var(--ink); }

.header-price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font: inherit;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.header-price:hover { background: var(--night); }
.header-price .dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Hero. Almanac display: confident scale, tight leading, the headline is
   the page's typographic event. Edition label above sits like a catalog entry. */

.hero {
  padding: clamp(48px, 10vw, 120px) 0 var(--stack);
  text-align: left;
}

.hero-edition {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-feature-settings: "tnum", "zero";
}

.hero-edition::before,
.hero-edition::after {
  content: "";
  height: 1px;
  background: var(--rule-2);
}

.hero-edition::before {
  flex: 0 0 14px;
}

.hero-edition::after {
  flex: 1 1 auto;
  max-width: 240px;
}

.hero h1 {
  font-size: clamp(38px, 11vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 0 0 32px;
  max-width: 16ch;
  text-wrap: balance;
}

.hero h1 .hero-comma {
  color: var(--accent);
  font-weight: 500;
}

.hero .tagline {
  font-size: clamp(17px, 1.9vw, 21px);
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 0 40px;
  line-height: 1.45;
  text-wrap: balance;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 24px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sub-cta {
  font-size: 14px;
  color: var(--ink-faint);
}

.sub-cta a {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}

/* Section common. Vary rhythm: alternating tighter / looser stack feels printed. */

section {
  padding: 0 0 var(--stack);
}

main > section + section,
main > article > section + section {
  padding-top: clamp(24px, 4vw, 56px);
}

main > section:nth-of-type(2n),
main > article > section:nth-of-type(2n) {
  padding-bottom: clamp(80px, 14vw, 144px);
}

/* The almanac eyebrow pairs with a short hairline rule above the title,
   the way a printed catalog separates category labels from the heading. */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 14px;
  font-feature-settings: "tnum", "zero";
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::after {
  content: "";
  flex: 0 0 56px;
  height: 1px;
  background: var(--rule-2);
}

.section-title {
  margin: 0 0 48px;
  max-width: 24ch;
}

/* Diferenciadores — 3 col grid */

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 32px;
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.feature h3 {
  margin: 0 0 8px;
}

.feature p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.feature .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.12em;
  font-feature-settings: "tnum";
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  counter-reset: step;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.step {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

.step .step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.12em;
  font-feature-settings: "tnum";
}

.step h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.step p {
  margin: 0;
  font-size: 14px;
}

/* Pricing */

.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 720px) {
  .pricing {
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: stretch;
  }
}

.price-card {
  border: 1px solid var(--rule-2);
  border-radius: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
}

.price-card.primary {
  border-color: var(--ink);
}

.price-card .plan {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 16px;
  font-weight: 500;
}

.price-card .price {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
  color: var(--ink);
}

.price-card .price small {
  font-size: 14px;
  color: var(--ink-faint);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 6px;
}

.price-card .region {
  font-size: 13px;
  color: var(--ink-faint);
  margin: 0 0 20px;
}

.price-card ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.price-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
}

.price-card li:last-child {
  border-bottom: 0;
}

.price-card .btn-primary {
  align-self: stretch;
  margin-top: auto;
}

.price-card.secondary .price {
  font-size: 28px;
}

.free-note {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 24px;
  text-align: left;
}

/* Privacy prose */

.prose {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.65;
}

.prose p {
  color: var(--ink-soft);
}

/* Footer — shared partial. Grid: brand · product · contact + colophon row. */

.site-footer {
  margin-top: var(--stack);
  border-top: 1px solid var(--rule);
  padding: 36px var(--gutter) 28px;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.site-footer .brand-col .name {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--ink);
  display: block;
}
.site-footer .brand-col p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 6px 0 0;
  max-width: 280px;
}
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-quietest);
  margin: 0 0 12px;
}
.site-footer ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 8px;
}
.site-footer a {
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}
.site-footer a:hover { color: var(--ink); border-color: var(--rule); }
.site-footer .colophon-line {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-quietest);
}

.footer-brand {
  color: var(--ink);
  font-weight: 500;
}

/* Focus */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ───── Pre-launch waitlist ───── */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-prelaunch-note {
  margin: 24px 0 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.waitlist-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: stretch;
  max-width: 480px;
  margin: 0;
}

.waitlist-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 200px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

.waitlist-form .btn-primary {
  flex: 0 0 auto;
  padding: 12px 18px;
  font-size: 15px;
}

.waitlist-form .btn-primary:disabled {
  opacity: 0.55;
  cursor: progress;
}

.waitlist-status {
  flex: 1 0 100%;
  margin: 6px 0 0;
  font-size: 13px;
  min-height: 18px;
  color: var(--ink-soft);
}

.waitlist-status.is-error {
  color: var(--accent);
}

.waitlist-status.is-error::before {
  content: "✕ ";
  font-weight: 600;
}

.waitlist-status.is-ok {
  color: var(--good);
}

.waitlist-status.is-ok::before {
  content: "✓ ";
  font-weight: 600;
}

.waitlist-status.is-pending {
  color: var(--ink-faint);
}

.waitlist-trust {
  margin: 8px 0 28px;
  font-size: 12px;
  color: var(--ink-faint);
  max-width: 42ch;
}

.hero-buy-collapsed {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-buy-collapsed > summary {
  cursor: pointer;
  list-style: none;
  display: inline;
  /* Underline rides on the text, not the box, so a wrapped 2-line summary
     keeps the dashed rule under each word instead of between lines. */
  text-decoration: underline dashed var(--rule-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}

.hero-buy-collapsed > summary:hover {
  text-decoration-color: var(--ink);
  color: var(--ink);
}

.hero-buy-collapsed[open] > summary {
  margin-bottom: 4px;
}

.hero-buy-collapsed[open] .cta-row {
  margin-top: 12px;
}

.hero-buy-collapsed > summary::-webkit-details-marker {
  display: none;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--rule);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: var(--bg);
}

/* ───── Site-nav (header secondary nav, between wordmark and lang-switch) ───── */

.site-nav {
  display: flex;
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 10px; }
  .site-header .site-nav { display: none; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header .lang-switch { display: none; }
  .wordmark { font-size: 20px; gap: 10px; }
  .wordmark .mark { width: 32px; height: 32px; font-size: 18px; }
  .header-price { padding: 9px 14px; font-size: 13px; gap: 8px; }
  .header-price .dot { width: 7px; height: 7px; }
}

/* ───── Blog list groups ───── */

.blog-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px 24px;
}

.blog-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
}

.blog-list a {
  border-bottom: none;
  color: var(--ink);
  display: inline-block;
  padding: 4px 0;
}

.blog-list a:hover {
  color: var(--accent);
}

/* ───── Mobile (≤ 720px) padding pass ───── */

@media (max-width: 720px) {
  :root {
    /* Tighter rhythm on phones; less sparse bottom space. */
    --stack: clamp(48px, 14vw, 96px);
    /* Comfortable lateral breathing on phones; content sits inset from
       the screen edge instead of edge-to-edge. */
    --gutter: clamp(24px, 6vw, 56px);
  }

  /* Tighten the header internal layout on mobile so the wordmark and the
     lang-switch don't sit at opposite edges with a big lonely middle. */
  .site-header {
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 12px 16px;
  }

  .lang-switch {
    margin-left: auto;
  }

  /* Touch-target floor: WCAG 2.5.5 expects ≥ 44pt. Anchors and the
     details-summary need help; they default to text-box hit areas. */
  .site-nav a,
  .lang-switch a,
  .site-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
  }

  .hero-buy-collapsed > summary {
    display: inline-block;
    padding: 10px 0;
    line-height: 1.4;
  }

  .hero {
    /* Tighter top gap on mobile: header bottom-padding already gives breathing
       room, and the edition label sits right under it. */
    padding: clamp(12px, 4vw, 32px) 0 clamp(48px, 12vw, 80px);
  }

  /* Trust line lives at 12px and is hugged tight to the form. The 42ch cap
     used on desktop forces an unhappy 2-line wrap with "spam." alone on
     line 2 at 360pt viewport; release the cap on phones. */
  .waitlist-trust {
    max-width: none;
  }

  .hero-edition {
    margin-bottom: 20px;
  }

  .hero-prelaunch-note {
    margin-top: 20px;
    margin-bottom: 12px;
  }

  /* Form sits inside the gutter; cap its width on phones so it doesn't
     feel edge-to-edge with the rest of the hero. */
  .waitlist-form {
    max-width: 100%;
  }

  .waitlist-form input[type="email"] {
    flex: 1 1 200px;
  }

  .hero h1 {
    margin-bottom: 24px;
  }

  .hero .tagline {
    margin-bottom: 28px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  /* Eyebrow + hairline: if the label wraps on a narrow screen, the trailing
     rule looks broken. Drop the rule below ~480px and let the eyebrow be
     a clean label only. */
  .section-eyebrow,
  .hero-edition {
    flex-wrap: wrap;
  }

  .hero-edition::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .section-eyebrow::after {
    display: none;
  }

  .hero-edition::before {
    display: none;
  }
}

/* Touch target floor: every interactive ≥ 44 logical px tall. */
.btn-primary,
.btn-secondary,
.waitlist-form input[type="email"] {
  min-height: 44px;
}

/* ───── Almanac figures (inline SVG illustrations) ───── */
/* Hairline-only line drawings that read like a printed catalog page.
   Stroke inherits --ink; terracotta is reserved for the moment that earns it. */

.almanac-figure-block {
  margin: clamp(32px, 5vw, 56px) auto clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.almanac-figure {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.almanac-dial {
  max-width: 260px;
}

.almanac-link {
  max-width: 320px;
}

.almanac-launcher {
  max-width: 200px;
}

.almanac-figure circle,
.almanac-figure rect,
.almanac-figure path,
.almanac-figure line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.almanac-figure .accent-stroke {
  stroke: var(--accent);
}

.almanac-figure .accent-fill {
  fill: var(--accent);
  stroke: none;
}

.almanac-figure text {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  fill: var(--ink-faint);
  letter-spacing: 0.1em;
  text-anchor: middle;
  stroke: none;
}

.almanac-figure .figure-label-ink {
  fill: var(--ink);
  font-size: 10px;
  font-feature-settings: "tnum";
}

.almanac-caption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.almanac-caption .link-label {
  color: var(--accent);
}

.almanac-caption .gap {
  flex: 0 0 12px;
  height: 1px;
  background: var(--rule-2);
  align-self: center;
}

/* The fleuron: a section-divider mark with a single terracotta diamond
   flanked by hairline rules. Used between hero and the first feature
   block to mark the typographic transition. */
.almanac-divider-wrap {
  display: flex;
  justify-content: center;
  margin: clamp(8px, 2vw, 24px) auto clamp(48px, 8vw, 80px);
  max-width: var(--maxw);
  padding: 0 var(--gutter);
}

.almanac-divider {
  width: 96px;
  height: 14px;
}

@media (max-width: 720px) {
  .almanac-dial {
    max-width: 220px;
  }
  .almanac-link {
    max-width: 280px;
  }
  .almanac-launcher {
    max-width: 168px;
  }
  .almanac-caption {
    font-size: 9px;
    gap: 10px;
  }
}

/* ───── Persona-driven copy additions ───── */

.platform-line {
  margin: -8px 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  text-transform: none;
}


/* ───── Placeholder slots (visible, mark pending content) ───── */
/* Dashed-outline figures with a mono label. They sit where the real content
   will land. Marked PENDIENTE / PENDING in terracotta so they read as a
   typographic TODO, not as final UI. */

.placeholder-wrap {
  margin: clamp(8px, 2vw, 24px) auto clamp(40px, 6vw, 64px);
}

.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed var(--rule-2);
  background: var(--paper-2);
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 40px);
  margin: 0;
  text-align: center;
}

.placeholder-video {
  aspect-ratio: 16 / 9;
  min-height: 180px;
}

.placeholder-portrait {
  aspect-ratio: 4 / 3;
  min-height: 200px;
  margin: clamp(24px, 4vw, 40px) auto 0;
  max-width: 520px;
}

.placeholder-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.placeholder-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  max-width: 30ch;
}

.placeholder-meta {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin: 0;
  max-width: 42ch;
  line-height: 1.5;
}

/* ───── Cycle-1 honesty footnotes ───── */

.prose-footnote {
  font-size: 13px;
  color: var(--ink-faint);
  border-left: 1px solid var(--rule-2);
  padding-left: 14px;
  margin: 0 0 1em;
  line-height: 1.55;
  max-width: 64ch;
}

.prose-footnote code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--paper-3);
  padding: 1px 6px;
  color: var(--ink-soft);
}

.placeholder-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 6px 0 0;
}

.platform-line-aside {
  margin: -8px 0 22px;
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.5;
}

/* ───── Cycle-2 legal-honesty marker ───── */

.legal-pending {
  display: inline-block;
  padding: 4px 8px;
  margin: 2px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--paper-2);
  border: 1px dashed var(--rule-2);
  border-radius: 0;
}

.legal-pending a {
  color: var(--accent);
  border-bottom-color: var(--accent-soft);
}

/* ───── Web Audit (Quiles design canvas) implementation ─────
   Single hero CTA stack, corner colophon stamp, mid-page strip,
   single pricing card + extra-seat strip. Same tokens, new rhythm. */

.hero {
  position: relative;
}

.hero-stamp {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 6px 10px;
  border: 1px solid var(--rule-2);
  background: var(--paper-2);
}

@media (max-width: 720px) {
  /* On mobile the stamp would compete with the H1 for first-look weight,
     reintroducing the W1 finding the redesign was supposed to retire. The
     stamp is aria-hidden=decorative — drop it entirely on phones. */
  .hero-stamp {
    display: none;
  }
}

/* Bump mobile H1 floor so the display moment stays a display moment. */
.hero h1 {
  font-size: clamp(48px, 11vw, 128px);
}

.hero-mobile-break {
  display: none;
}

@media (max-width: 720px) {
  .hero-mobile-break {
    display: inline;
  }
}

/* The single mono caveat line replaces three stacked paragraphs. */
.hero-meta {
  margin: -8px 0 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  line-height: 1.6;
  max-width: 64ch;
}

/* Inline secondary CTA block — buy is visible, not collapsed. */
.hero-secondary-cta {
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  max-width: 480px;
}

.hero-secondary-cta .btn-secondary {
  min-height: 44px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
}

.hero-secondary-trust {
  margin: 0;
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .hero-secondary-cta {
    width: 100%;
    max-width: none;
  }
  .hero-secondary-cta .btn-secondary {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }
}

/* Mid-page conversion strip — between Steps and Reading. */
.mid-strip {
  border: 1px solid var(--ink);
  background: var(--paper-2);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.mid-strip-text {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mid-strip-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.mid-strip-line {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mid-strip-cta {
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .mid-strip {
    padding: 20px 22px;
    gap: 14px;
  }
  .mid-strip-line {
    font-size: 18px;
  }
  .mid-strip-cta {
    width: 100%;
  }
}

/* Single-card pricing layout. The 2-to-1 grid is gone; "Hijo extra"
   becomes an almanac strip below the main card. */
.pricing-solo {
  max-width: 640px;
  margin: 0 auto;
}

.pricing-solo .price-card.primary {
  border: 1px solid var(--ink);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.price-row .price {
  margin: 0;
}

.region-mono {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.price-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  flex-wrap: wrap;
}

.price-cta-row .btn-primary {
  flex: 1 1 220px;
  align-self: stretch;
}

.refund-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.4;
}

.extra-seat-strip {
  margin-top: 32px;
  padding: 18px 24px;
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
  display: grid;
  grid-template-columns: max-content max-content 1fr max-content;
  align-items: center;
  gap: 18px 24px;
}

.extra-seat-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.extra-seat-price {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.extra-seat-price small {
  font-size: 12px;
  color: var(--ink-faint);
  font-weight: 400;
  margin-left: 4px;
}

.extra-seat-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.extra-seat-strip .btn-secondary {
  min-height: 40px;
  padding: 10px 18px;
}

/* Tablet width: 4-col grid with long Spanish copy can spill. Drop to
   2 columns at the tightest tablet band before the full mobile collapse. */
@media (min-width: 721px) and (max-width: 900px) {
  .extra-seat-strip {
    grid-template-columns: max-content 1fr max-content;
    grid-template-rows: auto auto;
    gap: 6px 18px;
  }
  .extra-seat-strip .extra-seat-eyebrow {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .extra-seat-strip {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
  .extra-seat-strip .btn-secondary {
    width: 100%;
    margin-top: 6px;
  }
}
