/* The six content pages.

   Loads last, after the theme contract, our brand values, and the package's reset and structure.
   Every colour here is a brand token from brand.css or theme.css — there is no second palette,
   and a hex literal in this file is a bug unless it is one of the two dark-ground text values
   declared immediately below, which theme.css has no property for.

   Layout rule for the whole file: every grid track is minmax(0, …) and nothing carries a fixed
   width, because the page has to hold at 375px with no horizontal scroll. */

:root {
  /* Legible on --brand-deep. Not in the theme contract: it only declares text colours for light
     grounds, and inventing --muted-on-dark there would change every site that loads the package. */
  --cream: #C9C4B8;
  --dim:   #9FB3A8;
}

/* The package's reset does not cover this, and the call demo hides list items with it. */
[hidden] { display: none !important; }

/* ---------------------------------------------------------------------- chrome */

.bar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}

.bar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.875rem var(--gutter);
  max-width: 82.5rem;
  margin: 0 auto;
}

.bar__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4375rem;
  color: var(--brand);
  white-space: nowrap;
}
.bar__logo { width: 22px; height: 22px; }

.bar__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.625rem, 2.4vw, 1.75rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.bar__link,
.bar__cta {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.bar__link {
  color: var(--muted);
  padding: 0.5rem 0.125rem;
  border-bottom: 1.5px solid transparent;
}
.bar__link:hover { color: var(--brand-deep); }
.bar__link[aria-current="page"] {
  color: var(--brand-deep);
  border-bottom-color: var(--accent);
}

.bar__cta {
  color: var(--paper);
  background: var(--brand);
  padding: 0.6875rem 1.25rem;
  border-radius: var(--radius);
  letter-spacing: 0.06em;
}
.bar__cta:hover { background: var(--brand-deep); color: var(--paper); }
.bar__cta[aria-current="page"] { background: var(--brand-deep); }

.bar__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--step--1);
  color: var(--muted-2);
}
.bar__lang a { padding: 0.5rem 0.125rem; }
.bar__lang a[aria-current="page"] { color: var(--brand-deep); font-weight: 500; }
.bar__lang a:hover { color: var(--accent); }

/* The one place the site says what is actually running. */
.strip {
  background: var(--brand-deep);
  color: var(--cream);
  font-size: var(--step--1);
  margin: 0;
  max-width: none;
  padding: 0.6875rem var(--gutter);
}

main {
  max-width: 82.5rem;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------------------------------------------------------------------- type */

.section {
  /* padding-inline is reset, not inherited: the package's .section carries the gutter itself,
     and <main> already applies it. Together they indented every section twice. */
  padding-inline: 0;
  padding-block: clamp(2.5rem, 7vw, 5.75rem);
}
.section--rule { border-top: 1px solid var(--line); }

.h1 {
  font-size: clamp(2.25rem, 7.6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.018em;
  color: var(--brand-deep);
  margin: 0 0 1.375rem;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(1.875rem, 4.6vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--brand-deep);
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

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

.lede { font-size: clamp(1.0625rem, 2.1vw, 1.1875rem); color: var(--muted); margin: 0 0 1.125rem; }
.note { font-size: var(--step--1); color: var(--muted-2); margin: 0 0 1.125rem; }

.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

.pagehead .lede:last-child { margin-bottom: 0; }

.actions { display: flex; gap: 0.875rem; flex-wrap: wrap; margin: 1.5rem 0 0; max-width: none; }

/* ---------------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--paper);
  padding: 1rem 2.25rem;
  border-radius: var(--radius);
  font-size: var(--step-0);
  letter-spacing: 0.05em;
  min-height: 44px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn:hover { background: var(--brand-deep); color: var(--paper); }

.btn--primary { background: var(--brand); color: var(--paper); }
.btn--primary:hover { background: var(--brand-deep); }

.btn--ghost { background: transparent; color: var(--brand-deep); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--stone); color: var(--brand-deep); }

.btn--accent { background: var(--accent); }
.btn--accent:hover { background: var(--brand-deep); }

/* ---------------------------------------------------------------------- grids */

.split { display: grid; gap: clamp(1.5rem, 3.5vw, 2.75rem); }
@media (min-width: 54rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .split--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.closer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.closer .h2 { margin: 0; }

/* ---------------------------------------------------------------------- opener

   Named `opener`, not `hero`. The package's site.css already owns .hero, .hero__body and
   .hero__panel for the previous design, and it loads first: .hero__panel there is a stone
   flex box with height:170px, which silently crushed the call demo to 197px wide and painted
   a stone rectangle beside it. Measured 2026-09-21 at 1440px before the rename. */

.opener { display: grid; gap: clamp(1.75rem, 3.5vw, 2.75rem); }
@media (min-width: 54rem) {
  .opener { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}

/* ---------------------------------------------------------------------- call demo */

.phone {
  background: var(--brand-deep);
  border-radius: 18px;
  padding: 1.5rem 1.375rem 1.375rem;
  box-shadow: 0 26px 62px color-mix(in srgb, var(--brand-deep) 26%, transparent);
}

.phone__top { margin: 0 0 1.125rem; max-width: none; }

.phone__badge {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 0.25rem 0.5rem;
}

.phone__bars { display: flex; align-items: flex-end; gap: 3px; height: 28px; margin-bottom: 1.25rem; }
.phone__bars span {
  width: 3px;
  height: 4px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--accent-soft) 40%, var(--brand));
  display: block;
  transition: height 0.18s ease;
}

.phone__lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 14.875rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bubble {
  max-width: 84%;
  padding: 0.75rem 1rem;
  font-size: 0.90625rem;
  line-height: 1.5;
  animation: bubble-rise 0.26s ease both;
  overflow-wrap: anywhere;
}
@keyframes bubble-rise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.bubble--caller {
  align-self: flex-start;
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px 13px 13px 13px;
}
.bubble--us {
  align-self: flex-end;
  background: var(--accent);
  color: var(--paper);
  border-radius: 13px 3px 13px 13px;
}

.phone__outcome {
  margin-top: 1.125rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--accent-soft) 40%, var(--brand));
  display: flex;
  gap: 0.875rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.phone__outcome-title  { font-size: var(--step--1); color: var(--paper); margin: 0; }
.phone__outcome-detail { font-size: 0.75rem; color: var(--dim); margin: 0; }
.phone__outcome-tag    { font-family: var(--serif); font-style: italic; font-size: 1.1875rem; color: var(--accent-soft); }

.play {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--brand);
  color: var(--paper);
  border: 0;
  padding: 1rem 1.875rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: var(--step-0);
  letter-spacing: 0.04em;
  cursor: pointer;
  min-height: 44px;
}
.play:hover { background: var(--brand-deep); }
.play svg { color: var(--accent-soft); flex-shrink: 0; }

/* ---------------------------------------------------------------------- facts */

.facts { display: grid; gap: clamp(1.25rem, 3vw, 2rem); list-style: none; margin: 0; padding: 0; }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.fact { border-top: 2px solid var(--line); padding-top: 1.375rem; }
.fact:first-child { border-top-color: var(--brand); }
.fact__value { display: block; font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: var(--brand-deep); }
.fact__note  { display: block; margin-top: 0.625rem; font-size: var(--step--1); color: var(--muted); }

/* ---------------------------------------------------------------------- figures */

.figure { margin: 0; }

.figure__caption {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 0.6875rem;
  font-size: 0.78125rem;
  color: var(--muted);
}

.tag {
  display: inline-block;
  background: var(--stone);
  color: var(--brand-deep);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3125rem 0.625rem;
  border-radius: var(--radius);
}

.shot {
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 44px color-mix(in srgb, var(--ink) 9%, transparent);
}
.shot img { width: 100%; height: auto; display: block; }

/* The drawing of the entrance. Captioned as a design, never as a screenshot. */
.gw {
  background: color-mix(in srgb, var(--paper) 70%, #fff);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 18px 44px color-mix(in srgb, var(--ink) 9%, transparent);
}

.gw__top {
  padding: 0.9375rem 1.375rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.25rem;
  color: var(--brand-deep);
  margin: 0;
  max-width: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* The slot a tenant's name would occupy. It reads "Tu negocio", so the drawing is legible as a
   template rather than as somebody's account. */
.gw__tenant { font-size: var(--step--1); color: var(--muted-2); }

.gw__body { padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 3.2vw, 2.125rem); }

.gw__question {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 3.6vw, 2.25rem);
  line-height: 1.08;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.gw__ask {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  padding: 0.875rem 1rem;
  margin: 0;
  max-width: none;
}
.gw__ask-text { flex-grow: 1; font-size: 0.9375rem; color: var(--muted-2); }

.gw__chips { display: flex; gap: 0.5rem; margin: 0.8125rem 0 0; padding: 0; flex-wrap: wrap; list-style: none; }
.gw__chips li {
  font-size: var(--step--1);
  color: var(--muted);
  background: var(--paper-2);
  border-radius: 15px;
  padding: 0.5rem 0.875rem;
}

.gw__tiles { display: grid; gap: 0.75rem; margin: 1.625rem 0 0; padding: 0; list-style: none; }
@media (min-width: 38.75rem) { .gw__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tile { background: #fff; border: 1px solid var(--line-2); border-radius: 9px; padding: 1rem 1.0625rem; }
.tile__name   { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--brand-deep); margin-bottom: 0.1875rem; }
.tile__detail { display: block; font-size: var(--step--1); color: var(--muted-2); line-height: 1.45; }
.tile--off { background: var(--paper-2); border-style: dashed; }
.tile--off .tile__name { color: var(--muted-2); }

/* ---------------------------------------------------------------------- dark panel */

.panel {
  background: var(--brand-deep);
  color: var(--paper);
  border-radius: 4px;
  padding: clamp(1.875rem, 4.5vw, 3.25rem);
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
}
@media (min-width: 54rem) {
  .panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .panel--single { grid-template-columns: minmax(0, 1fr); }
}

.panel__heading { font-size: clamp(1.875rem, 4.6vw, 3.5rem); line-height: 1.04; color: var(--paper); margin: 0 0 1.25rem; text-wrap: balance; }
.panel__heading em { color: var(--accent-soft); font-style: italic; }
.panel__body  { color: var(--cream); margin: 0 0 1.125rem; }
.panel__aside { color: var(--cream); font-size: var(--step--1); margin: 0; }
.panel--single .panel__body { max-width: 58ch; }

/* ---------------------------------------------------------------------- steps */

.steps { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }

.step {
  display: flex;
  gap: 1.375rem;
  padding: 1.375rem 0;
  border-top: 1px solid var(--line);
}
/* No closing border. The section that follows draws its own rule, and the two together
   rendered as a pair of hairlines with ~80px of dead space between them. The list reads as a
   ledger: a line above the first row and one between each pair. */

.step__n { font-family: var(--serif); font-size: 1.625rem; color: var(--accent); width: 2.25rem; flex-shrink: 0; }
.step__body { min-width: 0; }
.step__heading { font-size: 1.0625rem; font-weight: 500; margin: 0 0 0.375rem; color: var(--ink); }
.step__text { margin: 0; font-size: 0.9375rem; color: var(--muted); }

/* ---------------------------------------------------------------------- cards */

.cards { display: grid; gap: clamp(1.5rem, 3.5vw, 2.75rem); list-style: none; margin: 0; padding: 0; }
@media (min-width: 54rem) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.625rem 1.625rem 1.75rem; }
.card__heading { font-size: 1.0625rem; font-weight: 500; margin: 0 0 0.375rem; color: var(--ink); }
.card__text { margin: 0; font-size: 0.9375rem; color: var(--muted); }

/* ---------------------------------------------------------------------- applications */

.apps { list-style: none; margin: 0; padding: 0; }

.approw {
  border-top: 1px solid var(--line);
  padding-block: clamp(1.625rem, 3.4vw, 2.5rem);
  display: grid;
  gap: 1.125rem;
}
.approw:last-child { border-bottom: 0; }
@media (min-width: 51.25rem) {
  .approw { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; }
}

.approw__head { display: flex; align-items: baseline; gap: 0.875rem; flex-wrap: wrap; margin-bottom: 0.625rem; }
.approw__name {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 3.2vw, 2.25rem);
  color: var(--brand-deep);
  margin: 0;
  line-height: 1.05;
}
.approw__blurb { color: var(--muted); font-size: 0.9375rem; margin: 0; }

/* Readiness. The only claim this site makes about whether a thing exists. */
.st {
  font-size: 0.65625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3125rem 0.625rem;
  border-radius: var(--radius);
  white-space: nowrap;
  font-weight: 500;
}
.st--on    { background: var(--brand); color: var(--paper); }
.st--wip   { background: color-mix(in srgb, var(--accent) 14%, var(--paper)); color: var(--accent); }
.st--start { background: var(--paper-2); color: var(--brand); }
.st--plan  { background: var(--stone); color: var(--muted); }
.st--plus  { background: var(--accent); color: var(--paper); }

.parts { display: flex; flex-direction: column; margin: 0; }
.part {
  display: grid;
  grid-template-columns: minmax(0, 9.375rem) minmax(0, 1fr);
  gap: 0.5rem 1.25rem;
  padding: 0.6875rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  align-items: baseline;
}
.part:last-child { border-bottom: 0; }
.part__name   { font-weight: 500; color: var(--ink); margin: 0; }
.part__detail { color: var(--muted); margin: 0; }
@media (max-width: 35rem) { .part { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------------- contact form */

.contact { display: grid; gap: 1.5rem; }
@media (min-width: 54rem) { .contact { grid-template-columns: minmax(0, 1fr); max-width: 34rem; } }

/* ---------------------------------------------------------------------- footer */

.sitefoot { background: var(--brand-deep); color: var(--cream); margin-top: clamp(2.5rem, 6vw, 5rem); }

.sitefoot__in {
  max-width: 82.5rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
  display: grid;
  gap: 1.625rem;
}
@media (min-width: 47.5rem) {
  .sitefoot__in { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
}

.sitefoot__mark { font-size: 1.4375rem; color: var(--paper); }
.sitefoot__tagline { color: var(--cream); font-size: 0.9375rem; margin: 0.75rem 0 0; max-width: 36ch; }

.sitefoot__col { display: flex; flex-direction: column; align-items: flex-start; }
.sitefoot__heading {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.625rem;
}
.sitefoot__col a { color: var(--cream); font-size: 0.9375rem; padding: 0.3125rem 0; overflow-wrap: anywhere; }
.sitefoot__col a:hover { color: var(--accent-soft); }

.sitefoot__legal {
  border-top: 1px solid color-mix(in srgb, var(--accent-soft) 40%, var(--brand));
  font-size: var(--step--1);
  color: var(--dim);
  max-width: 82.5rem;
  margin: 0 auto;
  padding: 1.125rem var(--gutter);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}
.sitefoot__legal a { color: var(--cream); }
.sitefoot__legal a:hover { color: var(--accent-soft); }
.sitefoot__legal .footer__legal { color: var(--dim); border: 0; padding-top: 0; }

/* The legal pages sit inside the same main as everything else. */
.legal { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
