/* Liber homepage, redesign 2026-11 (development).
   Direction: "the kept notebook". Warm paper, sage ink, one ochre accent; Fraunces for voice, Inter for reading.
   Restraint over decoration: rules and margins instead of card grids, real product output instead of illustration. */

:root {
  --paper: #F6F2EA;
  --paper-2: #EEE7DA;
  --sheet: #FFFDF9;
  --ink: #1F2A1B;
  --ink-soft: #4A5345;
  --ink-faint: #6F766A;
  --sage: #3E5133;
  --sage-deep: #2D3B25;
  --sage-tint: #E2E8D8;
  --ochre: #A8652A;
  --ochre-tint: #F3E4CF;
  --line: #DCD3C3;
  --radius: 14px;
  --wrap: 1160px;
  --shadow-sheet: 0 1px 2px rgba(31, 42, 27, .06), 0 12px 32px -12px rgba(31, 42, 27, .22);
  --serif: 'Manrope', 'Inter', system-ui, sans-serif;
  --accent-serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* Type */
.eyebrow { font-family: var(--accent-serif); font-style: italic; font-size: 17px; color: var(--ochre); margin: 0 0 14px; letter-spacing: .01em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.025em; color: var(--ink); margin: 0; font-optical-sizing: auto; }
h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; }
h3 { font-size: 23px; line-height: 1.25; }
h1 em, h2 em { font-style: normal; color: var(--sage); font-weight: 700; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-soft); max-width: 34em; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-faint); font-size: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--sage); color: #fff; }
.btn-primary:hover { background: var(--sage-deep); color: #fff; }
.btn-quiet { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(246, 242, 234, .92); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
header.site.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 15.5px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-menu-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 999px; min-height: 44px; padding: 0 16px; font: 600 15px var(--sans); color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 28px 20px; }
  .nav-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links .nav-menu-cta { display: block; border-bottom: 0; color: var(--sage-deep); font-weight: 600; }
}
@media (max-width: 420px) { .nav-cta { display: none; } }

/* Sections */
section { padding: clamp(72px, 9vw, 128px) 0; }
.band { background: var(--paper-2); }
.band-ink { background: var(--sage-deep); color: #EEF1E8; }
.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink h2 em { color: var(--ochre-tint); }
.voice-main blockquote, .pull, .founder blockquote, .principles li { letter-spacing: -.01em; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { color: var(--ink-soft); font-size: 19px; margin-top: 18px; }

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lede { margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.reassure { margin-top: 18px; color: var(--ink-faint); font-size: 15px; }
.reassure span + span::before { content: "·"; margin: 0 8px; }
.hero-visual { position: relative; padding: 0 0 8px 0; }
.hero-photo { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sheet); aspect-ratio: 4 / 4.4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.entry-card { position: absolute; left: -28px; bottom: 64px; width: min(330px, 78%); background: var(--sheet); border-radius: var(--radius); padding: 18px 20px 16px; box-shadow: var(--shadow-sheet); }
.entry-card .when { font-family: var(--accent-serif); font-style: italic; color: var(--ochre); font-size: 15px; }
.entry-card .who { font-weight: 600; font-size: 14px; margin: 2px 0 8px; }
.entry-card p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 600; color: var(--sage-deep); background: var(--sage-tint); padding: 4px 10px; border-radius: 999px; }
.figure-note { font-size: 13px; color: var(--ink-faint); margin-top: 12px; text-align: right; }

/* Problem */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.contrast > div { padding: 34px 40px 8px 0; }
.contrast > div + div { padding-left: 40px; border-left: 1px solid var(--line); }
.contrast h3 { font-size: 20px; margin-bottom: 16px; }
.contrast ul { list-style: none; padding: 0; margin: 0; }
.contrast li { padding: 11px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.contrast .should li { text-decoration: line-through; text-decoration-color: rgba(168, 101, 42, .55); text-decoration-thickness: 1.5px; }
.contrast .actual li::before { content: "—"; color: var(--ochre); margin-right: 10px; }
.pull { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; max-width: 30em; margin-top: 48px; color: var(--ink); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.step { position: relative; }
.step .num { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--sage); font-family: var(--serif); font-size: 22px; color: var(--sage); margin-bottom: 22px; position: relative; }
.band .step .num { background: var(--paper-2); }
.step .verb { font-family: var(--accent-serif); font-style: italic; color: var(--ochre); font-size: 15px; margin-bottom: 4px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 16px; }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.sheet { background: var(--sheet); border-radius: 6px; box-shadow: var(--shadow-sheet); padding: 10px; }
.sheet img { border-radius: 2px; }
.sheet-stack { position: relative; }
.sheet-stack::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: var(--sheet); border-radius: 6px; box-shadow: var(--shadow-sheet); z-index: -1; opacity: .7; }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.feature-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 20px; margin-bottom: 4px; }
.feature-list span { color: var(--ink-soft); font-size: 16px; }
.plus-tag { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ochre); border: 1px solid currentColor; border-radius: 999px; padding: 4px 8px; margin-left: 8px; vertical-align: 3px; }

/* Voices */
.voices { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(36px, 5vw, 72px); align-items: end; }
.voice-main blockquote { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.8vw, 46px); line-height: 1.18; color: #fff; letter-spacing: -.01em; }
.voice-main blockquote .open { color: var(--ochre-tint); }
.voice-main p.more { font-family: var(--serif); font-style: italic; font-size: 21px; color: #DCE3D3; margin: 26px 0 0; }
.voice cite, .voice-main cite { display: block; font-style: normal; margin-top: 24px; font-size: 15px; color: #C9D2BE; letter-spacing: .02em; }
.voice { border-left: 2px solid var(--ochre-tint); padding-left: 22px; }
.voice blockquote { margin: 0; font-size: 18px; line-height: 1.55; color: #EEF1E8; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; list-style: none; padding: 0; margin: 0; }
.principles li { padding: 20px 0; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.principles li span { display: block; font-family: var(--sans); font-size: 15.5px; color: var(--ink-soft); margin-top: 6px; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; }
.plan { background: var(--sheet); border: 1px solid var(--line); border-radius: 20px; padding: 34px 34px 30px; display: flex; flex-direction: column; }
.plan.plus { border-color: var(--sage); box-shadow: var(--shadow-sheet); }
.plan .name { font-family: var(--serif); font-size: 24px; }
.plan .price { font-family: var(--serif); font-size: 46px; line-height: 1; margin: 18px 0 4px; }
.plan .price small { font-family: var(--sans); font-size: 15px; color: var(--ink-faint); margin-left: 6px; }
.plan .for { color: var(--ink-soft); font-size: 15.5px; margin: 8px 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 28px; position: relative; font-size: 16px; border-top: 1px dashed var(--line); }
.plan li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 10px; height: 6px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.price-notes { max-width: 920px; margin-top: 26px; color: var(--ink-soft); font-size: 15.5px; }

/* After signup */
.after { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.after li { list-style: none; padding: 26px 26px 0 0; }
.after li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.after { padding: 0; margin: 0; }
.after .t { font-family: var(--accent-serif); font-style: italic; color: var(--ochre); font-size: 15px; }
.after strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 4px 0 6px; }
.after span { color: var(--ink-soft); font-size: 16px; }

/* Founder */
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.founder .portrait { border-radius: 22px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-sheet); }
.founder .portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder blockquote { margin: 22px 0 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); line-height: 1.45; color: var(--ink); }
.founder cite { display: block; font-style: normal; margin: 18px 0 14px; color: var(--ink-faint); font-size: 15px; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--serif); font-size: 21px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-family: var(--sans); font-size: 26px; color: var(--sage); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-soft); max-width: 46em; }

/* Closing */
.closing { text-align: center; }
.closing h2 { max-width: 15em; margin: 0 auto 20px; }
.closing p { color: var(--ink-soft); font-size: 19px; margin-bottom: 32px; }
.closing .cta-row { justify-content: center; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.logo-foot img { width: 72px; height: auto; }
.meaning { color: var(--ink-faint); margin-top: 12px; }
.foot-links { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 40px; align-content: start; }
.foot-links a { color: var(--ink-soft); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-note { color: var(--ink-faint); margin-top: 36px; font-size: 14px; }

/* Responsive */
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .hero-grid, .showcase, .voices, .founder { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 8px auto 0; padding-left: 20px; }
  .entry-card { left: 0; }
  .contrast, .after, .plans { grid-template-columns: 1fr; }
  .contrast > div + div, .after li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .contrast > div { padding-right: 0; }
  .principles { grid-template-columns: 1fr; }
  .founder .portrait { max-width: 420px; }
  .foot-links { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .steps { grid-template-columns: 1fr; }
  .plan { padding: 28px 22px 24px; }
  .cta-row .btn { width: 100%; }
  .entry-card { width: 88%; }
}

/* Product panels (revision 2): faithful miniatures of the real V1 screens, fictional family */
.vg { background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sheet); padding: 14px; margin-bottom: 22px; font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); height: 236px; overflow: hidden; }
.find .vg { height: auto; }
.vg .bar { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.vg .bar .d { text-align: center; color: var(--sage); font-size: 11px; margin-bottom: 4px; }
.vg .bar .tx { color: var(--ink); font-size: 12.5px; line-height: 1.45; }
.vg .acts { display: flex; gap: 6px; margin-top: 10px; }
.vg .acts span { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 999px; padding: 4px 0; font-size: 10.5px; color: var(--sage); background: #fff; }
.vg .row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.vg .sel { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; background: #fff; font-size: 11px; color: var(--ink); }
.vg .sel.on { border-color: var(--sage); background: var(--sage-tint); color: var(--sage-deep); font-weight: 600; }
.vg .q { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: #fff; color: var(--ink); margin-bottom: 8px; font-size: 11.5px; }
.vg .it { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fff; margin-bottom: 6px; }
.vg .it .m { font-size: 10.5px; color: var(--ink-faint); }
.vg .it .t { color: var(--ink); font-size: 12px; margin-top: 2px; }
.vg .count { font-size: 11px; color: var(--sage-deep); font-weight: 600; margin: 2px 0 8px; }
.vg.pdf { padding: 10px; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; }
.vg.pdf img { width: 86%; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.vg .ph { width: 100%; height: 56px; border-radius: 8px; object-fit: cover; margin-top: 8px; }
.find { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.find .vg { min-height: 0; font-size: 13.5px; padding: 18px; }
.find .vg .sel { font-size: 12.5px; padding: 6px 12px; }
.find .vg .it .t { font-size: 13.5px; } .find .vg .it .m { font-size: 11.5px; }
@media (max-width: 860px) { .find { grid-template-columns: 1fr; } }

/* Revision 3: real photography, larger product panels, learning areas, Liber Plus */
.hero-mosaic { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(420px, 44vw, 580px); }
.hero-mosaic figure { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sheet); }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.hero-mosaic .m1 { grid-row: 1 / 3; }
.hero-mosaic .entry-card { left: -36px; bottom: 28px; }
.hero-note { text-align: right; margin-top: 14px; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery figure { margin: 0; background: var(--sheet); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sheet); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figcaption { padding: 10px 12px 12px; font-size: 13.5px; line-height: 1.35; }
.gallery figcaption b { display: block; color: var(--ink); font-weight: 600; }
.gallery figcaption span { color: var(--sage); font-size: 12px; font-weight: 600; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(48px, 6vw, 84px); }
.flow-step { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.flow-step:nth-child(even) .vg { order: 2; }
.flow-text .verb { font-family: var(--accent-serif); font-style: italic; color: var(--ochre); font-size: 17px; margin-bottom: 6px; }
.flow-text h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 12px; }
.flow-text p { color: var(--ink-soft); font-size: 18px; max-width: 30em; }
.vg.big { height: auto; padding: 22px; font-size: 15px; margin: 0; }
.vg.big .bar { padding: 14px 16px; } .vg.big .bar .d { font-size: 13px; } .vg.big .bar .tx { font-size: 16px; }
.vg.big .acts span { font-size: 13px; padding: 7px 0; }
.vg .acts span.on { background: var(--sage-tint); border-color: var(--sage); color: var(--sage-deep); font-weight: 600; }
.vg.big .sel { font-size: 13.5px; padding: 6px 13px; } .vg.big .q { font-size: 14px; padding: 8px 14px; } .vg.big .count { font-size: 13px; }
.vg .thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.vg .thumbs img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; }
.vg .it.ph { display: flex; gap: 12px; align-items: center; padding: 8px; }
.vg .it.ph img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.vg.big .it .m { font-size: 12.5px; } .vg.big .it .t { font-size: 15.5px; font-weight: 500; }
.vg.big.pdf { height: 420px; padding: 18px 18px 0; background: var(--paper-2); }
.vg.big.pdf img { width: 88%; }
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.areas > div > p:not(.lede):not(.eyebrow) { color: var(--ink-soft); }
.area-panel { height: auto; padding: 24px; font-size: 15px; margin: 0; }
.area-panel .ph-title { font-weight: 700; font-size: 18px; color: var(--ink); margin-bottom: 14px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.area-chips span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--ink); }
.area-chips span.on { background: var(--sage-tint); border-color: var(--sage); color: var(--sage-deep); font-weight: 600; }
.area-note { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-faint); }
.pages-fan { position: relative; padding: 0 40px 0 0; }
.pages-fan .sheet { background: var(--sheet); border-radius: 6px; box-shadow: var(--shadow-sheet); padding: 8px; max-height: 640px; overflow: hidden; }
.pages-fan .back { position: absolute; top: 34px; left: 64px; right: 0; transform: rotate(3deg); opacity: .95; }
.pages-fan .front { position: relative; margin-right: 50px; transform: rotate(-1.5deg); }
.plus-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.plus-grid.three { grid-template-columns: repeat(3, 1fr); }
.pcard { background: var(--sheet); border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: relative; }
.pcard h3 { font-size: 21px; margin-bottom: 8px; }
.pcard p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.pcard.wide { grid-row: 1 / 3; display: flex; flex-direction: column; gap: 20px; border-color: var(--sage); box-shadow: var(--shadow-sheet); }
.pcard .pimg { background: var(--paper-2); border-radius: 12px; height: 250px; overflow: hidden; padding: 16px 16px 0; }
.pcard .pimg img { width: 82%; margin: 0 auto; box-shadow: 0 1px 4px rgba(0,0,0,.12); border-radius: 3px; }
.picon { width: 42px; height: 42px; border-radius: 12px; background: var(--sage-tint); color: var(--sage-deep); display: grid; place-items: center; font-size: 21px; margin-bottom: 14px; }
.plus-grid:not(.three) .pcard:nth-child(4) { grid-column: 2 / 4; }
.soon { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ochre); background: var(--ochre-tint); border-radius: 999px; padding: 6px 10px; margin-bottom: 14px; }
.dev-flag { font: 600 13px/1.45 var(--sans); color: #8a5a00; background: #fff3cd; border: 2px dashed #E7B84B; border-radius: 10px; padding: 10px 14px; margin-bottom: 28px; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } .plus-grid { grid-template-columns: 1fr 1fr; } .pcard.wide { grid-row: auto; grid-column: 1 / 3; } .plus-grid:not(.three) .pcard:nth-child(4) { grid-column: auto; } }
@media (max-width: 860px) {
  .hero-mosaic { max-width: 560px; margin: 8px auto 0; height: 440px; }
  .hero-mosaic .entry-card { left: 10px; bottom: 14px; }
  .hero-note { text-align: left; }
  .flow-step, .areas { grid-template-columns: 1fr; } .flow-step:nth-child(even) .vg { order: 0; }
  .pages-fan { padding: 0; max-width: 520px; } .pages-fan .back { display: none; } .pages-fan .front { margin: 0; transform: none; }
  .plus-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-mosaic { height: 360px; gap: 8px; } .hero-mosaic .entry-card { width: 82%; padding: 14px 16px; } .hero-mosaic .entry-card p { font-size: 14px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vg.big { padding: 14px; } .vg .thumbs img { height: 110px; } .vg.big.pdf { height: 320px; }
  .plus-grid { grid-template-columns: 1fr; } .pcard.wide { grid-column: auto; }
}
.pages-fan .figure-note { position: relative; z-index: 2; margin-top: 64px; text-align: left; }
@media (max-width: 860px) { .pages-fan .figure-note { margin-top: 14px; } }
.vg .it.ph > div { min-width: 0; flex: 1; }
.vg .it .t, .vg .it .m { line-height: 1.35; }
@media (max-width: 560px) { .vg.big .it .t { font-size: 14px; } .vg.big .it .m { font-size: 11.5px; } .vg .it.ph img { width: 52px; height: 52px; } }
@media (max-width: 560px) { .hero-mosaic { height: auto; grid-template-rows: 150px 150px auto; } .hero-mosaic .entry-card { position: relative; left: auto; bottom: auto; width: auto; grid-column: 1 / 3; margin: -36px 12px 0; } }

/* Audit 28 Nov: three verified Plus features (export + two cards stacked) */
.plus-grid.v1plus { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 1000px) { .plus-grid.v1plus .pcard.wide { grid-column: 1 / 3; } }
@media (max-width: 560px) { .plus-grid.v1plus { grid-template-columns: 1fr; } .plus-grid.v1plus .pcard.wide { grid-column: auto; } }
