/* RoPlus — marketing site. Same contract as the extension:
   STRICT FLAT — flat fills + crisp 1px borders. No glows, no blooms, no frosted glass.
   Accent #8b5cf6. Dark violet base. Nunito, heavy weights, tight tracking. */

:root {
    --base: #0d0b14;
    --base-2: #120e1c;
    --panel: #16121f;
    --panel-2: #1a1526;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .13);
    --text: #ffffff;
    --muted: rgba(255, 255, 255, .62);
    --soft: rgba(255, 255, 255, .52);
    --accent: #8b5cf6;
    --accent-tint: rgba(139, 92, 246, .15);
    --accent-line: rgba(139, 92, 246, .45);
    --gold: #ffc95c;
    --gold-ink: #2a1800;
    --green: #22c55e;
    --radius: 14px;
    --radius-sm: 9px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--base);
    color: var(--text);
    font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 600;
    line-height: 1.55;
    font-size: 16px;
}
::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ---------- brand bits ---------- */
/* the real mark (rounded corners + transparency baked into the PNG); the "R" glyph in
   the markup stays for screen readers but renders invisibly */
.r-tile {
    width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
    background: url('assets/roplus-mark-128.png') center / contain no-repeat;
    color: transparent; font-size: 0; display: grid; place-items: center;
}
.wordmark { font-weight: 900; font-size: 19px; letter-spacing: -.02em; }
.wordmark b { color: var(--accent); font-weight: 900; }
.chip {
    display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
    border-radius: 6px; font-size: 10.5px; font-weight: 900; letter-spacing: .05em;
}
.chip.pro { background: var(--gold); border: 1px solid #e8a93a; color: var(--gold-ink); }
.chip.free { background: var(--accent-tint); border: 1px solid var(--accent-line); color: #cdb7ff; }

/* the extension's menu language: accent dot before active/labelled things */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
    color: var(--soft);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: var(--base);
    border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 12px; height: 66px; }
.nav-brand { display: flex; align-items: center; gap: 11px; }
.nav-links { display: flex; gap: 4px; margin-left: 26px; }
.nav-links a {
    padding: 7px 13px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 800; color: var(--muted);
    transition: background-color .16s ease, color .16s ease;
}
.nav-links a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.nav-links a.on { background: var(--accent-tint); color: var(--text); }
.nav-links a.on::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: 1px; }
.nav-cta { margin-left: auto; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 44px; padding: 0 20px; border-radius: 12px; cursor: pointer;
    font-family: inherit; font-size: 14.5px; font-weight: 900; letter-spacing: -.01em;
    border: 1px solid var(--line-strong); background: var(--panel-2); color: var(--text);
    transition: background-color .16s ease, border-color .16s ease;
}
.btn:hover { background: #221c31; }
.btn.primary { background: var(--accent); border-color: #a683f8; color: #fff; }
.btn.primary:hover { background: #9a71f7; }
.btn.small { height: 38px; padding: 0 15px; font-size: 13.5px; }

/* ---------- hero ---------- */
.hero { padding: 74px 0 30px; border-bottom: 1px solid var(--line); background: var(--base); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 54px; align-items: center; }
h1 {
    font-size: clamp(38px, 4.6vw, 56px); line-height: 1.04; font-weight: 900; letter-spacing: -.035em;
    margin: 18px 0 18px;
}
h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 17.5px; color: var(--muted); max-width: 42ch; }
.hero-ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--soft); }
.hero-note b { color: var(--muted); }

/* ---------- the signature: a live flat mockup of the dashboard ---------- */
.demo { min-width: 0; }
.demo-switch { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 13px; }
.demo-switch button {
    display: inline-flex; align-items: center; gap: 7px;
    height: 34px; padding: 0 13px; border-radius: 9px; cursor: pointer;
    background: transparent; border: 1px solid var(--line); color: var(--muted);
    font-family: inherit; font-size: 12.5px; font-weight: 800;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.demo-switch button:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.demo-switch button.on { background: var(--accent-tint); border-color: var(--accent-line); color: var(--text); }
.demo-switch button.on::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.demo-switch .mini-pro { font-size: 9px; font-weight: 900; letter-spacing: .04em; color: var(--gold-ink); background: var(--gold); border-radius: 4px; padding: 1px 5px; }

.browser {
    border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden;
    background: var(--base-2);
}
.browser-bar {
    display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
    background: var(--panel); border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.browser-url {
    margin-left: 8px; height: 22px; display: inline-flex; align-items: center; padding: 0 12px;
    border-radius: 6px; background: var(--base); border: 1px solid var(--line);
    font-size: 11px; font-weight: 700; color: var(--soft);
}

/* real-capture slideshow inside the browser frame */
.shots { position: relative; aspect-ratio: 1200 / 704; background: var(--base-2); }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
    opacity: 0; transition: opacity .45s ease; }
.shots img.on { opacity: 1; }

/* ---------- sections ---------- */
section { padding: 84px 0; border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(27px, 3vw, 36px); font-weight: 900; letter-spacing: -.03em; line-height: 1.12; margin: 14px 0 10px; }
.section-sub { color: var(--muted); max-width: 56ch; font-size: 16px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.card {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px;
}
.card .ic {
    width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
    background: var(--accent-tint); border: 1px solid var(--accent-line); color: var(--accent);
    margin-bottom: 14px;
}
.card .ic svg { width: 19px; height: 19px; }
.card h3 { font-size: 16.5px; font-weight: 900; letter-spacing: -.01em; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--muted); }

/* layouts strip */
.lay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.lay { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.lay-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.lay-head h3 { font-size: 14.5px; font-weight: 900; }
.lay-diagram { display: grid; gap: 4px; height: 92px; border-radius: 8px; overflow: hidden; }
.lay-diagram i { background: var(--panel-2); border: 1px solid var(--line); border-radius: 4px; }
.lay-diagram .a { background: var(--accent-tint); border-color: var(--accent-line); }
.d-rail { grid-template-columns: 22px 1fr 1fr; grid-template-rows: 1fr 1fr; }
.d-rail i:first-child { grid-row: span 2; }
.d-clean { grid-template-columns: 22px 1fr 1fr; grid-template-rows: 1fr 1fr; }
.d-clean i { border-radius: 2px; }
.d-clean i:first-child { grid-row: span 2; }
.d-compact { grid-template-columns: 18px repeat(4, 1fr); grid-template-rows: 1fr 1fr 1fr; }
.d-compact i:first-child { grid-row: span 3; }
.d-dock { grid-template-columns: 1fr 2fr 1fr; grid-template-rows: 2fr 1fr 14px; }
.d-dock .dockbar { grid-column: 2; border-radius: 7px; }
.d-cine { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 2.4fr 1fr; }
.d-cine i.hero { grid-column: span 3; }
.d-bento { grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.d-bento i.big { grid-column: span 2; }
.lay p { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 38px; max-width: 780px; }
.price {
    background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px;
    display: flex; flex-direction: column;
}
.price.featured { border-color: var(--accent-line); background: var(--panel-2); }
.price-name { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 900; }
.price-amount { font-size: 40px; font-weight: 900; letter-spacing: -.04em; margin: 10px 0 2px; }
.price-amount small { font-size: 14px; font-weight: 800; color: var(--soft); letter-spacing: 0; }
.price-per { font-size: 13px; color: var(--soft); margin-bottom: 18px; }
.plan-rows { display: flex; flex-direction: column; gap: 7px; margin: 14px 0 10px; }
.plan-row { display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 13px; border-radius: 11px; background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line); font-size: 14px; font-weight: 800; color: var(--muted); }
.plan-row span { display: inline-flex; align-items: center; gap: 8px; }
.plan-row i { font-style: normal; }
.plan-row b { font-size: 17px; font-weight: 900; letter-spacing: -.02em; color: var(--text); }
.plan-row b small { font-size: 11px; font-weight: 700; color: var(--soft); }
.plan-row.featured { background: var(--accent-tint); border-color: var(--accent-line); color: var(--text); }
.plan-row.featured span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.price li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.price li svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; color: var(--accent); }
.price li.na { opacity: .45; }
.price li.na svg { color: var(--soft); }
.price .btn { margin-top: 4px; }
.price.featured .btn { margin-top: auto; }
.price-note { margin-top: 14px; font-size: 12.5px; color: var(--soft); }

/* founder band */
.founder {
    display: flex; gap: 18px; align-items: flex-start;
    background: var(--panel-2); border: 1px solid var(--accent-line); border-radius: 16px;
    padding: 24px 26px; margin-top: 44px;
}
.founder .ic { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 11px; display: grid; place-items: center; background: var(--accent-tint); border: 1px solid var(--accent-line); color: var(--accent); }
.founder .ic svg { width: 21px; height: 21px; }
.founder h3 { font-size: 17px; font-weight: 900; margin-bottom: 4px; }
.founder p { font-size: 14px; color: var(--muted); max-width: 72ch; }

/* faq */
.faq { max-width: 780px; margin-top: 34px; }
details {
    border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
    padding: 0 20px; margin-bottom: 10px;
}
summary {
    cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
    padding: 17px 0; font-size: 15px; font-weight: 800;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 19px; font-weight: 800; color: var(--soft); }
details[open] summary::after { content: '–'; }
details p { padding: 0 0 17px; font-size: 14px; color: var(--muted); }

/* footer */
footer { padding: 44px 0 54px; }
.foot-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 11px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { font-size: 13.5px; font-weight: 800; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.foot-legal { margin-top: 26px; font-size: 12.5px; color: var(--soft); max-width: 88ch; line-height: 1.7; }

/* legal pages */
.legal { max-width: 780px; padding: 64px 0 90px; }
.legal h1 { font-size: 34px; margin: 8px 0 6px; }
.legal .updated { color: var(--soft); font-size: 13px; margin-bottom: 34px; }
.legal h2 { font-size: 19px; margin: 34px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal strong { color: var(--text); }

/* responsive */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .grid-3, .lay-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 660px) {
    .nav-in { flex-wrap: wrap; height: auto; padding: 10px 0; row-gap: 6px; }
    .nav-links { order: 3; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; }
    .nav-links::-webkit-scrollbar { display: none; }
    .grid-3, .lay-grid, .price-grid { grid-template-columns: 1fr; }
    section { padding: 60px 0; }
    .founder { flex-direction: column; }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
    html { scroll-behavior: auto; }
}
