.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-block;
  color: currentColor;
}

.icon-sm { width: 13px; height: 13px; }
.icon-md { width: 14px; height: 14px; }
.icon-lg { width: 20px; height: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-family: var(--font-sans-ui);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-body);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-control);
  text-decoration: none;
  white-space: nowrap;
  color: inherit;
}

.btn:hover { color: inherit; }

.btn-sm { font-size: var(--fs-body-sm); padding: 7px 14px; min-height: 34px; }
.btn-md { font-size: var(--fs-body); padding: 10px 20px; min-height: 44px; }
.btn-lg { font-size: var(--fs-body-lg); padding: 14px 28px; min-height: 52px; }

.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-1);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--text-on-accent); }

.btn-secondary {
  background: var(--surface-card);
  color: var(--text-strong);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-1);
}
.btn-secondary:hover { background: var(--bone-50); border-color: var(--border-accent); color: var(--text-strong); }

.btn-soft {
  background: var(--surface-accent-soft);
  color: var(--accent-soft-text);
  border-color: var(--gold-100);
}
.btn-soft:hover { background: var(--gold-100); color: var(--accent-soft-text); }

.btn-ghost {
  background: transparent;
  color: var(--text-body);
}
.btn-ghost:hover { background: var(--bone-200); color: var(--text-body); }

.btn:active { transform: scale(0.985); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  line-height: 1.5;
}

.badge-neutral {
  background: var(--surface-sunken);
  color: var(--text-muted);
  border: 1px solid var(--border-hairline);
}
.badge-accent {
  background: var(--surface-accent-soft);
  color: var(--accent-soft-text);
  border: 1px solid var(--gold-100);
}
.badge-record {
  background: #fff;
  color: var(--record-ink);
  border: 1px solid var(--border-hairline);
  font-family: var(--font-mono-record);
}

.card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
}
.card-e1 { box-shadow: var(--shadow-1); }
.card-e2 { box-shadow: var(--shadow-2); }
.card-e3 { box-shadow: var(--shadow-3); }
.card-flush { padding: 0; overflow: hidden; }

.halo {
  border-radius: var(--radius-circle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}
.halo-gold { background: var(--gold-100); color: var(--gold-700); }
.halo-sage { background: var(--sage-100); color: var(--sage-600); }
.halo-bone { background: var(--bone-200); color: var(--text-muted); }
.halo-ring { box-shadow: var(--shadow-halo); }
.halo-36 { width: 36px; height: 36px; }
.halo-52 { width: 52px; height: 52px; }
.halo-64 { width: 64px; height: 64px; }

.wrap {
  max-width: var(--width-content);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section { padding: 96px 0; }
.section-tight { padding: 24px 0 96px; }
.section-band {
  background: var(--bone-200);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-micro);
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: var(--fw-medium);
}

.display {
  margin: 0;
  font-family: var(--font-serif-display);
  font-weight: var(--fw-light);
  font-size: clamp(38px, 5.2vw, 56px);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--text-strong);
  text-wrap: pretty;
}

.title {
  margin: 0;
  font-family: var(--font-serif-display);
  font-weight: var(--fw-light);
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: var(--lh-title);
  letter-spacing: var(--ls-display);
  color: var(--text-strong);
  text-wrap: pretty;
}

.title-sm {
  font-size: clamp(26px, 3vw, 34px);
}

.lede {
  margin: 0;
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
  color: var(--text-muted);
  text-wrap: pretty;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 64px;
  align-items: center;
}

.split-start { align-items: start; }

.stack { display: flex; flex-direction: column; }
.stack-start { align-items: flex-start; }
.stack-center { align-items: center; text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
}

.site-header-inner {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
  text-decoration: none;
}

.wordmark:hover { color: var(--text-strong); }

.wordmark-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: var(--shadow-halo);
}

.wordmark-name {
  font-family: var(--font-serif-display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: var(--fs-body-sm);
}

.nav a { color: var(--text-muted); }
.nav a:hover { color: var(--text-strong); }
.nav a.btn-primary,
.nav a.btn-primary:hover { color: var(--text-on-accent); }

.cta-short { display: none; }

.hero {
  position: relative;
  padding: 96px 0 104px;
}

.hero-halo {
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 120%;
  background: var(--gradient-halo);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-copy .display { max-width: 15ch; }
.hero-copy .lede { max-width: 46ch; }

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

.hint { font-size: var(--fs-body-sm); color: var(--text-faint); }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.photo {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  aspect-ratio: 4 / 3.2;
  min-height: 320px;
  background: var(--bone-200);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-problem {
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 3;
  min-height: 0;
  box-shadow: var(--shadow-2);
}

.quote {
  margin: 0;
  font-family: var(--font-serif-display);
  font-size: var(--fs-title-3);
  line-height: var(--lh-tight);
  color: var(--carbon-700);
  max-width: 34ch;
}

.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif-display);
  font-weight: var(--fw-regular);
  font-size: var(--fs-title-3);
  line-height: var(--lh-tight);
  color: var(--text-strong);
}

.card p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-muted);
  max-width: 52ch;
}

.gold-close {
  margin: 12px 0 0;
  font-family: var(--font-serif-display);
  font-size: var(--fs-title-2);
  line-height: var(--lh-tight);
  color: var(--gold-700);
  max-width: 36ch;
  text-wrap: pretty;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.feature h3 {
  margin: 18px 0 8px;
  font-family: var(--font-sans-ui);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  color: var(--text-strong);
}

.feature p {
  margin: 0;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
  color: var(--text-muted);
}

.point {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.point p {
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  max-width: 44ch;
}

.chat-tabs {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.chat-thread {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bone-50);
}

.bubble {
  max-width: 78%;
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.bubble p {
  margin: 0;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
  color: var(--text-body);
  max-width: none;
}

.bubble-meta {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono-record);
  font-size: var(--fs-micro);
  color: var(--record-meta);
}

.bubble-in {
  align-self: flex-start;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
}

.bubble-out {
  align-self: flex-end;
  background: var(--gold-50);
  border: 1px solid var(--gold-100);
}

.chat-compose {
  padding: 20px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.draft {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: var(--surface-card);
}

.draft p {
  margin: 0;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
  color: var(--text-muted);
  max-width: none;
}

.tone {
  background: var(--surface-accent-soft);
  border: 1px solid var(--gold-100);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tone-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-caption);
  color: var(--gold-700);
  letter-spacing: var(--ls-micro);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
}

.tone-copy {
  font-family: var(--font-serif-display);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-tight);
  color: var(--text-strong);
}

.tone-note {
  font-size: var(--fs-caption);
  color: var(--text-muted);
}

.tone-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.cal-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cal-title {
  font-family: var(--font-serif-display);
  font-size: var(--fs-title-3);
  color: var(--text-strong);
}

.cal-legend {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: var(--fs-caption);
  color: var(--text-muted);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.cal-grid {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-dow {
  font-size: var(--fs-micro);
  color: var(--text-faint);
  text-align: center;
}

.cal-day {
  border-radius: var(--radius-xs);
  height: 56px;
  padding: 6px;
  font-size: var(--fs-micro);
}

.cal-day span {
  display: block;
  margin-top: 4px;
  line-height: 1.3;
}

.day-you { background: var(--sage-50); border: 1px solid var(--sage-100); color: var(--sage-600); }
.day-other { background: var(--gold-50); border: 1px solid var(--gold-100); color: var(--gold-700); }
.day-empty { background: var(--bone-100); border: 1px solid var(--border-hairline); color: var(--text-faint); }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: var(--fs-body);
  color: var(--text-body);
}

.check-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.check-item-top { align-items: flex-start; }

.record-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.record-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif-display);
  font-size: var(--fs-title-3);
  color: var(--text-strong);
}

.record-rows {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono-record);
  font-size: var(--fs-caption);
  color: var(--record-ink);
}

.record-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 10px;
}

.record-row:last-child { border-bottom: none; padding-bottom: 0; }
.record-row .meta { color: var(--record-meta); }

.record-foot {
  padding: 16px 24px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border-hairline);
  background: var(--bone-50);
}

.record-foot span {
  font-family: var(--font-mono-record);
  font-size: var(--fs-caption);
  color: var(--record-meta);
}

.kids {
  padding: 112px 0;
  background: var(--gold-50);
  position: relative;
  overflow: hidden;
}

.kids-halo {
  position: absolute;
  inset: 0;
  background: var(--gradient-halo);
  pointer-events: none;
}

.kids-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.kids .title { font-size: clamp(30px, 4vw, 44px); }

.kids .lede {
  color: var(--carbon-700);
  max-width: 52ch;
}

.lawyers-card { padding: var(--space-11); }

.calm {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--carbon-800);
}

.calm-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calm-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30, 27, 22, 0.72) 0%, rgba(30, 27, 22, 0.25) 100%);
}

.calm .wrap { position: relative; z-index: 1; }

.calm-copy {
  max-width: 24ch;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calm h2 { color: var(--bone-100); }
.calm p {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
  color: rgba(250, 247, 242, 0.82);
  max-width: 42ch;
}

.price {
  padding: 96px 0;
  background: var(--bone-200);
  border-top: 1px solid var(--border-hairline);
}

.price-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}

.price-card {
  width: 100%;
  padding: var(--space-11);
}

.price-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.amount-num {
  font-family: var(--font-serif-display);
  font-size: 56px;
  line-height: 1;
  color: var(--text-strong);
}

.amount-unit {
  font-size: var(--fs-body);
  color: var(--text-muted);
}

.ars {
  font-family: var(--font-mono-record);
  font-size: var(--fs-caption);
  color: var(--record-meta);
}

.rule {
  width: 100%;
  height: 1px;
  background: var(--border-hairline);
}

.price-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  text-align: left;
}

.price-cols h3 {
  font-family: var(--font-sans-ui);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  margin: 0 0 6px;
}

.price-cols p {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
  color: var(--text-muted);
  max-width: none;
}

.site-footer {
  position: relative;
  background: var(--carbon-800);
  color: var(--text-on-inverse);
  overflow: hidden;
}

.footer-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.footer-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30, 27, 22, 0.55) 0%, rgba(30, 27, 22, 0.92) 70%);
}

.footer-halo {
  position: absolute;
  inset: 0;
  background: var(--gradient-halo);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 112px 24px 40px;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  padding-bottom: 80px;
}

.footer-cta h2 {
  color: var(--bone-100);
  font-weight: var(--fw-light);
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: var(--lh-title);
  letter-spacing: var(--ls-display);
  max-width: 22ch;
  text-wrap: pretty;
}

.footer-cta p {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
  color: rgba(250, 247, 242, 0.78);
  max-width: 46ch;
}

.footer-cta .hint { color: rgba(250, 247, 242, 0.55); }

.footer-cols {
  border-top: 1px solid var(--border-inverse);
  padding-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }

.wordmark-dot-light {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-400);
}

.wordmark-name-light {
  font-family: var(--font-serif-display);
  font-size: 22px;
  color: var(--bone-100);
}

.footer-brand p {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
  color: rgba(250, 247, 242, 0.6);
  max-width: 30ch;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--fs-body-sm);
}

.footer-col span {
  color: rgba(250, 247, 242, 0.5);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-micro);
  text-transform: uppercase;
}

.footer-col a { color: rgba(250, 247, 242, 0.82); }
.footer-col a:hover { color: var(--bone-100); }

.copyright {
  display: block;
  margin-top: 40px;
  font-family: var(--font-mono-record);
  font-size: var(--fs-micro);
  color: rgba(250, 247, 242, 0.4);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 50;
  background: var(--surface-card);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

@media (max-width: 800px) {
  .nav-links { display: none; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 40px; }
  .hero .photo {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .photo { min-height: 240px; }
  .problem-split .problem-cards { order: 1; }
  .problem-split .problem-visual { order: 2; }
  .problem-split { gap: 32px; }
  .cal-day { height: 48px; font-size: 10px; }
  .cal-legend { flex-direction: column; align-items: flex-end; gap: 6px; }
  .amount-num { font-size: 44px; }
  .price-card, .lawyers-card { padding: var(--space-8); }
  .kids { padding: 80px 0; }
  .footer-inner { padding: 80px 24px 32px; }
  .calm { min-height: 380px; }
}

@media (max-width: 420px) {
  .btn-lg { padding: 12px 20px; font-size: var(--fs-body); }
  .hero-copy .display { max-width: none; }
}
