/* Sales page – own design. Deep petrol + cool paper, a lime highlight (always with dark text on it), serif display type.
   Deliberately far from r3st.se (warm off-white, coral, Bricolage Grotesque): keep it that way. */
:root {
  --ink: #0e2629;
  --ink-2: #37504f;
  --muted: #5b706e;
  --paper: #f1f5f3;
  --soft: #e3ebe7;
  --card: #fff;
  --line: #d3ded9;
  --accent: #0e5c56;
  --accent-d: #0a4843;
  --accent-ink: #0e6b63;
  --pop: #c5ef5a;
  --pop-d: #afdc3f;
  --sea: #0e6b63;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 38, 41, .06), 0 18px 40px -22px rgba(14, 38, 41, .35);
  --f-head: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --f-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-body); }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(44px, 5.4vw, 76px); }
h2 { font-size: clamp(34px, 4vw, 52px); }
h3 { font-size: 25px; line-height: 1.15; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 60ch; }
.small { font-size: 14px; color: var(--muted); }
.head { max-width: 760px; margin-bottom: 44px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; font: 600 15.5px/1.2 var(--f-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 38px; padding: 8px 15px; font-size: 14.5px; }
.btn-lg { min-height: 54px; padding: 14px 24px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-d); color: #fff; }
.btn-accent:active { transform: translateY(1px); }
.btn-ghost { color: var(--ink); border-color: rgba(18, 32, 43, .2); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(241, 245, 243, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 400 27px/1 var(--f-head); color: var(--ink); text-decoration: none; }
.mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
.top nav { margin-left: auto; }
.top ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.top nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.top nav a:hover { background: var(--soft); color: var(--ink); }
@media (max-width: 860px) { .top nav { display: none; } .top .btn { margin-left: auto; } .brand span { font-size: 16px; } }

/* ---------------------------------------------------------------- hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: 15px; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { width: 18px; height: 18px; color: var(--sea); }
.hero-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 960px) { .hero { padding-top: 32px; } .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------------------------------------------------------------- before / after slider */
.ba { margin: 0; --pos: 50%; }
.views { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 14px; background: var(--soft); border-radius: 999px; }
.views button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--ink-2); font: 600 14px/1 var(--f-body); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.views button svg { width: 17px; height: 17px; }
.views button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(18, 32, 43, .14); }
.pane[hidden] { display: none; }
.chrome { display: flex; gap: 6px; align-items: center; height: 30px; padding: 0 14px; background: #e6e0d5; border-radius: 12px 12px 0 0; }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: rgba(18, 32, 43, .18); }
.frame { position: relative; overflow: hidden; background: #ddd; box-shadow: var(--shadow); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.frame-desktop { border-radius: 0 0 12px 12px; }
.frame-mobile { width: min(330px, 100%); margin-inline: auto; border-radius: 34px; border: 9px solid var(--ink); }
.frame img { width: 100%; height: auto; pointer-events: none; }
.before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.before img { height: 100%; object-fit: cover; object-position: top; }
.handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(18, 32, 43, .15), 0 0 18px rgba(0, 0, 0, .25); pointer-events: none; }
.handle span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; display: grid; place-items: center; background: #fff; color: var(--ink); border-radius: 50%; box-shadow: 0 4px 16px rgba(0, 0, 0, .25); transition: transform .15s; }
.handle svg { width: 24px; height: 24px; }
.frame.dragging .handle span { transform: scale(1.08); }
.frame:has(.range:focus-visible) .handle span { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.tag { position: absolute; top: 12px; padding: 5px 11px; border-radius: 999px; font: 600 12.5px/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; pointer-events: none; transition: opacity .2s; }
.tag-l { left: 12px; background: rgba(18, 32, 43, .82); color: #fff; }
.tag-r { right: 12px; background: var(--pop); color: var(--ink); }
.frame-mobile .tag { top: 16px; }
.ba figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }
.ba-solo .frame { cursor: default; }

/* ---------------------------------------------------------------- cases */
.band { background: var(--card); padding: 96px 0; border-block: 1px solid var(--line); }
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case.flip .case-text { order: 2; }
.kicker { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.case h3 { font-size: clamp(26px, 2.6vw, 32px); }
.facts { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 22px 0 24px; }
.facts div { min-width: 0; }
.facts dt { font: 400 34px/1.05 var(--f-head); }
.facts dd { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); text-decoration-color: var(--pop-d); text-decoration-thickness: 3px; }
.link svg { width: 16px; height: 16px; }
.concept { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.case-shot { box-shadow: var(--shadow); border-radius: 12px; overflow: hidden; }
.case-shot .chrome { border-radius: 0; }
@media (max-width: 960px) { .case { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; } .case.flip .case-text { order: 0; } .band { padding: 64px 0; } }

/* ---------------------------------------------------------------- sections */
.section { padding: 96px 0; }
.section.alt { background: var(--soft); }
@media (max-width: 760px) { .section { padding: 64px 0; } }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(197, 239, 90, .35); color: var(--accent); margin-bottom: 18px; }
.feature .ic svg { width: 24px; height: 24px; }
.feature p { color: var(--ink-2); margin: 0; font-size: 16px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 60px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 400 22px/1 var(--f-head); }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 22px; left: 56px; right: -8px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.offer { display: flex; gap: 28px; align-items: center; justify-content: space-between; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 32px; }
.offer h3 { color: #fff; font-size: clamp(26px, 2.6vw, 32px); margin-bottom: .3em; }
.offer p { color: rgba(241, 245, 243, .8); margin: 0; max-width: 68ch; }
.offer-count { flex: none; text-align: center; background: var(--pop); color: var(--ink); border-radius: 14px; padding: 14px 20px; min-width: 120px; }
.offer-count b { display: block; font: 400 46px/1 var(--f-head); }
.offer-count span { font-size: 13.5px; font-weight: 500; }
@media (max-width: 700px) { .offer { flex-direction: column; align-items: flex-start; padding: 24px; } }
.price s { color: var(--muted); font-size: 17px; margin-left: 4px; }
.poffer { font-size: 13.5px; color: var(--muted); margin: -2px 0 2px; }
.offer-line { margin: -8px 0 18px; font-size: 15.5px; color: var(--ink-2); }
.offer-line a { color: var(--accent-ink); font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; }
.plan.featured { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 24px; background: var(--pop); color: var(--ink); font: 600 12.5px/1 var(--f-body); padding: 7px 11px; border-radius: 999px; }
.price { margin: 4px 0 2px; color: var(--muted); }
.price b { font: 400 54px/1 var(--f-head); color: var(--ink); }
.pnote { font-size: 14px; color: var(--sea); font-weight: 600; }
.for { color: var(--ink-2); font-size: 15.5px; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 26px; flex: 1; }
.plan li { display: flex; gap: 9px; padding: 6px 0; font-size: 15.5px; }
.plan li svg { width: 18px; height: 18px; color: var(--sea); flex: none; margin-top: 3px; }
.terms { margin-top: 22px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; cursor: pointer; font: 600 18px/1.35 var(--f-body); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform .2s; color: var(--muted); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq p { color: var(--ink-2); padding-bottom: 8px; max-width: 68ch; }

/* ---------------------------------------------------------------- contact */
.contact { background: var(--ink); color: var(--paper); padding: 96px 0; }
.contact h2 { color: #fff; }
.contact .lead { color: rgba(247, 244, 238, .78); }
.contact .btn-accent { background: var(--pop); color: var(--ink); }
.contact .btn-accent:hover { background: var(--pop-d); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.form { display: grid; gap: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 28px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 500; color: rgba(247, 244, 238, .85); }
.form input, .form textarea { font: inherit; font-size: 16px; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; padding: 12px 14px; width: 100%; }
.form input::placeholder, .form textarea::placeholder { color: rgba(247, 244, 238, .45); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--pop); outline-offset: 1px; border-color: transparent; }
.form .btn { justify-self: start; }
.form .small { color: rgba(247, 244, 238, .65); margin: 0; }
.form .small a { color: #fff; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } .contact { padding: 64px 0; } }
@media (max-width: 560px) { .form { padding: 20px; } .form .row { grid-template-columns: 1fr; } .form .btn { width: 100%; white-space: normal; } }

.foot { padding: 28px 0; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.foot span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.foot .mark { width: 22px; height: 22px; }
.foot a { color: inherit; }
