/* Total Stack Solutions — "server-room amber". Tokens match the portal (portal/resources/css/app.css). */
:root {
  --ground: #0e0f0c; --sunken: #121310; --surface: #1a1b17; --line: #2a2b25; --line-2: #34352e; --line-strong: #3a3b33;
  --ink: #ece8df; --ink-soft: #c9c4b8; --muted: #a8a296; --faint: #8c877c;
  --amber: #ff9a1f; --amber-hover: #ffb65c; --on-amber: #14130f; --ok: #7be38a;
  --display: 'Archivo', system-ui, sans-serif; --sans: 'IBM Plex Sans', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--amber); }
a:hover { color: var(--amber-hover); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.muted { color: var(--muted); }
.soft { color: var(--ink-soft); }
.band { border-top: 1px solid var(--line); }
.band--alt { background: var(--sunken); }
.section { padding-block: clamp(64px, 9vw, 104px); display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.section-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 700px; }
.h2 { font-weight: 800; font-size: clamp(34px, 4vw, 52px); line-height: 1.04; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 320px)), 1fr)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; cursor: pointer; background: transparent; font: inherit; }
.btn:hover { color: var(--ink); background: var(--surface); }
.btn--primary { background: var(--amber); border-color: transparent; color: var(--on-amber); font-weight: 600; }
.btn--primary:hover { background: var(--amber-hover); color: var(--on-amber); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; background: rgba(14, 15, 12, 0.92); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: 0.02em; }
.brand-name span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--muted); margin-top: 4px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a[aria-current='page'] { color: var(--amber); font-weight: 600; }
.header-ctas { display: flex; gap: 10px; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; order: 3; flex-direction: column; align-items: flex-start; gap: 0; padding-top: 8px; }
  .nav a { padding: 10px 0; width: 100%; }
  .site-header.is-open .nav { display: flex; }
  .header-ctas .btn:not(.btn--primary):not(.menu-toggle) { display: none; }
}

/* hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; padding-block: clamp(56px, 8vw, 104px) 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-weight: 800; font-size: clamp(46px, 6.4vw, 86px); line-height: 0.98; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lede { font-size: 20px; line-height: 1.55; color: var(--ink-soft); max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 32px; padding-top: 14px; border-top: 1px solid var(--line); }
.proof b { display: block; font-family: var(--display); font-weight: 800; font-size: 30px; }
.proof span { font-size: 14px; color: var(--muted); }

/* rack status panel */
.rack { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 28px 28px 24px; font-family: var(--mono); font-size: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.rack::before, .rack::after { content: ''; position: absolute; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); box-shadow: 0 calc(100% + 0px) 0 0 transparent; }
.rack::before { left: 10px; } .rack::after { right: 10px; }
.rack-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--line-2); }
.rack-head b { letter-spacing: 0.06em; font-weight: 600; }
.online { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); }
.online::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.rack dl { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 0; }
.rack dl div { display: flex; justify-content: space-between; gap: 16px; }
.rack dt { color: var(--muted); }
.rack dd { margin: 0; }
.rack .hot { color: var(--amber); font-weight: 600; }
.leds { display: flex; gap: 4px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.leds i { flex: 1; height: 22px; border-radius: 2px; background: var(--line-2); }
.leds i.on { background: var(--ok); opacity: 0.85; } .leds i.amber { background: var(--amber); }
.rack small { display: block; margin-top: 10px; font-size: 12px; color: var(--faint); }

/* cards */
.card { display: flex; flex-direction: column; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 32px; }
.card--accent { border-color: var(--amber); }
.card h3 { font-weight: 700; font-size: 26px; line-height: 1.15; }
.card .tag { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.card--accent .tag { color: var(--amber); }
.card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-soft); }
.card-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 14px; }
.card-foot b { font-weight: 600; }

/* privacy diagram */
.boundary { border: 2px dashed var(--amber); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 12px; font-family: var(--mono); font-size: 14px; }
.boundary-label { font-size: 12px; letter-spacing: 0.16em; color: var(--amber); }
.node { background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; padding: 14px 16px; color: var(--ink-soft); }
.node--main { display: flex; justify-content: space-between; color: var(--ink); padding: 16px 18px; }
.nodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wire { display: flex; align-items: center; gap: 14px; padding: 14px 8px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.wire::before, .wire::after { content: ''; flex: 1; border-top: 1px solid var(--line-2); }
.offsite { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; color: var(--faint); display: flex; justify-content: space-between; font-family: var(--mono); font-size: 14px; }

/* steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps li { border-top: 2px solid #5a5b52; padding: 22px 24px 24px 0; display: flex; flex-direction: column; gap: 10px; }
.steps li:first-child { border-color: var(--amber); }
.steps .n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.steps li:first-child .n { color: var(--amber); }
.steps b { font-family: var(--display); font-size: 22px; }
.steps span:last-child { color: var(--muted); font-size: 16px; }

/* automations */
.flow { font-family: var(--mono); font-size: 14px; gap: 14px; }
.flow h3 { font-family: var(--display); font-size: 22px; }
.flow .trigger { color: var(--amber); }
.flow .steps-list { color: var(--ink-soft); padding-left: 16px; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.flow .done { color: var(--ok); }

/* plans */
.plans-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.plans-strip a { display: flex; flex-direction: column; gap: 6px; padding: 24px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); }
.plans-strip a:last-child { border-right: 0; }
.plans-strip a:hover { background: var(--surface); color: var(--ink); }
.plans-strip span { color: var(--muted); font-size: 15px; }
.plans-strip .pop span { color: var(--amber); }
.plans-strip .pop { background: var(--surface); }
.price { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }

/* pricing page */
.toggle { display: inline-flex; padding: 4px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; }
.toggle button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-soft); font: 500 15px var(--sans); cursor: pointer; }
.toggle button[aria-pressed='true'] { background: var(--amber); color: var(--on-amber); font-weight: 600; }
.plan { position: relative; }
.plan .price { font-size: 48px; }
.plan-note { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.plan ul { flex-grow: 1; }
.plan--pop { border: 2px solid var(--amber); padding: 31px; }
.ribbon { position: absolute; top: -13px; left: 24px; background: var(--amber); color: var(--on-amber); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 4px; }
.fine { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.table-box table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.table-box thead tr { background: var(--surface); text-align: left; }
.table-box th[scope='col'] { padding: 16px 20px; font: 500 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.table-box tbody th, .table-box td { padding: 20px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-box td.mono { white-space: nowrap; }
.table-box .feature { background: #15160f; }
.table-box .feature th { color: var(--amber); }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--amber); }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 12px; color: var(--ink-soft); }

/* forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form textarea, .form select { min-height: 48px; padding: 10px 14px; border-radius: 6px; border: 1px solid #5a5b52; background: var(--ground); color: var(--ink); font: 400 16px var(--sans); }
.form textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* cta + footer */
.cta { background: var(--amber); color: var(--on-amber); }
.cta .wrap { padding-block: 88px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta h2 { font-weight: 800; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; max-width: 680px; }
.cta p { font-size: 19px; margin-top: 14px; }
.cta .btn { background: var(--on-amber); color: var(--ink); border-color: transparent; font-weight: 600; min-height: 56px; font-size: 18px; }
.cta .btn:hover { background: #2a2b25; color: var(--ink); }
.site-footer .cols { padding-block: 64px 40px; display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); font-size: 15px; }
.site-footer nav, .site-footer .col { display: flex; flex-direction: column; gap: 10px; }
.site-footer .col-head { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--faint); }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.legal { padding-block: 20px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); font: 13px var(--mono); color: var(--faint); }
.page-head { padding-block: clamp(56px, 7vw, 96px) 40px; display: flex; flex-direction: column; gap: 16px; max-width: 780px; }
.page-head h1 { font-weight: 800; font-size: clamp(42px, 5.6vw, 72px); line-height: 1; letter-spacing: -0.025em; }
.page-head p { font-size: 19px; color: var(--ink-soft); }

/* ---- v2: online sign-up, scheduling and layout polish ---- */
.btn--ghost { border-color: transparent; color: var(--ink-soft); }
.btn--ghost:hover { color: var(--ink); background: transparent; text-decoration: underline; }
.btn--outline-dark { border-color: var(--on-amber); color: var(--on-amber); background: transparent !important; }
.btn--outline-dark:hover { background: rgba(20, 19, 15, 0.08) !important; color: var(--on-amber) !important; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-actions .mono { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-login { display: none; }
@media (max-width: 1080px) { .header-ctas .btn--ghost { display: none; } .nav-login { display: inline; } }
@media (max-width: 860px) { .header-ctas .btn:not(.btn--primary):not(.menu-toggle) { display: none; } }

/* hero visual: an automated lead, minute by minute */
.pipeline { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 26px 28px 22px; font-family: var(--mono); font-size: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.pipeline-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--line-2); }
.pipeline-head b { letter-spacing: 0.06em; font-weight: 600; }
.pipeline ol { list-style: none; margin: 0; padding: 18px 0 6px; display: flex; flex-direction: column; gap: 0; }
.pipeline li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 10px 0 10px 0; position: relative; color: var(--ink-soft); }
.pipeline li::before { content: ''; position: absolute; left: 44px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.pipeline li:not(:last-child)::after { content: ''; position: absolute; left: 48px; top: 30px; bottom: -8px; border-left: 1px solid var(--line-2); }
.pipeline li span:last-child { padding-left: 16px; }
.pipeline .when { color: var(--faint); }
.pipeline li.win { color: var(--ok); }
.pipeline li.win::before { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.pipeline b { color: var(--ink); font-weight: 600; }
.pipeline small { display: block; margin-top: 10px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 12px; color: var(--faint); }

/* plan cards with online start */
.plans { align-items: stretch; }
.plan-name { display: flex; flex-direction: column; gap: 4px; }
.plan-name h3 { font-size: 22px; }
.plan-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.plan-actions .btn { width: 100%; }
.plan-call { font-size: 14px; color: var(--muted); text-align: center; text-decoration: none; }
.plan-call:hover { color: var(--amber); text-decoration: underline; }
.plan .price { display: block; }

/* services */
.vary { font-size: 13px; color: var(--muted); font-style: italic; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.jump a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.jump a:hover { border-color: var(--amber); color: var(--ink); }
section[id] { scroll-margin-top: 84px; }

/* forms */
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.form select { appearance: auto; }
.form button { align-self: flex-start; }
.error { color: #ff9c8c; }
.card h2 { font-family: var(--display); font-weight: 700; }
