/* Dashtabs landing page (landing/wip.html for now, served at dashtabs.net). Brand colours, Manrope + DM Serif Display (self-hosted).
   A painted page: fixed colours, it doesn't switch with the system theme. */

@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("/assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-var.woff2") format("woff2"); }   /* the dashboard's own font, inside the preview */
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); }

:root {
  --midnight: #0f1530;
  --panel: #182046;
  --line: #2a3566;
  --indigo: #3446c4;
  --gold: #ffd60a;
  --gold-2: #ffe04d;
  --paper: #f4f6fb;
  --midday: #e3e8f3;
  --mist: #a9b1cc;
  --ink-2: #4a5370;
  --sun-1: #ffd45a;          /* Sunflower: the default tab colour, inside the dashboard preview */
  --sun-2: #f0b51f;
  --postit: #fff4c2;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-x: clip; background: var(--midnight); color: #f4f6fb; font: 16px/1.55 "Manrope", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.on-light :focus-visible { outline-color: var(--indigo); }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.em { font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { display: block; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--midnight); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 24px -12px rgba(255, 214, 10, 0.7); }
.btn-gold:hover { filter: brightness(1.04); }
.btn-ghost { border: 1.5px solid var(--line); color: #f4f6fb; }
.btn-ghost:hover { border-color: var(--mist); }
.btn-dark { background: var(--midnight); color: var(--gold); }

/* ---------- Header ---------- */
.site-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; color: #fff; text-decoration: none; }
.brand svg { height: 32px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a:not(.btn) { text-decoration: none; color: #dfe3f0; }
.nav a:not(.btn):hover { color: #fff; }
.nav .btn { min-height: 42px; padding: 0 16px; border-radius: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 40px; padding-bottom: 96px; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -10% -20% 0 30%; background: radial-gradient(40% 50% at 60% 40%, rgba(52, 70, 196, 0.45), transparent 70%), radial-gradient(30% 35% at 85% 85%, rgba(255, 214, 10, 0.12), transparent 70%); pointer-events: none; }
.hero-copy { flex: 1 1 440px; min-width: 0; }
.beta { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold); font-size: 13px; font-weight: 800; }
.beta i { width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.hero h1 { font-size: clamp(42px, 6.2vw, 80px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; margin-bottom: 24px; }
.hero h1 .em { color: var(--gold); }
.lead { max-width: 32em; margin-bottom: 32px; color: var(--mist); font-size: 19px; line-height: 1.6; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* The dashboard preview: a real-looking tab with its frosted tab bar and widget cards (light mode, Sunflower) */
.preview { position: relative; flex: 1 1 500px; min-width: 0; padding: 0 14px 14px; border-radius: 26px; background: linear-gradient(170deg, #9cc4ec 0%, #c7dcf0 30%, #f6f1ea 62%, #f3f2ef 100%); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); color: #17171a; }
.pv-tabs { display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto 12px; padding: 6px; border-radius: 0 0 16px 16px; background: rgba(255, 255, 255, 0.55); font-size: 13px; font-weight: 700; color: #3c3f46; }
.pv-tabs span { padding: 6px 14px; border-radius: 11px; }
.pv-tabs .on { background: linear-gradient(180deg, var(--sun-1), var(--sun-2)); color: #1d1a12; }
.pv-greet { text-align: center; margin: 4px 0 14px; color: #fff; text-shadow: 0 2px 14px rgba(10, 26, 48, 0.35); }
.pv-greet b { display: block; font-size: 26px; letter-spacing: -0.03em; }
.pv-greet span { font-size: 13px; font-weight: 600; }
.pv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.w { padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(20, 20, 25, 0.06); box-shadow: 0 1px 2px rgba(20, 20, 30, 0.04), 0 10px 28px -16px rgba(20, 20, 30, 0.18); font-family: "Inter", system-ui, sans-serif; }
.w-t { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.w-t small { margin-left: auto; font-size: 11px; font-weight: 600; color: #62646b; }
.w-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 12.5px; }
.w-row b { min-width: 38px; }
.w-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.w-join { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: linear-gradient(180deg, var(--sun-1), var(--sun-2)); color: #1d1a12; font-size: 11px; font-weight: 800; }
.w-fold { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(20, 20, 25, 0.07); font-size: 11.5px; font-weight: 700; color: #62646b; }
.wx { display: flex; align-items: center; gap: 10px; }
.wx-t { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.wx-d { font-size: 12px; color: #62646b; }
.wx-days { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: #62646b; text-align: center; line-height: 1.35; }
.wx-days svg { margin: 1px auto; }
.wx-days b { color: #17171a; }
.pad { padding: 10px 12px; border-radius: 12px; background: var(--postit); color: #2b250d; font-size: 12.5px; line-height: 1.65; }
.pad .done { color: #8a7d4a; text-decoration: line-through; }
.sw-big { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.sw-dots { display: flex; justify-content: space-between; margin: 6px 2px 8px; }
.sw-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ebebea; }
.sw-dots .on { background: linear-gradient(180deg, var(--sun-1), var(--sun-2)); }
.sw-dots .today { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--sun-2); }
.r { margin-left: auto; color: #62646b; }

/* ---------- Light sections ---------- */
.on-light { background: var(--paper); color: var(--midnight); }
.sec { padding-top: 88px; padding-bottom: 88px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.sec h2 { max-width: 20em; font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.045em; }
.sec h2 .em { color: var(--indigo); }
.kicker { margin-bottom: 12px; color: var(--indigo); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 8px 14px; border-radius: 10px; background: var(--midday); color: #3a4466; font-size: 13px; font-weight: 700; }
.chips .on { background: var(--midnight); color: var(--gold); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.feature { position: relative; padding: 26px 28px 28px; border-radius: 24px; background: #fff; border: 1px solid #dde2ef; }
.feature .art { height: 96px; display: flex; align-items: flex-end; margin-bottom: 14px; }
.feature .art svg { height: 92px; width: auto; }
.feature h3 { margin-bottom: 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.feature p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }

.widgets { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.wt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #dde2ef; font-size: 14px; font-weight: 700; }
.wt svg { flex: none; width: 30px; height: 30px; }


/* ---------- Call to action + footer ---------- */
.cta-wrap { padding-top: 72px; padding-bottom: 64px; }
.cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 40px; border-radius: 30px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--midnight); overflow: hidden; }
.cta-l { display: flex; align-items: center; gap: 22px; min-width: 0; }
.cta-l > svg { flex: none; width: 72px; height: 72px; }
.cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -0.045em; margin-bottom: 6px; }
.cta p { font-weight: 600; }

.foot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 8px; padding-bottom: 40px; color: var(--mist); text-align: center; }
.foot .brand { color: var(--mist); opacity: 0.85; }
.foot .brand:hover { opacity: 1; color: #fff; }
.foot .brand svg { height: 20px; }
.foot p { font-size: 13px; }
.foot p a { color: var(--mist); text-underline-offset: 2px; }
.foot p a:hover { color: #fff; }

@media (max-width: 640px) {
  .hero { padding-top: 16px; padding-bottom: 64px; }
  .preview { padding: 0 10px 10px; }
  .pv-grid { gap: 8px; }
  .sec { padding-top: 64px; padding-bottom: 64px; }
  .cta { padding: 32px 24px; }
  .cta-l { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) { .pv-grid { grid-template-columns: minmax(0, 1fr); } }

/* Inbox card in the preview: the envelope drawing + the total, then one row per account */
.ib { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.ib svg { width: 64px; height: auto; }
.ib b { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.ib span { display: block; font-size: 12px; color: #62646b; }
.w-pv-pre { white-space: pre-line; }
.w-dot[data-c="blue"] { background: #4f7cf7; }
.w-dot[data-c="green"] { background: #2fbf71; }
.w-dot[data-c="orange"] { background: #ff8a3d; }
.cta-l > svg { color: var(--midnight); }
.widgets { list-style: none; margin: 0; padding: 0; }
.sec + .sec { padding-top: 16px; }

/* ======================================================================
   Rework (Oct 2026): working tabs in the preview, widget popovers, more life
   ====================================================================== */
html { scrollbar-gutter: stable; }
.hero-copy { flex: 1 1 400px; }
.lead { margin-bottom: 32px; }

/* ---------- Preview: four tabs that really switch (radio buttons + :has()) ---------- */
.preview-wrap { position: relative; flex: 1 1 520px; min-width: 0; }
.preview { --tab-1: var(--sun-1); --tab-2: var(--sun-2); --sky-1: #9cc4ec; --sky-2: #c7dcf0; transition: background 0.5s ease; }
.preview:has(#pv-work:checked)    { --tab-1: #80a0f9; --tab-2: #4f7cf7; --sky-1: #8fa8ee; --sky-2: #c9d5f6; }
.preview:has(#pv-running:checked) { --tab-1: #ffa970; --tab-2: #ff8a3d; --sky-1: #f6b48a; --sky-2: #f8d6bd; }
.preview:has(#pv-weekend:checked) { --tab-1: #4ed38b; --tab-2: #2fbf71; --sky-1: #8fd6b0; --sky-2: #c6ebd6; }
.preview { background: linear-gradient(170deg, var(--sky-1) 0%, var(--sky-2) 30%, #f6f1ea 62%, #f3f2ef 100%); }
@media (min-width: 1000px) {
  .preview { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; transition: transform 0.6s cubic-bezier(.2, .7, .2, 1), background 0.5s ease; }
  .preview-wrap:hover .preview, .preview:focus-within { transform: none; }
}
.pv-r { position: absolute; opacity: 0; pointer-events: none; }
.pv-tabs label { padding: 6px 14px; border-radius: 11px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.pv-tabs label:hover { background: rgba(255, 255, 255, 0.7); }
.preview:has(#pv-home:checked) label[for="pv-home"],
.preview:has(#pv-work:checked) label[for="pv-work"],
.preview:has(#pv-running:checked) label[for="pv-running"],
.preview:has(#pv-weekend:checked) label[for="pv-weekend"] { background: linear-gradient(180deg, var(--tab-1), var(--tab-2)); color: #1d1a12; }
.preview:has(#pv-home:focus-visible) label[for="pv-home"],
.preview:has(#pv-work:focus-visible) label[for="pv-work"],
.preview:has(#pv-running:focus-visible) label[for="pv-running"],
.preview:has(#pv-weekend:focus-visible) label[for="pv-weekend"] { outline: 3px solid var(--gold); outline-offset: 2px; }
.pv-stack { display: grid; }
.pv-stack > .pv-grid { grid-area: 1 / 1; visibility: hidden; opacity: 0; }
.preview:has(#pv-home:checked) .pv-grid[data-tab="home"],
.preview:has(#pv-work:checked) .pv-grid[data-tab="work"],
.preview:has(#pv-running:checked) .pv-grid[data-tab="running"],
.preview:has(#pv-weekend:checked) .pv-grid[data-tab="weekend"] { visibility: visible; opacity: 1; }
.pv-grid { align-items: start; }
.pv-grid .w { transition: transform 0.4s cubic-bezier(.2, .7, .2, 1), opacity 0.4s ease; }
.pv-grid:not([data-tab]) .w, .pv-stack > .pv-grid[style] .w { transform: none; }
.preview .w-join, .preview .sw-dots .on, .preview .ck.on, .preview .bar i { background: linear-gradient(180deg, var(--tab-1), var(--tab-2)); }
.preview .sw-dots .today { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--tab-2); }
@media (prefers-reduced-motion: no-preference) {
  .pv-stack > .pv-grid .w { transform: translateY(10px); opacity: 0; }
  .preview:has(#pv-home:checked) .pv-grid[data-tab="home"] .w,
  .preview:has(#pv-work:checked) .pv-grid[data-tab="work"] .w,
  .preview:has(#pv-running:checked) .pv-grid[data-tab="running"] .w,
  .preview:has(#pv-weekend:checked) .pv-grid[data-tab="weekend"] .w { transform: none; opacity: 1; }
  .pv-grid .w:nth-child(2) { transition-delay: 0.05s; }
  .pv-grid .w:nth-child(3) { transition-delay: 0.1s; }
  .pv-grid .w:nth-child(4) { transition-delay: 0.15s; }
  .hero-copy > * { animation: rise 0.7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .preview-wrap { animation: rise 0.9s 0.15s cubic-bezier(.2, .7, .2, 1) both; }
  .float { animation: bob 6s ease-in-out infinite; }
  .float.f2 { animation-delay: -2s; }
  .float.f3 { animation-delay: -4s; }
  .beta i { animation: blink 2.4s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes bob { 50% { translate: 0 -8px; } }
@keyframes blink { 50% { opacity: 0.35; } }

/* The status badges of the dashboard's top row, floating around the preview */
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 7px; margin: 0; padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #17171a; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5); font: 700 13px/1.2 "Inter", system-ui, sans-serif; white-space: nowrap; }
.float.f1 { bottom: 34px; left: -40px; }
.float.f2 { top: -16px; right: 9%; }
.float.f3 { bottom: 34px; right: -26px; }
.pv-hint { margin-top: 22px; color: var(--mist); font-size: 14px; font-weight: 600; text-align: center; }
.pv-hint::before { content: "↑ "; color: var(--gold); }
@media (max-width: 1100px) { .float.f1 { left: -12px; } .float.f3 { right: -8px; } }
@media (max-width: 640px) { .float { display: none; } .pv-tabs label { padding: 6px 10px; } }

/* ---------- More widget pieces (preview + popovers) ---------- */
.w-sub { margin-top: -4px; color: #62646b; font-size: 12px; }
.w-row s { color: #8b8d93; }
.w-dot[data-c="purple"] { background: #9b7bf0; }
.ck { flex: none; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #c8cad0; }
.ck.on { border-color: transparent; background: linear-gradient(180deg, var(--sun-1), var(--sun-2)); }
.lt { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
.lt[data-c="blue"], .cover[data-c="blue"], .ln[data-c="blue"] { background: #4f7cf7; }
.lt[data-c="green"], .cover[data-c="green"], .ln[data-c="green"] { background: #2fbf71; }
.lt[data-c="purple"], .cover[data-c="purple"] { background: #9b7bf0; }
.lt[data-c="red"], .cover[data-c="red"] { background: #f0566b; }
.lt[data-c="orange"], .cover[data-c="orange"], .ln[data-c="orange"] { background: #ff8a3d; }
.lt[data-c="aqua"] { background: #2bb3d6; }
.ln[data-c="yellow"] { background: #ffc72c; color: #1d1a12; }
.av { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 9px; font-style: normal; font-weight: 800; }
.av[data-c="pink"] { background: #e46fb4; }
.av[data-c="blue"] { background: #4f7cf7; }
.cd { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.cd b { min-width: 44px; font-size: 26px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.cd span { color: #62646b; font-size: 11.5px; line-height: 1.25; }
.q-l { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; font-size: 12.5px; }
.q-l span { color: #62646b; font-size: 12px; }
.bar { display: block; height: 8px; margin-top: 5px; border-radius: 99px; background: #ebebea; overflow: hidden; }
.bar.thin { height: 5px; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(180deg, var(--sun-1), var(--sun-2)); }
.bar .p28 { width: 28%; } .bar .p62 { width: 62%; } .bar .p81 { width: 81%; }
.arc { width: 100%; height: 58px; margin: 2px 0 4px; }
.qt { margin: 6px 0 8px; font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-size: 22px; line-height: 1.2; }
.ft { text-align: center; margin: 4px 0 10px; }
.ft b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ft span { color: #62646b; font-size: 12px; }
.ft-b { display: flex; justify-content: center; gap: 6px; }
.pill { padding: 4px 14px; border-radius: 999px; background: linear-gradient(180deg, var(--sun-1), var(--sun-2)); font-size: 12px; font-weight: 800; color: #1d1a12; }
.pill.pale { background: #efefee; }
.fchips { display: flex; gap: 4px; margin-bottom: 10px; }
.fchips span { padding: 3px 10px; border-radius: 8px; background: #efefee; font-size: 11.5px; font-weight: 700; }
.fchips .on { background: #17171a; color: #fff; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 6px; }
.apps span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: #3c3f46; }
.apps .lt { width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }
.th { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #f2f0ea; font-style: normal; font-size: 15px; }
.nw { display: flex; flex-direction: column; padding: 5px 0; border-bottom: 1px solid rgba(20, 20, 25, 0.06); }
.nw:last-child { border: 0; }
.nw b { font-size: 12.5px; line-height: 1.35; }
.nw span { color: #62646b; font-size: 11px; }
.tp { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding: 8px 10px; border-radius: 12px; background: #fbf6ec; font-size: 12px; color: #62646b; }
.tp svg { flex: none; }
.tp span { flex: 1; }
.tp b { display: block; color: #17171a; font-size: 14px; }
.bk { display: flex; gap: 12px; align-items: center; }
.bk p { flex: 1; font-size: 12px; color: #62646b; }
.bk p b { display: block; color: #17171a; font-size: 14px; }
.bk p span { display: block; }
.cover { flex: none; display: flex; align-items: flex-end; width: 54px; height: 80px; padding: 6px; border-radius: 3px 7px 7px 3px; box-shadow: inset 4px 0 0 rgba(0, 0, 0, 0.15), 0 6px 14px -8px rgba(0, 0, 0, 0.5); color: #fff; font-style: normal; }
.cover b { font-size: 8.5px; line-height: 1.15; font-weight: 800; }
.shelf { display: flex; gap: 8px; }
.shelf .cover { width: auto; flex: 1; height: 72px; }
.ln { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }
.st { margin-left: auto; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; }
.st.ok { background: #dcf5e7; color: #1c7a47; }
.st.slow { background: #ffeccc; color: #9a5a00; }
.fl-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.fl-h span:not(.st) { color: #62646b; }
.fl { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 22px; letter-spacing: -0.03em; }
.fl sup { font-size: 10px; color: #62646b; }
.fl i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #c8cad0 0 5px, transparent 5px 9px); position: relative; }
.fl i::after { content: "✈"; position: absolute; left: 55%; top: -9px; font-size: 14px; color: #4f7cf7; font-style: normal; }
.fl-c { display: flex; justify-content: space-between; color: #62646b; font-size: 11.5px; }
.cv { display: flex; flex-direction: column; margin: 4px 0 6px; }
.cv span { color: #62646b; font-size: 13px; font-weight: 600; }
.cv b { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }

/* ---------- Shortcuts strip under the features ---------- */
.keys { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 20px; padding: 18px 26px; border-radius: 20px; background: var(--midnight); color: #dfe3f0; }
.keys p { color: var(--gold); font-size: 14px; font-weight: 800; }
.keys ul { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.keys li { display: flex; align-items: center; gap: 4px; }
.keys kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; margin-right: 2px; padding: 0 6px; border-radius: 7px; background: var(--panel); border: 1px solid var(--line); border-bottom-width: 3px; color: #fff; font: 800 12px "Manrope", sans-serif; }

/* ---------- Widgets: grouped buttons ---------- */
.sec-note { color: var(--ink-2); font-size: 15px; font-weight: 600; text-align: right; }
.widgets { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
/* Category filters: radios + labels, no script (the section's :has() hides the other categories) */
.wf { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
.wf-r { position: absolute; opacity: 0; pointer-events: none; }
.wf label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #dde2ef; color: var(--midnight); font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease; }
.wf label[data-cat]::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--cat); }
.wf label:hover { border-color: var(--cat, var(--ink-2)); }
.wf-r:checked + label { background: var(--midnight); border-color: var(--midnight); color: #fff; }
.wf-r:focus-visible + label { outline: 2px solid var(--indigo); outline-offset: 2px; }
.sec:has(#wf-sky:checked) .widgets > li:not([data-cat="sky"]),
.sec:has(#wf-sun:checked) .widgets > li:not([data-cat="sun"]),
.sec:has(#wf-lav:checked) .widgets > li:not([data-cat="lav"]),
.sec:has(#wf-tan:checked) .widgets > li:not([data-cat="tan"]),
.sec:has(#wf-mint:checked) .widgets > li:not([data-cat="mint"]),
.sec:has(#wf-aqua:checked) .widgets > li:not([data-cat="aqua"]) { display: none; }
/* A category without Premium or Soon tiles hides the legend */
.sec:has(#wf-sky:checked):not(:has(.widgets > li[data-cat="sky"] [data-badge])) .tag-legend,
.sec:has(#wf-sun:checked):not(:has(.widgets > li[data-cat="sun"] [data-badge])) .tag-legend,
.sec:has(#wf-lav:checked):not(:has(.widgets > li[data-cat="lav"] [data-badge])) .tag-legend,
.sec:has(#wf-tan:checked):not(:has(.widgets > li[data-cat="tan"] [data-badge])) .tag-legend,
.sec:has(#wf-mint:checked):not(:has(.widgets > li[data-cat="mint"] [data-badge])) .tag-legend,
.sec:has(#wf-aqua:checked):not(:has(.widgets > li[data-cat="aqua"] [data-badge])) .tag-legend { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .sec:has(.wf-r:checked) .widgets > li { animation: wf-in 0.32s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes wf-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .wf label { transition: none; } }
@media (max-width: 640px) {
  .wf { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px 18px; padding: 2px 24px 4px; scrollbar-width: none; }
  .wf::-webkit-scrollbar { display: none; }
  .wf label { flex: none; }
}
[data-cat="sky"] { --cat: #4f7cf7; --cat-bg: linear-gradient(160deg, #9cc4ec, #dfeaf6); }
[data-cat="sun"] { --cat: #f0b51f; --cat-bg: linear-gradient(160deg, #ffe07a, #fff3c8); }
[data-cat="lav"] { --cat: #9b7bf0; --cat-bg: linear-gradient(160deg, #c3b2ff, #ece6ff); }
[data-cat="tan"] { --cat: #ff8a3d; --cat-bg: linear-gradient(160deg, #ffb98a, #ffe7d6); }
[data-cat="mint"] { --cat: #2fbf71; --cat-bg: linear-gradient(160deg, #8fdcb2, #def5e8); }
[data-cat="aqua"] { --cat: #2bb3d6; --cat-bg: linear-gradient(160deg, #8fd6e8, #dcf2f8); }
.wt { width: 100%; height: 100%; gap: 12px; padding: 12px 14px; color: var(--midnight); font: inherit; text-align: left; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.wt svg { width: 34px; height: 34px; }
.wt > span { flex: 1; min-width: 0; }
.wt b { display: block; font-size: 15px; letter-spacing: -0.01em; }
.wt small { display: block; color: var(--ink-2); font-size: 12.5px; font-weight: 500; line-height: 1.35; }
.wt-go { flex: none; position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--midday); transition: background 0.18s ease, transform 0.25s ease; }
.wt-go::before, .wt-go::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; border-radius: 2px; background: var(--midnight); }
.wt-go::after { transform: rotate(90deg); }
.wt:hover { transform: translateY(-3px); border-color: var(--cat); box-shadow: 0 16px 30px -22px rgba(15, 21, 48, 0.45); }
.wt:hover .wt-go { background: var(--cat); transform: rotate(90deg); }
.wt:hover .wt-go::before, .wt:hover .wt-go::after { background: #fff; }

/* ---------- Widget popovers (native popover: Esc, click outside and focus return are built in) ---------- */
.pop { display: none; }
.pop:popover-open { display: grid; }
.pop { position: fixed; inset: 0; width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 0; border-radius: 28px; background: #fff; color: var(--midnight); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6); }
.pop::backdrop { background: rgba(8, 12, 30, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
html:has(.pop:popover-open) { overflow: hidden; }
.pop-stage { position: relative; display: grid; place-items: center; padding: 40px 30px; background: var(--cat-bg); overflow: hidden; }
.pop-stage::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.45); filter: blur(30px); }
.pop-stage .w { position: relative; width: 100%; max-width: 290px; background: #fff; box-shadow: 0 2px 4px rgba(20, 20, 30, 0.05), 0 30px 50px -24px rgba(20, 20, 30, 0.35); }
.pop-body { display: flex; flex-direction: column; align-items: flex-start; padding: 40px 34px 34px; }
.pop-k { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--cat, var(--indigo)); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.pop-body h3 { margin-bottom: 10px; font-size: 34px; font-weight: 800; line-height: 1.05; letter-spacing: -0.045em; }
.pop-body > p:not(.pop-k) { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.pop-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 26px; padding: 0; list-style: none; }
.pop-facts li { padding: 6px 11px; border-radius: 999px; background: var(--paper); border: 1px solid #dde2ef; font-size: 13px; font-weight: 700; }
.pop-body .btn { margin-top: auto; }
.pop-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper); cursor: pointer; }
.pop-x::before, .pop-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--midnight); transform: rotate(45deg); }
.pop-x::after { transform: rotate(-45deg); }
.pop-x:hover { background: var(--midday); }
.pop :focus-visible { outline-color: var(--indigo); }
.pop-k, .pop-body, .pop-stage { --cat: inherit; }
@media (prefers-reduced-motion: no-preference) {
  .pop, .pop::backdrop { transition: opacity 0.25s ease, transform 0.3s cubic-bezier(.2, .8, .2, 1), overlay 0.3s allow-discrete, display 0.3s allow-discrete; }
  .pop:not(:popover-open) { opacity: 0; transform: translateY(14px) scale(0.98); }
  .pop:not(:popover-open)::backdrop { opacity: 0; }
  @starting-style {
    .pop:popover-open { opacity: 0; transform: translateY(14px) scale(0.98); }
    .pop:popover-open::backdrop { opacity: 0; }
  }
  .pop-stage .w { animation: rise 0.5s 0.08s cubic-bezier(.2, .7, .2, 1) both; }
}
@media (max-width: 700px) {
  .pop { grid-template-columns: minmax(0, 1fr); inset: auto 0 0 0; width: 100%; max-height: 88dvh; margin: 0; border-radius: 26px 26px 0 0; }
  .pop-stage { padding: 30px 24px 26px; }
  .pop-body { padding: 26px 22px 28px; }
  .pop-body h3 { font-size: 28px; }
  .pop-body .btn { width: 100%; }
  .sec-note { text-align: left; }
  .keys { padding: 18px 20px; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 700px) {
  .pop:not(:popover-open), .pop:popover-open { transform: none; }
  .pop:not(:popover-open) { transform: translateY(40px); }
  @starting-style { .pop:popover-open { transform: translateY(40px); } }
}
@media (prefers-reduced-motion: reduce) { .wt, .wt-go, .preview { transition: none; } }

/* ---------- Badges: data-badge="premium" | "soon" on a widget's button and on its popover ---------- */
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-style: normal; font-weight: 800; letter-spacing: 0.04em; line-height: 1.5; text-transform: uppercase; white-space: nowrap; vertical-align: 2px; }
.tag[data-badge="premium"], .wt[data-badge="premium"] b::after, .pop[data-badge="premium"] .pop-k::after { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--midnight); box-shadow: inset 0 0 0 1px rgba(154, 106, 0, 0.25); }
.tag[data-badge="premium"]::before, .wt[data-badge="premium"] b::after, .pop[data-badge="premium"] .pop-k::after { content: "✦"; }
.tag[data-badge="soon"], .wt[data-badge="soon"] b::after, .pop[data-badge="soon"] .pop-k::after { background: #fff; color: var(--indigo); box-shadow: inset 0 0 0 1.5px var(--indigo); }
.wt[data-badge] b::after, .pop[data-badge] .pop-k::after { display: inline-flex; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.5; text-transform: uppercase; vertical-align: 2px; }
.wt[data-badge="premium"] b::after, .pop[data-badge="premium"] .pop-k::after { content: "✦ " attr(data-bl); }
.wt[data-badge="soon"] b::after, .pop[data-badge="soon"] .pop-k::after { content: attr(data-bl); }
.pop[data-badge] .pop-k::after { margin-left: 4px; letter-spacing: 0.04em; }
/* A widget that isn't out yet looks a little quieter; its popover says when it comes and the button signs you up for the rest */
.wt[data-badge="soon"] > svg { opacity: 0.6; filter: saturate(0.6); }
.wt[data-badge="soon"]:hover > svg { opacity: 1; filter: none; }
.pop[data-badge] .pop-facts { margin-bottom: 14px; }
.pop[data-badge] .pop-facts::after { flex-basis: 100%; margin-top: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.45; }
.pop[data-badge="premium"] .pop-facts::after { content: attr(data-bn); background: #fff8d6; color: #6b5200; }
.pop[data-badge="soon"] .pop-facts::after { content: attr(data-bn); background: #eef0fb; color: var(--indigo); }
.pop .btn .if-soon, .pop[data-badge="soon"] .btn .if-ready { display: none; }
.pop[data-badge="soon"] .btn .if-soon { display: inline; }
.tag-legend { display: none; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.widgets:has([data-badge]) ~ .tag-legend { display: flex; }
.tag-legend span { display: inline-flex; align-items: center; gap: 8px; }
/* On a tile the badge sits on the top edge like a sticker, so every tile keeps the same height */
.wt { position: relative; }
.wt[data-badge] b::after { position: absolute; top: -10px; right: 14px; margin: 0; box-shadow: 0 4px 10px -4px rgba(15, 21, 48, 0.35); }
.wt[data-badge="premium"] b::after { box-shadow: inset 0 0 0 1px rgba(154, 106, 0, 0.25), 0 4px 10px -4px rgba(15, 21, 48, 0.35); }
.wt[data-badge="soon"] b::after { box-shadow: inset 0 0 0 1.5px var(--indigo), 0 4px 10px -4px rgba(15, 21, 48, 0.35); }

.widgets { row-gap: 16px; }

/* ---------- Feature rows: an "image" (a small mock of the real screen) on one side, the pitch on the other, alternating ---------- */
.sec.rows { display: flex; flex-direction: column; gap: 104px; padding-top: 96px; padding-bottom: 40px; }
.row { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: 72px; }
.row:nth-child(even) .row-art { order: 2; }
.row-copy { min-width: 0; max-width: 30em; }
.row-copy .kicker { display: flex; align-items: center; gap: 6px; }
.row-copy .kicker kbd, .mk kbd, .mk-keys kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 6px; background: #fff; border: 1px solid #cfd5e6; border-bottom-width: 2.5px; color: var(--midnight); font: 800 11px "Manrope", sans-serif; letter-spacing: 0; text-transform: none; }
.row-copy h3 { margin-bottom: 18px; font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance; }
.row-copy h3 .em { color: var(--indigo); }
.row-copy > p:last-child { color: var(--ink-2); font-size: 17.5px; line-height: 1.65; }

.row-art { position: relative; min-width: 0; min-height: 380px; display: grid; place-items: center; padding: 48px 40px; border-radius: 30px; background: var(--cat-bg); isolation: isolate; }
.row-art::before { content: ""; position: absolute; z-index: -1; inset: 18% 22%; border-radius: 50%; background: rgba(255, 255, 255, 0.55); filter: blur(40px); }
.mk { position: relative; width: 100%; max-width: 380px; padding: 18px 20px; border-radius: 20px; background: #fff; color: #17171a; box-shadow: 0 2px 4px rgba(20, 20, 30, 0.05), 0 34px 60px -30px rgba(20, 20, 30, 0.45); font: 13px/1.4 "Inter", system-ui, sans-serif; }
.mk-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 14px; }
.mk-l { margin: 12px 0 7px; color: #62646b; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.caret { display: inline-block; width: 1.5px; height: 1.15em; margin-left: 1px; vertical-align: -0.2em; background: #17171a; }

/* 1 · Customize: a tab's settings, with its layout being rearranged beside it */
.mk-set { max-width: 330px; margin: 0 20% 132px 0; }
.mk-set .mk-h { justify-content: flex-start; gap: 4px; }
.row-art:has(.mk-set) { min-height: 470px; }
.mk-sw { display: flex; flex-wrap: wrap; gap: 7px; }
.mk-sw i { width: 22px; height: 22px; border-radius: 50%; }
.mk-sw i.on { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4.5px #ff8a3d; }
[data-sw="sunflower"] { background: #ffc72c; } [data-sw="tangerine"] { background: #ff8a3d; } [data-sw="watermelon"] { background: #f0566b; }
[data-sw="bubblegum"] { background: #e46fb4; } [data-sw="lavender"] { background: #9b7bf0; } [data-sw="blueberry"] { background: #4f7cf7; }
[data-sw="aqua"] { background: #2bb3d6; } [data-sw="mint"] { background: #2fbf71; } [data-sw="matcha"] { background: #8fb43a; } [data-sw="pebble"] { background: #8a8f9c; }
.mk-hd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.mk-hd span { position: relative; display: flex; align-items: flex-end; height: 62px; padding: 6px; border-radius: 10px; overflow: hidden; color: #fff; }
.mk-hd b { position: relative; font-size: 9.5px; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }
.hd-photo { background: linear-gradient(180deg, #ffb98a 0%, #f78f6a 45%, #5a4d7a 46%, #2f3a5c 100%); }
.hd-sky { background: radial-gradient(14px 8px at 30% 38%, #fff 70%, transparent 72%), radial-gradient(18px 10px at 62% 30%, #fff 70%, transparent 72%), linear-gradient(180deg, #6fa8e8, #b9d6f3); }
.hd-sky.on { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4.5px #ff8a3d; }
.hd-emoji { background: #fff1e6; }
.hd-emoji i { position: absolute; font-style: normal; font-size: 16px; }
.hd-emoji i:nth-child(1) { top: 6px; left: 8px; } .hd-emoji i:nth-child(2) { top: 12px; right: 9px; } .hd-emoji i:nth-child(3) { top: 30px; left: 30px; }
.hd-emoji b { color: #8a4b1c; text-shadow: none; }
.mk-lay { position: absolute; right: 6%; bottom: 9%; width: 46%; max-width: 230px; padding: 12px; background: linear-gradient(170deg, #ffd2b3, #fff3ea 55%); }
.mk-tabs { display: flex; justify-content: center; gap: 3px; margin-bottom: 9px; font-size: 9.5px; font-weight: 700; color: #3c3f46; }
.mk-tabs span { padding: 3px 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.6); }
.mk-tabs .on { background: linear-gradient(180deg, #ffa970, #ff8a3d); color: #1d1a12; }
.mk-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mk-cols i { height: 30px; border-radius: 7px; background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 30, 0.08); }
.mk-cols i.tall { height: 66px; grid-row: span 2; }
.mk-cols i.slot { background: transparent; border: 1.5px dashed #f0a070; box-shadow: none; }
.mk-drag { position: absolute; left: 41%; top: 26%; width: 30%; height: 30px; border-radius: 7px; background: #fff; box-shadow: 0 16px 24px -10px rgba(120, 50, 10, 0.45), 0 0 0 2px #ff8a3d; transform: rotate(-5deg); }

/* 2 · Quick add: the dialog with a pasted link, and the confirmation it shows */
.mk-x { position: relative; width: 22px; height: 22px; border-radius: 50%; background: #f1f1f0; }
.mk-x::before, .mk-x::after { content: ""; position: absolute; left: 6px; top: 10px; width: 10px; height: 1.6px; background: #3c3f46; transform: rotate(45deg); }
.mk-x::after { transform: rotate(-45deg); }
.mk-box { padding: 11px 12px; border-radius: 12px; border: 1.5px solid #ffc72c; box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.22); font-size: 12.5px; overflow-wrap: anywhere; }
.mk-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 6px; }
.mk-chips span { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 10px; border: 1.5px solid #ececeb; font-size: 11.5px; font-weight: 700; }
.mk-chips svg { flex: none; width: 18px; height: 18px; }
.mk-chips .on { border-color: #ffc72c; background: #fff8dc; }
.mk-field { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: #f6f6f4; font-size: 12px; }
.mk-field span { color: #62646b; }
.mk-field b::after { content: " ⌄"; color: #62646b; }
.mk-go { display: flex; justify-content: flex-end; margin-top: 12px; }
.mk-go .pill { padding: 7px 22px; font-size: 13px; }
.mk-toast { position: absolute; left: 6%; bottom: 9%; display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: var(--midnight); color: #fff; box-shadow: 0 18px 30px -14px rgba(15, 21, 48, 0.6); font: 700 12.5px "Inter", system-ui, sans-serif; }
.mk-toast i { position: relative; width: 18px; height: 18px; border-radius: 50%; background: #2fbf71; }
.mk-toast i::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* 3 · Search: the frosted box with results as you type, and the web search helpers */
.mk-search { margin-top: 46px; padding: 0; background: transparent; box-shadow: none; }
.mk-q { display: flex; align-items: center; gap: 2px; padding: 13px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 14px 30px -18px rgba(20, 40, 80, 0.45); font-size: 16px; font-weight: 600; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mag { position: relative; flex: none; width: 15px; height: 15px; margin-right: 8px; border: 2px solid #62646b; border-radius: 50%; }
.mag::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 6px; height: 2px; border-radius: 2px; background: #62646b; transform: rotate(45deg); }
.mk-q em { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: #eef2fb; color: #3446c4; font-size: 10.5px; font-style: normal; font-weight: 800; }
.mk-res { margin-top: 8px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 2px 4px rgba(20, 20, 30, 0.05), 0 34px 60px -30px rgba(20, 20, 30, 0.45); }
.mk-res p { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; }
.mk-res p.on { background: #eef2fb; }
.mk-res svg, .mk-res .lt { flex: none; width: 24px; height: 24px; }
.mk-res span { flex: 1; min-width: 0; color: #62646b; font-size: 11px; }
.mk-res b { display: block; color: #17171a; font-size: 13px; }
.mk-pre { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mk-pre span { display: flex; align-items: center; gap: 5px; padding: 4px 9px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); font-size: 11.5px; font-weight: 700; color: #3c3f46; }
.mk-keys { position: absolute; top: 7%; right: 7%; display: flex; gap: 6px; transform: rotate(6deg); }
.mk-keys kbd { min-width: 46px; height: 46px; border-radius: 12px; border-bottom-width: 5px; font-size: 20px; box-shadow: 0 16px 24px -14px rgba(20, 40, 80, 0.5); }

/* 4 · Calm mode: the dashboard as one full-screen picture (a painted dusk, no photo), clock, search, today's focus and the timer */
.mk-calm { max-width: 420px; min-height: 324px; padding: 14px 16px 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; color: #fff; text-align: center; text-shadow: 0 1px 10px rgba(10, 14, 40, 0.35); background: #2d3a6e; isolation: isolate; }
.cm-land { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; background: linear-gradient(180deg, #2d3a6e 0%, #6f6aa8 34%, #f0a38a 62%, #ffd5a1 74%); }
.cm-land i { position: absolute; display: block; }
.cm-sun { left: 62%; top: 52%; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle, #fff3c9 0 38%, rgba(255, 220, 150, 0.55) 40%, transparent 70%); }
.cm-m1 { left: -10%; right: -10%; bottom: 18%; height: 34%; background: #8a6f9e; clip-path: polygon(0 70%, 14% 38%, 26% 56%, 42% 22%, 58% 50%, 72% 30%, 86% 52%, 100% 34%, 100% 100%, 0 100%); opacity: 0.85; }
.cm-m2 { left: -10%; right: -10%; bottom: 0; height: 36%; background: #4c4a7c; clip-path: polygon(0 52%, 18% 30%, 34% 48%, 50% 20%, 66% 44%, 82% 26%, 100% 46%, 100% 100%, 0 100%); }
.cm-m3 { inset: 0; background: linear-gradient(180deg, rgba(10, 14, 40, 0.22), rgba(10, 14, 40, 0) 40%, rgba(10, 14, 40, 0.42)); }
.cm-top { display: flex; justify-content: space-between; align-items: center; align-self: stretch; font-size: 11px; font-weight: 700; }
.cm-wx { display: flex; align-items: center; gap: 5px; }
.cm-dot { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #ffe680, #ffb422); box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.25); }
.cm-btn { display: flex; align-items: center; gap: 5px; padding: 4px 6px 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.4); font-size: 10px; }
.mk-calm .cm-btn kbd { min-width: 15px; height: 15px; padding: 0 3px; border-radius: 4px; border-width: 1px; border-color: rgba(255, 255, 255, 0.5); background: transparent; color: #fff; font-size: 9px; }
.cm-date { margin-top: 14px; font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.9; }
.cm-time { font: 200 64px/1 "Inter", system-ui, sans-serif; letter-spacing: -0.02em; }
.cm-hi { margin-top: 2px; font: italic 400 21px/1.15 "DM Serif Display", Georgia, serif; }
.cm-q { display: flex; align-items: center; align-self: stretch; margin: 12px 14px 0; padding: 6px 6px 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 10px 22px -12px rgba(10, 14, 40, 0.5); font-size: 12px; text-align: left; opacity: 0.95; }
.mk-calm .mag { width: 11px; height: 11px; margin-right: 8px; border-color: #fff; }
.mk-calm .mag::after { right: -4px; bottom: -3px; width: 5px; background: #fff; }
.cm-go { position: relative; width: 24px; height: 24px; margin-left: auto; border-radius: 50%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.18)); border: 1px solid rgba(255, 255, 255, 0.6); }
.cm-go::after { content: ""; position: absolute; left: 7px; top: 8px; width: 6px; height: 6px; border: solid #fff; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); }
.cm-k { margin-top: 13px; font-size: 8.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.cm-focus { display: flex; align-items: center; gap: 7px; margin-top: 3px; font-size: 14px; font-weight: 500; }
.cm-check { width: 14px; height: 14px; border-radius: 50%; border: 1.6px solid #fff; }
.cm-timer { display: flex; align-items: center; gap: 2px; margin: auto 0 12px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.32); font-size: 10.5px; font-weight: 700; text-shadow: none; }
.cm-timer span { display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; }
.cm-timer .on { background: linear-gradient(180deg, #ffd65a, #f5b81f); color: #1d1a12; }
.cm-timer b { font-variant-numeric: tabular-nums; }
.cm-play { width: 0; height: 0; border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent #1d1a12; }
.row-art:has(.mk-calm) .mk-keys { top: auto; bottom: 7%; right: 5%; transform: rotate(-6deg); }

@media (prefers-reduced-motion: no-preference) {
  .caret { animation: caret 1.1s steps(1) infinite; }
  .mk-drag { animation: drag 4.5s ease-in-out infinite; }
  .mk-toast { animation: bob 6s ease-in-out infinite; }
  .mk-keys { animation: bob 6s -3s ease-in-out infinite; }
}
@keyframes caret { 50% { opacity: 0; } }
@keyframes drag { 0%, 100% { translate: 0 0; } 45%, 60% { translate: 12px -6px; rotate: 3deg; } }

@media (max-width: 900px) {
  .sec.rows { gap: 72px; padding-top: 72px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .row:nth-child(even) .row-art { order: 0; }
  .row-copy { max-width: none; }
}
@media (max-width: 640px) {
  .row-art { min-height: 0; padding: 28px 18px 36px; border-radius: 24px; }
  .mk-set { margin: 0 0 118px; }
  .row-art:has(.mk-set) { min-height: 0; }
  .mk-lay { right: 18px; bottom: 18px; width: 58%; }
  .mk-qa { margin-bottom: 30px; }
  .mk-toast { left: 18px; bottom: 16px; }
  .mk-search { margin-top: 44px; }
  .mk-keys { top: 14px; right: 18px; }
  .mk-keys kbd { min-width: 36px; height: 36px; font-size: 16px; }
  .row-copy > p:last-child { font-size: 16px; }
}

/* ---------- Sections added from Admin → Landing page templates (landing/inc/render.php) ---------- */
/* A feature row whose picture is one of the drawn widget cards */
.row-card { position: relative; width: 100%; max-width: 310px; }
.row-card .w { background: #fff; box-shadow: 0 2px 4px rgba(20, 20, 30, 0.05), 0 34px 60px -30px rgba(20, 20, 30, 0.4); transform: rotate(-2deg) scale(1.06); }
/* Text: centred */
.sec-text { text-align: center; }
.sec-text h2 { margin: 0 auto 20px; }
.text-body { display: flex; flex-direction: column; gap: 14px; max-width: 40em; margin: 0 auto; color: var(--ink-2); font-size: 18px; line-height: 1.65; }
.text-cta { margin-top: 28px; }
/* Questions */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid #dde2ef; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eef0fc; color: var(--indigo); font-size: 20px; font-weight: 600; line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 22px 18px; color: var(--ink-2); line-height: 1.65; }
.faq details > p + p { margin-top: -6px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Footer social links (Admin → Footer, my/inc/footer.php) */
.foot-soc-row { display: flex; justify-content: center; gap: 10px; }
.foot-soc { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #34407a; color: #dfe4f5; font-size: 12px; font-weight: 800; text-decoration: none; }
.foot-soc:hover { border-color: var(--mist); color: #fff; }
@media (pointer: coarse) { .foot-soc { width: 44px; height: 44px; } }

/* ---------- Latest news (block "news", landing/inc/news.php): the three newest posts of the help site's News ---------- */
.sec-more { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: var(--midnight); color: var(--gold); font-size: 14px; font-weight: 800; text-decoration: none; }
.sec-more:hover { background: var(--panel); }
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.news-card { display: flex; flex-direction: column; height: 100%; border: 1px solid #dde2ef; border-radius: 24px; background: #fff; color: var(--midnight); text-decoration: none; overflow: hidden; }
.news-art { display: block; aspect-ratio: 16 / 9; background: var(--midday); overflow: hidden; }
.news-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-none { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(160deg, #eef1fa, #dfe5f5); }
.news-none i { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; width: 54px; height: 54px; }
.news-none b { border-radius: 7px; background: var(--indigo); opacity: 0.85; }
.news-none b:nth-child(2) { background: var(--gold); opacity: 1; }
.news-b { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
.news-m { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.lbl { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.lbl-feature { background: #eef0fb; color: var(--indigo); }
.lbl-improvement { background: #e2f6ea; color: #17703d; }
.lbl-fix { background: #ffe9d9; color: #a4470a; }
.lbl-announcement { background: #fff3c2; color: #6b5200; }
.news-t { display: block; margin-bottom: 8px; font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; }
.news-x { display: block; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.news-go { margin-top: auto; padding-top: 14px; color: var(--indigo); font-size: 14px; font-weight: 800; }
.news-card:hover .news-go { text-decoration: underline; text-underline-offset: 3px; }
.news-card:focus-visible { outline-offset: 4px; border-radius: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .news-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .news-card:hover { transform: translateY(-3px); box-shadow: 0 26px 44px -26px rgba(15, 21, 48, 0.4); }
}
@media (max-width: 860px) { .news { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Video (block "video"): a headline above a YouTube embed, on the dark background ---------- */
.sec-video { text-align: center; }
.sec-video .sec-head { justify-content: center; }
.sec-video .sec-head > div { display: flex; flex-direction: column; align-items: center; }
.sec-video .kicker { color: var(--gold); }
.sec-video h2 { color: #fff; }
.sec-video h2 .em { color: var(--gold); }
.vid { position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 26px; background: var(--panel); overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(255, 255, 255, 0.03); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-note { max-width: 40em; margin: 18px auto 0; color: var(--mist); font-size: 15px; font-weight: 600; }
@media (max-width: 640px) { .vid { border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); } }

/* ---------- Screenshot gallery (block "gallery"): up to 4 in a row, 16:9; each opens a lightbox (a popover, no script) ---------- */
.shots { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.shots[data-n="1"] { max-width: 760px; }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 1px solid #dde2ef; border-radius: 22px; background: #fff; color: var(--midnight); font: inherit; text-align: left; overflow: hidden; cursor: zoom-in; box-shadow: 0 1px 2px rgba(15, 21, 48, 0.04), 0 18px 36px -26px rgba(15, 21, 48, 0.35); }
.shot-img { display: block; aspect-ratio: 16 / 9; background: var(--midday); overflow: hidden; }
.shot-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot-cap { display: block; padding: 14px 18px 16px; }
.shot-cap b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.shot-cap small { display: block; margin-top: 2px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.shot-zoom { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: 0 6px 16px -6px rgba(15, 21, 48, 0.5); opacity: 0; }
.shot-zoom::before { content: ""; position: absolute; left: 9px; top: 9px; width: 10px; height: 10px; border: 2px solid var(--midnight); border-radius: 50%; }
.shot-zoom::after { content: ""; position: absolute; left: 20px; top: 21px; width: 6px; height: 2px; border-radius: 2px; background: var(--midnight); transform: rotate(45deg); transform-origin: left center; }
.shot:hover .shot-zoom, .shot:focus-visible .shot-zoom { opacity: 1; }
.shot:focus-visible { outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .shot { transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .shot:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(15, 21, 48, 0.04), 0 26px 44px -24px rgba(15, 21, 48, 0.45); }
  .shot-zoom { transition: opacity 0.2s ease; }
}
@media (max-width: 860px) { .shots { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); } .shots[data-n="1"] { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {   /* a row you swipe */
  .shots, .shots[data-n] { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; gap: 14px; margin: 0 -24px; padding: 4px 24px 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 24px; scrollbar-width: none; }
  .shots[data-n="1"] { grid-auto-columns: 100%; }
  .shots > li { scroll-snap-align: start; }
}

/* The lightbox: one popover per screenshot; the checked radio's slide shows */
.lb { display: none; }
.lb:popover-open { display: block; }
.lb { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.lb::backdrop { background: rgba(8, 12, 30, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html:has(.lb:popover-open) { overflow: hidden; }
.lb-r { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lb-slide { display: none; height: 100%; margin: 0; padding: 28px 84px 20px; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; }
.lb-r:checked + .lb-slide { display: grid; }
.lb-slide img { display: block; max-width: min(1400px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 16px; background: #fff; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.8); }
.lb-r:focus-visible + .lb-slide img { outline: 3px solid var(--gold); outline-offset: 4px; }
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding-top: 16px; text-align: center; }
.lb-bar b { font-size: 16px; font-weight: 800; }
.lb-bar span { color: var(--mist); font-size: 14px; font-weight: 600; }
.lb-bar .lb-count { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 12px; font-weight: 800; }
.lb-nav, .lb-x { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); cursor: pointer; }
.lb-nav:hover, .lb-x:hover { background: rgba(255, 255, 255, 0.26); }
.lb-nav { top: 50%; margin-top: -24px; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-nav::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -6px 0 0 -4px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(45deg); }
.lb-next::before { margin-left: -8px; transform: rotate(-135deg); }
.lb-x { top: 18px; right: 18px; z-index: 1; }
.lb-x::before, .lb-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: #fff; transform: rotate(45deg); }
.lb-x::after { transform: rotate(-45deg); }
.lb :focus-visible { outline-color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .lb, .lb::backdrop { transition: opacity 0.25s ease, overlay 0.25s allow-discrete, display 0.25s allow-discrete; }
  .lb:not(:popover-open), .lb:not(:popover-open)::backdrop { opacity: 0; }
  @starting-style { .lb:popover-open, .lb:popover-open::backdrop { opacity: 0; } }
}
@media (max-width: 640px) {
  .lb-slide { padding: 72px 12px 84px; }
  .lb-nav { top: auto; bottom: 18px; margin: 0; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-x { top: 14px; right: 14px; }
}

/* Footer language menu (my/inc/footer.php ft_lang_menu(): links to each language's address; no script) */
.ft-lang { position: relative; }
.ft-lang > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--mist); font-size: 13px; font-weight: 700; cursor: pointer; user-select: none; }
.ft-lang > summary::-webkit-details-marker { display: none; }
.ft-lang > summary:hover, .ft-lang[open] > summary { color: #fff; border-color: var(--mist); }
.ft-lang > summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.ft-lang-chev { transition: transform 0.15s; }
.ft-lang[open] .ft-lang-chev { transform: rotate(180deg); }
.ft-lang-menu { position: absolute; bottom: calc(100% + 8px); left: 50%; z-index: 30; min-width: 180px; margin: 0; padding: 6px; list-style: none; transform: translateX(-50%); border-radius: 14px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6); text-align: left; }
.ft-lang-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 9px; color: #f4f6fb; font-size: 14px; font-weight: 700; text-decoration: none; }
a.ft-lang-opt:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
a.ft-lang-opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 0; }
.ft-lang-opt.is-on svg { color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .ft-lang-chev { transition: none; } }
@media (pointer: coarse) { .ft-lang > summary, .ft-lang-opt { min-height: 44px; } }

/* ---------- Pricing page (/pricing/, render.php lp_pricing_body()) ---------- */
/* Monthly / Yearly: two radios in .pr-bill and :has() on .pr (no script); .if-m / .if-y are the two prices. */
.nav a[aria-current="page"] { color: var(--gold); }
.pr-top { padding-top: 56px; padding-bottom: 72px; text-align: center; }
.pr-top .kicker { color: var(--gold); }
.pr-top h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; line-height: 1.03; letter-spacing: -0.05em; }
.pr-top h1 .em { color: var(--gold); }
.pr-lead { max-width: 34em; margin: 18px auto 0; color: #c9cfe3; font-size: 18px; }

.pr-bill { display: inline-flex; margin-inline: 0; min-width: 0; gap: 4px; margin-top: 30px; padding: 4px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.pr-bill label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 800; font-size: 14px; color: #c9cfe3; cursor: pointer; }
.pr-save { padding: 3px 8px; border-radius: 99px; background: rgba(255, 214, 10, 0.16); color: var(--gold); font-size: 11px; }
.pr:has(#pr-m:checked) .pr-bill label[for="pr-m"], .pr:has(#pr-y:checked) .pr-bill label[for="pr-y"] { background: #f4f6fb; color: var(--midnight); }
.pr:has(#pr-m:focus-visible) label[for="pr-m"], .pr:has(#pr-y:focus-visible) label[for="pr-y"] { outline: 3px solid var(--gold); outline-offset: 2px; }
.pr:not(:has(#pr-y:checked)) .if-y, .pr:has(#pr-y:checked) .if-m { display: none; }

.pr-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; max-width: 760px; margin: 30px auto 0; text-align: left; }
.pr-plans.pr-n1 { max-width: 380px; }
.pr-plans.pr-n3 { max-width: none; }
.pr-plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 26px; background: var(--panel); border: 1px solid var(--line); }
.pr-plan.is-hi { background: #fff; color: var(--midnight); border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold), 0 30px 60px -30px rgba(255, 214, 10, 0.5); }
.pr-flag { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 99px; background: var(--gold); color: var(--midnight); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.pr-plan h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.pr-price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.pr-price b { font-size: 52px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.pr-price span { color: var(--mist); font-weight: 700; }
.pr-plan.is-hi .pr-price span, .pr-plan.is-hi .pr-desc, .pr-plan.is-hi .pr-pts { color: var(--ink-2); }
.pr-desc { margin-top: 12px; color: #c9cfe3; min-height: 3.1em; }
.pr-plan .btn { margin-top: 22px; }
.pr-pts { margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 10px; color: #dfe3f0; font-size: 15px; }
.pr-plan.is-hi .pr-pts { border-color: #dde2ef; }
.pr-pts li { position: relative; padding-left: 28px; }
.pr-pts li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 214, 10, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23ffd60a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.pr-plan.is-hi .pr-pts li::before { background-color: #eef0fc; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%233446c4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pr-note { margin-top: 26px; color: var(--mist); font-size: 14px; }

/* Comparison table */
.pr-tw { overflow-x: auto; border-radius: 24px; background: #fff; border: 1px solid #dde2ef; }
.pr-t { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.pr-t thead th, .pr-t thead td { position: sticky; top: 0; z-index: 1; background: #fff; padding: 22px 18px 18px; border-bottom: 1px solid #dde2ef; }
.pr-t thead th { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; text-align: center; width: 24%; }
.pr-t thead th span:not([hidden]) { display: block; margin-top: 2px; color: var(--ink-2); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.pr-t th[scope="row"] { padding: 14px 18px 14px 24px; text-align: left; font-weight: 600; color: var(--midnight); }
.pr-t td { padding: 14px 18px; text-align: center; font-weight: 700; color: var(--ink-2); }
.pr-t tbody tr + tr > * { border-top: 1px solid #eef0f6; }
.pr-t .is-hi { background: #fffbe6; }
.pr-t thead .is-hi { background: #fff7cc; box-shadow: inset 0 3px 0 var(--gold); }
.pr-group th { padding: 26px 24px 10px; text-align: left; color: var(--indigo); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; background: #fff; }
.pr-yes, .pr-no { display: inline-block; width: 22px; height: 22px; vertical-align: middle; }
.pr-yes { border-radius: 50%; background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.pr-no { position: relative; }
.pr-no::before { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; border-radius: 2px; background: #b9c0d6; }
.sec-faq { padding-top: 0; }

@media (max-width: 640px) {
  .pr-top { padding-top: 32px; }
  .pr-t, .pr-t tbody, .pr-t thead { display: block; min-width: 0; font-size: 14px; }
  .pr-t tr { display: grid; grid-template-columns: repeat(2, 1fr); }
  .pr-t.pr-n1 tr { grid-template-columns: 1fr; }
  .pr-t.pr-n3 tr { grid-template-columns: repeat(3, 1fr); }
  .pr-t thead td { display: none; }
  .pr-t thead th { width: auto; padding: 16px 8px 14px; font-size: 15px; }
  .pr-t th[scope="row"] { grid-column: 1 / -1; padding: 14px 16px 4px; }
  .pr-t td { padding: 4px 8px 14px; }
  .pr-t tbody tr + tr > * { border-top: 0; }
  .pr-t tbody tr + tr { border-top: 1px solid #eef0f6; }
  .pr-t tbody td.is-hi { background: none; }
  .pr-t tr.pr-group { grid-template-columns: 1fr; }
  .pr-group th { padding-left: 16px; }
}
