/* Ragebot Dashboard public site — one stylesheet for every page.
   Dark and light theme (html[data-theme]), soft orange accent. */
:root, html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0d12;
  --bg-2: #10131a;
  --bg-3: #161a23;
  --frame: #07080b;
  --chrome: #0e1118;
  --line: #232837;
  --line-2: #30364a;
  --text: #eef0f5;
  --muted: #a6adbd;
  --dim: #737b8e;
  --accent: #ffa057;
  --accent-2: #ffbf86;
  --accent-deep: #ef7f34;
  --accent-ink: #231204;
  --accent-text: #ffbf86;
  --accent-soft: rgba(255, 160, 87, 0.12);
  --header: rgba(11, 13, 18, 0.88);
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  --ok: #4ade9a;
  --ok-soft: rgba(74, 222, 154, 0.1);
  --glow: rgba(255, 150, 70, 0.2);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f6f8;
  --bg-2: #ffffff;
  --bg-3: #eef0f4;
  --frame: #1b1e26;
  --chrome: #e9ebf0;
  --line: #e1e4eb;
  --line-2: #cfd3dd;
  --text: #14161c;
  --muted: #4f5666;
  --dim: #7a8192;
  --accent: #f28a3c;
  --accent-2: #ffad6b;
  --accent-deep: #d8671f;
  --accent-ink: #2a1405;
  --accent-text: #c45a14;
  --accent-soft: rgba(242, 138, 60, 0.12);
  --header: rgba(246, 246, 248, 0.9);
  --shadow: 0 40px 80px -45px rgba(20, 22, 28, 0.45);
  --ok: #138a55;
  --ok-soft: rgba(19, 138, 85, 0.1);
  --glow: rgba(255, 150, 70, 0.22);
}
:root {
  --radius: 14px;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.62 var(--body); overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 760; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.lede { color: var(--muted); font-size: 1.14rem; max-width: 42em; text-wrap: pretty; }
.kicker { font: 650 0.76rem/1 var(--body); letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-text); }
.muted { color: var(--muted); }
.fine { color: var(--dim); font-size: 0.88rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 11px; border: 1px solid transparent; font: 650 0.98rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.btn.main { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: 0 6px 24px -10px var(--glow); }
.btn.main:hover { color: var(--accent-ink); transform: translateY(-1px); filter: brightness(1.04); }
.btn.ghost { border-color: var(--line-2); color: var(--text); background: var(--bg-2); }
.btn.ghost:hover { border-color: var(--accent); color: var(--text); }
.btn.small { padding: 9px 14px; font-size: 0.9rem; border-radius: 9px; }

/* ── header: brand + device/theme/demo, then the menu row ───────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 14px; height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); min-width: 0; margin-right: auto; }
.brand:hover { color: var(--text); }
.mark { width: 30px; height: 30px; flex: none; border-radius: 8px; object-fit: cover; box-shadow: 0 4px 18px -6px rgba(255, 150, 70, 0.55); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text b { font: 720 1.04rem/1.15 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.brand-text small { color: var(--dim); font-size: 0.76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--bg-2); }
.seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--muted); font: 600 0.85rem/1 var(--body); padding: 7px 11px; border-radius: 8px; cursor: pointer; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-text); }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--text); border-color: var(--accent); }
html[data-theme="dark"] .icon-btn .moon, html[data-theme="light"] .icon-btn .sun { display: none; }

.menu-row { position: relative; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0 0 8px; overflow-x: auto; scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.menu > li { flex: none; }
.menu a, .menu button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 9px; border: 1px solid transparent; background: none; color: var(--muted); font: 560 0.92rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.menu a:hover, .menu button:hover { color: var(--text); background: var(--bg-3); }
.menu a[aria-current="page"] { color: var(--text); background: var(--bg-3); }
.menu .pages-btn { color: var(--accent-ink); background: linear-gradient(180deg, var(--accent-2), var(--accent)); font-weight: 650; }
.menu .pages-btn:hover, .menu .pages-btn.current { color: var(--accent-ink); background: linear-gradient(180deg, var(--accent-2), var(--accent)); filter: brightness(1.04); }
.menu .pages-btn svg { transition: transform 0.18s; }
.menu .pages-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.soon { font: 650 0.62rem/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); border: 1px solid var(--accent); border-radius: 999px; padding: 3px 6px; }

.pages-menu { position: absolute; left: 0; top: calc(100% + 1px); z-index: 60; width: min(940px, 100%); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 0 0 16px 16px; box-shadow: var(--shadow); padding: 20px; display: none; }
.pages-menu.open { display: block; animation: drop 0.16s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pages-menu.open { animation: none; } }
.pages-cols { display: grid; grid-template-columns: 1.15fr 1fr 0.85fr; gap: 6px 22px; }
.pages-cols h4 { font: 650 0.72rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin: 6px 10px 8px; }
.pages-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.pages-cols a { display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--text); }
.pages-cols a:hover, .pages-cols a[aria-current="page"] { background: var(--accent-soft); }
.pages-cols a b { display: flex; align-items: center; gap: 8px; font-weight: 620; font-size: 0.95rem; }
.pages-cols a span { display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.4; margin-top: 2px; }
.pages-foot { display: flex; justify-content: flex-end; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; font-size: 0.9rem; }

.tag { display: inline-flex; align-items: center; gap: 5px; font: 650 0.66rem/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 7px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.tag.mg { color: var(--accent-text); border-color: var(--accent); background: var(--accent-soft); }
.tag.both { color: var(--ok); border-color: var(--ok); background: var(--ok-soft); }

/* ── page layout ─────────────────────────────────────────────────────────── */
/* padding-block, not padding: the shorthand zeroed the side gutter of .wrap on every page between phone and wide screens (fixed 2026-10-08). */
.page { padding-block: 56px 90px; }
.page-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: 40px; }
.page-head h1 { margin-top: 10px; font-size: clamp(2rem, 4.4vw, 3rem); }
.page-head .lede { margin-top: 14px; }
.page-head .access { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.page-head .access .tag { font-size: 0.7rem; padding: 6px 10px; }
.block + .block { margin-top: 64px; }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; max-width: 760px; }

/* home */
.home { padding-block: 60px 40px; text-align: center; position: relative; }
.home::before { content: ""; position: absolute; inset: -60px 0 auto; height: 560px; z-index: -1; pointer-events: none; background: radial-gradient(55% 55% at 50% 30%, var(--glow), transparent 70%); }
.home .eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2); color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.home .eyebrow b { color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 3px 9px; font-size: 0.74rem; letter-spacing: 0.04em; }
.home h1 { max-width: 16em; margin: 0 auto; }
.home h1 em { font-style: normal; color: var(--accent-text); }
.home .lede { margin: 20px auto 0; }
.home .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 22px; color: var(--muted); font-size: 0.95rem; list-style: none; padding: 0; }
.platforms li { display: inline-flex; align-items: center; gap: 8px; }
.platforms svg { color: var(--accent-text); }
.showcase { position: relative; margin: 54px auto 0; max-width: 1080px; padding-bottom: 40px; }
.showcase .device.pc { width: 86%; }
.showcase .device.tab { position: absolute; left: 0; bottom: 0; width: 26%; }
.showcase .device.phone { position: absolute; right: 0; bottom: 0; width: 15%; }
.showcase .screen { max-height: none; overflow: hidden; }
.showcase .device.pc .screen { aspect-ratio: 16 / 9.4; }
.showcase .device.tab .screen { aspect-ratio: 3 / 4; }
.showcase .device.phone .screen { aspect-ratio: 9 / 19; }
.showcase .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.showcase .labels { display: flex; justify-content: center; gap: 26px; margin-top: 18px; color: var(--dim); font-size: 0.86rem; }

/* ── device frames (scroll inside, like the real screen) ────────────────── */
.device { margin: 0; }
.device .screen { position: relative; overflow-y: auto; overscroll-behavior: contain; background: var(--bg-3); scrollbar-width: thin; }
.device .screen a { display: block; cursor: zoom-in; }
.device .screen img { width: 100%; height: auto; }
.device.pc { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--chrome); box-shadow: var(--shadow); }
.device.pc .chrome { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.device.pc .chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.device.pc .chrome span { margin-left: 10px; flex: 1; max-width: 340px; height: 20px; border-radius: 6px; background: var(--bg-2); color: var(--dim); font: 0.72rem/20px var(--mono); padding-inline: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: left; }
.device.pc .screen { max-height: min(76vh, 860px); }
.device.tab { border-radius: 28px; padding: 14px; background: var(--frame); box-shadow: var(--shadow); max-width: 560px; }
.device.tab .screen { border-radius: 14px; max-height: min(78vh, 760px); }
.device.phone { border-radius: 38px; padding: 11px; background: var(--frame); box-shadow: var(--shadow); max-width: 320px; }
.device.phone .screen { border-radius: 28px; max-height: min(76vh, 640px); }
.device.tab .screen, .device.phone .screen { scrollbar-width: none; }
.device.tab .screen::-webkit-scrollbar, .device.phone .screen::-webkit-scrollbar { display: none; }
.device figcaption { color: var(--dim); font-size: 0.86rem; margin-top: 12px; text-align: center; }
.shots { display: grid; gap: 34px; }
.shots[data-device="tab"], .shots[data-device="phone"] { grid-template-columns: repeat(auto-fit, minmax(0, max-content)); justify-content: center; gap: 40px; }
.shot-label { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.no-shot { border: 1px dashed var(--line-2); border-radius: 16px; padding: 46px 28px; text-align: center; color: var(--muted); background: var(--bg-2); }

/* two-column text blocks */
.cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: 44px; align-items: start; margin-top: 56px; }
.cols .col { display: flex; flex-direction: column; gap: 30px; }
.cols h2 { font-size: 1.4rem; margin-bottom: 16px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg-2); }
.box h3 { margin-bottom: 12px; }
.box.mg { border-color: var(--accent); background: linear-gradient(160deg, var(--accent-soft), transparent 60%), var(--bg-2); }
.box ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.box ul b { color: var(--text); font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); }
.ticks li b { color: var(--text); font-weight: 620; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23e8772e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/17px no-repeat; }

/* cards: page tour, features, steps */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); text-decoration: none; color: var(--text); transition: border-color 0.15s, transform 0.15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text); }
.card .thumb { aspect-ratio: 4 / 3; background: var(--bg-3); border-bottom: 1px solid var(--line); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card .thumb.none { display: grid; place-items: center; color: var(--dim); font-size: 0.85rem; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .body h3, .card .body h4 { font-size: 1.02rem; font-weight: 650; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card .body p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.group-title { display: flex; align-items: baseline; gap: 10px; margin: 44px 0 16px; color: var(--muted); font-weight: 600; }
.group-title:first-of-type { margin-top: 0; }
.group-title b { color: var(--text); font-size: 1.2rem; }
.ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.steps { counter-reset: step; }
.steps .card .body h3::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-size: 0.9rem; margin-right: 4px; }
.steps .card .body h3 { justify-content: flex-start; }

/* feature rows */
.spot { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: 52px; align-items: center; }
.spot + .spot { margin-top: 90px; }
.spot.flip > :first-child { order: 2; }
.spot .copy { display: flex; flex-direction: column; gap: 16px; }
.spot .copy .btn { align-self: flex-start; }

/* table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.compare th, .compare td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--bg-3); font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.compare thead th.col { text-align: center; width: 150px; color: var(--text); }
.compare thead th.col small { display: block; color: var(--dim); font-weight: 500; font-size: 0.8rem; margin-top: 3px; }
.compare td.c { text-align: center; }
.compare td small { display: block; color: var(--dim); font-size: 0.84rem; margin-top: 2px; }
.compare tr.group td { background: var(--bg-3); color: var(--dim); font: 650 0.72rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; padding-block: 10px; }
.yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.no { color: var(--dim); }

/* alerts */
.alert-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.alert-list li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg-2); display: flex; gap: 11px; }
.alert-list .em { font-size: 1.1rem; line-height: 1.3; }
.alert-list b { display: block; font-weight: 620; font-size: 0.95rem; }
.alert-list span { display: block; color: var(--muted); font-size: 0.85rem; line-height: 1.45; margin-top: 2px; }
.prio { display: flex; flex-wrap: wrap; gap: 8px; }
.prio span { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 11px; font-size: 0.85rem; color: var(--muted); background: var(--bg-2); }
.prio span b { color: var(--text); font-weight: 620; }
.dm { background: #1e1f24; border: 1px solid #2b2d34; border-radius: 12px; padding: 12px 14px; display: flex; gap: 11px; font-size: 0.86rem; color: #dbdee1; }
.dm .av { width: 34px; height: 34px; flex: none; border-radius: 50%; background: linear-gradient(140deg, #ffbf86, #ef7f34); display: grid; place-items: center; }
.dm .av i { width: 11px; height: 11px; border-radius: 50%; background: #1e1f24; }
.dm .who { font-weight: 650; color: #f2f3f5; }
.dm .who small { color: #949ba4; font-weight: 400; margin-left: 6px; font-size: 0.74rem; }
.dm .embed { margin-top: 6px; border-left: 4px solid #f7c35c; background: #2b2d31; border-radius: 4px; padding: 8px 10px; line-height: 1.45; }
.dm .embed.bad { border-left-color: #ff7a7a; }
.dm .embed b { display: block; color: #f2f3f5; }

/* faq */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 26px 16px 0; font-weight: 620; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 1.3rem; color: var(--accent-text); transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; font-size: 0.96rem; }

/* prices / coming soon */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 30px; background: var(--bg-2); display: flex; flex-direction: column; gap: 14px; }
.plan.main { border-color: var(--accent); background: linear-gradient(160deg, var(--accent-soft), transparent 55%), var(--bg-2); }
.plan .price { font: 760 2.2rem/1 var(--display); letter-spacing: -0.03em; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plans.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.addon { margin-top: 20px; border: 1px dashed var(--line-2); border-radius: 18px; padding: 24px 30px; background: var(--bg-2); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.addon > div:first-child { flex: 1 1 320px; min-width: 0; }
.addon h3 { margin: 0 0 6px; }
.addon .price { font: 760 1.8rem/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.addon .price small { font-size: 0.95rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.todo { display: inline-block; border: 1px dashed var(--accent); color: var(--accent-text); background: var(--accent-soft); border-radius: 8px; padding: 2px 10px; font: 600 0.95rem/1.5 var(--body); }
.notice { border: 1px solid var(--accent); background: linear-gradient(160deg, var(--accent-soft), transparent 70%), var(--bg-2); border-radius: 16px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.notice h3 { margin-bottom: 6px; }
.notice p { color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 32px; color: var(--dim); font-size: 0.85rem; text-align: center; display: flex; flex-direction: column; gap: 4px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5, 6, 9, 0.93); display: none; flex-direction: column; }
.lb.open { display: flex; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; color: #a6adbd; font-size: 0.9rem; }
.lb-stage { flex: 1; overflow: auto; display: flex; align-items: flex-start; justify-content: center; padding: 0 16px 24px; }
.lb-stage img { max-width: min(1600px, 100%); height: auto; border-radius: 10px; border: 1px solid #30364a; }
.lb button { background: rgba(255, 255, 255, 0.06); border: 1px solid #30364a; color: #eef0f5; border-radius: 9px; padding: 8px 13px; font: 600 0.9rem/1 var(--body); cursor: pointer; }
.lb button:hover { border-color: #ffa057; }
.lb .nav { display: flex; gap: 8px; }

/* ── narrow screens ──────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spot, .cols { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .spot.flip > :first-child { order: 0; }
  .pages-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq, .plans, .plans.three, .alert-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .site-header { position: static; }
  .bar { height: auto; flex-wrap: wrap; padding: 10px 0; gap: 10px; }
  .brand { flex: 1 1 100%; }
  .brand-text small { max-width: 70vw; }
  .bar .seg { flex: 1; justify-content: space-between; }
  .bar .seg button { flex: 1; justify-content: center; padding: 8px 6px; }
  .menu { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 40px; }
  .pages-cols { grid-template-columns: minmax(0, 1fr); }
  .pages-menu { max-height: 75vh; overflow-y: auto; padding: 14px; }
  .page { padding-block: 34px 60px; }
  .page-head { grid-template-columns: minmax(0, 1fr); }
  .page-head .access { justify-content: flex-start; }
  .cards, .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card .body p { font-size: 0.84rem; }
  .compare th, .compare td { padding: 10px 9px; font-size: 0.88rem; }
  .compare thead th.col { width: 72px; }
  .compare thead th.col small { display: none; }
  .showcase .device.pc { width: 100%; }
  .showcase .device.tab, .showcase .device.phone { display: none; }
  .device.phone { max-width: 270px; margin-inline: auto; }
  .device.tab { margin-inline: auto; }
  .shots[data-device="tab"], .shots[data-device="phone"] { grid-template-columns: minmax(0, 1fr); }
  .notice { flex-direction: column; }
}
@media (max-width: 420px) {
  .cards, .cards.three { grid-template-columns: minmax(0, 1fr); }
}

/* hidden means hidden, whatever display a class sets (the contact form showed under "not open yet") */
[hidden] { display: none !important; }

/* ── contact form (contact.html, assets/contact.js) ─────────────────────── */
.contact form { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.contact .field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.contact .field > span, .contact .field legend { font-size: 0.85rem; font-weight: 600; color: var(--muted); padding: 0; }
.contact input:not([type=checkbox]), .contact textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 0.95rem; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; }
.contact textarea { resize: vertical; min-height: 96px; }
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.contact .checks { display: flex; flex-direction: column; gap: 8px; }
.contact .checks label { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; cursor: pointer; }
.contact .checks input { width: 18px; height: 18px; accent-color: var(--accent); }
.contact .btn { align-self: flex-start; }
.contact .form-error { color: #e5484d; font-size: 0.9rem; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--text); }
