/* HOTELLIX package pages: layout and base styles of owner-panel/, hotel-website/ and full-platform/index.html.
   The look (colours from the palette, the hero, the tile design) is section 8 of css/ds/theme.css, loaded after this file. */
:root {
  --navy: #0B2545; --navy-2: #13315C; --navy-3: #1B4B8F; --ink: #06162B; --gold: #C9A227; --gold-2: #E0C766; --gold-soft: #FBF6E6;
  --ivory: #FAF7F2; --sand: #F5F0E8; --line: #E6DFD2; --line-2: #D9CFBE; --text: #1E2B3A; --muted: #5B6773; --white: #fff;
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --sh-1: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px rgba(11, 37, 69, .05);
  --sh-2: 0 10px 30px rgba(11, 37, 69, .10);
  --sh-3: 0 30px 80px rgba(6, 22, 43, .28);
  --font: "Inter", "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px; --gut: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 400 16px/1.65 var(--font); color: var(--text); background: var(--ivory); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); margin: 0; }
.ph-bold, .ph-fill { line-height: 1; }
.wrap { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
@media (max-width: 640px) { :root { --gut: 18px; } }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 60; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s, color .2s; }
.btn i { font-size: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; } .btn-sm i { font-size: 16px; }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 8px 20px rgba(11, 37, 69, .22); } .btn-primary:hover { background: var(--navy-2); color: var(--white); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1b1402; box-shadow: 0 10px 26px rgba(201, 162, 39, .35); } .btn-gold:hover { box-shadow: 0 14px 34px rgba(201, 162, 39, .45); color: #1b1402; }
.btn-ghost { background: var(--white); border-color: var(--line-2); color: var(--navy); } .btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: var(--white); } .btn-light:hover { background: rgba(255, 255, 255, .16); color: var(--white); }

/* header */
header.bar { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .82); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(11, 37, 69, .08); }
.bar .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; flex: none; } .brand img { height: 30px; width: auto; }
.bar nav { display: none; gap: 4px; } .bar nav a { padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; } .bar nav a:hover { background: var(--sand); color: var(--navy); }
.bar .bar-cta { display: flex; gap: 10px; margin-left: auto; }
.bar .bar-cta .btn-ghost { display: none; }
@media (min-width: 980px) { .bar nav { display: flex; } .bar .bar-cta .btn-ghost { display: inline-flex; } }

/* hero */
.hero { position: relative; overflow: hidden; color: #D6E0EE; background: radial-gradient(1100px 520px at 85% -10%, rgba(201, 162, 39, .22), transparent 60%), radial-gradient(900px 600px at 0% 10%, rgba(27, 75, 143, .55), transparent 60%), linear-gradient(180deg, var(--ink) 0%, var(--navy) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); pointer-events: none; }
.hero .wrap { position: relative; padding-top: 84px; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: #E8EEF7; font-size: 14px; font-weight: 500; }
.chip b { padding: 3px 9px; border-radius: 999px; background: var(--gold); color: #1b1402; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.hero h1 { color: var(--white); font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin: 24px auto 20px; max-width: 15ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--gold-2), var(--gold) 60%, #F3E7BE); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: #B9C7DA; max-width: 60ch; margin: 0 auto 34px; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 30px 0 0; padding: 0; list-style: none; color: #9FB2CB; font-size: 14px; font-weight: 500; }
.stack li { display: inline-flex; align-items: center; gap: 7px; } .stack i { color: var(--gold-2); font-size: 16px; }
.stage { position: relative; max-width: 1080px; margin: 64px auto 0; padding-bottom: 0; }
.browser, .phone { display: block; text-decoration: none; }
.browser { position: relative; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: var(--sh-3); border: 1px solid rgba(255, 255, 255, .14); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #F1ECE3; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: #D9CFBE; } .browser-bar span:nth-child(1) { background: #EE6A5F; } .browser-bar span:nth-child(2) { background: #F5BE4F; } .browser-bar span:nth-child(3) { background: #62C554; }
.browser-bar em { flex: 1; max-width: 420px; margin: 0 auto; height: 24px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); font: 500 12px/22px var(--font); font-style: normal; color: var(--muted); text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 10px; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.stage .browser { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.phone { position: relative; border-radius: 34px; padding: 9px; background: #0C1522; box-shadow: var(--sh-3), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 64px; height: 18px; transform: translateX(-50%); border-radius: 999px; background: #0C1522; z-index: 2; }
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.stage .phone { position: absolute; right: -28px; bottom: -40px; width: 200px; z-index: 3; }
.float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--navy); box-shadow: var(--sh-2); font-size: 14px; line-height: 1.3; text-align: left; }
.float i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--gold-soft); color: #7A5E0A; font-size: 20px; flex: none; }
.float b { display: block; font-size: 15px; } .float small { color: var(--muted); font-size: 13px; }
.float.f1 { left: -36px; top: 22%; } .float.f2 { left: -18px; bottom: 16%; } .float.f2 i { background: #E9EEF5; color: var(--navy-3); }
@media (max-width: 1100px) { .float.f1, .float.f2 { display: none; } .stage .phone { right: 12px; width: 150px; bottom: -24px; } }
@media (max-width: 640px) { .stage { margin-top: 44px; } .stage .phone { width: 108px; border-radius: 22px; padding: 6px; } .stage .phone img { border-radius: 17px; } .stage .phone::before { top: 10px; width: 36px; height: 10px; } }

/* stats */
.stats { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: -1px auto 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); overflow: hidden; box-shadow: var(--sh-2); max-width: 1080px; }
.stats li { background: var(--white); padding: 22px 18px; text-align: center; }
.stats b { display: block; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.05; font-weight: 700; color: var(--navy); letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: 14px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 759.98px) { .stats li:last-child { grid-column: span 2; } }   /* five figures on two columns: the last one takes the row */
.hero-foot { background: linear-gradient(180deg, var(--navy) 0 50%, var(--ivory) 50% 100%); }
.hero-foot .wrap { padding-bottom: 8px; }

/* sections */
.sec { padding: 104px 0 0; }
@media (max-width: 640px) { .sec { padding-top: 72px; } }
.sec-head { max-width: 760px; margin-bottom: 44px; } .sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--navy); font-size: 13px; font-weight: 600; letter-spacing: .02em; box-shadow: var(--sh-1); }
.kicker i { color: var(--gold); font-size: 15px; }
h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; margin: 0 0 14px; }
.sub { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0; }

/* areas: alternating rows */
.area { display: grid; gap: 40px; align-items: center; padding: 40px 0; }
.area + .area { border-top: 1px solid var(--line); }
@media (min-width: 960px) { .area { grid-template-columns: 1fr 1.25fr; gap: 64px; padding: 56px 0; } .area.flip { grid-template-columns: 1.25fr 1fr; } .area.flip .area-copy { order: 2; } }
.area-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-3); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.area-tag i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #E9EEF5; font-size: 18px; }
.area h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 12px; }
.area-copy > p { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 4px; }
.ticks a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; margin: 0 -12px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 500; transition: background-color .2s; }
.ticks a > i:first-child { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-soft); color: #7A5E0A; font-size: 13px; flex: none; }
.ticks a > i:last-child { margin-left: auto; color: var(--muted); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.ticks a:hover { background: var(--white); color: var(--navy); } .ticks a:hover > i:last-child, .ticks a:focus-visible > i:last-child { opacity: 1; transform: none; }
.area-shot { display: block; position: relative; border-radius: 16px; text-decoration: none; transition: transform .35s; }
.area-shot:hover { transform: translateY(-4px); }
.area-shot .browser { box-shadow: 0 24px 60px rgba(11, 37, 69, .18); border-color: var(--line); }
.area-shot::after { content: ""; position: absolute; inset: 18% 0 -6% 18%; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, rgba(201, 162, 39, .28), transparent); filter: blur(10px); }

/* all pages (generated block) */
#pages .tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 28px; padding: 6px; width: fit-content; max-width: 100%; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.tab { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font: 600 15px/1 var(--font); cursor: pointer; transition: background-color .2s, color .2s; }
.tab i { font-size: 18px; color: var(--navy-3); }
.tab b { min-width: 28px; padding: 4px 8px; border-radius: 999px; background: var(--sand); color: var(--navy); font-size: 12px; }
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); } .tab[aria-selected="true"] i { color: var(--gold-2); } .tab[aria-selected="true"] b { background: rgba(255, 255, 255, .16); color: var(--white); }
.tab:not([aria-selected="true"]):hover { background: var(--sand); }
/* phones: the three tabs stack as full-width rows in a card (wrapped inside a pill they formed a blob) */
@media (max-width: 640px) {
  #pages .tabs { display: grid; width: 100%; border-radius: 20px; gap: 4px; }
  .tab { border-radius: 14px; } .tab b { margin-left: auto; }
}
.no-js #pages .tabs { display: none; }
.js .pages-panel[hidden] { display: none; }
.pages-panel + .pages-panel { margin-top: 48px; } .js .pages-panel + .pages-panel { margin-top: 0; }
.pages-intro { display: grid; gap: 24px; align-items: center; margin-bottom: 20px; padding: 18px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--white), var(--sand)); border: 1px solid var(--line); }
@media (min-width: 860px) { .pages-intro { grid-template-columns: 340px 1fr; gap: 36px; padding: 20px 36px 20px 20px; } }
.pages-thumb { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.pages-thumb img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; transition: transform .5s; } .pages-thumb:hover img { transform: scale(1.03); }
.pages-intro h3 { display: flex; align-items: center; gap: 10px; font-size: 26px; letter-spacing: -.02em; margin-bottom: 8px; } .pages-intro h3 i { color: var(--gold); }
.pages-intro p { margin: 0 0 18px; color: var(--muted); }
.pages-intro .pages-note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--navy-2); background: #E9EEF5; padding: 10px 14px; border-radius: 12px; } .pages-note i { margin-top: 3px; }
/* masonry: groups of different lengths pack without gaps */
.pagegroups { columns: 1; column-gap: 16px; }
@media (min-width: 640px) { .pagegroups { columns: 2; } }
@media (min-width: 1000px) { .pagegroups { columns: 3; } }
.pagegroup { break-inside: avoid; margin-bottom: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 12px 12px; box-shadow: var(--sh-1); transition: box-shadow .25s, border-color .25s, transform .25s; }
.pagegroup:hover { box-shadow: var(--sh-2); border-color: var(--line-2); transform: translateY(-2px); }
.pg-head { display: flex; align-items: center; gap: 12px; padding: 0 8px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.pg-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--gold-2); font-size: 19px; flex: none; }
.pg-head h4 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.pg-count { margin-left: auto; min-width: 28px; padding: 3px 9px; border-radius: 999px; background: var(--sand); color: var(--navy); font-size: 12px; font-weight: 700; text-align: center; }
.pagegroup ul { list-style: none; margin: 0; padding: 0; }
.pagegroup a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 8px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color .15s, color .15s; }
.pagegroup a span { flex: 1; min-width: 0; }
.pagegroup a i { color: var(--muted); font-size: 15px; opacity: .45; transition: opacity .15s, transform .15s, color .15s; }
.pagegroup a:hover { background: var(--ivory); color: var(--navy); } .pagegroup a:hover i, .pagegroup a:focus-visible i { opacity: 1; color: var(--gold); transform: translate(2px, -2px); }

/* features: bento */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento .wide { grid-column: span 2; } }
.feat { position: relative; overflow: hidden; padding: 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: box-shadow .25s, transform .25s; }
.feat:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.feat .ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: #E9EEF5; color: var(--navy-3); font-size: 24px; }
.feat h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 8px; }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; }
.feat.navy { background: radial-gradient(500px 260px at 100% 0%, rgba(201, 162, 39, .25), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2)); border-color: transparent; color: #C6D3E5; }
.feat.navy h3 { color: var(--white); font-size: 24px; } .feat.navy p { color: #B9C7DA; } .feat.navy .ic { background: rgba(255, 255, 255, .1); color: var(--gold-2); }
.feat .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--gold-2); }
.feat:not(.navy) .more { color: var(--navy-3); }

/* screens gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: -12px 0 32px; }
.filters button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--text); font: 600 14px/1 var(--font); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.no-js .filters { display: none; }
.gallery { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.shot { display: block; color: inherit; text-decoration: none; }
.shot[hidden] { display: none; }
.shot .browser { border-color: var(--line); box-shadow: var(--sh-1); transition: box-shadow .3s, transform .3s; }
.shot .browser-bar { height: 28px; padding: 0 10px; gap: 5px; } .shot .browser-bar span { width: 8px; height: 8px; }
.shot:hover .browser { box-shadow: var(--sh-2); transform: translateY(-3px); }
.shot figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 4px 0; font-weight: 600; color: var(--navy); }
.shot figcaption small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.shot figcaption i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--navy); font-size: 15px; flex: none; transition: background-color .2s, color .2s, border-color .2s; }
.shot:hover figcaption i { background: var(--navy); border-color: var(--navy); color: var(--gold-2); }
.shot figure { margin: 0; }

/* phones */
.phones-band { margin-top: 104px; padding: 88px 0; background: linear-gradient(180deg, var(--sand), var(--ivory)); border-block: 1px solid var(--line); }
.phones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 900px) { .phones { grid-template-columns: repeat(4, 1fr); gap: 28px; } .phones a:nth-child(even) { transform: translateY(36px); } }
.phones a { display: block; color: inherit; text-decoration: none; text-align: center; }
.phones .phone { box-shadow: 0 24px 50px rgba(6, 22, 43, .22), inset 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .3s; }
.phones a:hover .phone { transform: translateY(-6px); }
.phones span { display: block; margin-top: 16px; font-weight: 600; color: var(--navy); font-size: 15px; }
@media (max-width: 640px) { .phones .phone { border-radius: 26px; padding: 7px; } .phones .phone img { border-radius: 20px; } .phones .phone::before { top: 12px; width: 44px; height: 12px; } }

/* dark mode compare */
.darkband { margin-top: 104px; padding: 96px 0; color: #C6D3E5; background: radial-gradient(800px 400px at 80% 0%, rgba(201, 162, 39, .18), transparent 60%), linear-gradient(180deg, var(--navy), var(--ink)); }
.darkband h2 { color: var(--white); } .darkband .sub { color: #AFC0D6; }
.darkband .kicker { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #E8EEF7; box-shadow: none; }
.compare { position: relative; max-width: 1040px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: var(--sh-3); border: 1px solid rgba(255, 255, 255, .14); --x: 50%; user-select: none; }
.compare img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.compare .top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.compare .handle::after { content: "\21C6"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--white); color: var(--navy); font-size: 20px; font-weight: 700; box-shadow: var(--sh-2); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare .lbl { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(6, 22, 43, .72); color: var(--white); font-size: 13px; font-weight: 600; pointer-events: none; }
.compare .lbl.l { left: 16px; } .compare .lbl.r { right: 16px; background: rgba(255, 255, 255, .9); color: var(--navy); }
.compare:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 4px; }
.darkshots { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 1040px; margin: 28px auto 0; }
@media (min-width: 680px) { .darkshots { grid-template-columns: repeat(3, 1fr); } }
.darkshots a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); text-decoration: none; color: #DCE5F1; background: rgba(255, 255, 255, .04); transition: transform .3s; }
.darkshots a:hover { transform: translateY(-3px); }
.darkshots img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.darkshots span { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-weight: 600; font-size: 14px; }

/* stacks */
.stacks { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .stacks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .stacks { grid-template-columns: repeat(4, 1fr); } }
.stackcard { display: flex; flex-direction: column; padding: 26px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.stackcard .logo { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; font: 800 15px/1 var(--font); letter-spacing: -.02em; }
.logo.html { background: #FDECE6; color: #C2410C; } .logo.vue { background: #E6F6EF; color: #15803D; } .logo.react { background: #E6F4FB; color: #0369A1; } .logo.next { background: #0B1220; color: #fff; }
.stackcard h3 { font-size: 20px; margin-bottom: 6px; } .stackcard p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.stackcard .avail { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.avail span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--sand); color: var(--navy); }
.avail span.gold { background: var(--gold-soft); color: #7A5E0A; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.pills li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--navy); }
.pills i { color: #1F8A4C; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); transition: border-color .2s; }
details[open] { border-color: var(--line-2); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 17px; color: var(--navy); cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--sand); color: var(--navy); font-size: 20px; font-weight: 500; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
details code { background: var(--sand); padding: 2px 6px; border-radius: 6px; font-size: .92em; }

/* call to action */
.cta-card { position: relative; overflow: hidden; margin: 104px 0 0; padding: 72px 28px; border-radius: 32px; text-align: center; color: #C6D3E5; background: radial-gradient(700px 360px at 90% 0%, rgba(201, 162, 39, .3), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(27, 75, 143, .6), transparent 60%), linear-gradient(135deg, var(--ink), var(--navy)); box-shadow: var(--sh-3); }
.cta-card h2 { color: var(--white); max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-card p { max-width: 54ch; margin: 0 auto 30px; color: #B9C7DA; font-size: 18px; }
.cta-card .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

footer { margin-top: 88px; padding: 40px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; justify-content: space-between; }
footer .brand img { height: 26px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; } footer a { color: var(--muted); text-decoration: none; } footer a:hover { color: var(--navy); text-decoration: underline; }

/* reveal on scroll (only with script; content is visible without it) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }

/* ---- package sections (written by tools/package-landing.js) */
.pkgbar { background: var(--ink); color: #C9D4E3; font-size: 14px; }
.pkgbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.pkgbar a { color: #fff; text-decoration: none; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); }
.pkgbar a[aria-current="page"] { background: var(--gold); color: #1b1402; border-color: var(--gold); font-weight: 700; }
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11,37,69,.04); }
.plan.current { border: 2px solid var(--gold); box-shadow: 0 14px 34px rgba(201,162,39,.18); }
.plan h3 { margin: 0; font-size: 21px; color: var(--navy); }
.plan .badge { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: #7A5E0A; }
.plan p { margin: 0; color: var(--muted); line-height: 1.55; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; } .plan li i { color: #2E7D4F; margin-top: 3px; } .plan li.no { color: var(--muted); } .plan li.no i { color: #A33; }
.ed { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 8px; }
.ed-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ed-head b { color: var(--navy); } .ed-head span { font-size: 26px; font-weight: 800; color: var(--navy); }
.ed small { color: var(--muted); }
.lic { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14px; } .lic li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 3px 0; } .lic b { color: var(--navy); }
.ed-head small { font-size: 13px; font-weight: 500; color: var(--muted); }
.plan, .box { min-width: 0; }
.ed .btn { min-height: 44px; font-size: 15px; white-space: normal; text-align: center; line-height: 1.3; padding: 10px 18px; height: auto; }
.plan .btn-buy { background: var(--navy); color: #fff; }
.matrix { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.matrix table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
.matrix th, .matrix td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.matrix thead th { background: var(--sand); color: var(--navy); }
.matrix td.y { color: #2E7D4F; font-weight: 700; } .matrix td.n { color: #A33; }
.grid2 { display: grid; gap: 16px; grid-template-columns: 1fr; } @media (min-width: 860px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.grid3 { display: grid; gap: 16px; grid-template-columns: 1fr; } @media (min-width: 860px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.box { padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.box h3 { margin: 0 0 10px; color: var(--navy); font-size: 19px; display: flex; gap: 10px; align-items: center; }
.box p, .box li { color: var(--text); line-height: 1.6; } .box ul, .box ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.box code { background: var(--sand); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.box .status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--gold-soft); color: #7A5E0A; margin-bottom: 10px; }
.flist { columns: 1; column-gap: 32px; margin: 0; padding-left: 20px; } @media (min-width: 860px) { .flist { columns: 2; } }
.flist li { break-inside: avoid; margin-bottom: 6px; line-height: 1.55; }
.allpages { margin-top: 18px; } .allpages summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 12px 0; }
.allpages table { width: 100%; border-collapse: collapse; font-size: 14px; } .allpages td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.allpages td:first-child { white-space: nowrap; font-weight: 600; }
