/* getoffro.com: the extension's colours and type, light and dark. No external fonts or scripts. */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --raise: #eceef5;
  --line: #dce0ea;
  --text: #181c28;
  --muted: #5f677c;
  --brand: #5b45e0;
  --brand-wash: #eeebff;
  --me: #0b8a72;
  --on-brand: #ffffff;
  --grad: linear-gradient(120deg, #6a5cff 0%, #b44dfb 55%, #ff5f8f 100%);
  --font: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 16px;
  --shadow: 0 18px 50px rgb(24 28 60 / .12);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151f;
    --surface: #1b2030;
    --raise: #252c3f;
    --line: #2f3850;
    --text: #eceff6;
    --muted: #949cb2;
    --brand: #a796ff;
    --brand-wash: #29264d;
    --me: #4fd8bc;
    --on-brand: #12151f;
    --shadow: 0 18px 50px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(36px, 6vw, 58px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: var(--raise); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 10px; padding: 7px 12px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgb(180 77 251 / .3); }
.btn-grad:hover { filter: brightness(1.06); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--raise); }
.nav .btn { padding: 9px 16px; font-size: 15px; color: var(--on-brand); }
.nav .btn:hover { background: var(--brand); }
.btn[aria-disabled="true"] { opacity: .75; cursor: default; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 40em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

/* hero */
.hero { padding: 64px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.fine { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* the panel mock in the hero */
.mock { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.mock::before { content: ''; position: absolute; inset: 8% -6% -6% 8%; background: var(--grad); filter: blur(48px); opacity: .28; border-radius: 40px; z-index: -1; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; font-size: 15px; }
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.panel-bar .tag { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--brand-wash); color: var(--brand); }
.panel-bar b { font-size: 14px; }
.panel-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #e0364a; }
.panel-bar .live i { width: 8px; height: 8px; border-radius: 50%; background: #e0364a; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .panel-bar .live i { animation: none; } html { scroll-behavior: auto; } }
.panel-body { padding: 16px 18px 18px; }
.q { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.q b { color: var(--text); font-weight: 700; }
.opener { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.answer-text { line-height: 1.55; margin-bottom: 12px; }
.points { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.chips { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.chips span { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }

/* cards */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.alt .card { background: var(--bg); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-wash); color: var(--brand); margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; }

/* steps (Intro) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 18px; }
.step { counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step::before { content: counter(step); width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 20px; }
.step h3 { margin-top: 10px; }
.step ul { margin: 0; padding-left: 20px; color: var(--muted); }
.step li { margin-bottom: 6px; }
.step p { color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; }
.plan.featured { border: 2px solid var(--brand); }
.plan .badge { position: absolute; top: -12px; left: 22px; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: var(--brand); color: var(--on-brand); }
.plan h3 { margin: 0; font-size: 16px; color: var(--muted); font-weight: 700; }
.plan .price { font-size: 40px; font-weight: 800; line-height: 1.1; }
.plan .credits { font-weight: 700; }
.plan .per { font-size: 14px; color: var(--muted); }
.plan ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.plan.free { background: var(--brand-wash); border-color: transparent; }
.cost-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cost-table th, .cost-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cost-table tr:last-child td { border-bottom: 0; }
.cost-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--raise); }
.cost-table td:last-child, .cost-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.cost-table small { display: block; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); }

/* legal pages */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 24px; margin-top: 2em; }
.doc h3 { margin-top: 1.5em; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .updated { color: var(--muted); margin-bottom: 2em; }
.table-scroll { overflow-x: auto; margin: 1em 0; border: 1px solid var(--line); border-radius: 12px; }
.doc table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; background: var(--surface); }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--raise); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.doc tr:last-child td { border-bottom: 0; }
.note { background: var(--brand-wash); border-radius: 12px; padding: 14px 18px; }
.todo { background: #fff3c4; color: #5a4300; padding: 0 4px; border-radius: 4px; }
@media (prefers-color-scheme: dark) { .todo { background: #4d3d00; color: #ffe58a; } }

/* contact */
.contact-card { display: flex; flex-direction: column; gap: 4px; }
.contact-card a.big { font-size: 20px; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }

/* closing CTA */
.cta-band { background: var(--grad); color: #fff; border-radius: 28px; padding: 56px 32px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgb(255 255 255 / .88); font-size: 19px; }
.cta-band .btn { background: #fff; color: #3b2bb0; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot nav a { color: var(--muted); text-decoration: none; }
.site-foot nav a:hover { color: var(--text); text-decoration: underline; }
.site-foot p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
