/* Ropeway Hospitality Suite — public website. Standalone stylesheet (no build step); the Head Office and Super
   Admin panels keep their own Vite bundle. */
:root {
    --ink: #0b1324;
    --ink-2: #334155;
    --muted: #5b6b82;
    --line: #e3e8f0;
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --brand: #2350d2;
    --brand-ink: #1a3da6;
    --brand-soft: #eaf0ff;
    --ok: #0f8a5f;
    --ok-soft: #e6f6ef;
    --warn: #a15c07;
    --warn-soft: #fff4e2;
    --danger: #b42318;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(11, 19, 36, .05), 0 8px 24px rgba(11, 19, 36, .06);
    --container: 1160px;
    --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink-2); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-ink); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); font-weight: 750; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 720; }
h3 { font-size: 1.125rem; font-weight: 650; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(35, 80, 210, .35); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; color: var(--ink); font-size: 1.08rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), #3d74ff); color: #fff; display: grid; place-items: center; }
.brand-mark svg { width: 20px; height: 20px; }
.brand small { font-weight: 500; color: var(--muted); }
.brand-svg { flex: 0 0 auto; display: block; }
.brand-name { white-space: nowrap; }
.footer-tagline { color: #dbe5ff; font-weight: 600; }
@media (max-width: 420px) { .brand-name { font-size: .95rem; } .brand-name small { display: block; font-size: .72rem; line-height: 1.1; } }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.nav-toggle, .nav-toggle-label { display: none; }
@media (max-width: 960px) {
    .nav-toggle-label { display: grid; place-items: center; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff; }
    .nav-toggle-label svg { width: 22px; height: 22px; color: var(--ink); }
    .nav-wrap { position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; padding: 12px 16px 16px; }
    .nav-toggle:checked ~ .nav-wrap { display: block; }
    .nav { flex-direction: column; align-items: stretch; margin: 0; }
    .nav a { padding: 12px; }
    .nav-actions { margin: 12px 0 0; flex-direction: column; align-items: stretch; }
    .nav-actions .btn { justify-content: center; min-height: 44px; }
}
@media (min-width: 961px) { .nav-wrap { display: flex; align-items: center; margin-left: auto; } }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: .95rem; line-height: 1; padding: 12px 18px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { text-decoration: none; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c7d0de; color: var(--ink); background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--brand-ink); }
.btn-light:hover { background: var(--brand-soft); color: var(--brand-ink); }
.btn-sm { padding: 9px 14px; font-size: .9rem; }
.btn-lg { padding: 15px 22px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Sections ---- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .section { padding: 60px 0; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---- Hero ---- */
.hero { padding: 84px 0 76px; background:
    radial-gradient(900px 420px at 85% -10%, rgba(35, 80, 210, .10), transparent 70%),
    radial-gradient(700px 380px at -10% 10%, rgba(15, 138, 95, .07), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 56px 0; } }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--muted); list-style: none; padding: 0; margin: 0; }
.hero-notes li { display: flex; align-items: center; gap: 7px; }
.hero-notes svg { width: 16px; height: 16px; color: var(--ok); }

/* Architecture visual (schematic, no numbers) */
.arch { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; }
.arch-node { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; display: flex; gap: 12px; align-items: flex-start; }
.arch-node h4 { font-size: .98rem; margin: 0 0 2px; }
.arch-node p { font-size: .85rem; margin: 0; color: var(--muted); }
.arch-node .ico { flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.arch-node .ico svg { width: 20px; height: 20px; }
.arch-node.ho { border-color: #c9d6fb; background: linear-gradient(180deg, #f7f9ff, #fff); }
.arch-link { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .78rem; color: var(--muted); padding: 8px 0; }
.arch-link::before, .arch-link::after { content: ""; height: 1px; flex: 1; background: repeating-linear-gradient(90deg, #c7d0de 0 6px, transparent 6px 11px); }
.arch-counters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .arch-counters { grid-template-columns: 1fr; } }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-ok { color: var(--ok); background: var(--ok-soft); }
.pill-warn { color: var(--warn); background: var(--warn-soft); }
.pill-brand { color: var(--brand); background: var(--brand-soft); }
.pill-paid { color: #5b3cc4; background: #f0ebff; }
.pill-plain::before { display: none; }

/* ---- Cards / grids ---- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.card .ico svg { width: 22px; height: 22px; }
.card-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 7px; font-size: .93rem; }
.card-list li { display: flex; gap: 9px; align-items: flex-start; }
.card-list svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 4px; color: var(--ok); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }
.split.wide { grid-template-columns: 1.6fr 1fr; gap: 40px; }
@media (max-width: 900px) { .split, .split.wide { grid-template-columns: 1fr; gap: 32px; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .tick { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin-top: 1px; }
.checks .tick svg { width: 14px; height: 14px; }
.checks strong { color: var(--ink); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 24px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--radius-sm); padding: 14px 16px; font-size: .93rem; border: 1px solid; }
.notice svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; }
.notice-info { background: var(--brand-soft); border-color: #cddafd; color: #1e3a8a; }
.notice-warn { background: var(--warn-soft); border-color: #f6dcb0; color: #7a4504; }
.notice-ok { background: var(--ok-soft); border-color: #bfe6d4; color: #0b5e41; }

/* ---- Trial band / CTA ---- */
.band { background: linear-gradient(135deg, #12204a, #1f3fa0); color: #dbe5ff; border-radius: 20px; padding: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: #c7d4f7; margin: 0; }
.band .band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.band .btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
@media (max-width: 800px) { .band { grid-template-columns: 1fr; padding: 30px 24px; } .band .band-actions { justify-content: flex-start; } }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 900px) { .cta-actions { justify-content: flex-start; } }

/* ---- Pricing ---- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; }
.plan.is-trial { border-color: #b9cbfb; box-shadow: 0 0 0 4px var(--brand-soft); }
.plan-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.plan-top .pill { margin-top: 3px; }
.plan h3 { margin: 0; font-size: 1.2rem; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 4px; }
.plan-price .amt { font-size: 2.2rem; font-weight: 760; color: var(--ink); letter-spacing: -.02em; }
.plan-price .per { color: var(--muted); font-size: .95rem; }
.plan-duration { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.plan-desc { font-size: .93rem; color: var(--muted); }
.plan-features { list-style: none; padding: 16px 0 0; margin: 4px 0 22px; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: .93rem; }
.plan-features li { display: flex; gap: 9px; align-items: flex-start; }
.plan-features svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 4px; color: var(--ok); }
.plan-features strong { color: var(--ink); font-weight: 600; }
.plan .btn { margin-top: auto; }
.empty { text-align: center; padding: 48px 24px; border: 1px dashed #cbd5e1; border-radius: 16px; background: #fff; }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 620; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---- Page header ---- */
.page-head { padding: 64px 0 40px; background: radial-gradient(800px 300px at 90% -20%, rgba(35, 80, 210, .09), transparent 70%); border-bottom: 1px solid var(--line); }
.page-head .lead { margin-bottom: 0; }

/* ---- Contact ---- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--ink); }

/* ---- Forms ---- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 32px; }
@media (max-width: 600px) { .form-card { padding: 22px 18px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .req { color: var(--danger); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: .97rem; color: var(--ink); background: #fff; border: 1px solid #cfd8e5; border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(35, 80, 210, .15); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.field .error { font-size: .84rem; color: var(--danger); margin-top: 5px; }
.field.has-error input, .field.has-error textarea { border-color: #e9a29b; }
.fieldset-title { grid-column: 1 / -1; font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 10px 0 -4px; padding-top: 14px; border-top: 1px solid var(--line); }
.fieldset-title:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.check, .field label.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input, .field .check input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; padding: 0; accent-color: var(--brand); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error-summary { margin-bottom: 20px; }

/* ---- Footer ---- */
.site-footer { background: #0b1324; color: #9fb0c8; padding: 56px 0 28px; font-size: .93rem; }
.site-footer a { color: #c9d5e8; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #1d2a44; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #7f91ab; font-size: .85rem; }
