:root {
  --milk: #f8f1e9;
  --paper: #fffbf7;
  --white: #fff;
  --plum: #42084f;
  --ink: #281c2b;
  --muted: #66596a;
  --edge: #ded2db;
  --wash: #f0e5ef;
  --coral: #ff5276;
  --coral-hover: #ff7792;
  --night: #33083e;
  --night-card: #4b1c55;
  --night-text: #fff3fa;
  --night-muted: #ead4ec;
  --tight: clamp(1.5rem, 3vw, 3rem);
  --serif: "Noto Serif Display", Georgia, serif;
  --sans: "Open Sans", system-ui, sans-serif;
  font: 100%/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, figure, p, h1, h2, h3, dl, dd, ul { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #b14bc2; outline-offset: 4px; }
:active:is(button, .button) { transform: translateY(2px); }
[hidden] { display: none; }
.wrap { width: min(1220px, calc(100% - 2 * var(--tight))); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 3; background: var(--white); color: var(--ink); padding: .65rem; }
.site-header { border-bottom: 1px solid var(--edge); background: var(--milk); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand { display: inline-block; flex-shrink: 0; }
.brand img { height: auto; }
nav { display: flex; align-items: center; gap: clamp(.9rem, 2.5vw, 2.1rem); font-size: .875rem; font-weight: 600; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.primary-nav { position: relative; z-index: 5; }
.primary-nav > a, .nav-menu > summary { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--ink); }
.nav-menu { position: relative; }
.nav-menu > summary { list-style: none; cursor: pointer; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::after { content: ""; width: .44rem; height: .44rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.nav-menu[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.nav-menu > summary:hover, .nav-menu[open] > summary { text-decoration: underline; text-underline-offset: .22em; }
.nav-links { position: absolute; top: 100%; left: 0; width: min(270px, calc(100vw - 3rem)); padding: .35rem; max-height: min(60vh, 26rem); overflow-y: auto; background: var(--paper); border: 1px solid var(--edge); border-radius: 8px; box-shadow: 0 6px 20px #31153022; }
.nav-links a { display: block; padding: .72rem .8rem; border-radius: 5px; color: var(--plum); }
.nav-links a:hover, .nav-links a:focus-visible { background: var(--wash); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.15rem; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-size: .875rem; line-height: 1.35; font-weight: 700; text-align: center; }
.header-cta { color: #fff3fa; background: #42084f; border-color: #42084f; min-height: 42px; }
.header-cta:hover { background: #621b72; border-color: #621b72; }
.primary { background: var(--coral); color: #2e102b; }
.primary:hover { background: var(--coral-hover); }
.secondary { color: var(--plum); background: transparent; border-color: var(--edge); }
.secondary:hover { background: var(--wash); border-color: var(--plum); }
.hero { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(2.2rem, 6vw, 6.25rem); align-items: center; min-height: 580px; padding-block: clamp(2.5rem, 5vw, 4.6rem); }
main { background: var(--milk); }
.section-label { font-size: .875rem; font-weight: 700; margin-bottom: .8rem; color: var(--muted); }
.hero .section-label { display: flex; align-items: center; gap: .56rem; color: var(--plum); }
.hero .section-label span { width: 13px; border-top: 2px solid var(--coral); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.04; font-weight: 400; color: var(--plum); text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 5.85vw, 5.25rem); letter-spacing: -.055em; }
h1 span { white-space: nowrap; }
h2 { font-size: clamp(2.6rem, 4.5vw, 4.45rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.65rem, 3vw, 2.4rem); letter-spacing: -.029em; }
.intro { margin-top: 1.5rem; max-width: 49ch; font-size: clamp(1rem, 1.55vw, 1.2rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.85rem; }
.hero-image { position: relative; align-self: stretch; min-height: 380px; border-radius: 12px 12px 100px 12px; overflow: hidden; background: #e9d5c8; }
.hero-image > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero-image figcaption { position: absolute; bottom: 1.6rem; left: 1.45rem; display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border-radius: 7px; color: #281c2b; background: #fff9f4; box-shadow: 0 4px 23px #32112624; font-size: .82rem; }
.hero-image figcaption span { display: block; color: #66596a; }
.section { padding-block: clamp(3.25rem, 7vw, 6.6rem); }
.section-head { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 1.2rem 3.4rem; margin-bottom: 2.05rem; }
.section-head p { max-width: 39ch; color: var(--muted); }
.process, .contact { background: var(--night); color: var(--night-text); }
.process h2, .contact h2, .process h3 { color: var(--night-text); }
.process .section-label, .process .section-head p, .contact .intro, .contact .note { color: var(--night-muted); }
.agents { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .55rem; }
.agents button { display: grid; justify-items: start; min-height: 133px; padding: 1rem .92rem; border: 1px solid #714477; border-radius: 8px; text-align: left; color: var(--night-text); background: var(--night-card); }
.agents button:hover { background: #63276e; border-color: #d592d8; }
.agents button[aria-pressed="true"] { background: #fff0f5; color: #42084f; border-color: #fff0f5; }
.agents button[aria-pressed="true"]:hover { background: #ffe1eb; }
.agents .step { font: 1.5rem/1 var(--serif); margin-bottom: .6rem; color: #ff93b2; }
.agents button[aria-pressed="true"] .step { color: #8e255b; }
.agents button span:last-child { font-size: .875rem; }
.demo { margin-top: 1rem; background: var(--night-card); border: 1px solid #714477; border-radius: 10px; display: grid; grid-template-columns: 1fr 1.05fr; overflow: hidden; min-height: 270px; }
.demo-copy { padding: clamp(1.2rem, 3vw, 2rem); }
.demo-copy > p:not(.section-label) { margin: .65rem 0 1rem; max-width: 55ch; color: var(--night-muted); }
.demo-copy .secondary, .contact .secondary { color: var(--night-text); border-color: #a87aaa; }
.demo-copy .secondary:hover, .contact .secondary:hover { background: #68356d; border-color: #dbb8dc; }
.demo-art { display: grid; place-items: center; padding: 1.25rem; background: #e4d0d2 url("assets/fold.webp") center / cover; }
.demo-art:has(> img) { padding: 0; }
.demo-art > img { width: 100%; height: 100%; max-height: 337px; object-fit: cover; }
.sample { width: min(100%, 410px); display: grid; gap: .35rem; color: #281c2b; background: #fff9f4; padding: 1.15rem; border-radius: 7px; box-shadow: 0 4px 20px #32112633; font-size: .875rem; }
.sample > span { color: #66596a; }
.sample > strong { color: #42084f; font-size: 1.05rem; }
.sample dl { display: grid; grid-template-columns: auto 1fr; gap: .32rem 1rem; margin-top: .3rem; }
.sample dt { color: #66596a; }
.return-note { margin-top: 1rem; padding: .8rem 0 .8rem 1rem; border-left: 3px solid var(--coral); }
.return-note span { display: block; color: var(--night-muted); }
table { width: 100%; border-spacing: 0; table-layout: fixed; background: var(--paper); border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: .78rem clamp(.6rem, 1.8vw, 1.4rem); border-bottom: 1px solid var(--edge); overflow-wrap: anywhere; }
thead th { background: var(--wash); color: var(--plum); }
thead th:first-child { width: 24%; }
tbody tr:last-child :is(th,td) { border-bottom: 0; }
td:last-child { background: var(--white); }
td small { color: var(--muted); }
.total { font-weight: 700; }
.total td:last-child { background: var(--wash); color: var(--plum); }
.note { margin-top: 1rem; color: var(--muted); font-size: .875rem; line-height: 1.55; }
.quality { background: var(--wash); }
.quality-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.7rem, 6vw, 6rem); align-items: start; }
.quality-grid > div:first-child { position: sticky; top: 2rem; }
.source-links { display: flex; flex-wrap: wrap; gap: .45rem 1rem; color: var(--plum); font-weight: 600; margin-top: 1.2rem; font-size: .875rem; }
.quality-sheet { border-radius: 10px; overflow: hidden; background: var(--paper); }
.quality-image img { width: 100%; height: clamp(165px, 20vw, 220px); object-fit: cover; object-position: center 58%; }
.checklist { list-style: none; padding: .6rem 1.4rem; }
.checklist li { display: grid; padding: .85rem 0 .85rem 1.5rem; position: relative; }
.checklist li::before { content: ""; position: absolute; top: 1.15rem; left: .13rem; width: .7rem; height: .37rem; border: solid var(--plum); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.checklist li + li { border-top: 1px solid var(--edge); }
.checklist span { color: var(--muted); font-size: .9rem; }
.calc { display: grid; grid-template-columns: 1.55fr 1fr; border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; }
.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem clamp(1rem, 2.5vw, 2.25rem); background: var(--paper); padding: clamp(1.15rem, 3.5vw, 2.5rem); }
.control { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: .36rem .25rem; font-size: .875rem; }
.control label { font-weight: 700; }
.control output, .control small:last-child { text-align: right; }
.control output { color: var(--plum); font-weight: 700; }
.control small { font-size: .8rem; color: var(--muted); }
input[type="range"] { grid-column: 1/-1; margin: 0; width: 100%; height: 22px; accent-color: var(--plum); cursor: pointer; }
.controls .control:last-child { grid-column: 1/-1; }
.estimate { background: var(--night); color: var(--night-text); padding: clamp(1.25rem, 3.5vw, 2.55rem); display: grid; align-content: center; gap: .45rem; }
.estimate > p, #price-breakdown { color: var(--night-muted); }
.price { font: clamp(2.5rem, 5vw, 4.8rem)/1.05 var(--serif); letter-spacing: -.04em; white-space: nowrap; margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.estimate .button { justify-self: start; margin-top: .8rem; }
.examples { background: var(--paper); border-top: 1px solid var(--edge); }
.examples-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.examples-head h2 { max-width: 900px; }
.article-nav { display: flex; flex-shrink: 0; gap: .5rem; }
.article-arrow { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; padding: 0; border: 1px solid var(--edge); border-radius: 50%; color: var(--plum); background: var(--white); font: 1.4rem/1 var(--sans); }
.article-arrow:hover { background: var(--wash); border-color: var(--plum); }
.article-arrow[aria-disabled="true"] { opacity: .46; cursor: default; transform: none; }
.article-arrow[aria-disabled="true"]:hover { background: var(--white); border-color: var(--edge); }
.article-period { margin: .7rem 0 1.1rem; color: var(--muted); font-size: .875rem; }
.articles {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(360px, 36%, 445px);
  gap: 1rem;
  min-width: 0;
  overflow-x: auto;
  padding: 4px 4px .8rem;
  scroll-padding-inline: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--plum) var(--wash);
}
.articles article { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--edge); background: var(--white); overflow: hidden; border-radius: 12px; scroll-snap-align: start; }
.article-cover { position: relative; height: clamp(168px, 18vw, 224px); background: var(--wash); border-bottom: 1px solid var(--edge); }
.article-cover img { height: 100%; width: 100%; object-fit: cover; object-position: center; }
.article-cover .article-page-preview { object-position: center 11%; }
.article-cover-caption span { position: absolute; left: .85rem; bottom: .85rem; max-width: calc(100% - 1.7rem); padding: .35rem .6rem; border-radius: 6px; background: #fff9f4; color: #42084f; font-size: .75rem; font-weight: 700; box-shadow: 0 2px 16px #281c2b26; }
.article-copy { display: flex; flex-direction: column; flex: 1; padding: clamp(.9rem, 2vw, 1.35rem); }
.article-copy .section-label { margin-bottom: .45rem; }
.article-copy h3 { font-size: clamp(1.55rem, 2.55vw, 2.1rem); text-wrap: wrap; }
.article-visits { margin: .65rem 0 1rem; color: var(--muted); font-size: .875rem; }
.article-visits strong { color: var(--ink); }
.article-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; }
.article-actions .button { min-height: 42px; padding: .55rem .63rem; font-size: .79rem; }
.article-stat-button { color: var(--plum); background: var(--wash); border-color: var(--wash); }
.article-stat-button:hover { border-color: var(--plum); }
.article-stats {
  width: min(1080px, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: clamp(1rem, 3vw, 2rem);
  overflow: auto;
  border: 1px solid var(--edge);
  border-radius: 14px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 18px 70px #190b22a1;
}
.article-stats::backdrop { background: #1b1024ad; }
body:has(.article-stats[open]) { overflow: hidden; }
.article-stats-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .45rem; }
.article-stats-head .section-label { margin: 0; }
.stats-close { width: 44px; height: 44px; }
.stats-image { overflow-x: auto; border: 1px solid var(--edge); border-radius: 8px; background: #fff; scrollbar-width: thin; scrollbar-color: var(--plum) var(--wash); }
.stats-image img { width: 100%; min-width: 760px; height: auto; }
.stats-scroll-hint { display: none; }
.article-stats .note { margin-top: .75rem; }
.examples-blog {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.2rem;
  padding: 1.1rem clamp(1rem, 3vw, 1.65rem);
  border-left: 3px solid var(--coral);
  background: var(--wash);
  border-radius: 0 8px 8px 0;
}
.examples-blog p { max-width: 66ch; }
.examples-blog strong { color: var(--plum); }
.examples-blog a { flex: none; }
.examples-blog .button { gap: .65rem; }
.examples-blog .secondary { background: var(--paper); }

nav [aria-current="page"] { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
.journal-heading { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.journal-heading p { max-width: 66ch; margin-top: .8rem; color: var(--muted); }
.journal-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; color: var(--muted); font-size: .8rem; }
.journal-meta > span { font-weight: 700; color: var(--plum); }
.journal-meta time { white-space: nowrap; }
.blog-collection { padding-top: clamp(1.6rem, 3.5vw, 3.3rem); background: var(--paper); border-block: 1px solid var(--edge); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.blog-grid article { min-width: 0; }
.blog-card { display: grid; grid-template-rows: auto 1fr; height: 100%; border: 1px solid var(--edge); border-radius: 10px; overflow: hidden; background: var(--white); text-decoration: none; }
.blog-card:hover { border-color: var(--plum); }
.journal-cover { display: grid; place-items: center; aspect-ratio: 2; overflow: hidden; border-bottom: 1px solid var(--edge); background: #e9cdd8; }
.journal-cover-index { background: #dec7ad url("assets/lamp.webp") center / cover; }
.journal-cover-plan, .journal-cover-flow { background: #ead3dc url("assets/fold.webp") center / cover; }
.journal-cover-seo { background: #593662 url("assets/fold.webp") 100% 85% / 155%; }
.journal-sheet { display: grid; gap: .65rem; width: 72%; padding: clamp(.65rem, 2vw, 1rem); border: 1px solid #d7b8cc; border-radius: 7px; background: #fff9f1; color: #42084f; box-shadow: 0 6px 18px #32112624; font-size: clamp(.72rem, 1.6vw, .9rem); font-weight: 700; }
.journal-cover-plan .journal-sheet { grid-template-columns: repeat(3, 1fr); }
.journal-sheet i { height: .38rem; border-radius: 2px; background: #e8d6e5; }
.journal-cover-seo .journal-sheet strong { font: 1.45rem/1.12 var(--serif); }
.journal-cover-seo .journal-sheet i:nth-last-child(2) { width: 86%; }
.journal-cover-seo .journal-sheet i:last-child { width: 72%; }
.journal-cover-flow .journal-sheet { width: max-content; max-width: 92%; background: #33083e; color: #fff3fa; border-color: #805487; }
.journal-cover-flow .journal-sheet span + span { border-top: 1px solid #805487; padding-top: .38rem; }
.journal-cover-flow .journal-sheet span::before { content: ""; display: inline-block; width: .45rem; height: .45rem; margin-right: .6rem; border-radius: 50%; background: #ff7897; vertical-align: .05em; }
.blog-card-copy { display: flex; flex-direction: column; gap: .7rem; padding: clamp(.9rem, 2vw, 1.4rem); }
.blog-card h2 { font-size: clamp(1.55rem, 2.45vw, 2.1rem); text-wrap: wrap; }
.blog-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.blog-card-link { margin-top: auto; padding-top: .35rem; color: var(--plum); font-size: .85rem; font-weight: 700; }
.blog-card-link span { margin-left: .35rem; }
.blog-card:hover .blog-card-link { text-decoration: underline; }
.blog-card:active { background: var(--wash); }
.blog-guide { max-width: 820px; }
.blog-guide h1 { font-size: clamp(2.4rem, 6vw, 4.35rem); text-wrap: wrap; }
.blog-guide :is(h1, h2) { overflow-wrap: anywhere; hyphens: auto; }
.blog-guide section { margin-top: 1.7rem; padding-top: 1.25rem; border-top: 1px solid var(--edge); }
.blog-guide section h2 { font-size: clamp(1.65rem, 4vw, 2.3rem); text-wrap: wrap; }
.blog-guide section p { margin-top: .65rem; }
.blog-guide section :is(ol, ul) { margin-block: .65rem; padding-inline-start: 1.5rem; }
.blog-guide li + li { margin-top: .35rem; }
.blog-guide li::marker { font-weight: 700; color: var(--plum); }
.blog-guide-next { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.25rem; margin-top: 2.1rem; padding-top: 1.25rem; border-top: 1px solid var(--edge); }
.blog-guide-next > a:last-child { font-size: .875rem; font-weight: 700; color: var(--plum); }
.article-quality { padding-block: clamp(1.8rem, 4vw, 3rem); background: var(--milk); }
.quality-panel { padding: clamp(1rem, 3.2vw, 2rem); border: 1px solid var(--edge); border-radius: 12px; background: var(--wash); }
.quality-panel-header { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1.5rem; }
.quality-panel-header h2 { font-size: clamp(1.75rem, 3vw, 2.85rem); text-wrap: wrap; }
.quality-panel-header p { max-width: 36ch; font-size: .875rem; color: var(--muted); }
.quality-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-block: 1rem .85rem; padding: 0; list-style: none; }
.quality-result { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; gap: .3rem; height: 100%; padding: .65rem; border: 1px solid var(--edge); border-radius: 8px; background: var(--paper); color: var(--muted); font-size: .78rem; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.quality-result img { width: 100%; height: 64px; margin-bottom: .25rem; padding: .15rem; border-radius: 4px; background: #fff; object-fit: contain; }
.quality-result :is(strong, .quality-result-link) { color: var(--plum); }
.quality-result strong { font-size: clamp(.84rem, 1.35vw, 1.1rem); }
.quality-result-link { padding-top: .2rem; font-weight: 700; }
.quality-result:hover { border-color: var(--plum); }
.quality-result:hover .quality-result-link { text-decoration: underline; }
.quality-result:active { background: var(--white); }
.quality-panel-footer { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: .5rem 1.25rem; font-size: .78rem; color: var(--muted); }
.quality-panel-footer p { max-width: 80ch; }
.quality-panel-footer a { color: var(--plum); }
.quality-panel-footer > a { font-weight: 700; }
.contact-direct { margin-top: 1.15rem; color: var(--night-muted); }
.contact form { display: grid; gap: .48rem; padding: 1.5rem; background: var(--night-card); border: 1px solid #714477; border-radius: 10px; }
.contact label { font-size: .875rem; font-weight: 600; }
.contact label span { font-weight: 400; color: var(--night-muted); }
.contact input:not([type="checkbox"]) { width: 100%; min-height: 46px; border: 1px solid #c794cc; border-radius: 6px; background: #fff9f4; color: #281c2b; padding: .55rem .72rem; }
.contact .attach { display: flex; align-items: center; gap: .55rem; margin-block: .45rem; }
input[type="checkbox"] { width: 1.12rem; height: 1.12rem; margin: 0; accent-color: var(--coral); }
.form-error { font-size: .85rem; color: #ffb6c6; }
.contact .note { margin-top: .35rem; }
.contact form .secondary { width: 100%; }
footer { background: var(--milk); }
.footer-row { justify-content: flex-start; flex-wrap: wrap; padding-block: .9rem; font-size: .875rem; }
.footer-row .brand { margin-right: auto; }
@media (prefers-color-scheme: dark) {
  :root { --milk: #25152a; --paper: #301d34; --white: #352039; --plum: #f8d6ff; --ink: #fff1fa; --muted: #ddc5dd; --edge: #634c66; --wash: #422746; }
  .header-cta { border-color: #9b659f; }
  .hero .section-label span { border-color: #ff7697; }
}
@media (max-width: 900px) {
  .header-row { flex-wrap: wrap; gap: .65rem 1rem; padding-block: .75rem; }
  nav { order: 1; width: 100%; padding-top: .4rem; border-top: 1px solid var(--edge); justify-content: space-between; }
  .hero { min-height: 0; gap: 1.65rem; }
  .hero-image { border-bottom-right-radius: 65px; min-height: 325px; }
  .agents { gap: .4rem; }
  .agents button { padding: .75rem .65rem; font-size: .9rem; }
  .agents button span:last-child { font-size: .8rem; }
  .calc { grid-template-columns: 1.55fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 845px) {
  .stats-scroll-hint { display: block; margin-bottom: .25rem; }
}
@media (max-width: 650px) {
  .hero, .section-head, .demo, .quality-grid, .calc, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 2.55rem; }
  h1 { font-size: clamp(2.35rem, 11vw, 4.1rem); }
  .hero-image { min-height: 290px; border-bottom-right-radius: 60px; }
  .hero-image figcaption { bottom: .85rem; left: .85rem; max-width: calc(100% - 3rem); }
  .header-cta { font-size: .75rem; padding-inline: .58rem; }
  .brand img { width: 141px; }
  nav { gap: .45rem; font-size: .78rem; }
  .section-head { gap: .8rem; margin-bottom: 1.5rem; }
  .agents { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .agents button { min-height: 98px; }
  .agents button:last-child { grid-column: 1/-1; }
  .demo-art { min-height: 180px; }
  .demo-art > img { max-height: 220px; }
  .quality-grid > div:first-child { position: static; }
  th, td { font-size: .82rem; line-height: 1.45; padding: .62rem .46rem; }
  thead th:first-child { width: 25%; }
  .controls { grid-template-columns: minmax(0, 1fr); }
  .control { font-size: .84rem; }
  .estimate .button { justify-self: stretch; }
  .examples-head { flex-wrap: wrap; align-items: start; }
  .examples-head h2 { font-size: clamp(2.25rem, 9vw, 3rem); text-wrap: wrap; }
  .article-arrow { width: 44px; height: 44px; }
  .articles { grid-auto-columns: min(100%, max(292px, 88%)); gap: .65rem; margin-right: calc(var(--tight) * -.5); padding-right: var(--tight); }
  .article-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-actions .button { min-height: 44px; padding: .45rem .35rem; }
  nav { flex-wrap: wrap; }
  .examples-blog { align-items: flex-start; flex-direction: column; }
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .quality-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quality-result img { height: 50px; }
  .contact form { padding: 1rem; }
}
@media (max-width: 370px) {
  .hero .button { width: 100%; }
  .blog-guide h1 { font-size: clamp(1.95rem, 9.7vw, 2.4rem); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .agents button, .article-arrow { transition: background-color .16s, border-color .16s, opacity .16s; }
  .articles { scroll-behavior: smooth; }
  .article-stats[open] { animation: show-article-stats .18s ease-out; }
  @keyframes show-article-stats {
    from { opacity: 0; transform: translateY(8px); }
  }
}

@media (max-width: 900px) {
  .primary-nav .nav-menu { position: static; }
  .primary-nav .nav-links { left: 0; top: 100%; width: min(100%, 280px); }
  .primary-nav .nav-menu:nth-of-type(2) .nav-links { left: 50%; transform: translateX(-50%); }
}
.journal-cover-desk { background: #dfc0ca url("assets/wing.webp") center / cover; border: 0; }
.guide-table { max-width: 100%; overflow-x: auto; margin-top: 1.2rem; }
.guide-table table { min-width: 650px; }
.guide-table th, .guide-table td { vertical-align: top; font-size: .9rem; }

.directory-footer { border-top: 1px solid var(--edge); background: var(--paper); }
.directory-grid { display: grid; grid-template-columns: 1.15fr 1fr .85fr 1fr; gap: 2rem; padding-block: clamp(2rem,4vw,3.5rem); }
.directory-grid h2 { margin: 0 0 .65rem; color: var(--ink); font: 700 .9rem/1.5 var(--sans); letter-spacing: 0; }
.directory-grid ul { list-style: none; padding: 0; }
.directory-grid a:not(.brand) { display: inline-block; color: var(--muted); font-size: .87rem; padding: .23rem 0; text-decoration: none; }
.directory-grid a:hover { color: var(--plum); text-decoration: underline; }
.footer-identity { display: flex; flex-direction: column; align-items: start; }
.footer-identity .brand { margin-bottom: .8rem; }
.journal-related { margin-top: 1rem; }
@media (max-width:760px) { .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; } }
@media (max-width:420px) { .directory-grid { gap: 1.3rem .9rem; } .directory-grid .brand img { max-width: 100%; } }
@media (max-width:400px) {
  .header-row { column-gap: .4rem; }
  .header-row .brand img { width: clamp(102px, 35vw, 140px); }
  .header-row .header-cta { padding-inline: .45rem; }
}

.footer-identity p, .operator-info p { max-width: 32ch; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.operator-info p + p { margin-top: .55rem; }
.legal-row { border-top: 1px solid var(--edge); padding-block: 1.15rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem 1.5rem; color: var(--muted); font-size: .82rem; }
.legal-row > span { margin-right: auto; }
.cookie-settings { border: 0; padding: 0; color: inherit; background: transparent; text-decoration: underline; font: inherit; cursor: pointer; }
.cookie-notice { position: fixed; z-index: 15; right: max(1rem,env(safe-area-inset-right)); bottom: max(1rem,env(safe-area-inset-bottom)); width: min(26rem,calc(100% - 2rem)); max-height: 60vh; overflow-y: auto; padding: 1rem 1.25rem; background: var(--paper); color: var(--ink); border: 1px solid var(--edge); border-radius: .8rem; box-shadow: 0 6px 30px #28152530; }
.cookie-notice strong { color: var(--plum); }
.cookie-notice p { font-size: .87rem; margin-block: .4rem .7rem; }
.cookie-notice .button { min-height: 40px; padding: .45rem 1rem; }
.consent-choice input { flex-shrink: 0; }
.operator-info a { overflow-wrap: anywhere; }
.article-archive { align-self: center; font-size: .82rem; color: var(--muted); }

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.pricing-copy p { max-width: 48ch; margin: 1rem 0 1.3rem; color: var(--muted); }
.pricing-example { background: var(--paper); border-top: 3px solid var(--plum); padding: clamp(1.1rem, 3vw, 2rem); }
.pricing-example h3 { margin-bottom: .8rem; }
.pricing-example dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: .8rem; border-top: 1px solid var(--edge); }
.pricing-example dt small { display: block; color: var(--muted); }
.pricing-example dd { white-space: nowrap; font-weight: 700; }
.pricing-example .pricing-total { padding-bottom: 0; }
.pricing-total dd { font: 600 clamp(1.6rem, 3vw, 2.3rem)/1.2 var(--serif); color: var(--plum); }
.pricing + #calculator { padding-top: clamp(2.2rem, 4vw, 3.5rem); }
@media (max-width: 650px) {
  .pricing { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
  .header-row .primary-nav { flex-wrap: wrap; justify-content: space-between; }
}
html:has(#pricing:target, #calculator:target) { scroll-behavior: auto; }

.quality-grid > div:first-child:has(.seo-proof) { position: static; }
.seo-proof { background: var(--paper); padding: clamp(1.1rem, 2.3vw, 2rem); margin-top: 1.7rem; border-radius: 10px; }
.seo-proof h3 { line-height: 1.18; margin-bottom: .55rem; }
.seo-proof p, .seo-proof small { color: var(--muted); }
.seo-proof p { font-size: .92rem; }
.seo-proof > p { margin-bottom: 1rem; }
.seo-proof details { border-top: 1px solid var(--edge); }
.seo-proof summary { display: flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 48px; padding-block: .7rem; cursor: pointer; font-weight: 650; color: var(--plum); }
.seo-proof summary::-webkit-details-marker { display: none; }
.seo-proof summary::after { content: '+'; font-size: 1.3rem; }
.seo-proof [open] > summary::after { content: '−'; }
.seo-proof summary:hover { text-decoration: underline; }
.seo-proof details[open] { padding-bottom: .9rem; }
.seo-proof pre, .seo-proof blockquote { margin: .7rem 0; padding: .7rem 1rem; background: var(--wash); border-inline-start: 2px solid var(--plum); border-radius: 2px; overflow-wrap: anywhere; }
.seo-proof pre { white-space: pre-wrap; font-size: .8rem; }
.seo-proof blockquote { font: 1.05rem/1.45 var(--serif); }
.seo-proof a { display: inline-block; font-size: .88rem; font-weight: 600; margin-top: .25rem; }

.velvet-calc {
  position: relative; isolation: isolate;
  grid-template-columns: minmax(0,1fr) minmax(0,1.12fr);
  grid-template-areas: "intro controls" "result controls";
  border: 1px solid #51334c; border-radius: 22px; background: #261427; color: #fff2e3;
  --panel-space: clamp(1.25rem,4.2vw,3.9rem);
}
.velvet-calc::before {
  content: ""; position: absolute; inset: 0 50% 0 0; z-index: -1;
  background: linear-gradient(0deg,#261427 8%,#261427ad 57%,#261427b5), url("assets/wing.webp") center 36%/cover;
}
.calc-intro { grid-area: intro; padding: var(--panel-space) var(--panel-space) 1.5rem; }
.calc-intro h2 { color: inherit; max-width: 10ch; font-size: clamp(2.45rem,4.9vw,4.4rem); }
.calc-intro p { margin-top: 1rem; max-width: 43ch; color: #f3e5eb; }
.velvet-calc .controls {
  grid-area: controls; align-self: center; grid-template-columns: minmax(0,1fr); gap: 0;
  margin: clamp(1rem,2.5vw,2.25rem); padding: .6rem clamp(1rem,2.8vw,2.6rem);
  background: #392439; border: 1px solid #765467; border-radius: 15px;
}
.velvet-calc .control { padding-block: 1.35rem; grid-template-columns: 1fr auto; }
.velvet-calc .control + .control { border-top: 1px solid #705366; }
.velvet-calc output { color: #f0cfaa; }
.velvet-calc small { color: #d6bbcb; }
.velvet-calc input { accent-color: #f0c8a5; color-scheme: dark; height: 28px; }
.velvet-calc .estimate {
  grid-area: result; background: transparent; align-content: start; color: inherit;
  margin-inline: var(--panel-space); border-top: 1px solid #a47c88; padding: 1.2rem 0 var(--panel-space);
}
.velvet-calc .estimate > p, .velvet-calc #price-breakdown { color: #f3e5eb; }
.velvet-calc .button { justify-self: stretch; justify-content: space-between; background: #f1d4b7; color: #321d30; border-radius: 2rem; }
.velvet-calc .button:hover { background: #ffe6d1; }
@media (max-width: 720px) {
  .velvet-calc { grid-template-columns: minmax(0,1fr); grid-template-areas: "intro" "controls" "result"; }
  .velvet-calc::before { inset: 0 0 65%; }
  .velvet-calc .controls { margin: 0 1rem 1.25rem; }
  .velvet-calc .control { padding-block: .7rem; }
  .velvet-calc .price { font-size: clamp(2.1rem,8vw,3.5rem); }
}

.velvet-calc .monthly-volume {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .15rem .8rem;
  padding: .7rem 1.15rem; margin-bottom: .7rem; border-radius: .65rem;
  background: #f1d4b7; color: #321d30;
}
.monthly-volume strong { font: 400 clamp(2.5rem,3.7vw,3.5rem)/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.monthly-volume span { font-size: .95rem; font-weight: 650; }

.launch { padding-bottom: 0; }
.launch-steps {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem;
  padding: 0; margin: clamp(1.5rem,3vw,2.5rem) 0 0; list-style: none;
}
.launch-steps li { background: var(--paper); border: 1px solid var(--edge); border-radius: 14px; padding: clamp(1.1rem,2vw,1.7rem); }
.launch-number {
  display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.1rem; border-radius: 20px;
  background: var(--wash); color: var(--plum); font: 600 .9rem var(--sans); margin-bottom: 1.2rem;
}
.launch-steps h3 { font-size: clamp(1.4rem,2vw,1.8rem); line-height: 1.15; margin-bottom: .7rem; }
.launch-steps p { color: var(--muted); font-size: .94rem; line-height: 1.58; }
@media (max-width: 950px) { .launch-steps { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) {
  .launch-steps { grid-template-columns: 1fr; gap: .7rem; }
  .launch-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; }
  .launch-number { margin: 0; }
  .launch-steps h3 { margin: 0; }
  .launch-steps p { grid-column: 2; margin-top: .4rem; }
}
