:root { --navy: #0b1b3a; --blue: #0056d2; --ink: #0f172a; --muted: #5b6b85; --line: #e3e8f2; --bg: #f5f7fc;
  --green: #12a150; --red: #d93a3a; --amber: #c27c0e; --gold: #b8924a; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Inter", system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; max-width: 1240px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; color: var(--navy); }
.brand img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.top nav { display: flex; gap: 8px; align-items: center; }
.top nav a { text-decoration: none; font-weight: 600; font-size: .9rem; padding: 9px 14px; border-radius: 99px; color: var(--muted); }
.top nav a.cta { background: var(--blue); color: #fff; }

.hero { background: radial-gradient(900px 400px at 85% -10%, rgba(0, 86, 210, .35), transparent 60%), radial-gradient(700px 400px at 0% 120%, rgba(255, 94, 126, .25), transparent 60%), var(--navy); color: #fff; }
.hero-in { max-width: 1240px; margin: 0 auto; padding: 52px 24px 40px; }
.kicker { margin: 0 0 12px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #8fb8ff; font-weight: 700; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.06; letter-spacing: -.03em; margin: 0; max-width: 18ch; }
.lead { font-size: 1.05rem; line-height: 1.6; color: #c7d4ee; max-width: 62ch; margin: 16px 0 24px; }
.pms-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pms-pick span { color: #8fb8ff; font-weight: 700; font-size: .85rem; margin-right: 4px; }
.pms-pick button { border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #dbe6fb; padding: 9px 16px; border-radius: 99px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.pms-pick button[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }

main { max-width: 1240px; margin: 0 auto; padding: 26px 24px 60px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; padding: 11px 18px; border-radius: 12px; border: 0; cursor: pointer; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn.ghost[aria-pressed="true"] { background: var(--navy); color: #fff; }
.btn:disabled { opacity: .45; cursor: default; }
.btn.wa { background: #25d366; color: #06341b; }

.steps-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 7px 12px 7px 8px; border-radius: 99px; cursor: pointer; }
.steps li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #eef2f8; font-size: .75rem; }
.steps li.done::before { content: "✓"; background: #dff5e7; color: var(--green); }
.steps li.on { color: #fff; background: var(--navy); border-color: var(--navy); }
.steps li.on::before { background: var(--blue); color: #fff; }
.step-ctl { display: flex; gap: 8px; min-width: 0; }
.step-say { min-height: 3.2em; margin: 16px 0 18px; font-size: 1.02rem; line-height: 1.55; color: var(--ink); max-width: 80ch; }
.step-say b { color: var(--blue); }

.stage { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }

.desk { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 48px -32px rgba(11, 27, 58, .35); }
.desk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: #23324d; color: #fff; }
.desk-head b { display: block; font-size: 1rem; }
.desk-head small { color: #b9c6de; font-size: .8rem; }
.desk-tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .12); padding: 5px 9px; border-radius: 6px; }
.table-wrap { overflow-x: auto; }
.desk-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.desk-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #f7f9fc; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.desk-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.desk-table tr.hi td { background: #fff8e6; }
.desk-table td.mono { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; color: var(--muted); }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.in { color: var(--green); background: #e6f6ec; }
.st.arr { color: var(--amber); background: #fdf3e1; }
.st.out { color: var(--muted); background: #eef1f6; }
.wifi-on { color: var(--green); font-size: .75rem; font-weight: 700; margin-left: 6px; }
.desk-table button { border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; font-size: .78rem; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.desk-table button.go { background: var(--blue); border-color: var(--blue); color: #fff; }
.desk-table button.end { color: var(--red); }
.desk-table button.pulse { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 86, 210, .45); } 50% { box-shadow: 0 0 0 7px rgba(0, 86, 210, 0); } }

.log { padding: 14px 18px 18px; background: #0f1a2e; color: #cfe0ff; min-height: 150px; }
.log b { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #8fb8ff; }
.log ol { list-style: none; margin: 10px 0 0; padding: 0; font-family: ui-monospace, Consolas, monospace; font-size: .8rem; line-height: 1.55; }
.log li { padding: 3px 0; border-bottom: 1px dashed rgba(255, 255, 255, .07); animation: fade .4s ease; }
.log li .t { color: #6f86ad; margin-right: 8px; }
.log li .ok { color: #6ee7a0; }
.log li .bad { color: #ff9a9a; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.phone-col { position: sticky; top: 16px; display: flex; flex-direction: column; align-items: center; }
.phone { width: 320px; height: 660px; border-radius: 44px; background: #111; padding: 12px; box-shadow: 0 0 0 2px #3a3a3a, 0 30px 60px -24px rgba(0, 0, 0, .55); }
.phone-bar { height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; color: #fff; font-size: .74rem; font-weight: 600; }
.notch { width: 90px; height: 22px; border-radius: 12px; background: #000; }
.screen { height: calc(100% - 26px); border-radius: 32px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, rgba(10, 14, 26, .25), rgba(10, 14, 26, .82)), url("../portal-themes/img/luxe-bg.jpg") center / cover; color: #fff; display: flex; flex-direction: column; }
.phone-note { color: var(--muted); font-size: .82rem; text-align: center; max-width: 300px; margin: 12px 0 0; }

.p-wrap { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 18px 22px; gap: 10px; animation: fade .35s ease; }
.p-logo { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; font-family: "Cormorant Garamond", serif; font-size: 1.3rem; color: #f3dfb4; margin: 0 auto; background: rgba(0, 0, 0, .25); }
.p-name { font-family: "Cormorant Garamond", serif; font-size: 1.6rem; text-align: center; margin: 2px 0 0; }
.p-eye { text-align: center; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: #f3dfb4; margin: 0; }
.p-card { background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.p-tabs { display: flex; gap: 4px; background: #f1f3f7; border-radius: 10px; padding: 3px; }
.p-tabs span { flex: 1; text-align: center; font-size: .72rem; font-weight: 700; padding: 7px 2px; border-radius: 8px; color: var(--muted); }
.p-tabs span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.p-card label { font-size: .7rem; font-weight: 700; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.p-card input { font: inherit; font-size: .95rem; padding: 10px 12px; border-radius: 10px; border: 1px solid #d6dce8; color: var(--ink); background: #fff; }
.p-card input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.p-btn { border: 0; border-radius: 11px; padding: 12px; font-weight: 700; background: #1c1712; color: #f3dfb4; cursor: pointer; }
.p-msg { font-size: .78rem; line-height: 1.4; padding: 8px 10px; border-radius: 9px; }
.p-msg.bad { background: #fde8e8; color: #9b1c1c; }
.p-msg.info { background: #eef4ff; color: #1e3a8a; }
.p-foot { text-align: center; font-size: .66rem; color: rgba(255, 255, 255, .7); margin: 0; }
.p-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #f3dfb4; margin: 0 auto; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.p-center { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 12px; padding: 24px; animation: fade .35s ease; }
.p-check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; background: rgba(18, 161, 80, .9); }
.p-check.off { background: rgba(120, 130, 150, .85); }
.p-center h3 { font-family: "Cormorant Garamond", serif; font-size: 1.7rem; margin: 0; }
.p-center p { margin: 0; color: #e5e9f2; font-size: .88rem; line-height: 1.5; }
.p-plan { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.p-plan i { font-style: normal; font-size: .72rem; font-weight: 600; background: rgba(255, 255, 255, .14); padding: 5px 9px; border-radius: 99px; }

.panel { margin-top: 44px; }
.panel-title h2 { margin: 0 0 6px; font-size: 1.5rem; letter-spacing: -.02em; }
.panel-title p { margin: 0 0 18px; color: var(--muted); line-height: 1.55; max-width: 80ch; }
.panel-win { background: #f4f6fb; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 48px -32px rgba(11, 27, 58, .35); }
.panel-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.panel-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e2e6ee; }
.panel-bar b { margin-left: 10px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.panel-body { padding: 18px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tile { background: #fff; border-radius: 14px; padding: 14px 16px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.tile small { color: var(--muted); font-size: .75rem; font-weight: 600; }
.tile b { font-size: 1.6rem; color: #6d28d9; }
.tile b.sm { font-size: 1.1rem; padding: 6px 0 4px; }
.tile span { color: var(--muted); font-size: .75rem; }
.tile i { font-style: normal; }
.pt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 22px 0 10px; font-size: 1rem; }
.pt i { font-style: normal; }
.pt small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.ptable { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: .84rem; }
.ptable th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ptable td { padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
.ptable tr.hi td { background: #fff8e6; }
.ptable tr.gone td { color: #9aa5b8; }
.ptable td.mono, .ptable code { font-family: ui-monospace, Consolas, monospace; font-size: .76rem; }
.ptable code { white-space: normal; word-break: break-word; color: #334155; display: block; min-width: 260px; }
.ptable .muted { color: var(--muted); }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.pill.on { color: var(--green); background: #e6f6ec; }
.pill.no { color: var(--muted); background: #eef1f6; }
.pill.off { color: #9aa5b8; background: #f3f4f7; }

.how { margin-top: 56px; }
.how h2, .cta-band h2 { margin: 0 0 16px; font-size: 1.5rem; letter-spacing: -.02em; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.node { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; min-width: 130px; }
.node b { display: block; font-size: .95rem; }
.node small { color: var(--muted); font-size: .78rem; }
.node.hub { background: var(--navy); color: #fff; border-color: var(--navy); }
.node.hub small { color: #b9c6de; }
.arrow { font-size: .74rem; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 6px; }
.arrow::after { content: "→"; font-size: 1.1rem; }
.how-note { color: var(--muted); line-height: 1.6; max-width: 80ch; margin: 16px 0 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.fact b { display: block; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.cta-band { margin-top: 48px; background: var(--navy); color: #fff; border-radius: 24px; padding: 32px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; color: #c7d4ee; }
footer { text-align: center; color: var(--muted); font-size: .8rem; padding: 0 24px 36px; }

@media (max-width: 900px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .phone-col { position: static; order: -1; }
}
@media (max-width: 560px) {
  .top { padding: 12px 16px; }
  .top nav a:not(.cta) { display: none; }
  .hero-in, main { padding-left: 16px; padding-right: 16px; }
  .step-ctl { width: 100%; }
  .steps-bar, .stage > * { min-width: 0; }
  .desk-table td, .desk-table th { padding: 10px 8px; }
  .desk-tag { display: none; }
  .desk-table td:nth-child(2) { white-space: normal; }
  .wifi-on { display: block; margin: 4px 0 0 2px; }
  .desk-table button { padding: 6px 8px; }
  .panel-body { padding: 12px; }
  .step-ctl .btn { flex: 1; padding: 11px 8px; }
  .steps li { font-size: 0; padding: 4px; }
  .steps li::before { font-size: .75rem; }
  .phone { width: 300px; height: 620px; }
  .desk-table th:nth-child(3), .desk-table td:nth-child(3), .desk-table th:nth-child(4), .desk-table td:nth-child(4) { display: none; }
}
