/* Arevagi owns these neutrals. Client examples use their original local colors. */
:root{--ui-ink:#1a1a1a;--ui-text:#3b3b3b;--ui-muted:#666;--ui-soft:#aaa;--ui-border:#d6d6d6;--ui-surface:#f2f2f2;--ui-paper:#fff;color-scheme:light;accent-color:#1a1a1a}
::selection{color:#fff;background:#333}
/* Public reading scale. Device mockups and the full-screen scene have their own coordinates. */
:root {
  --type-label: clamp(.8125rem, .78rem + .11vw, .875rem);
  --type-small: 1rem;
  --type-body: clamp(1.0625rem, 1.035rem + .1vw, 1.125rem);
  --type-lead: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem);
  --type-card: clamp(1.375rem, 1.32rem + .24vw, 1.5625rem);
  --type-step: clamp(1.875rem, 1.73rem + .6vw, 2.375rem);
  --type-section: clamp(2rem, 1.68rem + 1.15vw, 2.625rem);
  --type-display: clamp(2.75rem, 2.08rem + 2.65vw, 4rem);
  --section-gap: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
}

.tag, .hero-inner .eyebrow {
  font-size: var(--type-label);
  line-height: 1.45;
  letter-spacing: .12em;
  color: var(--ui-muted);
}
.nav-links a, .nav-cta {font-size: .9375rem !important}
.brand-name {font-size: .9375rem}

.hero-inner .hero-title {
  font-size: var(--type-display);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.hero-inner .hero-sub, .section-description, .case-heading > p:last-child, .contact-sub {
  font-size: var(--type-lead);
  line-height: 1.55;
  text-wrap: pretty;
  max-width: 54ch;
}
.hero-inner .hero-sub {max-width: 49ch}
.section-description, .case-heading > p:last-child {
  margin: .7em 0 0;
  color: var(--ui-muted);
}
.contact-sub {margin: .7em auto 0; color: var(--ui-border)}
.section-title, .case-heading h2, .contact-title {
  font-size: var(--type-section);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.case-heading h2, .contact-title {margin: 0}
.section-services .section-head, .section-pricing .section-head, .case-heading {
  margin-bottom: var(--section-gap);
}
.section-services, .section-about, .section-pricing, .section-contact, .case-section {
  padding-block: clamp(3.75rem, 7.5vw, 7rem);
}
.section-services .card {display: flex; flex-direction: column}
.section-services .card-list {margin-top: auto}
.contact-head {margin-bottom: var(--section-gap)}
.card-title, .plan-name, .case-tile-info strong {
  font-size: var(--type-card);
  line-height: 1.25;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.about-desc, .card-desc, .plan-for, .case-tile-info > span:last-child {
  font-size: var(--type-body);
  line-height: 1.62;
}
.about-desc {text-align: left}
.card-desc, .plan-for {text-wrap: pretty}
.about-role, .card-list li, .plan-list li, .stat-val, .plan-unit, .plans-note {
  font-size: var(--type-small);
  line-height: 1.55;
}
.stat-lbl, .card-num, .plan-badge, .form-field label {
  font-size: var(--type-label);
  line-height: 1.45;
}
.card-num, .stat-lbl {color: var(--ui-muted)}
.plan-price {font-size: clamp(2.125rem, 1.9rem + .7vw, 2.5rem)}
.plan-month {font-size: var(--type-body)}
.plans-note {max-width: 72ch}
.plan {display: flex; flex-direction: column}
.plan-list {flex: 1}
.plan-list li {align-items: flex-start}
.plan-badge {letter-spacing: .045em; max-width: calc(100% - 32px)}
.btn-fill, .btn-ghost, .channel-btn, .form-submit, .plan-action {
  font-size: var(--type-small);
  line-height: 1.5;
}
.plan-action {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 18px; margin-top: 26px; min-height: 48px;
  text-decoration: none; border: 1px solid var(--ui-ink); border-radius: 7px; background: var(--ui-ink); color: white;
}
.plan-action--secondary {background: transparent; color: var(--ui-ink); border-color: var(--ui-border)}
.plan-action:hover {background: var(--ui-text); color: #fff}

.tag--light {color: var(--ui-soft)}
.contact-channels {flex-wrap: wrap}
.channel-btn--soon {color: var(--ui-soft)}
.channel-btn--soon em {font-size: .8125rem}
.form-field label {color: var(--ui-soft)}
.form-field input, .form-field textarea, .form-field select {font-size: var(--type-body); line-height: 1.5}
.form-field input::placeholder, .form-field textarea::placeholder {color: var(--ui-soft)}
.footer-brand, .footer-link, .footer-copy {font-size: .9375rem; line-height: 1.6}
.footer-link, .footer-copy {color: var(--ui-soft)}
.footer-link:hover {color: white}

a:focus-visible, button:focus-visible, .form-field :is(input, textarea, select):focus-visible {
  outline: 3px solid var(--ui-muted);
  outline-offset: 4px;
}
section[id], #form-contacto {scroll-margin-top: calc(var(--landing-nav-height, 76px) + 20px)}
/* Direct links should open at their destination. Animate deliberate in-page navigation. */
html {scroll-behavior: auto}
@media (prefers-reduced-motion: no-preference) {
  html:has(a[href^="#"]:focus:not(:focus-visible)) {scroll-behavior: smooth}
}

@media (max-width: 760px) {
  .plan {padding: 28px 24px}
  .nav-brand {flex-shrink: 0}
  .footer-inner {gap: 20px; flex-wrap: wrap}
}
@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior: auto !important}
}

/* Scene typography is intentionally independent of the scroll effects on the landing page. */
@media (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  .story-ready .section-head .tag {font-size: var(--type-label); letter-spacing: .12em}
  .story-ready .section-title, .story-ready .step-body h3 {font-size: var(--type-section); line-height: 1.15; letter-spacing: -.035em}
  .story-ready .process-intro, .story-ready .step-body p {font-size: var(--type-lead); line-height: 1.6; max-width: 760px}
  .story-ready .step-num {font-size: 16px}
  .care-request p {font-size: 18px; line-height: 1.55}
  .care-request > span {font-size: 12px; letter-spacing: .035em}
  .care-result b {font-size: 16px}
  .care-result small {font-size: 14px}
}
@media (max-width: 760px) {
  .care-request p {font-size: 16px}
  .care-request > span {font-size: 11px}
  .care-result b {font-size: 14px}
  .care-result small {font-size: 12px}
  .care-story {max-height: calc(var(--request, 0) * 250px)}
}


/* These statuses remain recognizable through text/icons as well as contrast. */
.contact-form :is(input,textarea):user-invalid{border-style:dashed;border-color:#ddd}
.form-ok{color:#eee;border-color:#777;background:#222}
