/* =========================================================
   SpacePOS – public site template (newweb)
   ========================================================= */

:root {
    --ink: #111214;
    --ink-2: #2b2d31;
    --muted: #6b6f76;
    --muted-2: #9a9ea5;
    --line: #e6e7ea;
    --surface: #f3f3f4;
    --chip: #f1f1f2;
    --white: #fff;

    --pill-dark: #1c1d20;
    --pill-taupe: #a59f98;
    --pill-slate: #8b939d;

    --tone-blue: #e7ebf3;
    --tone-lilac: #eeedf3;

    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-pill: 999px;

    --container: 1240px;
    --gutter: 28px;
    --header-h: 64px;

    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-display: "Outfit", "Inter", system-ui, sans-serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-dark { background: var(--pill-dark); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-dark:hover { background: #000; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { background: rgba(0,0,0,.25); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }

.arrow-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #f6f6f7;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 17px;
    line-height: 1;
    transition: background-color .2s, border-color .2s, opacity .2s;
}
.arrow-btn:hover { background: #fff; border-color: #cfd1d5; }
.arrow-btn:disabled { opacity: .4; cursor: default; }
.arrow-btn.sm { width: 30px; height: 30px; font-size: 14px; background: rgba(255,255,255,.7); }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.eyebrow.light { color: rgba(255,255,255,.8); }
.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -.02em;
    line-height: 1.15;
}
.section-title.xl { font-size: clamp(30px, 3.4vw, 44px); }
.section-sub { color: var(--ink-2); margin-top: 10px; }
.link-underline {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1.5px solid currentColor;
    padding-bottom: 1px;
}
.link-underline:hover { opacity: .7; }

.section { padding: 64px 0; }
.anchor-alias { display: block; height: 0; }   /* old links: /#demo-section, /#marketing-section */

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(0,0,0,.04); }
.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand img { width: 160px; height: auto; }

.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    color: var(--ink-2);
}
.main-nav > a { position: relative; padding: 6px 0; transition: color .2s; }
.main-nav > a:hover, .main-nav > a.active { color: var(--ink); }
.main-nav > a:not(.nav-phone)::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1.5px; background: var(--ink);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
}
.main-nav > a:hover::after { transform: scaleX(1); }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-phone svg { width: 15px; height: 15px; fill: var(--ink); }
.nav-divider { flex: 1; }
.nav-right { font-weight: 500; }

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Login bar ---------- */
.login-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.pill {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 128px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    border: 0;
    font-weight: 600;
    font-size: 14px;
    transition: transform .2s var(--ease), filter .2s, box-shadow .2s;
}
.pill:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.pill-dark { background: var(--pill-dark); color: #fff; }
.pill-taupe { background: var(--pill-taupe); color: var(--ink); }
.pill-slate { background: var(--pill-slate); color: #fff; }

/* home page: Login in the header makes the bar glow and the buttons hop, so users see where to sign in */
.login-bar { position: relative; }
.login-bar.is-highlight { animation: loginGlow 1.6s var(--ease) both; }
.login-bar.is-highlight .pill { animation: pillHop .7s var(--ease) both; }
.login-bar.is-highlight .pill:nth-child(2) { animation-delay: .12s; }
.login-bar.is-highlight .pill:nth-child(3) { animation-delay: .24s; }
.login-bar.is-highlight .pill::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(17,18,20,.35);
    animation: pillRing 1.2s ease-out .25s both;
    pointer-events: none;
}
.pill { position: relative; }
@keyframes loginGlow {
    0%   { background-color: var(--surface); box-shadow: inset 0 0 0 0 rgba(17,18,20,0); }
    25%  { background-color: #e4e6ea; box-shadow: inset 0 0 0 2px rgba(17,18,20,.18); }
    100% { background-color: var(--surface); box-shadow: inset 0 0 0 0 rgba(17,18,20,0); }
}
@keyframes pillHop {
    0%   { transform: translateY(0) scale(1); }
    30%  { transform: translateY(-7px) scale(1.06); }
    55%  { transform: translateY(0) scale(.98); }
    75%  { transform: translateY(-2px) scale(1.01); }
    100% { transform: translateY(0) scale(1); }
}
@keyframes pillRing {
    0%   { box-shadow: 0 0 0 0 rgba(17,18,20,.35); }
    100% { box-shadow: 0 0 0 14px rgba(17,18,20,0); }
}
@media (prefers-reduced-motion: reduce) {
    .login-bar.is-highlight .pill { animation: none; }
}

/* inner pages: the bar is closed until the user clicks Login in the header */
.login-bar.is-collapsible {
    max-height: 0;
    padding-top: 0; padding-bottom: 0;
    border-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .45s var(--ease), padding .45s var(--ease), border-width .45s, opacity .3s;
}
.login-bar.is-collapsible.is-open {
    max-height: 140px;
    padding-top: 10px; padding-bottom: 10px;
    border-width: 1px;
    opacity: 1;
}
.login-bar.is-collapsible .pill {
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), filter .2s, box-shadow .2s;
}
.login-bar.is-collapsible.is-open .pill { opacity: 1; transform: none; }
.login-bar.is-collapsible.is-open .pill:nth-child(1) { transition-delay: .12s, .12s, 0s, 0s; }
.login-bar.is-collapsible.is-open .pill:nth-child(2) { transition-delay: .19s, .19s, 0s, 0s; }
.login-bar.is-collapsible.is-open .pill:nth-child(3) { transition-delay: .26s, .26s, 0s, 0s; }
.login-bar.is-collapsible.is-open .pill:hover { transform: translateY(-1px); }
.main-nav > a[data-login-toggle][aria-expanded="true"] { color: var(--ink); font-weight: 600; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    margin-top: 22px;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(180deg, #8c8e94 0%, #6c6f76 45%, #5f626a 100%);
}
.hero::before {          /* top fade to white like the design */
    content: "";
    position: absolute; inset: 0 0 auto 0;
    height: 120px;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
    pointer-events: none;
}
.hero-map {
    position: absolute; inset: -4% -2%;
    background: url("../images/world-map.svg") center / cover no-repeat;
    opacity: .55;
    animation: mapDrift 60s ease-in-out infinite alternate;
}
@keyframes mapDrift {
    from { transform: scale(1.02) translateX(-1%); }
    to   { transform: scale(1.06) translateX(1%); }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 120px 24px 100px;
    text-align: center;
}
.badge-trust {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.12);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.badge-trust i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.hero h1 {
    margin: 22px 0 18px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -.01em;
    text-transform: uppercase;
    text-shadow: 0 2px 24px rgba(0,0,0,.12);
}
.hero p {
    max-width: 520px;
    margin: 0 auto;
    font-size: 17px;
    color: rgba(255,255,255,.82);
}
.hero-actions { margin-top: 30px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   Our Customers – marquee
   ========================================================= */
.customers .section-title { margin-bottom: 26px; }
.marquee {
    --gap: 12px;
    overflow: hidden;
    padding: 5px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee + .marquee { margin-top: 6px; }
.marquee-track {
    display: flex;
    gap: var(--gap);
    width: max-content;
    animation: marquee-left var(--duration, 45s) linear infinite;
    will-change: transform;
}
.marquee[data-direction="right"] .marquee-track { animation-name: marquee-right; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* the track holds two copies of the list, so moving by half its width (+ half a gap) loops seamlessly */
@keyframes marquee-left  { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@keyframes marquee-right { from { transform: translateX(calc(-50% - var(--gap) / 2)); } to { transform: translateX(0); } }

.chip {
    flex: none;
    padding: 9px 20px;
    border-radius: 12px;
    background: var(--chip);
    border: 1px solid #e3e4e7;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
    transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =========================================================
   Marketing slider
   ========================================================= */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.slider-controls { display: flex; align-items: center; gap: 10px; }
.slider-controls.end { justify-content: flex-end; margin: 24px 0 22px; }
.slider-count { font-size: 13px; color: var(--muted-2); min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
.slider-count b { font-weight: 500; color: var(--muted); }

.mkt-slider {
    position: relative;
    aspect-ratio: 1220 / 540;
    min-height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #111;
    touch-action: pan-y;
}
.mkt-slide {
    position: absolute; inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s var(--ease), visibility .8s;
}
.mkt-slide.is-active { opacity: 1; visibility: visible; }
.mkt-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 7s linear;
}
.mkt-slide.is-active img { transform: scale(1); }
/* dark layer: an even tint over the whole photo + a deeper fade behind the caption */
.mkt-slide::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.8) 100%),
        linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 60%),
        rgba(10,10,12,var(--mkt-dim, .45));
}
.mkt-caption {
    position: absolute;
    left: 48px; bottom: 52px;
    right: 260px;
    z-index: 2;
    color: #fff;
}
.mkt-caption h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(24px, 2.8vw, 36px);
    letter-spacing: -.02em;
    margin-bottom: 8px;
}
.mkt-caption p { max-width: 560px; color: rgba(255,255,255,.85); font-size: 14px; }
.mkt-slide.is-active .mkt-caption > * { animation: riseIn .7s var(--ease) both; }
.mkt-slide.is-active .mkt-caption h3 { animation-delay: .08s; }
.mkt-slide.is-active .mkt-caption p  { animation-delay: .16s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.mkt-cta { position: absolute; right: 48px; bottom: 52px; z-index: 3; }
.mkt-dots {
    position: absolute; left: 50%; bottom: 20px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex; gap: 6px;
}
.mkt-dots button {
    width: 6px; height: 6px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(255,255,255,.45);
    transition: width .35s var(--ease), background-color .35s;
}
.mkt-dots button.is-active { width: 22px; background: #fff; }

/* =========================================================
   Hardware
   ========================================================= */
.hw-wrap { position: relative; padding-right: 0; }
.hw-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 14px) / 3.08);
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.hw-track::-webkit-scrollbar { display: none; }
.hw-card {
    position: relative;
    aspect-ratio: 398 / 520;
    border-radius: var(--radius-md);
    overflow: hidden;
    scroll-snap-align: start;
    background: #ddd;
}
.hw-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.hw-card::after {
    content: "";
    position: absolute; inset: 0;
    /* dark layer over the photo, deeper at the bottom behind the label */
    background:
        linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.7) 100%),
        rgba(10,10,12,var(--hw-dim, .4));
    pointer-events: none;
    transition: opacity .6s var(--ease);
}
/* hover: the dark layer fades out so the photo shows at full brightness */
.hw-card:hover::after, .hw-card:focus-visible::after { opacity: 0; }
/* extra shade that fades in on hover so the description is readable */
.hw-card::before {
    content: "";
    position: absolute; inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.85) 100%);
    opacity: 0;
    transition: opacity .45s var(--ease);
    pointer-events: none;
}
.hw-card { cursor: pointer; }
.hw-info {
    position: absolute; left: 20px; right: 20px; bottom: 18px;
    z-index: 2;
    color: #fff;
}
.hw-info h3 { font-size: 15px; font-weight: 700; }
/* the description slides up from the bottom: the row grows from 0 to its height */
.hw-more {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .5s var(--ease), opacity .4s var(--ease);
}
.hw-more > div {
    overflow: hidden;
    transform: translateY(18px);
    transition: transform .5s var(--ease);
}
.hw-short { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.78); }
.hw-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    border-bottom: 1px solid rgba(255,255,255,.4);
    transition: color .2s, border-color .2s;
}
.hw-card:hover .hw-link { color: #fff; border-color: #fff; }

.hw-card:hover img, .hw-card:focus-visible img { transform: scale(1.05); }
.hw-card:hover::before, .hw-card:focus-visible::before { opacity: 1; }
.hw-card:hover .hw-more, .hw-card:focus-visible .hw-more { grid-template-rows: 1fr; opacity: 1; }
.hw-card:hover .hw-more > div, .hw-card:focus-visible .hw-more > div { transform: none; }
.hw-card:focus-visible { outline-offset: 2px; }

/* touch screens have no hover: show the description all the time */
@media (hover: none) {
    .hw-card::before { opacity: 1; }
    .hw-more { grid-template-rows: 1fr; opacity: 1; }
    .hw-more > div { transform: none; }
}

/* ---------- Hardware detail popup ---------- */
.hw-modal .modal-backdrop { background: rgba(8,8,10,.6); backdrop-filter: blur(8px); }
.hw-modal-box {
    position: relative;
    width: 100%;
    max-width: 780px;
    display: grid;
    grid-template-columns: 42% 58%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 40px 80px rgba(0,0,0,.35);
    animation: popIn .32s var(--ease) both;
}
.hw-modal-img { position: relative; min-height: 420px; background: #111; }
.hw-modal-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hw-modal-img::after {
    content: "";
    position: absolute; inset: 0;
    background: rgba(10,10,12,var(--hw-dim, .4));
}
.hw-modal-body { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.hw-modal-body h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -.02em;
    margin-bottom: 14px;
}
.hw-modal-body p { color: var(--ink-2); font-size: 14.5px; line-height: 1.75; margin-bottom: 14px; }
.hw-modal-actions { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.hw-modal-body > * { animation: riseIn .5s var(--ease) both; }
.hw-modal-body > :nth-child(2) { animation-delay: .05s; }
.hw-modal-body > :nth-child(3) { animation-delay: .1s; }
.hw-modal-body > :nth-child(4) { animation-delay: .15s; }
.hw-modal-body > :nth-child(5) { animation-delay: .2s; }

@media (max-width: 720px) {
    .hw-modal-box { grid-template-columns: 1fr; max-height: calc(100vh - 40px); overflow-y: auto; }
    .hw-modal-img { min-height: 220px; }
    .hw-modal-body { padding: 28px 22px; }
    .hw-modal-body h3 { font-size: 24px; }
}

/* =========================================================
   Features
   ========================================================= */
.feature-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.feature-panel {
    border-radius: var(--radius-lg);
    padding: 28px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}
.tone-blue { background: var(--tone-blue); }
.tone-lilac { background: var(--tone-lilac); }
.panel-pill {
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(0,0,0,.08);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}
.feature-view {
    position: relative;
    margin: 0;
    width: 100%;
    aspect-ratio: 564 / 486;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
}
.feature-view img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity .35s var(--ease), transform .6s var(--ease);
}
.feature-view.is-swapping img { opacity: 0; transform: scale(1.02); }
/* dark layer over the screenshot, deeper at the bottom behind the caption */
.feature-view::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%),
        rgba(10,10,12,var(--feature-dim, .35));
    pointer-events: none;
    transition: opacity .6s var(--ease);
}
/* hover: the dark layer fades out so the screenshot shows at full brightness */
.feature-view:hover::after { opacity: 0; }
.feature-view { background: #1c1d20; }
.feature-view figcaption {
    position: absolute; left: 14px; bottom: 14px;
    z-index: 1;
    max-width: calc(100% - 28px);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    background: rgba(17,18,20,.78);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.tile-viewport { width: 100%; overflow: hidden; margin-top: 12px; }
.tile-row {
    display: flex;
    transition: transform .5s var(--ease);
}
.feature-panel[data-per-page="4"] { --per-page: 4; }
.feature-panel[data-per-page="3"] { --per-page: 3; }
.tile {
    flex: 0 0 calc(100% / var(--per-page, 4));
    min-width: 0;
    padding: 0 12px;
    border: 0;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;   /* icon always at the same height, text below it */
    gap: 9px;
    padding-top: 14px;
    padding-bottom: 10px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--ink-2);
    text-align: center;
    line-height: 1.3;
    position: relative;
    z-index: 0;
    height: 100px;
}
.tile .ico { flex: none; }
.tile::before {      /* the tile box, drawn inside the 4px side padding */
    content: "";
    position: absolute; inset: 0 4px;
    border-radius: 12px;
    background: rgba(255,255,255,.45);
    border: 1px solid rgba(0,0,0,.08);
    z-index: -1;
    transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.tile:hover::before { background: rgba(255,255,255,.85); }
.tile.is-active::before { background: #fff; border-color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.tile .ico {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: grid; place-content: center;
    background: var(--ink-2);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    transition: background-color .2s, transform .2s var(--ease);
}
.tile:hover .ico { transform: translateY(-2px); }
.tile.is-active .ico { background: var(--ink); }

.pager { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.pager-dots { display: flex; gap: 5px; }
.pager-dots i {
    width: 5px; height: 5px;
    border-radius: 5px;
    background: rgba(0,0,0,.25);
    transition: width .3s var(--ease), background-color .3s;
}
.pager-dots i.is-active { width: 20px; background: var(--ink); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.faq-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(34px, 3.6vw, 46px);
    line-height: 1.02;
    letter-spacing: -.02em;
    text-transform: uppercase;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    background: none;
    border: 0;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
}
.faq-q:hover { color: var(--muted); }
.plus { position: relative; width: 12px; height: 12px; flex: none; }
.plus::before, .plus::after {
    content: "";
    position: absolute; left: 50%; top: 50%;
    width: 12px; height: 1.5px;
    background: var(--ink);
    transform: translate(-50%, -50%);
    transition: transform .3s var(--ease);
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: none; padding: 0 30px 22px 0; color: var(--muted); }
.faq-a a { color: var(--ink); text-decoration: underline; }

/* =========================================================
   Request a Demo
   ========================================================= */
.demo-card {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
}
.demo-visual {
    position: relative;
    min-height: 560px;
    background: radial-gradient(120% 90% at 30% 20%, #4a4d55 0%, #1d1e22 60%, #111214 100%);
    overflow: hidden;
}
.demo-visual img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 1.2s var(--ease);
}
.demo-card:hover .demo-visual img { transform: scale(1.04); }
/* Dark layer: overall dim + stronger fade at the bottom behind the heading */
.demo-visual::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 72%, rgba(0,0,0,.88) 100%),
        rgba(10,10,12,var(--demo-dim,.45));
}
.demo-visual-text { position: absolute; left: 36px; right: 36px; bottom: 30px; z-index: 1; color: #fff; }
.demo-visual-text h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(28px, 2.8vw, 36px);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.demo-visual-text p { font-size: 14px; color: rgba(255,255,255,.8); }

.demo-form { padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; }
.field input {
    width: 100%;
    height: 48px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    border: 1px solid #e0e1e4;
    background: #fff;
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #8a8d93; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,18,20,.08); }
.field.has-error input { border-color: #c0392b; }
.err { color: #c0392b; font-size: 12px; padding: 4px 20px 0; min-height: 0; }
.err:empty { display: none; }
.demo-form hr { border: 0; border-top: 1px solid #dfe0e3; margin: 6px 0 2px; width: 100%; }

fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
legend {
    width: 100%;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}
legend b { color: var(--ink); }
legend em { font-style: normal; font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted-2); margin-left: 4px; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.radio input {
    appearance: none; -webkit-appearance: none;
    margin: 0;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 1px solid #b9bbc0;
    background: #fff;
    display: grid; place-content: center;
    cursor: pointer;
}
.radio input::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ink);
    transform: scale(0);
    transition: transform .15s var(--ease);
}
.radio input:checked::before { transform: scale(1); }
.radio input:checked { border-color: var(--ink); }
.radio input:checked + span { font-weight: 600; color: var(--ink); }

.g-recaptcha { margin-top: 6px; }
#btnSubmitDemo { height: 50px; margin-top: 6px; font-size: 15px; }
#btnSubmitDemo[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-status { font-size: 14px; text-align: center; }
.form-status.ok { color: #1e7e34; }
.form-status.bad { color: #c0392b; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding-top: 56px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-brand img { width: 140px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 240px; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--pill-dark);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: grid; place-content: center;
    transition: transform .2s var(--ease), background-color .2s;
}
.socials a:hover { transform: translateY(-2px); background: #000; }
.site-footer h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: var(--ink-2); }
.footer-links a:hover, .footer-mail:hover { color: var(--ink); text-decoration: underline; }
.footer-phone { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.footer-mail { font-size: 13px; color: var(--ink-2); }
address { font-style: normal; display: grid; gap: 2px; }
address b { font-size: 13px; }
address span { font-size: 12px; color: var(--muted); margin-bottom: 12px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    padding-top: 24px;
    padding-bottom: 28px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
    position: relative;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom nav a { color: var(--ink-2); }
.footer-bottom nav a:hover { color: var(--ink); text-decoration: underline; }

/* =========================================================
   Modal
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,10,12,.55); backdrop-filter: blur(3px); animation: fadeIn .2s ease both; }
.modal-box {
    position: relative;
    width: 100%; max-width: 380px;
    padding: 34px 28px 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    display: grid; gap: 10px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,.25);
    animation: popIn .28s var(--ease) both;
}
.modal-box h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.modal-box p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.modal-close {
    position: absolute; top: 10px; right: 12px;
    width: 34px; height: 34px;
    border: 0; border-radius: 50%;
    background: var(--surface);
    font-size: 20px; line-height: 1;
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
    .main-nav { gap: 18px; }
    .brand img { width: 140px; }
}

@media (max-width: 960px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute;
        top: var(--header-h); left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px var(--gutter) 18px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 30px rgba(0,0,0,.08);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s, transform .2s, visibility .2s;
    }
    .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
    .main-nav > a { padding: 12px 0; border-bottom: 1px solid #f0f0f2; font-size: 15px; }
    .main-nav > a::after { display: none; }
    .nav-phone { margin-left: 0; order: 10; border-bottom: 0 !important; font-weight: 600; }
    .nav-divider { display: none; }

    .feature-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; gap: 20px; }
    .demo-card { grid-template-columns: 1fr; }
    .demo-visual { min-height: 380px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hw-track { grid-auto-columns: calc((100% - 14px) / 2.15); }
}

@media (max-width: 720px) {
    :root { --gutter: 18px; }
    .section { padding: 48px 0; }
    .login-bar { gap: 8px; }
    .pill { min-width: 0; padding: 9px 14px; font-size: 13px; }
    .hero { min-height: 520px; margin-top: 14px; }
    .hero-content { padding: 90px 18px 80px; }
    .hero p { font-size: 15px; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .mkt-slider { aspect-ratio: auto; height: 460px; }
    .mkt-caption { left: 22px; right: 22px; bottom: 96px; }
    .mkt-cta { left: 22px; right: auto; bottom: 42px; }
    .hw-track { grid-auto-columns: 78%; }
    .feature-panel { padding: 22px 12px 18px; }
    .feature-panel[data-per-page="4"] { --per-page: 3; }
    .demo-form { padding: 24px 18px; }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-map, .mkt-slide img { animation: none; transition: none; }
    .marquee-track { animation-duration: calc(var(--duration, 45s) * 3); }
    .reveal { opacity: 1; transform: none; }
}

.modal-box:focus, .hw-modal-box:focus { outline: none; }

/* =========================================================
   Shared helpers (used by inner pages)
   ========================================================= */
.sr {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap;
}
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #f1f1f2; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* smaller hero for inner pages */
.hero.hero-sm { min-height: 400px; }
.hero.hero-sm .hero-content { padding: 100px 24px 70px; }
.hero.hero-sm h1 { font-size: clamp(28px, 3.6vw, 48px); }

/* =========================================================
   Pricing page
   ========================================================= */
.plans { padding-top: 48px; }

/* product + billing switches */
.plan-switches {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.seg {
    position: relative;
    display: inline-flex;
    padding: 5px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--line);
}
.seg button {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 22px;
    border: 0; background: none;
    border-radius: var(--radius-pill);
    font-weight: 600; font-size: 14px;
    color: var(--muted);
    transition: color .3s var(--ease);
}
.seg button:hover { color: var(--ink); }
.seg button.is-active { color: #fff; }
.seg-thumb {
    position: absolute; top: 5px; bottom: 5px; left: 0;
    border-radius: var(--radius-pill);
    background: var(--pill-dark);
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
    transition: transform .45s var(--ease), width .45s var(--ease);
}

.billing { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.billing-label { font-size: 14px; font-weight: 600; color: var(--muted-2); cursor: pointer; transition: color .2s; }
.billing-label.is-on { color: var(--ink); }
.switch {
    position: relative;
    width: 48px; height: 26px;
    padding: 0;
    border-radius: var(--radius-pill);
    border: 0;
    background: #d4d6da;
    transition: background-color .3s var(--ease);
}
.switch span {
    position: absolute; top: 3px; left: 3px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    transition: transform .3s var(--ease);
}
.switch.is-on { background: var(--pill-dark); }
.switch.is-on span { transform: translateX(22px); }
.save-badge {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--tone-blue);
    font-size: 12px; font-weight: 700;
    color: var(--ink-2);
}

.product-intro {
    max-width: 560px;
    margin: 22px auto 0;
    text-align: center;
    color: var(--muted);
}

/* plan cards */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
    align-items: stretch;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.plan-grid[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan-grid.is-leaving { opacity: 0; transform: translateY(8px); }

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 26px 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    animation: riseIn .55s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 70ms);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17,18,20,.08); }
.plan-card h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -.01em;
}
.plan-tag { margin-top: 4px; font-size: 14px; color: var(--muted); }
.plan-price-box { margin: 24px 0 22px; min-height: 78px; transition: opacity .18s, transform .18s; }
.plan-price-box.is-swapping { opacity: 0; transform: translateY(-6px); }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.plan-price sup { font-size: 20px; font-weight: 700; align-self: flex-start; margin-top: 8px; }
.plan-price b {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -.03em;
}
.plan-price span { margin-left: 4px; font-size: 14px; color: var(--muted); }
.plan-note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.plan-note em { font-style: normal; font-weight: 700; color: var(--ink); }
.plan-lead { margin: 26px 0 12px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.plan-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan-points li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.plan-points i {
    flex: none;
    width: 18px; height: 18px; margin-top: 1px;
    border-radius: 50%;
    background: var(--pill-dark); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 9px;
}

/* the recommended plan is the dark one */
.plan-card.is-featured {
    background: radial-gradient(130% 80% at 20% 0%, #3a3c42 0%, #1d1e22 55%, #111214 100%);
    border-color: #111214;
    color: #fff;
    box-shadow: 0 24px 50px rgba(17,18,20,.22);
}
.plan-card.is-featured:hover { box-shadow: 0 30px 60px rgba(17,18,20,.3); }
.plan-card.is-featured .plan-tag,
.plan-card.is-featured .plan-price span,
.plan-card.is-featured .plan-note { color: rgba(255,255,255,.65); }
.plan-card.is-featured .plan-note em,
.plan-card.is-featured .plan-lead { color: #fff; }
.plan-card.is-featured .plan-points li { color: rgba(255,255,255,.85); }
.plan-card.is-featured .plan-points i { background: #fff; color: var(--ink); }
.plan-flag {
    position: absolute; top: 20px; right: 20px;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    font-size: 11px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
}

/* included in every plan */
.included {
    margin-top: 34px;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    border: 1px dashed #d4d6da;
    text-align: center;
}
.included-list {
    list-style: none; margin: 6px 0 0; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 10px 26px;
}
.included-list li { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; }
.included-list i { color: var(--ink); font-size: 15px; width: 18px; text-align: center; }

/* comparison table */
.compare { padding-top: 32px; }
.compare-wrap {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 14px;
}
.compare-table col.col-feature { width: 34%; }
.compare-table col.col-featured { background: #f6f6f8; }
.compare-table th, .compare-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #eeeff1;
    text-align: center;
    vertical-align: middle;
}
.compare-table th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink-2); }
.compare-table thead th {
    padding: 22px 18px 18px;
    border-bottom: 1px solid var(--line);
}
.compare-table thead th:first-child { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.compare-table thead b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.compare-table thead span { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--muted); }
.compare-table tr.grp th {
    padding: 22px 18px 10px;
    text-align: left;
    font-size: 11px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
    background: #fff;
}
.compare-table tbody tr:not(.grp):hover th,
.compare-table tbody tr:not(.grp):hover td { background: rgba(231,235,243,.55); }
.compare-table tfoot td, .compare-table tfoot th { border-bottom: 0; padding: 20px 18px 24px; }
.compare-table .yes {
    width: 24px; height: 24px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--pill-dark); color: #fff;
    font-size: 11px;
}
.compare-table .no { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: #cfd1d5; vertical-align: middle; }
.compare-table .val { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* hardware packages */
.hw-packages { padding-top: 32px; }
.pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pack-card {
    display: flex; flex-direction: column;
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #fff;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pack-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17,18,20,.08); border-color: #d4d6da; }
.pack-ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--pill-dark); color: #fff;
    display: grid; place-items: center;
    font-size: 18px;
}
.pack-card h3 { margin-top: 18px; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.pack-price { margin-top: 4px; font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -.02em; }
.pack-items { list-style: none; margin: 18px 0 22px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; flex: 1; align-content: start; }
.pack-items li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.pack-items b {
    flex: none;
    min-width: 30px;
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--surface);
    font-size: 12px; text-align: center;
    color: var(--ink);
}
.pack-card.is-loading {
    min-height: 300px;
    background: linear-gradient(100deg, var(--surface) 30%, #fafafb 50%, var(--surface) 70%) 0 0 / 300% 100%;
    border-color: transparent;
    animation: shimmer 1.4s linear infinite;
}
.pack-card.is-loading:hover { transform: none; box-shadow: none; }
@keyframes shimmer { to { background-position: -150% 0; } }
.pack-empty {
    grid-column: 1 / -1;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-align: center;
    color: var(--muted);
}
.pack-empty i { font-size: 26px; color: var(--ink); margin-bottom: 12px; }
.pack-empty a { color: var(--ink); font-weight: 700; }

/* call to action band */
.cta-band {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 56px;
    border-radius: var(--radius-lg);
    color: #fff;
    background: radial-gradient(120% 120% at 15% 10%, #4a4d55 0%, #1d1e22 60%, #111214 100%);
}
.cta-band .hero-map { opacity: .14; }
.cta-text, .cta-actions { position: relative; z-index: 1; }
.cta-text h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(28px, 3.2vw, 40px);
    letter-spacing: -.02em;
    line-height: 1.1;
}
.cta-text p { margin-top: 10px; max-width: 460px; color: rgba(255,255,255,.75); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

@media (max-width: 1100px) {
    .plan-grid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
    .plan-grid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
    .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}
@media (max-width: 720px) {
    .hero.hero-sm { min-height: 340px; }
    .hero.hero-sm .hero-content { padding: 80px 18px 56px; }
    .seg { width: 100%; }
    .seg button { flex: 1; justify-content: center; padding: 11px 10px; font-size: 13px; text-align: center; }
    .seg button i, .seg-more { display: none; }
    .plan-grid[data-count="4"] { grid-template-columns: 1fr; max-width: 520px; }
    .plan-card { padding: 26px 22px 24px; }
    .included { padding: 20px 18px; }
    .included-list { justify-content: flex-start; text-align: left; }
    .pack-grid { grid-template-columns: 1fr; }
    .compare-table { font-size: 13px; }
    .compare-table th, .compare-table td { padding: 12px; }
    /* keep the feature names visible while the plans scroll sideways */
    .compare-table th[scope="row"], .compare-table thead th:first-child {
        position: sticky; left: 0; z-index: 1;
        background: #fff;
        box-shadow: 1px 0 0 #eeeff1;
        min-width: 150px;
    }
    .cta-band { padding: 34px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .plan-card { animation: none; }
    .pack-card.is-loading { animation: none; }
}

/* =========================================================
   Contact page
   ========================================================= */
/* quick contact cards */
.quick-contact { padding-top: 48px; padding-bottom: 24px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quick-card {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s;
}
.quick-ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--pill-dark); color: #fff;
    display: grid; place-items: center;
    font-size: 17px;
    transition: background-color .3s, color .3s;
}
.quick-label { margin-top: 18px; font-size: 13px; color: var(--muted); transition: color .3s; }
.quick-card b { margin-top: 2px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.01em; word-break: break-word; }
.quick-go { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.quick-go i { transition: transform .3s var(--ease); }
.quick-card:hover {
    transform: translateY(-4px);
    background: var(--pill-dark);
    color: #fff;
    box-shadow: 0 18px 40px rgba(17,18,20,.18);
}
.quick-card:hover .quick-ico { background: #fff; color: var(--ink); }
.quick-card:hover .quick-label { color: rgba(255,255,255,.65); }
.quick-card:hover .quick-go i { transform: translateX(4px); }

/* form card: dark info panel + form */
.contact-main { padding-top: 24px; }
.contact-info {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(120% 90% at 20% 10%, #4a4d55 0%, #1d1e22 60%, #111214 100%);
}
.contact-info .hero-map { opacity: .12; }
.contact-info-inner {
    position: relative; z-index: 1;
    height: 100%;
    display: flex; flex-direction: column;
    padding: 44px 40px;
}
.contact-info h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(32px, 3.2vw, 44px);
    line-height: 1;
    text-transform: uppercase;
}
.contact-info-inner > p { margin-top: 14px; max-width: 380px; color: rgba(255,255,255,.75); }
.contact-lines { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 20px; }
.contact-lines li { display: flex; align-items: center; gap: 14px; }
.contact-lines i {
    flex: none;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
    display: grid; place-items: center;
    font-size: 15px;
}
.contact-lines small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.contact-lines a, .contact-lines span { font-weight: 600; font-size: 16px; }
.contact-lines a:hover { text-decoration: underline; }
.socials-light { margin-top: auto; padding-top: 34px; }
.socials-light a { background: rgba(255,255,255,.12); font-size: 14px; }
.socials-light a:hover { background: #fff; color: var(--ink); }

.form-head { margin-bottom: 6px; }
.form-head h2 { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.01em; }
.form-head p { margin-top: 2px; font-size: 13px; color: var(--muted); }

/* offices */
.office-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.office-card {
    position: relative;
    padding: 28px 26px 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.office-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17,18,20,.08); border-color: #d4d6da; }
.office-state {
    position: absolute; top: 14px; right: 20px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 64px;
    line-height: 1;
    color: var(--surface);
    transition: color .3s;
}
.office-card:hover .office-state { color: var(--tone-blue); }
.office-card h3 { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.office-card p { position: relative; margin-top: 8px; color: var(--ink-2); }
.office-card .link-underline { position: relative; margin-top: 18px; }

@media (max-width: 960px) {
    .quick-grid, .office-grid { grid-template-columns: 1fr; }
    .quick-card { display: grid; grid-template-columns: auto 1fr auto; column-gap: 16px; align-items: center; padding: 20px 24px; }
    .quick-card .quick-ico { grid-row: 1 / span 2; }
    .quick-card .quick-label { margin-top: 0; }
    .quick-go { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; }
    .contact-info-inner { padding: 36px 28px; }
}
@media (max-width: 720px) {
    .quick-card { grid-template-columns: auto 1fr; padding: 18px 20px; }
    .quick-go { display: none; }
}

/* =========================================================
   About page
   ========================================================= */
/* stats card that overlaps the bottom of the hero */
.stats-wrap { position: relative; z-index: 3; margin-top: -56px; }
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 8px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(17,18,20,.1);
}
.stat { padding: 24px 22px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* our story */
.story { padding-top: 80px; }
.story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.story-text .section-title { margin-bottom: 20px; }
.story-text p { color: var(--ink-2); }
.story-text p + p { margin-top: 14px; }
.story-lead { font-size: 17px; line-height: 1.6; }
.story-lead b { color: var(--ink); }
.story-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.story-visual {
    position: relative;
    overflow: hidden;
    padding: 48px 36px 40px;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--tone-blue) 0%, var(--tone-lilac) 100%);
}
.story-visual .hero-map { opacity: .5; }
.story-visual img {
    position: relative; z-index: 1;
    width: 100%; height: auto;
    filter: drop-shadow(0 26px 30px rgba(17,18,20,.22));
    animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY { 50% { transform: translateY(-10px); } }
.story-tag {
    position: absolute; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 15px;
    border-radius: var(--radius-pill);
    background: #fff;
    box-shadow: 0 10px 24px rgba(17,18,20,.12);
    font-size: 13px; font-weight: 700;
    animation: floatY 6s ease-in-out infinite;
}
.story-tag i { width: 22px; height: 22px; border-radius: 50%; background: var(--pill-dark); color: #fff; display: grid; place-items: center; font-size: 10px; }
.story-tag-1 { top: 22px; left: 22px; animation-delay: -2s; }
.story-tag-2 { bottom: 24px; right: 22px; animation-delay: -4s; }

/* why spacepos */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why-card {
    padding: 28px 26px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s;
}
.why-ico {
    width: 46px; height: 46px;
    border-radius: 13px;
    background: var(--pill-dark); color: #fff;
    display: grid; place-items: center;
    font-size: 18px;
    transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.why-card h3 { margin-top: 20px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.why-card p { margin-top: 8px; font-size: 14px; color: var(--muted); transition: color .3s; }
.why-card:hover {
    transform: translateY(-4px);
    background: var(--pill-dark);
    color: #fff;
    box-shadow: 0 18px 40px rgba(17,18,20,.18);
}
.why-card:hover .why-ico { background: #fff; color: var(--ink); transform: rotate(-8deg) scale(1.05); }
.why-card:hover p { color: rgba(255,255,255,.7); }

@media (max-width: 960px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .story-grid { grid-template-columns: 1fr; gap: 36px; }
    .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .stats-wrap { margin-top: -40px; }
    .stat { padding: 20px 12px; }
    .story { padding-top: 56px; }
    .story-visual { padding: 44px 18px 48px; }
    .story-tag { font-size: 12px; padding: 7px 12px; }
    .story-tag-1 { top: 12px; left: 12px; }
    .story-tag-2 { bottom: 12px; right: 12px; }
    .why-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .story-visual img, .story-tag { animation: none; }
}
@media (max-width: 720px) {
    .quick-card b { font-size: 18px; }
    .quick-go { display: none; }
    .contact-info-inner { padding: 30px 22px; }
}

/* =========================================================
   Sign up page
   ========================================================= */
.hero.hero-signup { min-height: 340px; }
.hero.hero-signup .hero-content { padding: 90px 24px 60px; }
.signup-section { padding-top: 40px; }
.signup-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}
.signup-layout.is-finished { grid-template-columns: minmax(0, 720px); justify-content: center; }
.signup-layout.is-finished .su-aside { display: none; }

.su-card {
    padding: 34px 36px 36px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}

/* progress */
.su-steps {
    list-style: none;
    margin: 0 0 30px; padding: 0;
    display: flex; align-items: center;
    counter-reset: none;
}
.su-steps li {
    flex: 1;
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600;
    color: var(--muted-2);
    white-space: nowrap;
}
.su-steps li + li::before {
    content: "";
    flex: 1;
    height: 2px;
    margin-right: 10px;
    border-radius: 2px;
    background: #dcdee2;
    transition: background-color .4s var(--ease);
}
.su-steps li:last-child { flex: none; }
.su-steps span {
    flex: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: #fff;
    border: 1px solid #d4d6da;
    font-size: 13px; font-weight: 700;
    transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.su-steps li.is-current { color: var(--ink); }
.su-steps li.is-current span { background: var(--pill-dark); border-color: var(--pill-dark); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 5px rgba(17,18,20,.08); }
.su-steps li.is-done { color: var(--ink-2); }
.su-steps li.is-done span { background: var(--ink); border-color: var(--ink); color: transparent; position: relative; }
.su-steps li.is-done span::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 12px; color: #fff; position: absolute; }
.su-steps li.is-done + li::before, .su-steps li.is-current::before { background: var(--ink); }

/* step content */
.signup-step1, .signup-step2, .signup-step3 { animation: riseIn .45s var(--ease) both; }
.su-head { margin-bottom: 22px; }
.su-head h2 { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -.01em; }
.su-head p { margin-top: 4px; color: var(--muted); font-size: 14px; }

.su-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.su-field { display: flex; flex-direction: column; margin-bottom: 16px; min-width: 0; }
.su-field > label { margin: 0 0 7px 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.su-field > label b { color: #c0392b; font-weight: 700; }
.su-field input, .sys-plan select {
    width: 100%;
    height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid #dcdee2;
    background: #fff;
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.su-field input::placeholder { color: #9a9ea5; }
.su-field input:focus, .sys-plan select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,18,20,.08); }
.su-hint { margin: 6px 0 0 4px; font-size: 12px; color: var(--muted-2); }
.su-pass { position: relative; }
.su-pass input { padding-right: 48px; }
.su-eye {
    position: absolute; top: 50%; right: 8px;
    transform: translateY(-50%);
    width: 34px; height: 34px;
    border: 0; border-radius: 10px;
    background: none;
    color: var(--muted);
}
.su-eye:hover { background: var(--surface); color: var(--ink); }

.signup-section .error-message { display: block; color: #c0392b; font-size: 12px; font-weight: 500; }
.signup-section .error-message:not(:empty) { padding: 5px 0 0 4px; }
.signup-section .error-message:empty { padding: 0; }

.su-actions { display: flex; flex-direction: column; align-items: stretch; margin-top: 10px; }
.su-actions-split { flex-direction: row; justify-content: space-between; gap: 12px; margin-top: 26px; }
.su-actions-split .btn-outline { padding-left: 22px; padding-right: 22px; }
.btn-next-signup { height: 52px; font-size: 15px; cursor: pointer; }
.su-actions-split .btn-next-signup { flex: 1; max-width: 320px; }
.btn-next-signup:disabled { opacity: .6; cursor: wait; transform: none; }

/* package blocks */
.su-block {
    margin-top: 22px;
    padding: 24px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--line);
}
.su-block-title {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
}
.su-block-title > span {
    width: 26px; height: 26px;
    border-radius: 8px;
    background: var(--pill-dark); color: #fff;
    display: grid; place-items: center;
    font-family: var(--font-body);
    font-size: 12px;
}
.su-block-title em {
    margin-left: 2px;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    font-family: var(--font-body);
    font-style: normal;
    font-size: 11px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--muted);
}
.su-block-sub { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

/* system choice */
.sys-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.sys-card {
    border-radius: var(--radius-md);
    border: 1.5px solid #e0e1e4;
    background: #fff;
    transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.sys-card:hover { border-color: #c4c6cb; }
.sys-card.is-selected { border-color: var(--ink); box-shadow: 0 10px 26px rgba(17,18,20,.1); background: #fcfcfd; }
.sys-pick { display: flex; align-items: center; gap: 12px; padding: 16px; cursor: pointer; }
.sys-pick input { position: absolute; opacity: 0; pointer-events: none; }
.sys-dot {
    flex: none;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 1.5px solid #b9bbc0;
    display: grid; place-items: center;
    transition: border-color .2s;
}
.sys-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .2s var(--ease); }
.sys-pick input:checked ~ .sys-dot { border-color: var(--ink); }
.sys-pick input:checked ~ .sys-dot::after { transform: scale(1); }
.sys-pick input:focus-visible ~ .sys-dot { outline: 2px solid var(--ink); outline-offset: 2px; }
.sys-ico {
    flex: none;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--surface);
    display: grid; place-items: center;
    font-size: 16px;
    transition: background-color .25s, color .25s;
}
.sys-card.is-selected .sys-ico { background: var(--pill-dark); color: #fff; }
.sys-text { display: flex; flex-direction: column; min-width: 0; }
.sys-text b { font-size: 14.5px; line-height: 1.3; }
.sys-text small { margin-top: 2px; font-size: 12px; color: var(--muted); }
.sys-plan { padding: 0 16px 16px; }
.sys-plan select {
    appearance: none; -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111214' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 12px no-repeat;
}
.show-link { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0 4px; font-size: 13px; font-weight: 600; border-bottom: 1px solid currentColor; }
.show-link i { font-size: 10px; }
.show-link:hover { opacity: .7; }

/* hardware + setup packages: the server sends table rows, shown here as selectable cards */
.pkg-list { margin-top: 16px; }
.pkg-list > br { display: none; }
.pkg-list .hardware-table { width: 100%; border: 0; border-collapse: separate; border-spacing: 0; display: block; }
.pkg-list thead { display: none; }
.pkg-list tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pkg-list tbody:empty::after { content: "No packages available right now."; font-size: 13px; color: var(--muted); }
.pkg-list tr {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "name chk" "price chk" "desc desc";
    align-content: start;
    padding: 16px 16px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid #e0e1e4;
    background: #fff;
    cursor: pointer;
    transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.pkg-list tr:hover { border-color: #c4c6cb; transform: translateY(-2px); }
.pkg-list tr:has(input:checked) { border-color: var(--ink); box-shadow: 0 10px 26px rgba(17,18,20,.1); }
.pkg-list th, .pkg-list td { padding: 0; border: 0; text-align: left; vertical-align: top; }
.pkg-list tr > th { grid-area: chk; }
.pkg-list tr > td:nth-of-type(1) { grid-area: name; font-weight: 700; font-size: 15px; padding-right: 10px; }
.pkg-list tr > td:nth-of-type(2) { grid-area: price; margin-top: 2px; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.pkg-list tr > td:nth-of-type(3) {
    grid-area: desc;
    margin-top: 12px; padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 13px; line-height: 1.5;
    color: var(--ink-2);
    text-align: left !important;
}
.pkg-list td br:nth-of-type(even) { display: none; }   /* items come as "(1) Item<br><br>(1) Item" */
.pkg-list .chk-center { display: flex; }
.pkg-list .checkmark { display: none; }
.pkg-list input[type="checkbox"] {
    appearance: none; -webkit-appearance: none;
    margin: 0;
    width: 24px; height: 24px;
    border-radius: 8px;
    border: 1.5px solid #b9bbc0;
    background: #fff;
    display: grid; place-items: center;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}
.pkg-list input[type="checkbox"]::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free"; font-weight: 900;
    font-size: 11px; color: #fff;
    transform: scale(0);
    transition: transform .2s var(--ease);
}
.pkg-list input[type="checkbox"]:checked { background: var(--pill-dark); border-color: var(--pill-dark); }
.pkg-list input[type="checkbox"]:checked::after { transform: scale(1); }

/* terms */
.su-terms { margin-top: 22px; }
.su-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.su-check input {
    appearance: none; -webkit-appearance: none;
    flex: none;
    margin: 1px 0 0;
    width: 20px; height: 20px;
    border-radius: 6px;
    border: 1.5px solid #b9bbc0;
    background: #fff;
    display: grid; place-items: center;
    cursor: pointer;
}
.su-check input::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 10px; color: #fff; transform: scale(0); transition: transform .2s var(--ease); }
.su-check input:checked { background: var(--pill-dark); border-color: var(--pill-dark); }
.su-check input:checked::after { transform: scale(1); }
.su-check a { font-weight: 600; color: var(--ink); border-bottom: 1px solid currentColor; }

/* success */
.su-success { padding: 30px 10px 14px; text-align: center; }
.su-success-ico {
    width: 76px; height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--pill-dark); color: #fff;
    display: grid; place-items: center;
    font-size: 30px;
    box-shadow: 0 0 0 10px rgba(17,18,20,.06);
    animation: popIn .6s var(--ease) both;
}
.su-success h2 { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -.01em; }
.su-success p { margin-top: 10px; color: var(--ink-2); }
.su-success-help { font-size: 14px; color: var(--muted) !important; }
.su-success-help a { color: var(--ink); font-weight: 700; }
.su-success .btn-done { margin-top: 26px; min-width: 180px; }

/* side panel */
.su-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.su-aside-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: #fff;
    background: radial-gradient(120% 90% at 20% 10%, #4a4d55 0%, #1d1e22 60%, #111214 100%);
}
.su-aside-card .hero-map { opacity: .12; }
.su-aside-inner { position: relative; z-index: 1; padding: 30px 28px; }
.su-aside-inner h2 { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.15; }
.su-how { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: how; }
.su-how li { position: relative; padding-left: 42px; counter-increment: how; }
.su-how li::before {
    content: counter(how);
    position: absolute; left: 0; top: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.08);
    display: grid; place-items: center;
    font-size: 12px; font-weight: 700;
}
.su-how b { display: block; font-size: 14px; }
.su-how span { display: block; font-size: 13px; color: rgba(255,255,255,.65); }
.su-trial {
    display: flex; align-items: center; gap: 10px;
    margin-top: 24px; padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.1);
    font-size: 13px;
}
.su-help {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}
.su-help small { display: block; font-size: 12px; color: var(--muted); }
.su-help a { font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.su-already { text-align: center; font-size: 14px; color: var(--muted); }
.su-already a { color: var(--ink); font-weight: 700; border-bottom: 1px solid currentColor; }

/* popups used by signup.js (shown with jQuery .show()/.hide()) */
.su-modal, .su-notify {
    position: fixed; inset: 0;
    z-index: 120;
    overflow-y: auto;
    padding: 6vh 16px;
    background: rgba(10,10,12,.55);
    backdrop-filter: blur(3px);
}
.su-modal-box, .su-notify-box {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.3);
    animation: popIn .3s var(--ease) both;
}
.su-modal-head { display: flex; gap: 14px; padding: 26px 26px 0; }
.su-modal-head h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.su-modal-head p { margin-top: 3px; font-size: 13px; color: var(--muted); }
.su-modal-ico {
    flex: none;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--pill-dark); color: #fff;
    display: grid; place-items: center;
    font-size: 17px;
}
.su-modal-ico.warn { background: #fdf1e3; color: #b9690b; }
.su-modal-body { padding: 18px 26px 6px; font-size: 14px; color: var(--ink-2); }
.su-modal-body p + p { margin-top: 10px; }
.su-total:not(:empty) {
    margin-bottom: 16px; padding: 14px 16px;
    border-radius: 12px;
    background: var(--surface);
    font-size: 14px; line-height: 1.6;
}
.su-total br:last-child, .su-total br:nth-last-child(2) { display: none; }
.su-card-field { padding: 15px 16px; border-radius: 12px; border: 1px solid #dcdee2; background: #fff; transition: border-color .2s, box-shadow .2s; }
.su-card-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,18,20,.08); }
#card-errors { min-height: 0; margin-top: 8px; color: #c0392b; font-size: 13px; font-weight: 600; }
#card-errors:empty { margin-top: 0; }
.su-secure { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.su-skip-list { margin: 0 0 12px; padding: 12px 16px 12px 34px; border-radius: 12px; background: var(--surface); font-weight: 600; color: var(--ink); }
.su-modal-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 18px 26px 24px; }
.su-modal-foot .btn { cursor: pointer; }

.su-notify { padding-top: 14vh; }
.su-notify-box { max-width: 420px; padding: 30px 28px 24px; text-align: center; }
.su-notify-ico { display: block; font-size: 34px; color: #c0392b; margin-bottom: 12px; }
#formnotifycontent-signup { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
#formnotifycontent-signup .formnotify-errors { margin: 14px 0 0; padding: 12px 14px 12px 30px; border-radius: 12px; background: #fdf0ef; text-align: left; font-size: 13px; color: #a3281b; }
#formnotifycontent-signup .formnotify-errors li + li { margin-top: 3px; }
#formnotifyok-signup { margin-top: 20px; min-width: 140px; cursor: pointer; }

/* loading overlay */
#loader { position: fixed; inset: 0; z-index: 130; background: rgba(255,255,255,.6); backdrop-filter: blur(2px); }
#img_loader { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.su-spinner {
    display: block;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 4px solid rgba(17,18,20,.12);
    border-top-color: var(--ink);
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#loading { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 140; background: linear-gradient(90deg, transparent, var(--ink), transparent) 0 0 / 40% 100% no-repeat; animation: loadBar 1s linear infinite; }
@keyframes loadBar { from { background-position: -40% 0; } to { background-position: 140% 0; } }

@media (max-width: 1100px) {
    .signup-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 960px) {
    .signup-layout { grid-template-columns: 1fr; }
    .su-aside { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
    .su-aside-card { grid-row: span 2; }
}
@media (max-width: 720px) {
    .hero.hero-signup { min-height: 280px; }
    .hero.hero-signup .hero-content { padding: 70px 18px 46px; }
    .su-card { padding: 24px 18px 26px; }
    .su-steps li { font-size: 0; gap: 0; }
    .su-steps li.is-current { font-size: 12px; gap: 8px; }
    .su-row, .sys-options { grid-template-columns: 1fr; }
    .su-block { padding: 18px 16px; }
    .su-block-title { font-size: 17px; flex-wrap: wrap; }
    .su-actions-split { flex-direction: column-reverse; }
    .su-actions-split .btn-next-signup { max-width: none; }
    .su-aside { grid-template-columns: 1fr; }
    .su-modal-foot .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
    .signup-step1, .signup-step2, .signup-step3, .su-success-ico, .su-modal-box, .su-notify-box { animation: none; }
    .su-spinner, #loading { animation-duration: 3s; }
}
