/* Use Cases: list (sections browser) + detail page.
   Shared by the public site (css/site.css variables) and the Sulla Cloud
   dashboard (.pk-cloud maps app.css variables onto the same names). */

.pk-cloud {
  --card: var(--surface-1); --bg-alt: var(--surface-2); --ink: var(--text); --ink-2: var(--text-soft);
  --muted: var(--text-dim); --accent-ink: #fff; --accent-soft: var(--accent-glow); --good: var(--green);
  --shadow: var(--shadow-pop);
}

/* ── list ─────────────────────────────────────────────── */
.pk-hero { padding-bottom: 40px; }
.pk-hero h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
.pk-hero .lead { margin-top: 14px; }
.pk-browser { position: relative; }
.pk-browser .sugg { position: relative; max-width: 720px; }
.pk-browser .search { margin-top: 22px; display: flex; align-items: center; gap: 12px; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 18px; box-shadow: var(--shadow); }
.pk-browser .search:focus-within { border-color: var(--accent); }
.pk-browser .search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 18px; background: transparent; color: var(--ink); padding: 10px 0; }
.pk-browser .search .ico { font-size: 20px; color: var(--muted); }
.pk-browser .sugg ul { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; z-index: 20; display: none; }
.pk-browser .sugg li a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.pk-browser .sugg li a:hover, .pk-browser .sugg li a.hi { background: var(--bg-alt); }
.pk-browser .sugg li small { color: var(--muted); margin-left: auto; font-size: 12px; white-space: nowrap; }
.pk-browser .tries { font-size: 14px; color: var(--muted); margin-top: 12px; }
.pk-browser .tries a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; margin-right: 10px; }
.pk-browser .uc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; margin-top: 30px; align-items: start; }
.pk-browser .side { position: sticky; top: 90px; display: grid; gap: 2px; font-size: 15px; }
.pk-browser .side .sec { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 12px 8px; }
.pk-browser .side a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; }
.pk-browser .side a:hover { background: var(--bg-alt); }
.pk-browser .side a.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.pk-browser .side a span { color: var(--muted); font-size: 13px; }
.pk-browser .jump { display: none; width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); margin-top: 18px; }
.pk-browser .count { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.pk-browser .group { margin-bottom: 34px; scroll-margin-top: 90px; }
.pk-browser .group h2 { font-size: 20px; line-height: 1.3; margin: 0 0 4px; }
.pk-browser .group > p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.pk-browser .empty { padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; }
.pk-browser .empty a { color: var(--accent); }
.pk-browser [hidden] { display: none !important; }
.pk-role-link { margin-top: 28px; text-align: center; }
.pk-role-link a { color: var(--accent); font-weight: 700; text-decoration: none; }
.pk-role-link a:hover { text-decoration: underline; text-underline-offset: 3px; }

.pkgs { display: grid; gap: 12px; }
.pkg { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: border-color .15s; }
.pkg:hover { border-color: var(--accent); }
.pkg-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-alt); display: grid; place-items: center; font-size: 26px; flex: none; }
.pkg h3 { font-size: 17px; line-height: 1.35; margin: 0 0 2px; }
.pkg-link { color: var(--ink); text-decoration: none; }
.pkg-link::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.pkg p { font-size: 14px; color: var(--muted); margin: 0; }
.pkg-meta { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.pkg-name { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.pk-pill { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); }
.pkg-act { position: relative; z-index: 1; }
.pkg .go { color: var(--accent); font-weight: 600; font-size: 14px; white-space: nowrap; }
.pkg .getbtn { font: inherit; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; padding: 8px 18px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.pkg .getbtn:disabled { opacity: .6; cursor: progress; }
.pkg .state { font-size: 13px; color: var(--muted); white-space: nowrap; }
.pkg .state.ok { color: var(--good); font-weight: 600; }

.pk-notice { max-width: 720px; margin-top: 26px; padding: 26px; text-align: center; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink-2); background: var(--card); }
.pk-notice b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.pk-notice p { margin: 0; color: var(--muted); }
.pk-notice button { margin-top: 14px; }
.pk-notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ── use case page ────────────────────────────────────── */
/* Hero sized to the approved mockup (v2/package): tighter than the home hero. */
.hero.pk-page-hero { padding: 56px 0 32px; }
.pk-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.pk-crumbs a:hover { color: var(--accent); }
.pk-badge { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.pk-badge .pkg-ic { width: 40px; height: 40px; font-size: 20px; border-radius: 12px; }
.pk-title { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; margin-top: 14px; max-width: 860px; }
.pk-page-hero .pk-lede { margin: 14px 0 0; max-width: 680px; }
.pk-get-row { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; align-items: center; }
.pk-runs-on { font-size: 14px; color: var(--muted); padding: 0 6px; }
.pk-fine { font-size: 13px; color: var(--muted); margin-top: 10px; }
.pk-fine a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pk-copy-band { padding: 0 0 72px; }
.pk-narrow { max-width: 780px; }
.pk-copy p { margin-top: 14px; line-height: 1.7; }
.pk-copy h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.01em; margin-top: 34px; }
.pk-copy h3 { font-size: 20px; margin-top: 26px; }
.pk-copy h4 { font-size: 17px; margin-top: 20px; }
.pk-copy ul, .pk-copy ol { margin: 14px 0 0 22px; line-height: 1.8; }
.pk-copy li + li { margin-top: 4px; }
.pk-copy a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pk-copy blockquote { margin: 26px 0; padding: 18px 22px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; background: var(--card); font-style: italic; }
.pk-copy blockquote p:first-child { margin-top: 0; }
.pk-copy hr.sep { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.pk-copy hr.sep + h2, .pk-copy hr.sep + .pk-offer h2, .pk-copy hr.sep + .pk-desk { margin-top: 0; }
.pk-copy code { font-size: .92em; background: var(--bg-alt); padding: 1px 6px; border-radius: 6px; }
.pk-table { width: 100%; border-collapse: collapse; margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15px; }
.pk-table th, .pk-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.pk-table th { font-size: 13px; color: var(--muted); font-weight: 600; }
.pk-table tr:last-child td { border-bottom: 0; font-weight: 700; }
.pk-table s { color: var(--muted); }
.pk-cta-row { margin-top: 22px !important; }
.pk-cta-row .btn { width: 100%; justify-content: center; }
/* Sales page components (manifest.page), from the approved mockup. */
.pk-results { margin: 26px 0; padding: 18px 20px; border: 1.5px dashed var(--line); border-radius: 14px; color: var(--ink-2); font-style: italic; text-align: center; line-height: 1.6; }
.pk-copy .pk-results:first-child { margin-top: 0; }
.pk-copy .pk-hl { font-size: 30px; line-height: 1.2; margin-top: 10px; }
.pk-copy .pk-sub { color: var(--muted); font-size: 18px; margin-top: 8px; }
.pk-story h2 { margin-top: 34px; }
.pk-imagine { margin: 14px 0 0; padding-left: 20px; line-height: 1.9; font-weight: 600; }
.pk-copy ul.pk-imagine { margin-left: 0; }
.pk-quote { margin: 26px 0; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; }
.pk-copy .pk-quote blockquote { margin: 0; padding: 0; border: 0; background: none; font-size: 17px; line-height: 1.6; font-style: italic; }
.pk-quote figcaption { margin-top: 10px; font-weight: 700; font-size: 14px; }
.pk-quote figcaption span { font-weight: 400; color: var(--muted); }
.pk-quote figcaption b + span::before { content: " · "; }
.pk-offer-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 16px; padding: 26px 28px 24px; margin-top: 8px; box-shadow: var(--shadow); }
.pk-offer-card .pk-h3 { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.pk-offer { text-align: center; }
@media (max-width: 640px) { .pk-offer-card { padding: 20px 18px; } }
.pk-offer h2 { margin-top: 0; }
.pk-copy .pk-h3 { font-size: 17px; margin-top: 26px; }
.pk-copy ul.pk-bens { list-style: none; display: grid; gap: 12px; margin: 10px 0 0; line-height: 1.5; }
.pk-copy .pk-bens li + li { margin-top: 0; }
.pk-bens b { display: block; font-size: 17px; }
.pk-bens span { color: var(--muted); font-size: 14px; }
.pk-stack { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-top: 26px; box-shadow: var(--shadow); }
.pk-srow { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pk-srow .pk-cp { color: var(--muted); white-space: nowrap; }
.pk-srow.pk-tot { font-weight: 700; }
.pk-srow.pk-you { border: 0; font-weight: 800; font-size: 18px; color: var(--accent); }
.pk-stack .pk-yes { width: 100%; justify-content: center; text-align: center; margin-top: 14px; }
.pk-inside { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.pk-inside > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.55; }
.pk-inside b { display: block; margin-bottom: 2px; font-size: 15px; }
.pk-inside > div > span { color: var(--muted); }
.pk-copy ol.pk-steps { list-style: none; counter-reset: pk-step; display: grid; gap: 12px; margin: 14px 0 0; line-height: 1.6; }
.pk-copy .pk-steps li + li { margin-top: 0; }
.pk-steps li { counter-increment: pk-step; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.pk-steps li::before { content: counter(pk-step); width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.pk-faq p { margin-top: 18px !important; }
.pk-faq p:first-child { margin-top: 14px !important; }
.pk-desk { --ink: #e6edf3; --muted: #8b949e; --line: #222a35; --accent: #6ab0cc; background: #0b0f14; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; }
.pk-copy .pk-desk .pk-from { font-weight: 700; margin-top: 0; }
.pk-desk .pk-from span, .pk-desk .pk-sig span { font-weight: 400; color: var(--muted); }
.pk-copy .pk-desk h3 { margin-top: 10px; font-size: 22px; line-height: 1.3; }
.pk-desk .pk-sig { font-weight: 700; font-family: 'Bradley Hand', 'Segoe Script', 'Brush Script MT', cursive; font-size: 22px; line-height: 1.4; }
.pk-more { margin-top: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.pk-more summary { cursor: pointer; font-weight: 700; }
.pk-more[open] summary { margin-bottom: 12px; }
.pk-more-list { display: grid; gap: 10px; font-size: 14px; }
.pk-more-row { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.pk-more-row p { margin: 2px 0 0 !important; color: var(--muted); line-height: 1.5 !important; }
.pk-tag { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

/* ── use case page v3 ─────────────────────────────────── */
.v3-band { padding: 56px 0; }
.v3-tight { padding: 28px 0; }
.v3-mid { max-width: 860px; margin: 0 auto; text-align: center; }
.v3-center { text-align: center; }
.v3-h3, .v3-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.v3-h3 { margin-bottom: 14px; }
.v3-eyebrow { margin-bottom: 12px; }
.v3-sub { color: var(--muted); font-size: 19px; margin-top: 12px; line-height: 1.5; }

/* Hero and example preview. */
.hero.pk-page-hero.v3-hero { background: radial-gradient(1200px 500px at 85% 0%, var(--accent-soft), transparent 60%); padding-bottom: 56px; }
.v3-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.v3-hero .pk-title { margin-top: 16px; font-size: clamp(34px, 4vw, 48px); }
.v3-hero .pk-lede { font-size: 19px; }
.v3-preview { margin: 0; min-width: 0; }
.v3-preview figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.v3-win { background: #0d1117; border-radius: 16px; border: 1px solid #262d36; box-shadow: var(--shadow); overflow: hidden; color: #e6edf3; font-size: 13px; transform: perspective(1400px) rotateY(-3deg); transform-origin: left center; }
.v3-win-top { display: flex; gap: 6px; align-items: center; min-width: 0; padding: 10px 14px; border-bottom: 1px solid #262d36; color: #8b949e; }
.v3-win-top i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #30363d; }
.v3-win-top b { margin-left: 8px; color: #e6edf3; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v3-ex { margin-left: auto; flex: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8b949e; border: 1px solid #30363d; border-radius: 999px; padding: 2px 9px; }
.v3-win-body { padding: 18px; display: grid; gap: 12px; }
.pv-sub { font-family: var(--mono); font-size: 12px; color: #8b949e; }
.pv-lead { color: #c9d1d9; margin: -4px 0 0; }
.pv-group { background: #161b22; border-radius: 10px; padding: 10px 14px; border-left: 3px solid var(--tone); }
.pv-now { --tone: #f87171; }
.pv-next { --tone: #fbbf24; }
.pv-watch { --tone: #6ab0cc; }
.pv-glabel { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tone, #8b949e); margin-bottom: 6px; }
.pv-glabel span { background: rgba(255,255,255,.06); color: #c9d1d9; border-radius: 999px; padding: 0 7px; font-size: 11px; }
.pv-plain { margin: 2px 0 -4px; }
.pv-group ul, .pv-gets { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; }
.pv-group li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start; color: #e6edf3; line-height: 1.45; }
.pv-group li i { width: 13px; height: 13px; border: 1.5px solid #484f58; border-radius: 4px; margin-top: 3px; }
.pv-gets li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; background: #161b22; border-radius: 8px; padding: 8px 12px; }
.pv-gets i { display: grid; place-items: center; color: #4ade80; font-style: normal; font-weight: 700; }
.pv-mail { background: #161b22; border-radius: 10px; overflow: hidden; }
.pv-field { display: grid; grid-template-columns: 64px 1fr; padding: 8px 14px; border-bottom: 1px solid #262d36; color: #c9d1d9; }
.pv-field span { color: #8b949e; }
.pv-mailbody { padding: 12px 14px 6px; color: #e6edf3; line-height: 1.55; }
.pv-mailbody p { margin: 0 0 8px; }
.pv-mailbody p:last-child { color: #8b949e; }
.pv-seq { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); position: relative; padding-top: 4px; }
.pv-seq::before { content: ''; position: absolute; left: calc(50% / var(--n, 4)); right: calc(50% / var(--n, 4)); top: 11px; height: 2px; background: #30363d; }
.pv-seq > div { display: grid; justify-items: center; text-align: center; gap: 2px; position: relative; min-width: 0; padding: 0 4px; }
.pv-seq i { width: 16px; height: 16px; border-radius: 50%; background: #0d1117; border: 2px solid #484f58; margin-bottom: 4px; }
.pv-seq .on i { background: #6ab0cc; border-color: #6ab0cc; box-shadow: 0 0 0 4px rgba(106,176,204,.2); }
.pv-seq b { font-size: 12px; color: #e6edf3; }
.pv-seq span { font-size: 11px; color: #8b949e; line-height: 1.3; overflow-wrap: anywhere; }
.pv-seq-steps::before { top: 13px; }
.pv-seq-steps i { display: none; }
.pv-seq-steps b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #0d1117; border: 2px solid #484f58; margin-bottom: 4px; }
.pv-seq-steps .on b { background: #6ab0cc; border-color: #6ab0cc; color: #0d1117; }
.pv-table-wrap { max-width: 100%; overflow-x: auto; border-radius: 10px; }
.pv-table { width: 100%; border-collapse: collapse; background: #161b22; }
.pv-table th, .pv-table td { text-align: left; padding: 7px 12px; border-bottom: 1px solid #262d36; vertical-align: top; }
.pv-table th, .pv-table td:first-child { white-space: nowrap; }
.pv-table td { white-space: normal; overflow-wrap: break-word; font-size: 12.5px; line-height: 1.45; }
.pv-table th { color: #8b949e; font-weight: 600; }
.pv-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pv-cal span { overflow-wrap: normal; word-break: normal; hyphens: auto; }
.pv-cal div { background: #161b22; border-radius: 8px; padding: 8px; min-height: 90px; display: grid; align-content: start; gap: 4px; min-width: 0; }
.pv-cal b { color: #8b949e; font-size: 11px; }
.pv-cal span { background: rgba(106,176,204,.18); color: #e6edf3; border-radius: 5px; padding: 3px 6px; font-size: 11px; overflow-wrap: anywhere; }
.pv-doc { background: #f7f8fa; color: #0f172a; border-radius: 8px; padding: 18px 20px; font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif; line-height: 1.55; }
.pv-doc h4 { font-family: var(--font); font-size: 16px; margin: 0 0 8px; }
.pv-doc p { margin: 0 0 8px; }
.pv-doc ul { padding-left: 18px; }
.v3-results { margin-top: 10px; padding: 16px 20px; border-radius: 14px; background: var(--good-soft); color: var(--good); font-weight: 600; text-align: center; }

/* Headline, story and comparison. */
.v3-head { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 52px 0; }
.v3-hl { font-size: 34px; line-height: 1.2; letter-spacing: -.02em; margin: 0; }
.v3-pd { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.v3-pd.one { grid-template-columns: 1fr; }
.v3-pd > div { border-radius: 18px; padding: 28px 30px; font-size: 17px; line-height: 1.7; }
.v3-pain { background: var(--bg-alt); color: var(--ink-2); }
.v3-desire { display: grid; align-content: center; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.v3-desire p { font-size: 21px; line-height: 1.55; font-weight: 500; color: var(--ink); }
.v3-pd p { margin: 0; }
.v3-pd p + p { margin-top: 12px; }
.v3-pull { margin: 40px auto 0; max-width: 820px; text-align: center; font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif; font-size: 28px; line-height: 1.35; font-weight: 600; color: var(--ink); position: relative; padding-top: 34px; }
.v3-pull::before { content: '“'; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 80px; line-height: 1; color: var(--accent); opacity: .35; }
.v3-prose { max-width: 760px; margin: 28px auto 0; font-size: 17px; line-height: 1.7; }
.v3-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; align-items: stretch; }
.v3-ways.one { grid-template-columns: 1fr; }
.v3-way { border-radius: 18px; padding: 28px 30px; font-size: 16px; line-height: 1.7; }
.v3-way h3 { font-size: 21px; line-height: 1.3; margin: 10px 0 12px; }
.v3-way p { margin: 0; }
.v3-way p + p { margin-top: 10px; }
.v3-way-tag { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.v3-way.usual { background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.v3-way.usual .v3-way-tag { background: var(--bg-alt); color: var(--muted); }
.v3-way.better { display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--accent); box-shadow: 0 20px 40px -24px rgba(61,127,160,.5); }
.v3-way.better .v3-way-tag { background: var(--accent-soft); color: var(--accent); }
.v3-way.better p { font-size: 17px; color: var(--ink); }

/* Imagine, testimonials and offer. */
.v3-imagine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.v3-imagine > div { background: linear-gradient(160deg, var(--accent-soft), var(--card) 70%); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.v3-num { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 700; }
.v3-imagine p { margin-top: 10px; font-size: 17px; line-height: 1.5; font-weight: 500; }
.v3-imagine p b { color: var(--accent); }
.v3-quote { margin: 20px auto; max-width: 720px; text-align: center; }
.v3-quote blockquote { margin: 0; font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif; font-size: 22px; }
.v3-quote figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.v3-quote figcaption span { margin-left: 8px; }
.v3-offer { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.v3-offer-head { text-align: center; max-width: 800px; margin: 0 auto 36px; }
.v3-offer-head:empty { display: none; }
.v3-offer-head h2 { font-size: 32px; line-height: 1.2; margin: 0; }
.v3-for { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; }
.v3-offer-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.v3-offer-grid.stack-only { grid-template-columns: minmax(0, 480px); justify-content: center; }
.v3-offer-grid.benefits-only { grid-template-columns: 1fr; }
.v3-bens { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.v3-bens > div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-content: start; }
.v3-bens i, .v3-stack li i { width: 26px; height: 26px; border-radius: 50%; background: var(--good-soft); color: var(--good); font-style: normal; font-weight: 800; display: grid; place-items: center; font-size: 13px; grid-row: span 2; }
.v3-bens b { font-size: 17px; line-height: 1.35; }
.v3-bens span { color: var(--muted); font-size: 14px; margin-top: 4px; }
.v3-stack { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); position: relative; }
.v3-stack::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 20px 20px 0 0; background: var(--accent); }
.v3-stack-h { font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.v3-stack ul { list-style: none; margin: 0; padding: 0; }
.v3-stack li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.v3-stack li i { grid-row: auto; width: 22px; height: 22px; font-size: 12px; }
.v3-stack s, .v3-tot s { color: var(--muted); white-space: nowrap; }
.v3-tot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-weight: 700; border-bottom: 1px solid var(--line); }
.v3-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 4px; }
.v3-price span { font-weight: 700; }
.v3-price b { font-size: 30px; color: var(--accent); letter-spacing: -.02em; }
.v3-yes { width: 100%; justify-content: center; margin-top: 14px; padding: 15px 18px; font-size: 16px; text-align: center; }

/* Contents, timeline, guarantee, FAQ and letter. */
.v3-panel { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.v3-panel > div { padding: 26px 28px; }
.v3-panel-needs { background: var(--bg-alt); border-left: 1px solid var(--line); }
.v3-panel-needs p { color: var(--ink-2); line-height: 1.6; }
.v3-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.v3-item + .v3-item { margin-top: 14px; }
.v3-item .pkg-ic { width: 48px; height: 48px; font-size: 22px; }
.v3-item p { color: var(--muted); font-size: 15px; }
.v3-steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 24px; margin: 34px 0 0; padding: 0; position: relative; }
.v3-steps::before { content: ''; position: absolute; top: 24px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px); opacity: .5; }
.v3-steps li { position: relative; text-align: center; font-size: 16px; line-height: 1.55; color: var(--ink-2); padding: 0 6px; }
.v3-steps b { display: block; color: var(--ink); font-size: 18px; margin: 16px 0 4px; }
.v3-dot { width: 50px; height: 50px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 20px; display: grid; place-items: center; margin: 0 auto; position: relative; box-shadow: 0 0 0 8px var(--bg); }
.v3-steps li:last-child .v3-dot { background: var(--accent); color: var(--accent-ink); }
.v3-guarantee { display: grid; grid-template-columns: 76px 1fr; gap: 22px; align-items: center; max-width: 820px; margin: 0 auto; background: var(--good-soft); border-radius: 20px; padding: 26px 30px; }
.v3-guarantee h2 { margin-bottom: 4px; font-size: 22px; }
.v3-guarantee p { color: var(--ink-2); }
.v3-seal { width: 76px; height: 76px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 34px; box-shadow: var(--shadow); }
.v3-faq-wrap { max-width: 820px; }
.v3-faq-wrap h2 { text-align: center; margin-bottom: 22px; }
.v3-faq { display: grid; gap: 10px; }
.v3-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.v3-faq details[open] { border-color: var(--accent); }
.v3-faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 700; font-size: 16px; position: relative; }
.v3-faq summary::-webkit-details-marker { display: none; }
.v3-faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; font-weight: 600; color: var(--accent); }
.v3-faq details[open] summary::after { content: '–'; background: var(--accent-soft); }
.v3-faq details > div { padding: 0 22px 20px; color: var(--ink-2); line-height: 1.65; }
.v3-letter { max-width: 720px; margin: 0 auto; background: #fffdf8; color: #1f2937; border: 1px solid #ece6d8; border-radius: 6px; padding: 52px 60px 44px; box-shadow: 0 2px 0 #ece6d8, 0 30px 60px -30px rgba(15,23,42,.35); font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif; font-size: 19px; line-height: 1.7; position: relative; }
.v3-letter::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--accent); border-radius: 6px 6px 0 0; }
.v3-from { font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid #ece6d8; padding-bottom: 16px; margin-bottom: 26px; }
.v3-from span { font-weight: 500; letter-spacing: .02em; text-transform: none; }
.v3-letter h2 { font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif; font-size: 30px; line-height: 1.25; margin-bottom: 18px; color: #0f172a; }
.v3-letter p + p { margin-top: 14px; }
.v3-sig { margin-top: 30px; display: grid; }
.v3-ink { font-family: 'Caveat', 'Segoe Script', cursive; font-size: 44px; color: #1e3a8a; line-height: 1; transform: rotate(-3deg); transform-origin: left; margin-bottom: 8px; }
.v3-ink-img { display: block; width: 240px; height: auto; margin: 0 0 10px -4px; }
.v3-sig b { font-family: var(--font); font-size: 15px; }
.v3-sig span:last-child { font-family: var(--font); font-size: 14px; color: #64748b; }
[data-theme="dark"] .v3-letter { background: #161b22; color: var(--ink-2); border-color: var(--line); box-shadow: var(--shadow); }
[data-theme="dark"] .v3-letter h2 { color: var(--ink); }
[data-theme="dark"] .v3-ink-img { filter: invert(1) brightness(.9); }
[data-theme="dark"] .v3-ink { color: #93c5fd; }

/* Single dark closing action and optional manifest contents. */
.v3-close { padding: 20px 0 8px; }
.v3-close-in { display: grid; grid-template-columns: 64px 1fr auto; gap: 22px; align-items: center; background: #0d1117; color: #e6edf3; border-radius: 22px; padding: 26px 30px; box-shadow: var(--shadow); }
.v3-close .pkg-ic { width: 64px; height: 64px; font-size: 30px; background: #161b22; }
.v3-close h2 { margin: 0; font-size: 24px; }
.v3-close p { color: #8b949e; margin-top: 2px; }
.v3-close-act { display: flex; align-items: center; gap: 18px; }
.v3-close-act b { font-size: 26px; color: #6ab0cc; }
.v3-close .btn { background: #5096b3; border-color: #5096b3; color: #fff; padding: 14px 22px; }
.v3-close + .v3-band .pk-more { margin-top: 0; }

/* ── Sulla Cloud ──────────────────────────────────────── */
.pk-cloud-page { max-width: 1240px; }
.pk-cloud-page h1 { margin: 0; }
.pk-cloud-page .pk-sub { margin: 4px 0 0; color: var(--text-soft); }
.pk-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 18px; }
.pk-seg button { font: inherit; font-size: 14px; padding: 8px 16px; border: 0; background: transparent; color: var(--text-soft); cursor: pointer; }
.pk-seg button[aria-selected="true"] { background: var(--text); color: var(--surface-1); font-weight: 600; }
.pk-cloud .uc { grid-template-columns: 190px minmax(0, 1fr); gap: 26px; }
.pk-cloud .side { top: 16px; }
.pk-cloud .group { scroll-margin-top: 16px; }
.pk-error { margin: 14px 0 0; padding: 10px 13px; border-radius: 8px; background: rgba(207, 34, 46, .09); color: var(--danger); font-size: 13px; }

@media (max-width: 860px) {
  .pk-browser .uc, .pk-cloud .uc { grid-template-columns: 1fr; gap: 0; }
  .pk-browser .side { display: none; }
  .pk-browser .jump { display: block; }
  .pk-browser .count { margin-top: 18px; }
  .pkg { grid-template-columns: 44px minmax(0, 1fr); gap: 12px 14px; padding: 16px; }
  .pkg-ic { width: 44px; height: 44px; font-size: 22px; }
  .pkg-act { grid-column: 2; }
  .pk-browser .search input { font-size: 16px; }
  .hero.pk-page-hero { padding-top: 36px; }
  .pk-inside { grid-template-columns: 1fr; }
  .pk-copy .pk-hl { font-size: 26px; }
  .pk-desk { padding: 20px; }

  .v3-band { padding: 36px 0; }
  .v3-tight { padding: 18px 0; }
  .hero.pk-page-hero.v3-hero { padding-top: 28px; }
  .v3-hero-grid, .v3-pd, .v3-ways, .v3-imagine, .v3-offer-grid, .v3-bens, .v3-panel { grid-template-columns: 1fr; }
  .v3-hero-grid { gap: 32px; }
  .v3-hero .pk-title { font-size: 34px; }
  .v3-hero .pk-lede { font-size: 17px; }
  .v3-hero .pk-get-row { flex-direction: column; align-items: stretch; }
  .v3-hero .pk-get-row .btn { width: 100%; justify-content: center; }
  .v3-win { transform: none; }
  .v3-hl { font-size: 26px; }
  .v3-sub { font-size: 17px; }
  .v3-head { padding: 36px 0; }
  .v3-pd > div, .v3-way { padding: 22px; font-size: 16px; }
  .v3-desire p { font-size: 18px; }
  .v3-pull { font-size: 22px; margin-top: 30px; }
  .v3-ways { margin-top: 32px; gap: 14px; }
  .v3-imagine { gap: 10px; }
  .v3-offer-head h2 { font-size: 26px; }
  .v3-bens > div { padding: 16px; }
  .v3-panel-needs { border-left: 0; border-top: 1px solid var(--line); }
  .v3-panel > div { padding: 22px; }
  .v3-steps { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; }
  .v3-steps::before { display: none; }
  .v3-steps li { text-align: left; display: grid; grid-template-columns: 50px 1fr; column-gap: 16px; padding: 0; }
  .v3-steps li:not(:last-child)::after { content: ''; position: absolute; left: 24px; top: 56px; bottom: -18px; width: 2px; background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 11px); opacity: .5; }
  .v3-steps .v3-dot { grid-row: span 2; margin: 0; }
  .v3-steps b { margin: 2px 0; }
  .v3-guarantee { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 24px 22px; }
  .v3-letter { padding: 36px 24px 30px; font-size: 17px; }
  .v3-letter h2 { font-size: 24px; }
  .v3-close-in { grid-template-columns: 52px 1fr; padding: 22px; align-items: start; }
  .v3-close .pkg-ic { width: 52px; height: 52px; font-size: 24px; }
  .v3-close h2 { font-size: 20px; }
  .v3-close-act { grid-column: 1 / -1; justify-content: space-between; }
  .v3-close-act .btn { flex: 1; justify-content: center; text-align: center; }
  .pv-seq span { font-size: 10px; }
}

@media (max-width: 480px) {
  .v3-win-body { padding: 14px; }
  .pv-cal { grid-template-columns: repeat(2, 1fr); }
  .v3-stack { padding: 20px 18px; }
  .v3-stack li { grid-template-columns: 22px minmax(0, 1fr); }
  .v3-stack li s { grid-column: 2; }
  .v3-tot, .v3-price { align-items: flex-start; }
}

@media (max-width: 600px) { .pv-table th:nth-child(n+4), .pv-table td:nth-child(n+4) { display: none; } }
