/* WorkNest Studio */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-latin-var.woff2") format("woff2");
}

:root {
  --paper: #fbfaf7;
  --white: #ffffff;
  --sand: #f3f0ea;
  --sand-2: #ebe7df;
  --ink: #1d2230;
  --ink-2: #353a47;
  --muted: #5f6571;
  --line: #e4dfd6;
  --line-strong: #cfc9bd;
  --navy: #1f2a44;
  --navy-hover: #2d3b5f;
  --navy-soft: #e9ecf2;
  --good: #1e6b43;
  --good-soft: #e6f2ea;
  --warn-soft: #fbf0d9;
  --bad-soft: #fbeaea;
  --radius: 8px;
  --max: 1140px;
  --gutter: 24px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-hover); text-decoration-thickness: 2px; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
strong { font-weight: 600; }
small, .small { font-size: 0.88rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 36em; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 0; color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 6px; border: 1px solid var(--navy);
  background: var(--navy); color: #fff; font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: background 0.15s ease;
}
.btn:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: #fff; text-decoration: none; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 0.88rem; text-decoration: underline; cursor: pointer; }
.btn-link:hover { color: var(--navy); }
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, 0.96); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 650; font-size: 1.06rem; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand:hover { color: var(--navy); text-decoration: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); border-bottom-color: var(--line-strong); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
.cart-link { display: inline-flex; align-items: center; gap: 7px; }
.cart-link svg { width: 20px; height: 20px; }
.cart-count {
  min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; background: var(--navy); color: #fff;
  font-size: 0.74rem; font-weight: 650; display: inline-flex; align-items: center; justify-content: center;
}
.cart-count[data-count="0"] { background: var(--sand-2); color: var(--muted); }
.menu-toggle, .cart-shortcut { display: none; }
@media (max-width: 780px) {
  .header-inner { height: 62px; gap: 10px; }
  .cart-shortcut { display: inline-flex; margin-left: auto; padding: 8px; color: var(--navy); text-decoration: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    border: 1px solid var(--line-strong); border-radius: 6px; background: transparent; color: var(--navy); cursor: pointer;
  }
  .menu-toggle svg { width: 22px; height: 22px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 62px; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 6px var(--gutter) 14px; gap: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); font-weight: 600; }
}

/* Sections */
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.band { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--ink-2); }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.split-head h2 { margin: 0; }
.split-head p { margin: 8px 0 0; color: var(--ink-2); max-width: 36em; }
@media (max-width: 760px) { .section { padding: 60px 0; } .section-sm { padding: 40px 0; } }

/* Hero */
.hero { padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.hero-note { margin: 22px 0 0; color: var(--muted); font-size: 0.95rem; }
.hero-art { width: 100%; }
@media (max-width: 900px) { .hero { padding: 40px 0 48px; } .hero-grid { grid-template-columns: 1fr; gap: 28px; } .hero-art { max-width: 560px; margin: 0 auto; } }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.benefit { padding: 26px 28px 8px 0; }
.benefit + .benefit { padding-left: 28px; border-left: 1px solid var(--line); }
.benefit h3 { font-size: 1.22rem; margin-bottom: 8px; }
.benefit p { color: var(--ink-2); margin: 0; }
@media (max-width: 820px) {
  .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit { padding: 22px 0; border-left: 0; }
  .benefit + .benefit { border-top: 1px solid var(--line); }
}

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .thumb { background: var(--sand-2); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.product-card:hover .thumb img { transform: scale(1.02); }
.product-card .body { padding: 16px 2px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card h3 { margin: 0; font-size: 1.28rem; }
.product-card h3 a { text-decoration: none; color: var(--navy); }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card:hover h3 a { text-decoration: underline; }
.product-card p { color: var(--ink-2); font-size: 0.97rem; margin: 0; }
.product-card .facts-line { color: var(--muted); font-size: 0.9rem; }
.product-card .meta { margin-top: 6px; }
.price { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price .cur { font-weight: 500; color: var(--muted); font-size: 0.82em; margin-left: 3px; }
.tag { display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.03em; padding: 2px 8px; border-radius: 4px; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); }
.formats { display: flex; flex-wrap: wrap; gap: 6px; }

/* Look inside */
.inside-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.inside-grid figure { margin: 0; }
.inside-grid .page { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 12px; box-shadow: 0 10px 30px rgba(40, 36, 30, 0.07); }
.inside-grid figcaption { margin-top: 12px; font-size: 0.94rem; color: var(--ink-2); }
.inside-grid figcaption a { font-weight: 600; }
@media (max-width: 820px) { .inside-grid { grid-template-columns: 1fr; max-width: 420px; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { margin: 0; counter-increment: step; }
.steps li::before {
  content: counter(step); display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 500; line-height: 1;
  color: var(--line-strong); margin-bottom: 12px;
}
.steps h3 { font-size: 1.12rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; gap: 22px; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--navy); }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); max-width: 44em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Page header */
.page-header { padding: 48px 0 36px; border-bottom: 1px solid var(--line); }
.page-header h1 { margin-bottom: 12px; }
.page-header .lead { margin: 0; }
.breadcrumb { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }

/* Shop */
.group + .group { margin-top: 64px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 760px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 0.84rem; color: var(--muted); font-weight: 600; background: var(--sand); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody th { font-weight: 600; }
.compare tbody th a { text-decoration: none; }
.compare tbody th a:hover { text-decoration: underline; }

/* Product page */
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; padding: 36px 0 64px; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 20px; } }
.gallery-main {
  display: flex; align-items: center; justify-content: center; width: 100%; padding: 28px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--sand-2); cursor: zoom-in; aspect-ratio: 1 / 1;
}
.gallery-main img { max-height: 100%; width: auto; box-shadow: 0 12px 34px rgba(40, 36, 30, 0.16); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { width: 72px; height: 72px; padding: 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--sand-2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.gallery-thumbs img { max-height: 100%; width: auto; }
.gallery-note { font-size: 0.86rem; color: var(--muted); margin-top: 10px; }
.buy-box h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.buy-box .intro { color: var(--ink-2); }
.buy-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 18px 0 4px; }
.buy-price .price { font-size: 1.7rem; }
.buy-price .note { color: var(--muted); font-size: 0.93rem; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 12px; }
@media (max-width: 420px) { .buy-actions { grid-template-columns: 1fr; } }
.key-facts { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.key-facts li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.key-facts li strong { color: var(--ink); }
.notice { border: 1px solid var(--line); background: var(--white); border-radius: 6px; padding: 13px 16px; font-size: 0.95rem; }
.notice.info { background: var(--navy-soft); border-color: #d6dce8; }
.notice.warn { background: var(--warn-soft); border-color: #eedcb3; color: #5c3d00; }
.notice.error { background: var(--bad-soft); border-color: #efc9c5; color: #7a1a12; }
.notice.success { background: var(--good-soft); border-color: #c3dccb; color: #134a2e; }
.stack > * + * { margin-top: 12px; }
.detail { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.detail > h2 { font-size: 1.45rem; margin: 0; }
.detail-body > :last-child { margin-bottom: 0; }
@media (max-width: 820px) { .detail { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; } }
.toc-list { list-style: none; padding: 0; margin: 0 0 26px; }
.toc-list li { display: flex; gap: 12px; margin: 0; padding: 7px 0; border-bottom: 1px dotted var(--line-strong); }
.toc-list .pg { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc-title { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0 0 4px; color: var(--ink); }
.doc-meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 8px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.file-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.file-table th, .file-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.file-table th { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.file-table td.num, .file-table th.num { text-align: right; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.file-name { font-weight: 560; word-break: break-word; }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 94vh; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(20, 22, 28, 0.82); }
dialog.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; background: #fff; }
dialog.lightbox form { text-align: right; margin-bottom: 8px; }
dialog.lightbox button { background: #fff; border: 0; border-radius: 4px; padding: 6px 14px; font: inherit; cursor: pointer; }

/* Checkout and order */
.checkout-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: start; padding: 36px 0 80px; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }
.seller-box { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 22px; font-size: 0.94rem; }
.seller-box strong { color: var(--ink); }
.cart-items { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; align-items: center; }
.cart-item img { width: 92px; height: 69px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); background: var(--sand-2); }
.cart-item h3 { margin: 0 0 3px; font-size: 1.1rem; }
.cart-item h3 a { text-decoration: none; }
.cart-item .sub { font-size: 0.88rem; color: var(--muted); }
.cart-item .right { text-align: right; display: grid; gap: 4px; justify-items: end; }
@media (max-width: 520px) { .cart-item { grid-template-columns: 64px 1fr; } .cart-item img { width: 64px; height: 48px; } .cart-item .right { grid-column: 2; justify-items: start; text-align: left; } }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--white); }
.panel h2 { font-size: 1.4rem; margin-bottom: 16px; }
.summary { position: sticky; top: 92px; }
.summary-rows { display: grid; gap: 10px; margin: 0 0 18px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.97rem; }
.summary-row.total { font-size: 1.12rem; font-weight: 650; border-top: 1px solid var(--line); padding-top: 14px; }
.summary-row span:last-child { font-variant-numeric: tabular-nums; text-align: right; }
.terms-list { list-style: none; padding: 0; margin: 0 0 18px; font-size: 0.93rem; color: var(--ink-2); }
.terms-list li { padding: 9px 0; border-top: 1px solid var(--line); margin: 0; }
.terms-list strong { color: var(--ink); }
.consent { display: grid; gap: 14px; margin: 18px 0 20px; }
.consent label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 0.92rem; line-height: 1.55; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.policy-links { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; }
.empty-state { text-align: center; padding: 44px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); margin-bottom: 16px; }
.empty-state h3 { margin-bottom: 6px; }
.download-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.download-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.download-list .file-meta { font-size: 0.86rem; color: var(--muted); }
@media (max-width: 520px) { .download-list li { grid-template-columns: 1fr; } .download-list .btn { justify-self: start; } }
.order-product { margin-top: 32px; }
.order-product h3 { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 1.2rem; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Prose: legal and information pages */
.prose { padding: 40px 0 88px; }
.prose > * { max-width: 44em; }
.prose h2 { font-size: 1.55rem; margin-top: 2.1em; padding-top: 0.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose .updated { color: var(--muted); font-size: 0.93rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 0.94rem; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.prose thead th { background: var(--sand); color: var(--ink); font-weight: 600; }
.prose tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.summary-box { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 22px 0 8px; }
.summary-box h2 { font-size: 1.12rem; margin: 0 0 8px; padding: 0; font-family: var(--sans); color: var(--ink); }
.summary-box ul { margin: 0; }
.summary-box li { margin-bottom: 0.3em; }
.toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin: 26px 0 8px; }
.toc p { margin: 0 0 8px; font-weight: 600; color: var(--ink); }
.toc ol { margin: 0; columns: 2; column-gap: 36px; font-size: 0.95rem; }
.toc li { break-inside: avoid; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.callout { background: var(--white); border: 1px solid var(--line); padding: 14px 18px; border-radius: 6px; margin: 0 0 1.4em; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 8px 0 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose > .contact-grid { max-width: none; }
.contact-grid > div { padding: 24px 24px 24px 0; }
.contact-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid > div, .contact-grid > div + div { padding: 20px 0; border-left: 0; } .contact-grid > div + div { border-top: 1px solid var(--line); } }
.contact-grid h2 { font-size: 1.15rem; margin: 0 0 6px; padding: 0; }
.contact-grid p { margin: 0; }
address { font-style: normal; }

/* Footer */
.site-footer { background: var(--navy); color: #c7cdd8; padding: 56px 0 30px; font-size: 0.94rem; }
.site-footer a { color: #eef0f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 650; font-size: 1.05rem; margin-bottom: 8px; }
.footer-brand svg { width: 28px; height: 28px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; row-gap: 6px; }
.footer-links li { margin: 0; }
.footer-links li + li::before { content: "|"; margin: 0 9px; color: rgba(255, 255, 255, 0.3); }
@media (max-width: 640px) { .footer-links { gap: 8px 18px; } .footer-links li + li::before { display: none; } }
.footer-contact { margin-top: 16px; line-height: 1.75; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #9aa3b4; font-size: 0.87rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .site-header, .site-footer, .btn { display: none !important; } body { background: #fff; font-size: 11pt; } }
