/* ProfitLupa home page — dark, Apple-style. Self-contained: other public pages keep style.css. */
:root { --bg: #07090a; --bg2: #0e1214; --tile: #121719; --line: rgba(255,255,255,.09); --ink: #f4f7f7; --ink2: #b9c4c6; --mute: #7f8c8f;
  --accent: #3fd1b3; --accent2: #0e7c6b; --radius: 26px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* A header link's section starts below the 64 px sticky header, not under it (audit 28 Nov, S5 F10: "A peek of the
   extension" was hidden behind it). */
main [id] { scroll-margin-top: 80px; }
body.home { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: Poppins, -apple-system, sans-serif; letter-spacing: -.02em; margin: 0; }
.grad { background: linear-gradient(92deg, #3fd1b3 0%, #7fe3c8 45%, #a78bfa 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(7,9,10,.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--line); }
.hd-in { max-width: 1440px; margin: 0 auto; padding: 0 22px; height: 64px; display: flex; align-items: center; gap: 26px; }
.hd-logo img { height: 38px; display: block; }
.hd-nav { display: flex; gap: 24px; font-size: 14px; color: var(--ink2); } .hd-nav a:hover { color: var(--ink); }
.sp { flex: 1; }
.hd-link { font-size: 14px; color: var(--ink2); } .hd-link:hover { color: var(--ink); }

/* buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; background: linear-gradient(135deg, #16a085, #0e7c6b); color: #fff; box-shadow: 0 8px 26px rgba(22,160,133,.35); transition: transform .15s, box-shadow .15s; }
.pill:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(22,160,133,.45); }
.pill.ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1px solid rgba(255,255,255,.28); }
.pill.ghost:hover { border-color: rgba(255,255,255,.55); }
.pill.small { padding: 7px 15px; font-size: 13.5px; box-shadow: none; }

/* hero */
.hero { text-align: center; padding: 84px 22px 40px; background: radial-gradient(60% 55% at 50% 12%, rgba(63,209,179,.16), transparent 70%), radial-gradient(40% 40% at 85% 30%, rgba(167,139,250,.12), transparent 70%); }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.hero h1 { font-size: clamp(40px, 6.6vw, 76px); line-height: 1.04; font-weight: 700; }
.lede { max-width: 680px; margin: 22px auto 0; color: var(--ink2); font-size: clamp(17px, 1.7vw, 21px); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.fine { color: var(--mute); font-size: 13.5px; margin: 16px 0 0; }

/* screenshots */
.shot { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 90px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.4); }
.shot img { display: block; width: 100%; height: auto; }
.hero-shot { max-width: 1280px; margin: 56px auto 0; position: relative; box-shadow: 0 50px 120px -30px rgba(0,0,0,.85), 0 0 90px -10px rgba(63,209,179,.28); }
.frame { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #1b2124; border-bottom: 1px solid rgba(255,255,255,.08); }
.frame span { width: 11px; height: 11px; border-radius: 50%; background: #3a4447; } .frame span:nth-child(1) { background: #ff5f57; } .frame span:nth-child(2) { background: #febc2e; } .frame span:nth-child(3) { background: #28c840; }
.frame em { margin-left: 14px; font-style: normal; font-size: 12px; color: #8a979a; }

/* where it works */
.where { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 10px 22px; padding: 30px 22px 18px; color: var(--mute); font-size: 14px; }
.where b { color: var(--ink); font-weight: 600; font-size: 16px; } .where i { font-style: normal; margin-left: -14px; font-size: 13px; }

/* feature grid */
.grid { max-width: 1440px; margin: 0 auto; padding: 40px 22px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile { background: linear-gradient(180deg, var(--tile), var(--bg2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 38px 0; overflow: hidden; display: flex; flex-direction: column; gap: 26px; }
.tile.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 40px; padding: 44px 0 44px 44px; }
.tile.wide.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding: 44px 44px 44px 0; }
.tile.wide .shot.square { max-width: 520px; justify-self: start; }
.tile.wide.flip .t-txt { order: 2; } .tile.wide.flip .shot { order: 1; border-radius: 0 16px 16px 0; border-left: 0; }
.tile.wide .shot { border-radius: 16px 0 0 16px; border-right: 0; }
.tile.wide .shot.narrow { max-width: 440px; justify-self: end; }
.tile:not(.wide) .shot { border-radius: 14px 14px 0 0; border-bottom: 0; margin-top: auto; }
.kicker { margin: 0 0 10px; color: var(--accent); font-weight: 600; font-size: 14px; }
.tile h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; }
.tile .t-txt p:not(.kicker) { color: var(--ink2); margin: 14px 0 0; font-size: 16.5px; }
/* The grid picks the number of cards from the room there is (audit 21 Nov, R3 F1): six fixed columns from 901 px left
   80–143 px per title, so "Reimbursement cases" and longer translations ran out of their cards and the page scrolled
   sideways up to 1280 px. A word longer than its card still breaks inside it. */
.minis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.mini { background: var(--tile); border: 1px solid var(--line); border-radius: 20px; padding: 22px; min-width: 0; }
.mini b { display: block; font-family: Poppins, sans-serif; font-size: 16px; margin-bottom: 6px; overflow-wrap: anywhere; } .mini span { color: var(--ink2); font-size: 14.5px; }

/* your Amazon seller account (2 Dec 2026): what connecting Seller Central gives, as cards */
.sc { max-width: 1440px; margin: 0 auto; padding: 56px 22px 10px; }
.sc h2 { text-align: center; font-size: clamp(30px, 4vw, 46px); } .sc > .lede { text-align: center; }
.sc .minis { margin-top: 30px; }
/* the plans link under "Get ProfitLupa." */
.fine .fine-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; } .fine .fine-link:hover { color: var(--ink); }

/* get it */
.get { text-align: center; padding: 80px 22px 90px; background: radial-gradient(50% 60% at 50% 100%, rgba(63,209,179,.12), transparent 70%); }
.get h2 { font-size: clamp(34px, 4.6vw, 54px); }
.get-grid { max-width: 820px; margin: 36px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; }
.get-card { --c1: #0f9f6e; --c2: #35c4a6; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 16%, var(--tile)), var(--tile)); transition: transform .15s, border-color .15s; }
.get-card.mac { --c1: #7c3aed; --c2: #a855f7; }
.get-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c1) 60%, var(--line)); }
.g-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); margin-bottom: 6px; } .g-ic svg { width: 28px; height: 28px; }
.get-card b { font-family: Poppins, sans-serif; font-size: 20px; } .get-card span { color: var(--ink2); font-size: 15px; }
.get-card em { font-style: normal; color: var(--accent); font-weight: 600; margin-top: 6px; } .get-card.mac em { color: #c4b5fd; }

/* footer */
.ft { border-top: 1px solid var(--line); }
.ft-in { max-width: 1440px; margin: 0 auto; padding: 22px; display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 13px; color: var(--mute); } .ft-in a:hover { color: var(--ink); }

/* gentle reveal on scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; } .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* smaller screens */
@media (max-width: 900px) {
  .tile.wide, .tile.wide.flip { grid-template-columns: minmax(0, 1fr); padding: 34px 28px 0; gap: 24px; }
  .tile.wide.flip .t-txt { order: 0; } .tile.wide .shot, .tile.wide.flip .shot { border-radius: 14px 14px 0 0; border: 1px solid rgba(255,255,255,.14); border-bottom: 0; order: 2; }
  .tile.wide .shot.narrow { justify-self: stretch; max-width: none; }
  .grid { grid-template-columns: minmax(0, 1fr); } .get-grid { grid-template-columns: minmax(0, 1fr); }
  .tile { padding: 30px 26px 0; }
}
@media (max-width: 520px) { .minis { grid-template-columns: minmax(0, 1fr); } .hero { padding-top: 60px; } }

/* live demo */
.demo { max-width: 1440px; margin: 0 auto; padding: 56px 22px 20px; text-align: center; }
.demo h2 { font-size: clamp(34px, 4.6vw, 54px); }
.demo-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 26px 0 18px; padding: 6px; border-radius: 999px; background: var(--tile); border: 1px solid var(--line); }
.demo-tabs button { font: inherit; font-size: 14.5px; padding: 9px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--ink2); cursor: pointer; }
.demo-tabs button:hover { color: var(--ink); }
.demo-tabs button[aria-selected="true"] { background: linear-gradient(135deg, #16a085, #0e7c6b); color: #fff; box-shadow: 0 6px 18px rgba(22,160,133,.3); }
.demo-stage { position: relative; height: min(820px, 78vh); min-height: 560px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: #111618;
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.85), 0 0 90px -10px rgba(63,209,179,.18); }
.demo-stage:fullscreen { border-radius: 0; height: 100vh; }
.demo-cover { position: absolute; inset: 0; } .demo-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; filter: saturate(1.05); }
.demo-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,10,0) 40%, rgba(7,9,10,.78) 100%); }
.demo-go { position: absolute; left: 50%; bottom: 42px; transform: translateX(-50%); z-index: 2; font-size: 18px; padding: 16px 30px; }
.demo-go:hover { transform: translateX(-50%) translateY(-1px); }
.demo-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.demo-note { margin-top: 14px; } .linkbtn { font: inherit; background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0 0 0 8px; }
@media (max-width: 900px) { .demo-stage { height: 70vh; min-height: 480px; } .demo-tabs button { padding: 8px 12px; font-size: 13.5px; } }

/* hero: Access to the Hub */
.hub-access { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 8px 8px 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: 14.5px; }
.hub-access .ha-l { color: var(--ink2); padding-right: 6px; border-right: 1px solid var(--line); margin-right: 2px; }
.hub-access a { color: var(--ink); font-weight: 600; padding: 5px 12px; border-radius: 999px; } .hub-access a:hover { background: rgba(63,209,179,.14); color: #7fe3c8; }
.hub-access .ha-sep { color: var(--mute); }
.hero .hub-access + .fine { margin-top: 14px; }

/* hero: Access to the Hub, with Register marked free */
.hub-access { padding: 6px 6px 6px 16px; }
.hub-access .ha-in { padding: 8px 14px; }
.hub-access .ha-reg { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.1; padding: 7px 18px; border-radius: 999px; background: linear-gradient(135deg, rgba(63,209,179,.22), rgba(167,139,250,.2)); border: 1px solid rgba(63,209,179,.45); }
.hub-access .ha-reg b { font-size: 14.5px; } .hub-access .ha-reg small { font-size: 11px; font-weight: 600; color: #7fe3c8; letter-spacing: .02em; }
.hub-access .ha-reg:hover { background: linear-gradient(135deg, rgba(63,209,179,.32), rgba(167,139,250,.28)); color: #fff; }
.ha-note { margin: 12px auto 0; color: var(--ink2); font-size: 14.5px; } .ha-note b { color: var(--ink); font-weight: 600; }

/* hero: everything ProfitLupa does, at a glance */
.feats { max-width: 1440px; margin: 44px auto 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; text-align: left; }
.feat { position: relative; padding: 16px 14px 14px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); transition: border-color .2s, transform .2s; }
.feat:hover { border-color: rgba(63,209,179,.4); transform: translateY(-2px); }
.f-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #16a085, #0e7c6b); box-shadow: 0 6px 18px rgba(22,160,133,.28); margin-bottom: 12px; }
.f-ic svg { width: 22px; height: 22px; }
.feat:nth-child(4n+2) .f-ic { background: linear-gradient(135deg, #7c3aed, #a855f7); box-shadow: 0 6px 18px rgba(124,58,237,.28); }
.feat:nth-child(4n+3) .f-ic { background: linear-gradient(135deg, #2563eb, #38bdf8); box-shadow: 0 6px 18px rgba(37,99,235,.28); }
.feat h3 { font-size: 18px; margin: 0; } .f-sub { margin: 3px 0 10px; color: var(--accent); font-size: 13.5px; font-weight: 600; }
.feat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.feat li { position: relative; padding-left: 20px; color: var(--ink2); font-size: 14px; line-height: 1.45; }
.feat li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* hero: two peeks, each opens larger */
.peeks { max-width: 1440px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; text-align: left; }
.peek { margin: 0; } .peek figcaption { font-family: Poppins, sans-serif; font-weight: 600; font-size: 20px; margin: 0 0 12px 4px; }
.peek-shot { position: relative; display: block; width: 100%; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; overflow: hidden; background: #111618; cursor: zoom-in; box-shadow: 0 40px 90px -24px rgba(0,0,0,.8), 0 0 70px -14px rgba(63,209,179,.22); transition: transform .25s, box-shadow .25s; }
.peek-shot:hover { transform: translateY(-3px); box-shadow: 0 50px 110px -24px rgba(0,0,0,.85), 0 0 90px -10px rgba(63,209,179,.32); }
.peek-shot .frame { display: flex; } .peek-shot img { display: block; width: 100%; height: auto; }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(7,9,10,.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.peek-shot:hover .zoom-hint, .peek-shot:focus-visible .zoom-hint { opacity: 1; }
/* enlarged view */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 3vh 3vw; background: rgba(4,6,7,.88); backdrop-filter: blur(8px); cursor: zoom-out; animation: lb-in .18s ease; }
.lb[hidden] { display: none; } .lb img { max-width: 100%; max-height: 94vh; border-radius: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.7); }
.lb-x { position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-size: 18px; cursor: pointer; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1400px) { .feats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .feats, .peeks { grid-template-columns: minmax(0, 1fr); } .hub-access { flex-wrap: wrap; justify-content: center; } }
.ft-lang { display: inline-flex; align-items: center; gap: 6px; color: var(--mute); }
.ft-lang svg { width: 15px; height: 15px; flex: none; }
.ft-lang select { font: inherit; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; cursor: pointer; }
.ft-lang select:hover { color: var(--ink); }


/* New feature cards in the main grid */
.feat.is-new { border-color: rgba(63,209,179,.35); } .newpill { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #0b2e26; background: var(--accent); padding: 3px 8px; border-radius: 999px; }
.feat.is-new p:not(.f-sub) { margin: 0; color: var(--mute); font-size: 14px; line-height: 1.5; }
.feat:nth-child(4n+4) .f-ic { background: linear-gradient(135deg, #d97706, #f59e0b); box-shadow: 0 8px 20px rgba(245,158,11,.25); }
/* inline-block: the badge moves to the next line as a whole when the title fills the card (audit 21 Nov, R3 F1). */
.mini.is-new b::after { content: "New"; display: inline-block; white-space: nowrap; margin-left: 8px; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #0b2e26; background: var(--accent); padding: 2px 6px; border-radius: 999px; vertical-align: middle; }
@media (max-width: 700px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .feats { grid-template-columns: minmax(0, 1fr); } }


/* Small phones (audit 1 Nov 2026): at 320 px the header's logo, "Log in" and "Get started" ran 29 px past the screen and
   the whole page scrolled sideways, and longer translations ("Iniciar sesión", "Se connecter") overflowed up to ~420 px.
   Tighter gaps and a smaller logo that gives way first; the two buttons never wrap or shrink. */
@media (max-width: 480px) {
  .hd-in { gap: 12px; padding: 0 14px; }
  .hd-logo { flex: 0 1 auto; min-width: 72px; } .hd-logo img { width: 120px; max-width: 100%; height: auto; }
  .hd-link, .pill.small { flex: none; white-space: nowrap; } .pill.small { padding: 7px 12px; }
  /* …and the "Log in" / "Open your hub" link gives way with an ellipsis (French and German signed-in labels still ran
     past 320 px: verification, 1 Nov 2026). */
  .hd-link { display: block; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

/* Japanese breaks lines between phrases, not in the middle of a word ("販 / 売数"; audit 21 Nov, R3 F7). Chrome and Edge
   119+; other browsers ignore it and keep today's breaks. */
html[lang="ja"] body { word-break: auto-phrase; line-break: strict; }

/* Read by screen readers, not shown (the home page's "What ProfitLupa does" heading; audit 21 Nov, R3 F9). */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ===== Round 24, batch 2 (audit 4 Dec 2026) ===== */
/* (L4 F8) Under 900 px the header's menu went whole and "Plans" with it (prices only at the very bottom of a long page):
   "Plans" stays in the header there. */
@media (max-width: 900px) {
  .hd-nav { display: flex; gap: 0; }
  .hd-nav a:not([href="plans.html"]) { display: none; }
}
/* (L4 F10, L7 F3) Phones: 40 px tap heights for the header's Plans / Log in, the demo's "Full screen", "Plans and
   prices" and the footer links. Under 470 px the header's "Log in" (or "Open your hub") steps out instead of showing
   as "Se connec…": the same link is in the "Access to the Hub" box right under the header. */
@media (max-width: 600px) {
  .hd-nav a, .hd-link { display: block; padding: 11px 0; }
  .linkbtn { display: inline-block; padding: 11px 0 11px 8px; margin: -11px 0; }
  .fine .fine-link { display: inline-block; padding: 11px 0; margin: -11px 0; }
  .ft-in a { display: inline-block; padding: 10px 0; margin: -10px 0; }
  .ft-in { row-gap: 20px; }
}
@media (max-width: 470px) { .hd-link { display: none; } } /* 470, not 430: signed in, French "Ouvrir votre hub" next to "Offres" was cut at 431–460 (fix check KD F1) */
/* (L4 F10) Phones: an enlarged screenshot opens taller than the screen is wide and scrolls sideways, so its text can
   be read (it opened at the same 390 px width as before); × stays in the corner. */
@media (max-width: 600px) {
  .lb { overflow: auto; place-items: start; padding: 64px 12px 12px; backdrop-filter: none; -webkit-backdrop-filter: none; } /* no blur: it made .lb the × box's frame, and × scrolled away with the picture */
  .lb img { max-width: none; max-height: none; height: 78vh; width: auto; }
  .lb-x { position: fixed; top: 12px; right: 12px; z-index: 1; }
}
