/* ===========================================================================
   Neting — landing page styles
   Dark (default) + Light themes via [data-theme]. Coral→pink brand gradient.
   =========================================================================== */

/* ---- Design tokens -------------------------------------------------------- */
:root,
[data-theme="dark"] {
    --bg: #0b0b0d;
    --bg-2: #101013;
    --panel: #131317;
    --card: #17171c;
    --card-2: #1c1c22;
    --border: rgba(255, 255, 255, .07);
    --border-strong: rgba(255, 255, 255, .12);
    --text: #f4f4f6;
    --muted: #9b9ba6;
    --faint: #6c6c78;
    --shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
    --glow: 0 0 80px -10px rgba(255, 122, 69, .35);
}

[data-theme="light"] {
    --bg: #f6f6f8;
    --bg-2: #ffffff;
    --panel: #ffffff;
    --card: #ffffff;
    --card-2: #f3f3f6;
    --border: rgba(15, 15, 20, .08);
    --border-strong: rgba(15, 15, 20, .14);
    --text: #16161a;
    --muted: #5d5d68;
    --faint: #8a8a95;
    --shadow: 0 24px 50px -24px rgba(20, 20, 40, .22);
    --glow: 0 0 80px -10px rgba(255, 122, 69, .28);
}

:root {
    --accent: #ff7a45;
    --accent-2: #ff5e8a;
    --accent-3: #ffb057;
    --grad: linear-gradient(120deg, #ffb057 0%, #ff7a45 45%, #ff5e8a 100%);
    --grad-soft: linear-gradient(120deg, rgba(255,176,87,.16), rgba(255,94,138,.16));
    --radius: 18px;
    --radius-lg: 26px;
    --maxw: 1120px;
    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background .4s ease, color .4s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* Safety net: icon SVGs never blow up to container width */
.ic svg, .tick svg, .n svg, .num svg, .step .n svg { max-width: 26px; max-height: 26px; }
.savings-list .tick svg, .plan-features .tick svg, .market-col li .tick svg { max-width: 18px; max-height: 18px; }
.blogo svg { max-width: 26px; max-height: 26px; }
.section { padding: 88px 0; position: relative; }
.eyebrow {
    display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em;
    padding: 6px 14px; border-radius: 999px;
    background: var(--grad-soft); color: var(--accent);
    border: 1px solid var(--border-strong);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 16px; }
.grad-text {
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
    transition: transform .15s ease, box-shadow .25s ease, background .25s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(255,94,138,.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255,94,138,.6); }
.btn-ghost { background: var(--card-2); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--card); border-color: var(--accent); }
.btn-light { background: #fff; color: #18181b; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.6); color: #fff; }

/* ---- Header --------------------------------------------------------------- */
.header {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; }
.brand .logo {
    width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
    display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(255,94,138,.6);
}
.brand .logo svg { width: 19px; height: 19px; }
.brand small { display: block; font-size: 10px; font-weight: 500; color: var(--faint); letter-spacing: .12em; margin-top: -3px; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* nav dropdown (sections) */
.nav-dd { position: relative; }
.nav-dd-btn { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-dd-btn:hover { color: var(--text); }
.nav-dd-menu {
    position: absolute; left: 0; top: calc(100% + 12px); min-width: 210px;
    background: var(--panel); border: 1px solid var(--border-strong); border-radius: 14px; padding: 8px;
    box-shadow: var(--shadow); display: grid; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .18s ease; z-index: 60;
}
[dir="rtl"] .nav-dd-menu { left: auto; right: 0; }
.nav-dd.dd-right .nav-dd-menu { left: auto; right: 0; min-width: 170px; }
[dir="rtl"] .nav-dd.dd-right .nav-dd-menu { right: auto; left: 0; }
.nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd-menu a { padding: 10px 13px; border-radius: 9px; font-size: 14px; color: var(--text); }
.nav-dd-menu a:hover { background: var(--card-2); color: var(--accent); }
.nav-pricing { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-pricing:hover { color: var(--accent); }
.nav-doc { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-doc:hover { color: var(--accent); }
.nav-doc svg { width: 15px; height: 15px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* theme toggle */
.icon-btn {
    width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
    background: var(--card-2); border: 1px solid var(--border); color: var(--text); transition: .2s;
}
.icon-btn:hover { border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

/* language dropdown */
.lang { position: relative; }
.lang-btn {
    display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px;
    background: var(--card-2); border: 1px solid var(--border); font-size: 13px; font-weight: 500;
}
.lang-btn:hover { border-color: var(--accent); }
.flag.fi {
    border-radius: 3px; background-size: cover; background-position: center;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); flex: 0 0 auto;
}
.lang-btn .flag { width: 21px; height: 15px; }
.lang-menu {
    position: absolute; right: 0; top: calc(100% + 10px); width: 360px; max-width: 80vw;
    background: var(--panel); border: 1px solid var(--border-strong); border-radius: 18px;
    padding: 10px; box-shadow: var(--shadow);
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .18s ease; z-index: 60;
}
[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px;
    font-size: 15px; font-weight: 500; color: var(--text); transition: background .15s;
}
.lang-menu a:hover { background: var(--card-2); }
.lang-menu a.active { background: var(--grad-soft); color: var(--accent); }
.lang-menu .flag { width: 26px; height: 19px; }

.menu-toggle { display: none; }

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; top: -180px; right: -120px; width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(255,94,138,.28), transparent 62%);
    filter: blur(20px); z-index: 0; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 700; line-height: 1.04; }
.hero h1 span { display: block; }
.hero-sub { color: var(--muted); font-size: 17px; margin-top: 22px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.compat { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--faint); font-size: 13px; }
.compat .logos { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.blogo { display: inline-grid; place-items: center; flex: 0 0 auto; }
.blogo svg { width: 22px; height: 22px; display: block; }
.compat .blogo svg { width: 24px; height: 24px; }
.chip .blogo svg { width: 20px; height: 20px; }

/* hero photo collage */
.hero-card {
    position: relative; background: var(--card); border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow);
}
.hero-card .tag {
    position: absolute; top: -14px; right: 18px; z-index: 2;
    display: flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
    background: var(--panel); border: 1px solid var(--border-strong); font-size: 12px; font-weight: 600;
    box-shadow: var(--shadow);
}
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.collage .ph { border-radius: 14px; overflow: hidden; background: var(--card-2); aspect-ratio: 4/3; }
.collage .ph img { width: 100%; height: 100%; object-fit: cover; }
.collage .tall { grid-row: span 2; aspect-ratio: auto; }
.fav-pill {
    margin-top: 14px; display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--muted); font-weight: 500;
}
.fav-pill .heart { color: var(--accent-2); }

/* ---- Photo strip ---------------------------------------------------------- */
.strip { display: flex; gap: 10px; padding: 8px 0 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip .s { flex: 1 0 14%; height: 130px; border-radius: 14px; overflow: hidden; background: var(--card-2); }
.strip .s img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Google Drive flow ---------------------------------------------------- */
.gdrive { position: relative; overflow: hidden; }
.gdrive::before {
    content: ""; position: absolute; bottom: -160px; left: -120px; width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(255,176,87,.18), transparent 62%); filter: blur(20px); pointer-events: none;
}
.gdrive-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.steps { display: grid; gap: 14px; margin-top: 26px; }
.step {
    display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: .2s;
}
.step:hover { border-color: var(--border-strong); transform: translateX(4px); }
[dir="rtl"] .step:hover { transform: translateX(-4px); }
.step .n {
    flex: 0 0 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff;
    display: grid; place-items: center; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(255,94,138,.6);
}
.step h4 { font-size: 16px; }
.step p { color: var(--muted); font-size: 14px; margin-top: 3px; }
.gdrive-cta { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.gdrive-note { color: var(--faint); font-size: 13px; }

/* mock window */
.mock {
    background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--card-2); }
.mock-bar .dot:nth-child(1){ background:#ff5f57 } .mock-bar .dot:nth-child(2){ background:#febc2e } .mock-bar .dot:nth-child(3){ background:#28c840 }
.mock-bar .url { margin-inline-start: 12px; font-size: 12px; color: var(--faint); }
.mock-body { padding: 18px; }
.drive-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); }
.drive-row .gi { width: 30px; height: 30px; display: grid; place-items: center; }
.drive-row .meta { line-height: 1.3; }
.drive-row .meta strong { font-size: 14px; } .drive-row .meta span { font-size: 12px; color: var(--muted); }
.drive-row .pick { margin-inline-start: auto; font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--grad); color: #fff; }
.mock-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.mock-thumbs .ph { aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; background: var(--card-2); }
.mock-thumbs .ph img { width: 100%; height: 100%; object-fit: cover; }
.mock-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 13px; }
.mock-foot .ok { display: inline-flex; align-items: center; gap: 7px; color: #28c840; font-weight: 600; }

/* ---- Pixieset comparison band --------------------------------------------- */
.switch-band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.switch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 12px; }
.switch-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.switch-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: var(--grad-soft); color: var(--accent); border: 1px solid var(--border-strong); }
.switch-card .ic svg { width: 22px; height: 22px; }
.switch-card h4 { font-size: 16px; }
.switch-card p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.compare-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.compare-pills .vs { font-size: 12px; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); color: var(--muted); }
.compare-pills .vs s { color: var(--faint); }

/* ---- Mini-site / portfolio ------------------------------------------------ */
.minisite-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: center; }
.mini-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.mini-point { padding: 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.mini-point .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; background: var(--grad); color: #fff; }
.mini-point .ic svg { width: 19px; height: 19px; }
.mini-point h4 { font-size: 15px; }
.mini-point p { color: var(--muted); font-size: 13.5px; margin-top: 5px; }

/* portfolio template preview */
.tpl-stack { position: relative; }
.tpl-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tpl-tab { font-size: 13px; font-weight: 500; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); color: var(--muted); }
.tpl-tab.active { background: var(--grad); color: #fff; border-color: transparent; }
.tpl-preview { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.tpl-hero { position: relative; height: 210px; }
.tpl-hero img { width: 100%; height: 100%; object-fit: cover; }
.tpl-hero .ov { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.65)); }
.tpl-hero .txt { position: absolute; left: 22px; bottom: 18px; color: #fff; z-index: 2; }
.tpl-hero .txt small { letter-spacing: .25em; font-size: 10px; opacity: .85; text-transform: uppercase; }
.tpl-hero .txt h3 { font-size: 24px; font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
.tpl-strip2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; background: var(--card); }
.tpl-strip2 .ph { aspect-ratio: 1/1; overflow: hidden; }
.tpl-strip2 .ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Team band ------------------------------------------------------------ */
.team-band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.team-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.team-points { display: grid; gap: 14px; margin-top: 24px; }
.team-points .mini-point { display: flex; gap: 14px; align-items: flex-start; }
.team-points .mini-point .ic { margin-bottom: 0; flex: 0 0 38px; }
.seats { background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.seats-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--border); font-weight: 600; }
.seats-tag { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #fff; }
.seat-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.seat-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--card-2); flex: 0 0 auto; box-shadow: inset 0 0 0 1px var(--border); }
.seat-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seat-name { font-size: 14.5px; font-weight: 500; }
.seat-ok { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; color: #28c840; font-weight: 700; font-size: 13px; }
.seats-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.seats-foot s { color: var(--faint); }

@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }

/* ---- Savings band --------------------------------------------------------- */
.savings { position: relative; overflow: hidden; }
.savings-card {
    background: linear-gradient(135deg, rgba(255,176,87,.12), rgba(255,94,138,.12));
    border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 44px;
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.savings-card h2 { font-size: clamp(24px, 3.5vw, 34px); }
.savings-card p { color: var(--muted); margin-top: 14px; }
.savings-list { margin-top: 22px; display: grid; gap: 12px; }
.savings-list li { display: flex; align-items: center; gap: 11px; font-weight: 500; }
.savings-list .tick { color: var(--accent); display: inline-grid; place-items: center; }
.savings-list .tick svg { width: 18px; height: 18px; }
.savings-figure { text-align: center; padding: 28px; background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); }
.savings-figure .big { font-size: 56px; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.savings-figure .lbl { color: var(--muted); font-size: 14px; margin-top: 8px; }
.savings-figure .row { display: flex; justify-content: space-between; font-size: 13px; padding: 9px 0; border-top: 1px solid var(--border); margin-top: 6px; }
.savings-figure .row:first-of-type { margin-top: 18px; }
.savings-figure .row.head { border-top: none; padding: 4px 0 2px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.savings-figure .row.head span { color: var(--faint); }
.savings-figure .row s { color: var(--faint); }
.savings-figure .row b { color: var(--accent); }

@media (max-width: 900px) {
    .gdrive-grid { grid-template-columns: 1fr; }
    .switch-grid { grid-template-columns: 1fr 1fr; }
    .minisite-grid { grid-template-columns: 1fr; }
    .savings-card { grid-template-columns: 1fr; padding: 30px; }
}
@media (max-width: 560px) {
    .switch-grid { grid-template-columns: 1fr; }
    .mock-thumbs { grid-template-columns: repeat(3,1fr); }
    .mini-points { grid-template-columns: 1fr; }
}

/* ---- Generic card grid ---------------------------------------------------- */
.cards { display: grid; gap: 16px; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px; transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card .ic {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
    background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(255,94,138,.6);
}
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card h3 .badge { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--card-2); color: var(--faint); border: 1px solid var(--border); }
.card p { color: var(--muted); font-size: 14px; margin-top: 9px; }

/* ---- Storage band --------------------------------------------------------- */
.storage-band {
    background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 40px; text-align: center;
}
.storage-band h3 { font-size: 24px; }
.storage-band p { color: var(--muted); margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.chip {
    display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 12px;
    background: var(--card); border: 1px solid var(--border-strong); font-size: 14px; font-weight: 500;
    transition: .2s;
}
.chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.chip.managed { background: var(--grad); color: #fff; border: none; }

/* ---- Self-host band ------------------------------------------------------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trio .card { text-align: center; }
.trio .card .ic { margin: 0 auto 16px; }

/* ---- Experience ----------------------------------------------------------- */
.experience { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.exp-list { margin-top: 26px; display: grid; gap: 20px; }
.exp-item { display: flex; gap: 14px; }
.exp-item .num {
    flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff;
    display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.exp-item h4 { font-size: 15px; }
.exp-item p { color: var(--muted); font-size: 14px; margin-top: 3px; }
.exp-card {
    background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
    padding: 18px; box-shadow: var(--shadow);
}
.exp-card .collage .ph { aspect-ratio: 1/1; }
.exp-card .bar {
    display: flex; align-items: center; justify-content: space-between; margin-top: 16px;
    padding: 12px 16px; background: var(--card-2); border-radius: 12px; font-size: 13px; font-weight: 500;
}
.exp-card .bar .pay { padding: 7px 16px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 600; }

/* ---- Marketplace ---------------------------------------------------------- */
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.market-col {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
}
.market-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 16px; }
.market-col li {
    display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 14.5px;
    border-bottom: 1px solid var(--border);
}
.market-col li:last-child { border-bottom: none; }
.market-col li .tick { color: var(--accent); flex: 0 0 auto; }
.market-col li .tick svg { width: 16px; height: 16px; }
.soon { font-size: 10px; padding: 1px 7px; border-radius: 999px; background: var(--card-2); color: var(--faint); border: 1px solid var(--border); margin-inline-start: auto; }

/* ---- Pricing -------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 22px; justify-content: center; }
.price-grid-3 { grid-template-columns: repeat(3, minmax(0, 340px)); align-items: start; }
.plan-save { margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--accent); text-align: center; }
.badge.ghost { background: var(--card-2); color: var(--faint); border: 1px solid var(--border); }
.alacarte-list { margin: 20px 0 18px; display: grid; gap: 0; }
.alacarte-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.alacarte-list li:last-child { border-bottom: none; }
.alacarte-list li b { color: var(--accent); white-space: nowrap; }
.market-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.market-head h4 { margin-bottom: 0; }
.market-price { font-size: 12px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.plan {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px;
    position: relative; transition: .2s;
}
.plan.featured { border-color: var(--accent); box-shadow: var(--glow); }
.plan-name { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.plan-name .badge { font-size: 10px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #fff; }
.plan-desc { color: var(--muted); font-size: 14px; margin-top: 8px; }
.plan-price { margin: 22px 0 6px; display: flex; align-items: baseline; gap: 8px; }
.plan-price .amount { font-size: 42px; font-weight: 700; color: var(--accent); letter-spacing: -.03em; }
.plan-price .per { color: var(--muted); font-size: 14px; }
.plan-features { margin: 20px 0 26px; display: grid; gap: 12px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); }
.plan-features li .tick { color: var(--accent); }
.plan-features li .tick svg { width: 17px; height: 17px; }
.plan .btn { width: 100%; justify-content: center; }

/* ---- Final CTA ------------------------------------------------------------ */
.cta-band {
    background: var(--grad); border-radius: var(--radius-lg); padding: 56px 40px; text-align: center;
    box-shadow: 0 30px 70px -25px rgba(255,94,138,.6);
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 12px; font-size: 16px; }
.cta-band .hero-cta { justify-content: center; margin-top: 26px; }

/* ---- Download page -------------------------------------------------------- */
.dl-hero { padding-top: 60px; }
.dl-version { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--border); color: var(--muted); }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.dl-card { background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 30px; text-align: center; transition: transform .2s ease, box-shadow .25s ease; }
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dl-icon { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); color: var(--accent); border: 1px solid var(--border-strong); }
.dl-icon svg { width: 28px; height: 28px; }
.dl-card h3 { font-size: 19px; }
.dl-size { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--accent); }
.dl-card p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.dl-req { margin-top: 14px; font-size: 12px; color: var(--faint); font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.dl-providers { margin-top: 12px; font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.5; }
.dl-btn { width: 100%; justify-content: center; margin-top: 20px; }
.dl-disabled { background: var(--card-2); color: var(--faint); border: 1px solid var(--border); cursor: not-allowed; box-shadow: none; }
.dl-disabled:hover { transform: none; background: var(--card-2); box-shadow: none; }
.dl-incl { margin-top: 34px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 30px; }
.dl-incl h4 { font-size: 15px; margin-bottom: 16px; }
.dl-incl ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl-incl li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.dl-incl .tick { color: var(--accent); flex: 0 0 auto; display: inline-grid; place-items: center; }
.dl-incl .tick svg { width: 17px; height: 17px; }
.dl-help { margin-top: 24px; text-align: center; }
.dl-help strong { font-size: 15px; }
.dl-help p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.dl-license { margin-top: 26px; text-align: center; color: var(--faint); font-size: 12.5px; }
@media (max-width: 700px) { .dl-grid, .dl-incl ul { grid-template-columns: 1fr; } }

/* ---- Footer --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { margin-bottom: 14px; }
.footer-tag { color: var(--muted); font-size: 14px; max-width: 260px; }
.footer h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 0 0 16px; }
.footer li { margin-bottom: 11px; }
.footer li a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer li a:hover { color: var(--accent); }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border);
    color: var(--faint); font-size: 13px;
}

/* ---- i18n band ------------------------------------------------------------ */
.i18n-band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.i18n-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.i18n-points { display: grid; gap: 16px; margin-top: 24px; }
.i18n-point { display: flex; gap: 14px; align-items: flex-start; }
.i18n-point .ic { flex: 0 0 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(255,94,138,.6); }
.i18n-point .ic svg { width: 20px; height: 20px; }
.i18n-point h4 { font-size: 15.5px; }
.i18n-point p { color: var(--muted); font-size: 14px; margin-top: 3px; }
.flags-card { background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.flags-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.flag-tile { width: 100%; height: 42px; border-radius: 8px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform .15s ease; }
.flag-tile:hover { transform: translateY(-3px) scale(1.04); }
.flags-note { color: var(--faint); font-size: 12.5px; margin-top: 18px; text-align: center; line-height: 1.5; }
@media (max-width: 900px) { .i18n-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .flags-wall { grid-template-columns: repeat(4, 1fr); } .flag-tile { height: 36px; } }

/* ---- Comparison table ----------------------------------------------------- */
.comp-table { max-width: 920px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.comp-row { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; align-items: center; border-bottom: 1px solid var(--border); }
.comp-row:last-child { border-bottom: none; }
.comp-feat { padding: 16px 20px; font-size: 14.5px; font-weight: 500; color: var(--text); }
.comp-col { padding: 16px 10px; text-align: center; display: flex; align-items: center; justify-content: center; min-height: 56px; }
.comp-neting { background: var(--grad-soft); position: relative; }
.comp-head { background: var(--bg-2); border-bottom: 1px solid var(--border-strong); }
.comp-head .comp-neting { background: var(--grad); }
.comp-brand { font-weight: 700; font-size: 15px; }
.comp-head .comp-neting .comp-brand { color: #fff; }
.cell-yes { color: #28c840; display: inline-grid; place-items: center; }
.cell-yes svg { width: 22px; height: 22px; }
.cell-no { color: var(--faint); opacity: .6; display: inline-grid; place-items: center; }
.cell-no svg { width: 18px; height: 18px; }
.cell-txt { font-size: 12.5px; font-weight: 500; color: var(--muted); line-height: 1.3; }
.cell-txt.good { color: var(--accent); font-weight: 700; }

/* ---- Storage comparison table --------------------------------------------- */
.stor-wrap { max-width: 760px; margin-left: auto; margin-right: auto; }
.stor-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.stor-row { display: grid; grid-template-columns: 2fr 1fr 1fr; align-items: center; border-bottom: 1px solid var(--border); }
.stor-row:last-child { border-bottom: none; }
.stor-row > div { padding: 14px 16px; font-size: 14px; }
.stor-head { background: var(--bg-2); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.stor-head > div { font-weight: 700; }
.stor-row.is-yours { background: linear-gradient(90deg, var(--grad-soft), transparent 70%); }
.stor-prov { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stor-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.stor-name { font-weight: 500; }
.stor-pill { font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--grad); color: #fff; }
.stor-pill.muted { background: var(--card-2); color: var(--faint); border: 1px solid var(--border); }
.stor-cap { font-variant-numeric: tabular-nums; color: var(--muted); text-align: center; }
.stor-price { font-weight: 600; text-align: center; color: var(--muted); }
.stor-price.good { color: var(--accent); }
.stor-note { text-align: center; color: var(--faint); font-size: 13px; margin-top: 16px; }
@media (max-width: 600px) {
    .stor-row { grid-template-columns: 1.7fr .9fr 1fr; }
    .stor-row > div { padding: 12px 9px; font-size: 12.5px; }
    .stor-pill { display: none; }
}

/* ---- Scroll reveal -------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 720px) {
    .comp-row { grid-template-columns: 1.4fr .9fr .9fr .9fr; }
    .comp-feat { padding: 13px 12px; font-size: 12.5px; }
    .comp-col { padding: 13px 4px; }
    .comp-brand { font-size: 12.5px; }
    .cell-txt { font-size: 10.5px; }
}

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
    .hero-grid, .exp-grid { grid-template-columns: 1fr; }
    .hero-card { order: -1; }
    .cards.cols-3, .trio, .market-grid { grid-template-columns: 1fr; }
    .price-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .menu-toggle { display: grid; }
    .nav-links.open {
        display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 68px; left: 0; right: 0;
        background: var(--panel); border-bottom: 1px solid var(--border); padding: 14px 24px; gap: 6px;
    }
    /* flatten the sections dropdown inside the mobile menu */
    .nav-links.open .nav-dd-btn { display: none; }
    .nav-links.open .nav-dd-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; padding: 0; background: transparent; min-width: 0; gap: 4px;
    }
    .nav-links.open .nav-dd-menu a { padding: 10px 0; }
    .nav-links.open .nav-pricing { padding: 10px 0; }
    .nav-dl, .nav-doc-dd { display: none; }
    .strip .s { flex: 1 0 30%; }
}
@media (max-width: 560px) {
    .section { padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .lang-menu { grid-template-columns: 1fr; width: 240px; }
    .cta-band { padding: 40px 22px; }
}
