:root {
  --red: #d71920;
  --red-dark: #ad1016;
  --ink: #111113;
  --muted: #5d5d64;
  --line: #dedee2;
  --paper: #f7f8fa;
  --white: #fff;
  --shell: 72rem;
  --radius: 0.75rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body > main { flex: 1 0 auto; }
body > .site-header, body > .site-footer { flex-shrink: 0; }

a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--red); }

.shell {
  width: min(calc(100% - 2.5rem), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 12rem;
  height: auto;
}

.nav-menu summary {
  display: none;
  cursor: pointer;
  font-weight: 700;
}

.nav-menu-mobile { display: none; }

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-menu a[aria-current="page"] { color: var(--red); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(#11111303 1px, transparent 1px),
    linear-gradient(90deg, #11111303 1px, transparent 1px),
    var(--paper);
  background-size: 5rem 5rem;
}

.hero-mesh {
  position: absolute;
  right: -3%;
  top: 12%;
  width: 52%;
  height: 78%;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 55%, #000 88%, transparent);
}
@media (max-width: 48rem) {
  .hero-mesh { display: none; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .plan-card, .service-card { transition: transform .2s ease, border-color .2s ease; }
  .plan-card:hover { transform: translateY(-3px); border-color: var(--red); }
  .service-card:hover { transform: translateY(-2px); border-bottom-color: var(--red); }
}
.plan-card:focus-within { border-color: var(--red); }

.hero-grid {
  display: grid;
  gap: 3.5rem;
  padding-block: 3rem 4rem;
}

.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); color: var(--muted); font: .75rem/1.6 ui-monospace, monospace; }
.hero-meta .status { font-size: inherit; font-weight: 400; text-transform: none; }
.hero h1 { max-width: none; font-size: clamp(2.5rem, 5.8vw, 5.25rem); font-weight: 500; line-height: 1.08; }
.hero h1 span, .text-accent { color: var(--red); }
.hero-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hero-benefits p { margin: 0; padding: 1.25rem 1.5rem 0 0; }
.hero-benefits span { display: block; margin-bottom: .5rem; color: var(--muted); font: .7rem/1.5 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 500;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

h2 { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 500; }
h3 { font-size: 1.35rem; }

.hero-copy {
  max-width: 43rem;
  margin: 0;
  color: #3f3f45;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  font-weight: 600;
  text-decoration: none;
}

.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { color: var(--white); background: var(--red-dark); }
.button-secondary { border-color: var(--ink); }
.button-secondary:hover { color: var(--white); background: var(--ink); }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { color: var(--red); }

.status { font-size: 0.78rem; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; }
.status span { display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.4rem; border-radius: 50%; background: var(--red); }

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(15rem, 0.6fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 3rem;
}

.section-heading h2 { max-width: 22ch; margin-bottom: 0; }
.section-heading > p { margin: 0 0 0.5rem; color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 14rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card h3 { margin: 1.75rem 0 0.8rem; font-weight: 500; }
.service-card p { margin: 0; color: var(--muted); }
.service-number { color: var(--red); font-size: 0.75rem; font-weight: 800; }

.section-dark { color: var(--white); background: var(--ink); }
.section-dark .section-heading > p { color: #b6b6bc; }

.notice {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 1.5rem;
  margin-block: 2rem 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 0.25rem solid var(--red);
  background: #eef0f3;
  font-size: 0.9rem;
}

.notice span { color: var(--muted); }
.plans-section { background: var(--paper); border-block: 1px solid var(--line); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--white);
}

.plan-type { color: var(--muted); font: .7rem/1.5 ui-monospace, monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.plan-card h3 { margin-bottom: 0; font-size: 1.6rem; font-weight: 500; }
.plan-description { color: var(--muted); min-height: 4.8em; }
.plan-price { display: flex; flex-direction: column; gap: .25rem; }
.plan-price strong { font-size: 2.75rem; font-weight: 500; letter-spacing: -.05em; line-height: 1.2; }
.plan-price span { color: var(--muted); font-size: .8rem; }
.plan-mxn { color: var(--red-dark); font-size: .85rem; margin-block: .75rem 1.5rem; }
.plan-card dl { margin: auto 0 1.75rem; font-size: .85rem; }
.plan-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; border-bottom: 1px solid var(--line); }
.plan-card dt { color: var(--muted); }
.plan-card dd { margin: 0; text-align: right; font-weight: 600; }
.plan-card .button { margin-top: auto; }

.trust { background: var(--ink); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(3rem, 9vw, 8rem); }
.trust h2 { max-width: 16ch; }
.trust .text-accent { color: #ff5259; }
.trust .eyebrow { color: #ff757b; }
.trust .check-list li { border-color: #35353a; color: #c5c5ca; }
.trust-lead { margin-top: 0; font-size: 1.25rem; }
.check-list { margin: 2rem 0 0; padding: 0; list-style: none; }
.check-list li { padding: 1rem 0 1rem 2rem; border-top: 1px solid var(--line); position: relative; }
.check-list li::before { content: "+"; position: absolute; left: 0; color: var(--red); font-weight: 900; }

.cta-section { background: var(--paper); }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.cta-box .button-light { color: var(--white); background: var(--red); }
.cta-box .button-light:hover { background: var(--red-dark); }
.cta-box p:not(.eyebrow) { color: var(--muted); }
.cta-box h2 { max-width: 19ch; margin-bottom: 0; }

.site-footer { padding-top: 4rem; color: #c5c5ca; background: #0b0b0c; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .7fr; gap: 2rem; }
.brand-footer { color: var(--white); }
.footer-grid p { max-width: 25rem; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.footer-grid nav h2 { font: .7rem/1.5 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; color: #9999a1; margin-bottom: .75rem; }
.footer-grid nav a { color: var(--white); font-size: .85rem; text-decoration: none; overflow-wrap: anywhere; }
.footer-grid nav a:hover { text-decoration: underline; }
.copyright { margin-top: 3rem; padding-block: 1.25rem; border-top: 1px solid #2b2b2e; }

.page { min-height: 55vh; padding-block: clamp(4rem, 8vw, 7rem); }
.page-header { margin-bottom: 3.5rem; }
.page-header h1 { max-width: none; font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 500; }
.page-header > p:last-child { color: var(--muted); font-size: 1.2rem; }
.prose { width: 100%; }

.comparison-scroll { max-width: 100%; overflow-x: auto; margin-block: 2rem; border: 1px solid var(--line); }
.comparison-table { width: 100%; min-width: 60rem; border-collapse: collapse; font-size: 0.9rem; }
.comparison-table caption { padding: 1rem; text-align: left; font-weight: 700; background: var(--paper); }
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.comparison-table thead { background: var(--ink); color: var(--white); }
.comparison-table tbody th { white-space: nowrap; }
.prose h2 { margin-top: 2.5rem; font-size: 1.8rem; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: #414147; }
.prose a { color: var(--red-dark); font-weight: 650; }
.prose hr { margin-block: 3rem; border: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.prose h2 + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3.5rem;
  padding: 1.25rem .5rem;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  background:
    linear-gradient(var(--red), var(--red)) center / 100% 2px no-repeat,
    linear-gradient(var(--red), var(--red)) center / 2px 100% no-repeat;
}
.faq-item[open] summary::after { background: linear-gradient(var(--red), var(--red)) center / 100% 2px no-repeat; }
.faq-item summary:hover { color: var(--red); }
.faq-item summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.faq-item[open] { background: var(--paper); }
.faq-answer { padding: 0 .5rem 1.5rem; overflow-wrap: anywhere; color: #414147; }
.faq-answer > :first-child { margin-top: 0; }
.faq-answer > :last-child { margin-bottom: 0; }
.prose blockquote { margin: 2rem 0; padding: 0.5rem 1.25rem; border-left: 0.25rem solid var(--red); background: var(--paper); }

.interior-header {
  margin: 0;
  padding-block: 1.5rem clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(#11111304 1px, transparent 1px), linear-gradient(90deg, #11111304 1px, transparent 1px), var(--paper);
  background-size: 5rem 5rem;
}
.page-breadcrumb { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: clamp(2rem, 4vw, 3rem); color: var(--muted); font-size: .8rem; }
.page-breadcrumb a { text-decoration: none; }
.page-breadcrumb a:hover { text-decoration: underline; }
.section-marker { display: inline-block; width: .45rem; height: .45rem; margin-right: .7rem; border-radius: 50%; background: var(--red); vertical-align: middle; }
.interior-header h1 { margin-bottom: 1.25rem; }
.interior-description { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.interior-header-illustrated { position: relative; isolation: isolate; overflow: hidden; }
.header-art { position: absolute; right: -4%; top: -10%; width: 62%; height: 125%; z-index: -1; pointer-events: none; mask-image: linear-gradient(90deg, transparent 8%, #000 78%); }
.header-lattice { display: block; width: 100%; height: 100%; transform-origin: 70% 50%; mask-image: linear-gradient(180deg, #000 25%, #0009 55%, transparent 85%); }
.header-traveler { offset-path: var(--traveler-route); offset-distance: 20%; offset-anchor: 0px 0px; offset-position: 0px 0px; offset-rotate: 0deg; }
.header-traveler-secondary { offset-distance: 65%; }
.customer-art--hosting .header-traveler { offset-path: path("M16 44 80 12 144 44 80 76Z"); }
.customer-art--account .header-traveler { offset-path: path("M0 30H48Q56 30 56 38V62Q56 70 64 70H96Q104 70 104 78V102Q104 110 112 110H160"); }
.account-heading:has(.header-art) { position: relative; isolation: isolate; overflow: hidden; }
.account-heading .header-art { opacity: .7; }
@keyframes header-dot-travel {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
@keyframes header-dot-fade {
  0%, 100% { opacity: 0; }
  8%, 92% { opacity: 1; }
}
@keyframes header-lattice-drift {
  0%, 100% { transform: translate(-4px, 4px) scale(1); }
  50% { transform: translate(6px, -6px) scale(1.035); }
}
@media (prefers-reduced-motion: no-preference) {
  .header-lattice { animation: header-lattice-drift 18s ease-in-out infinite; animation-play-state: paused; }
  .header-art.motion-active .header-lattice { animation-play-state: running; }
  .header-traveler { animation: header-dot-travel 20s linear infinite, header-dot-fade 20s linear infinite; animation-delay: -4s; animation-play-state: paused; }
  .header-traveler-secondary { animation-duration: 24s; animation-delay: -15.6s; }
  .header-art.motion-active .header-traveler { animation-play-state: running; }
}
@media (max-width: 48rem) {
  .header-art { width: 85%; right: -25%; opacity: .5; }
  .header-lattice { mask-image: linear-gradient(180deg, #000 20%, #0005 45%, transparent 65%); }
}
.interior-content { width: min(calc(100% - 2.5rem), var(--shell)); padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); }
.interior-content > h2:first-child { margin-top: 0; }
.service-detail { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); padding-block: 2.5rem; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail-meta { display: flex; align-items: center; gap: 1.5rem; color: var(--red); }
.service-detail .service-number { font: .8rem/1.5 ui-monospace, monospace; }
.service-detail h2 { margin: 1.25rem 0 0; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.service-detail-copy > :first-child { margin-top: 0; }
.service-detail-copy > :last-child { margin-bottom: 0; }
.service-detail-copy a { text-decoration-thickness: 1px; }
.service-contact { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-left: 3px solid var(--red); background: var(--paper); }
.service-contact h2 { margin: 0 0 1rem; }
.service-contact p:last-child { margin-bottom: 0; }
.service-contact .eyebrow { color: var(--red); }
.prose .service-contact .button { color: var(--white); flex-shrink: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-detail-copy a { transition: text-underline-offset .2s ease, color .2s ease; }
  .service-detail-copy a:hover { text-underline-offset: .4em; }
}
@media (max-width: 48rem) {
  .service-detail { grid-template-columns: 1fr; gap: 1.25rem; }
  .service-contact { flex-direction: column; align-items: flex-start; }
}

:focus-visible { outline: 0.2rem solid var(--red); outline-offset: 0.2rem; }

.whatsapp-float {
  position: fixed;
  right: max(1.5rem, env(safe-area-inset-right));
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 2px solid white;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 16px #0003;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.whatsapp-float:hover { background: #1ebd5a; box-shadow: 0 6px 20px #0004; }
.whatsapp-float img { display: block; width: 2rem; height: 2rem; }
@media (max-width: 48rem) {
  .whatsapp-float { right: max(.75rem, env(safe-area-inset-right)); bottom: max(.75rem, env(safe-area-inset-bottom)); }
}
@media print { .whatsapp-float { display: none; } }

/* Server-rendered order, authentication and customer account pages. */
.customer-page h1 { max-width: 20ch; font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 500; overflow-wrap: anywhere; }
.customer-page h2 { margin-top: 3rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.customer-page > .muted:first-child {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 500;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.customer-page > p { max-width: 47rem; }
.customer-page .muted { color: var(--muted); }
.customer-page .bank-instructions { white-space: pre-line; }
.customer-page .service-step { margin-bottom: 1.5rem; border-top: 3px solid var(--red); }
.customer-page .service-step h2 { margin-top: 0; }
.customer-page .portal-history { margin: 1.5rem 0; }
.customer-page summary { cursor: pointer; font-weight: 600; }
.customer-page .payment-report-step { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.customer-page form:not([action="/auth/logout"]) {
  max-width: 47rem;
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  border-radius: .5rem;
  background: var(--white);
}
.customer-page label { display: block; margin-top: 1.25rem; font-weight: 500; }
.customer-page input:not([type="hidden"]), .customer-page select {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 0.4rem;
  padding: 0.8rem;
  border: 1px solid #85858d;
  border-radius: 0.4rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.customer-page button, .customer-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 1.25rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  background: var(--red);
  color: var(--white);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.customer-page button:hover, .customer-page .button:hover { background: var(--red-dark); }
.customer-page form[action="/auth/logout"] button { background: var(--white); color: var(--ink); border-color: var(--ink); }
.customer-page form[action="/auth/logout"] button:hover { background: var(--ink); color: var(--white); }
.customer-page .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.5rem; }
.customer-page .card { min-width: 0; padding: 1.5rem; border: 1px solid var(--line); background: var(--paper); overflow-wrap: anywhere; }
.customer-page .error { padding: 1rem 1.25rem; border-left: 0.25rem solid var(--red); background: #fff0f0; color: var(--red-dark); }
.customer-page .honeypot { position: absolute; left: -9999px; }

.customer-page:has(.customer-intro) { width: 100%; padding: 0; }
.customer-page .customer-intro h1 { max-width: none; }
.customer-workspace { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.customer-page .customer-workspace .customer-form { max-width: none; margin: 0; }
.customer-page .customer-form h2 { margin: 0 0 1.5rem; font-size: 1.6rem; }
.customer-form fieldset { min-width: 0; margin: 0 0 2rem; padding: 0; border: 0; }
.customer-form fieldset + fieldset { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.customer-form legend { padding: 0; font-size: 1.1rem; font-weight: 500; }
.customer-form legend span { margin-right: .75rem; color: var(--red); font: .75rem/1.5 ui-monospace, monospace; }
.customer-form [hidden] { display: none !important; }
.order-progress { margin-bottom: 2rem; }
.order-progress p { color: var(--red); font: .8rem/1.5 ui-monospace, monospace; }
.order-progress ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.order-progress li { border-top: 3px solid var(--line); padding-top: .65rem; font-size: .8rem; color: #666; }
.order-progress li[data-state="current"] { border-color: var(--red); color: var(--red); font-weight: 600; }
.order-progress li[data-state="complete"] { border-color: #222; color: #222; }
.customer-form [data-order-step] { border: 0; padding-top: 0; }
.customer-form [data-order-step] legend:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.order-review { background: #f7f8fa; border: 1px solid var(--line); padding: 1.25rem; margin: 1rem 0 1.5rem; overflow-wrap: anywhere; }
.order-review dl { margin: 0; }
.order-review dt { font-size: .75rem; color: #666; margin-top: 1rem; }
.order-review dt:first-child { margin-top: 0; }
.order-review dd { margin: .25rem 0 0; }
.order-total { margin-top: 1.25rem; padding: 1.5rem; background: #f7f8fa; border: 1px solid var(--line); border-radius: 4px; }
.order-total .order-total-heading { margin: 0 0 1rem; font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #666; }
.order-total dl { margin: 0; }
.order-total dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.order-total dt, .order-total dd { margin: 0; font-size: .95rem; color: #222; }
.order-total dd { text-align: right; font-variant-numeric: tabular-nums; }
.order-total .order-total-final { border-top: 1px solid var(--line); margin-top: .75rem; padding-top: 1rem; }
.order-total-final dt { font-weight: 600; }
.order-total-final dd { font-size: clamp(1.2rem, 3vw, 1.65rem); font-weight: 600; color: var(--red); white-space: nowrap; }
.order-total .order-total-note { margin: 1rem 0 0; font-size: .78rem; line-height: 1.6; color: #666; }
.order-review > .order-total { background: #fff; }
.payment-total { margin-bottom: 1.5rem; }
.payment-total details { margin-top: 1rem; font-size: .85rem; overflow-wrap: anywhere; }
.payment-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.payment-option { display: flex; flex-direction: column; padding: 1.25rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.payment-option.is-selected { border-color: var(--red); background: #fffafa; }
.payment-option h2 { font-size: 1.15rem; margin: 0; }
.payment-option p { color: #666; font-size: .85rem; flex: 1; }
.payment-option strong { font-variant-numeric: tabular-nums; margin-bottom: 1rem; }
.customer-page .payment-option form { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.customer-page .payment-option button { width: 100%; margin: 0; font-size: .85rem; padding: .75rem; }
.payment-instructions { overflow-wrap: anywhere; }
.bank-reference { padding: 1.25rem; border: 1px solid var(--line); background: #f7f8fa; margin: 1rem 0; }
.bank-reference > strong { font: 600 clamp(1.2rem, 4vw, 1.8rem)/1.5 ui-monospace, monospace; letter-spacing: .06em; white-space: nowrap; }
.bank-reference p { margin: .5rem 0; font-size: .85rem; }
.bank-details { padding: 1.25rem; background: #f7f8fa; border: 1px solid var(--line); border-radius: 4px; }
.bank-details .bank-instructions { margin: 0; white-space: pre-wrap; line-height: 1.8; }
.bank-payment-steps { padding-left: 1.5rem; }
.bank-payment-steps li { padding-left: .25rem; margin: .75rem 0; }
@media (max-width: 850px) { .payment-options { grid-template-columns: minmax(0, 1fr); } }
.account-orders { display: grid; gap: 1.25rem; }
.account-order { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.account-order-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr); gap: 2rem; padding: 1.75rem; }
.account-order-main h2 { margin: .4rem 0 .75rem; font-size: 1.5rem; overflow-wrap: anywhere; }
.account-order-reference { color: #666; font-size: .8rem; }
.account-order-reference span { display: block; margin-top: .3rem; color: #222; font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
.account-order-status { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 1.5rem 0 0; }
.account-order-status dt { color: #666; font-size: .75rem; margin-bottom: .5rem; }
.account-order-status dd { margin: 0; font-size: .9rem; }
.account-order-main > .order-total { margin-top: 0; align-self: start; }
.account-order-followup { border-top: 1px solid var(--line); padding: 1.25rem 1.75rem; background: #fafafa; font-size: .9rem; }
.account-order-followup strong { display: block; margin-bottom: .4rem; font-size: .8rem; }
.account-order-followup p { margin: 0; color: #555; line-height: 1.65; }
@media (max-width: 760px) {
  .account-order-main { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem; }
  .account-order-followup { padding: 1.25rem; }
}
@media (max-width: 420px) {
  .order-total { padding: 1rem; }
  .order-total dl > div { gap: .75rem; }
  .order-total dt, .order-total dd { font-size: .85rem; }
  .order-total-final dd { font-size: 1.2rem; }
}
.customer-page [data-step-back] { color: #222; background: transparent; border: 1px solid var(--line); }
.customer-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.customer-field-help { margin: .6rem 0 0; font-size: .8rem; color: var(--muted); }
.customer-field-help a, .customer-help a { color: var(--red-dark); }
.customer-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.customer-page .customer-form-actions button { margin: 0; }
.customer-form-actions a { font-size: .85rem; }
.customer-companion { padding-block: 1rem; }
.customer-page .customer-companion h2 { margin: 0 0 2rem; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.customer-benefits { list-style: none; margin: 0; padding: 0; }
.customer-benefits li { display: flex; gap: 1rem; padding-block: 1.25rem; border-top: 1px solid var(--line); }
.customer-benefits li > span { padding-top: .15rem; color: var(--red); font: .7rem/1.5 ui-monospace, monospace; }
.customer-benefits strong { font-weight: 500; }
.customer-benefits p { margin: .35rem 0 0; color: var(--muted); font-size: .9rem; }
.customer-help { padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; }
.customer-help a { display: block; margin-top: .4rem; }
@media (max-width: 48rem) {
  .customer-workspace { grid-template-columns: minmax(0, 1fr); }
  .customer-fields { grid-template-columns: minmax(0, 1fr); }
}

/* Customer workspace: compact typography and persistent internal navigation. */
.customer-page:has(.account-layout) { padding-block: 2.5rem 4rem; max-width: 84rem; }
.account-layout { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.account-sidebar { min-width: 0; position: sticky; top: 1.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--paper); }
.account-identity { display: flex; gap: .75rem; align-items: center; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.account-avatar { display: grid; place-items: center; flex: 0 0 2.5rem; height: 2.5rem; border-radius: .75rem; background: var(--ink); color: white; font-weight: 750; }
.account-identity div { min-width: 0; }
.account-identity strong, .account-identity div > span { display: block; overflow-wrap: anywhere; }
.account-identity div > span { font-size: .8rem; color: var(--muted); }
.account-nav { display: grid; gap: .35rem; padding-block: 1.25rem; }
.account-nav a { display: flex; align-items: center; gap: .65rem; padding: .7rem .75rem; border-radius: .5rem; font-size: .9rem; font-weight: 600; text-decoration: none; }
.account-nav a > span { width: 1.1rem; text-align: center; color: var(--muted); }
.account-nav a:hover { background: #eef0f3; }
.account-nav a[aria-current="page"] { background: #fcebed; color: var(--red-dark); }
.account-nav a[aria-current="page"] > span { color: var(--red-dark); }
.account-nav small { margin-left: auto; min-width: 1.3rem; padding: .05rem .35rem; border-radius: .3rem; background: white; text-align: center; font-size: .7rem; }
.account-sidebar-bottom { border-top: 1px solid var(--line); padding-top: 1rem; }
.account-add { display: block; padding: .6rem .75rem; font-size: .85rem; font-weight: 650; text-decoration: none; }
.customer-page .account-sidebar form[action="/auth/logout"] button { width: 100%; margin-top: .65rem; padding: .55rem .75rem; border-color: var(--line); background: transparent; border-radius: .5rem; color: var(--muted); font-size: .8rem; }
.customer-page .account-sidebar form[action="/auth/logout"] button:hover { background: var(--ink); color: white; }
.account-content { min-width: 0; }
.customer-page .account-content h1 { max-width: none; margin: .35rem 0 .65rem; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -.04em; }
.customer-page .account-content h2 { margin: 0 0 .75rem; font-size: 1.2rem; line-height: 1.4; letter-spacing: -.025em; }
.customer-page .account-content h3 { margin: 0 0 .5rem; font-size: 1.05rem; line-height: 1.4; letter-spacing: -.02em; overflow-wrap: anywhere; }
.account-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-left: 2px solid var(--red); border-radius: .5rem; background: linear-gradient(#11111303 1px, transparent 1px), linear-gradient(90deg, #11111303 1px, transparent 1px), var(--paper); background-size: 3rem 3rem; }
.account-heading p { margin: 0; color: var(--muted); font-size: .9rem; }
.customer-page .account-eyebrow { margin: 0 0 .4rem; color: var(--red-dark); font: .68rem/1.6 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .1em; }
.account-text-link, .account-back { font-size: .8rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.account-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.25rem; }
.account-stats a { padding: 1.25rem; border: 1px solid var(--line); border-radius: .5rem; text-decoration: none; background: #fff; }
.account-stats a:hover { border-color: var(--red); }
.account-stats span, .account-stats small, .account-stats strong { display: block; }
.account-stats span { font-size: .8rem; font-weight: 600; color: var(--muted); }
.account-stats strong { margin: .35rem 0; font-size: 2rem; font-weight: 500; line-height: 1.2; color: var(--ink); }
.account-stats small { font-size: .7rem; color: var(--muted); }
.account-section-heading { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; margin: 1.5rem 0 .75rem; }
.account-section-heading a { font-size: .8rem; white-space: nowrap; }
.account-service { margin-bottom: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: .5rem; background: white; overflow-wrap: anywhere; }
.account-service-header { display: flex; gap: 1rem; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.account-badge { display: inline-block; flex-shrink: 0; padding: .25rem .6rem; border-radius: 2rem; color: #4b515a; background: #f0f1f3; font-size: .7rem; font-weight: 650; white-space: nowrap; }
.account-badge--payment { color: #885517; background: #fff4dd; }
.account-badge--review, .account-badge--activation { color: #285889; background: #eaf2fb; }
.account-badge--active { color: #27654b; background: #e9f5ee; }
.account-next { padding: 1.1rem 1.25rem; border-left: 3px solid var(--red); border-radius: .25rem .5rem .5rem .25rem; background: var(--paper); }
.account-next > strong { font-size: .95rem; }
.account-next p { margin: .45rem 0 1rem; font-size: .85rem; color: var(--muted); max-width: 65ch; }
.customer-page .account-content .button, .customer-page .account-content button { padding: .65rem 1rem; border-radius: .45rem; font-size: .85rem; }
.account-service-details { margin-top: 1rem; font-size: .8rem; }
.account-service-details summary { color: var(--muted); }
.account-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.account-facts dt { font-size: .7rem; color: var(--muted); }
.account-facts dd { margin: .2rem 0 0; font-weight: 600; }
.account-empty { padding: 1.75rem; margin-bottom: 1rem; border: 1px dashed var(--line); border-radius: .85rem; background: #fafaf9; font-size: .9rem; }
.account-empty p { color: var(--muted); }
.account-empty .account-badge { margin-bottom: 1rem; }
.account-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: .8rem; }
.account-table { border-collapse: collapse; width: 100%; text-align: left; font-size: .8rem; }
.account-table th { padding: .85rem 1rem; background: #f7f7f5; color: var(--muted); font-size: .7rem; font-weight: 650; }
.account-table td { padding: 1rem; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; min-width: 7rem; }
.account-table td > span:not(.account-badge) { display: block; margin-top: .3rem; color: var(--muted); }
.account-support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.account-support-grid p { font-size: .85rem; color: var(--muted); }
.account-support-grid a { font-size: .9rem; font-weight: 600; }
.customer-page .account-content > .card { border-radius: .85rem; background: white; }
.customer-page .account-content form:not([action="/auth/logout"]) { max-width: none; padding: 1.25rem; border: 1px solid var(--line); border-radius: .6rem; background: #fafaf9; }
.account-layout :focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (max-width: 900px) {
  .account-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .account-sidebar { position: static; padding: .75rem; }
  .account-identity { display: none; }
  .account-nav { display: flex; overflow-x: auto; padding: 0 0 .5rem; gap: .25rem; }
  .account-nav a { white-space: nowrap; flex-shrink: 0; }
  .account-sidebar-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: .5rem; gap: 1rem; }
  .customer-page .account-sidebar form[action="/auth/logout"] button { margin: 0; }
}
@media (max-width: 560px) {
  .customer-page:has(.account-layout) { padding-top: 1rem; }
  .account-heading { display: block; }
  .account-text-link { display: inline-block; margin-top: .75rem; }
  .account-stats { gap: .5rem; }
  .account-stats a { padding: .75rem; }
  .account-stats span { font-size: .7rem; }
  .account-stats small { display: none; }
  .account-service { padding: 1rem; }
  .account-service-header { flex-direction: column; gap: .5rem; }
  .account-section-heading { align-items: start; }
  .account-support-grid { grid-template-columns: 1fr; }
}

@media (min-width: 48.01rem) and (max-width: 64rem) {
  .header-inner { gap: 1rem; }
  .nav-menu ul { gap: 0.85rem; }
  .brand img { width: 9.5rem; }
}

@media (max-width: 48rem) {
  .header-inner { min-height: 5rem; }
  .brand img { width: 10.5rem; }
  .nav-menu-desktop { display: none; }
  .nav-menu-mobile { position: relative; display: block; }
  .nav-menu summary { display: block; }
  .nav-menu[open] nav { position: absolute; top: 2.5rem; right: 0; width: min(18rem, calc(100vw - 2.5rem)); padding: 1rem; border: 1px solid var(--line); background: var(--white); box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12); }
  .nav-menu ul { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-menu a { display: block; padding: 0.7rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 2rem 3rem; }
  .hero-meta { margin-bottom: 2rem; gap: .5rem; }
  .hero-benefits { grid-template-columns: 1fr; }
  .hero-benefits p { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .hero h1 { overflow-wrap: break-word; }
  .section-heading, .trust-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .service-grid, .plan-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .notice { grid-template-columns: 1fr; gap: 0.25rem; }
  .cta-box, .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > div { grid-column: 1 / -1; }
  .plan-description { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
