/* Solo creative team landing page — RTL, mobile-first.
   Breakpoints: base (<700), 700+, 1000+. */

:root {
  --ink: #152b32;
  --mint: #ddf4eb;
  --yellow: #f7c955;
  --green: #126b54;
  --muted: #53666b;
  --line: #c5d5cf;
  --gutter: 20px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 120px; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 17px/1.75 'Heebo', Arial, sans-serif;
  overflow-wrap: break-word;
}

a { color: inherit; text-underline-offset: 5px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 900; line-height: 1.3; }
h1 { font-size: 36px; letter-spacing: -.5px; }
h2 { font-size: 27px; }
h3 { font-size: 20px; }
p { margin-bottom: 16px; }

mark {
  display: inline-block;
  padding: 0 7px;
  background: var(--yellow);
  color: inherit;
}

img { max-width: 100%; }

/* ---------- Layout frame ---------- */

nav, main, footer {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header / nav ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 2px solid var(--ink);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 16px;
  padding-block: 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
}
.brand img { width: 30px; height: 30px; flex: none; }
.brand small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 500;
}

.links {
  display: flex;
  gap: 4px 18px;
}
.links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Shared components ---------- */

.badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 25px;
  background: var(--mint);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 24px;
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: var(--yellow);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.button:hover { filter: brightness(.97); }

.source-link {
  display: block;
  overflow: hidden;
  border: 1px solid #d5ded9;
  border-radius: 10px;
  box-shadow: 0 5px 20px #152b3210;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-block: 28px 32px;
}

.hero h1 { margin-bottom: 20px; }

.lead {
  max-width: 34em;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.7;
}

.hero .button { margin-top: 14px; min-width: 160px; }

.linkedin-proof {
  width: 100%;
  max-width: 400px;
  margin: 0;
  justify-self: center;
}
.linkedin-proof img { display: block; width: 100%; height: auto; }
.linkedin-proof figcaption {
  padding-top: 4px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ---------- Work section ---------- */

.work-section {
  padding-block: 32px;
  border-top: 2px solid var(--ink);
}

.section-intro { margin-bottom: 22px; }

.journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.journey article {
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 15px;
}
.journey h3 { margin-bottom: 10px; }
.journey p { margin: 0; font-size: 16px; line-height: 1.8; }

.step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  padding-block: 32px;
  border-top: 2px solid var(--ink);
}
.faq h2 { margin-bottom: 12px; }

details { border-bottom: 1px solid var(--line); }

summary {
  min-height: 58px;
  padding: 14px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

details p { margin: 0; padding-bottom: 14px; font-size: 16px; }

/* ---------- Closing / contact ---------- */

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  margin-block: 4px 32px;
  padding: 26px 22px;
  border-radius: 18px;
  background: var(--mint);
}
.closing h2 { font-size: 28px; }
.closing p { margin: 0; }

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.whatsapp-link { background: var(--ink); color: #fff; }
.linkedin-link { background: #fff; }

/* ---------- Footer ---------- */

footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: 10px 16px;
  border-top: 2px solid var(--ink);
  font-size: 13px;
}
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

/* ---------- Focus ---------- */

a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

/* ---------- 700px and up ---------- */

@media (min-width: 700px) {
  :root { --gutter: 28px; }

  html { scroll-padding-top: 84px; }

  nav { flex-wrap: nowrap; padding-block: 10px; }
  .brand { font-size: 20px; gap: 10px; }
  .brand img { width: 36px; height: 36px; }
  .brand small { font-size: 11px; }
  .links { gap: 22px; }
  .links a { font-size: 15px; }

  h1 { font-size: 42px; }
  h2 { font-size: 30px; }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    padding-block: 40px;
  }
  .hero-message { padding-top: 8px; }
  .lead { font-size: 18px; }
  .linkedin-proof { justify-self: end; max-width: 380px; }

  .work-section, .faq { padding-block: 40px; }

  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .journey article { padding: 20px; }
  .journey p { font-size: 15px; }

  .closing {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 32px;
    align-items: center;
    padding: 32px;
    margin-bottom: 40px;
  }
  .closing h2, .closing p { grid-column: 1; }
  .contact-buttons {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 280px;
    margin-top: 0;
  }

  footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-block: 8px;
  }
}

/* ---------- 1000px and up ---------- */

@media (min-width: 1000px) {
  :root { --gutter: 32px; }

  h1 { font-size: 52px; }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    padding-block: 48px;
  }
  .hero-message { padding-top: 16px; }
  .hero h1 { margin-bottom: 24px; }
  .lead { font-size: 20px; }
  .linkedin-proof { max-width: 430px; }

  .work-section, .faq { padding-block: 48px; }
  .section-intro { margin-bottom: 26px; }

  .journey { gap: 20px; }
  .journey article { padding: 24px; }
  .journey p { font-size: 16px; }

  .closing { padding: 40px; column-gap: 48px; }
  .contact-buttons { width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Composition v2 ---------- */

.journey article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  row-gap: 6px;
  padding: 14px 16px 16px;
}
.journey .step { width: 30px; height: 30px; margin: 0; font-size: 13px; }
.journey h3 { margin: 0; font-size: 19px; }
.journey p { grid-column: 1 / -1; line-height: 1.7; }

.hero-message { display: flex; flex-direction: column; align-items: flex-start; }
.hero-message .badge { align-self: flex-start; }

@media (min-width: 700px) {
  .hero { align-items: stretch; }
  .hero h1 { font-size: 36px; }
  .hero-message {
    justify-content: center;
    padding: 32px 24px;
    border-radius: 18px;
    background: var(--mint);
  }
  .linkedin-proof { align-self: start; }
  .journey article { padding: 16px 18px 18px; }
}

@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
  .hero h1 { font-size: 52px; }
  .hero-message { padding: 56px 56px; }
  .hero-message .badge { background: #fff; }
  .linkedin-proof { max-width: 380px; }
  .journey article { padding: 20px 22px 22px; }

  .faq {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    column-gap: 40px;
    align-items: start;
  }
  .faq h2 { margin: 0; }
  .faq details { grid-column: 2; }
  .faq details:first-of-type { border-top: 1px solid var(--line); }
}

/* ---------- Composition v3 ---------- */

/* Proof: crop the text above the video so header-less strip keeps
   video, reactions and the impressions row; render wide enough to read. */
.source-link img {
  aspect-ratio: 551 / 449;
  object-fit: cover;
  object-position: bottom;
}
.linkedin-proof { max-width: 460px; }

/* One-row compact header on small screens */
nav { flex-wrap: nowrap; padding-block: 4px; gap: 0 12px; }
.brand { min-height: 48px; font-size: 17px; white-space: nowrap; }
.brand small { display: none; }
.links { gap: 14px; }
.links a { min-height: 48px; white-space: nowrap; }
@media (max-width: 419px) {
  .links a:first-child { display: none; }
}
@media (min-width: 700px) {
  .brand small { display: block; }
  nav { padding-block: 10px; }
  .links { gap: 22px; }
  .links a:first-child { display: flex; }
}

/* Tight step cards on mobile */
@media (max-width: 699px) {
  .work-section { padding-block: 26px; }
  .journey { gap: 10px; }
  .journey article { padding: 12px 14px 14px; row-gap: 2px; }
  .journey h3 { font-size: 18px; }
  .journey p { font-size: 15px; line-height: 1.6; }
  .journey .step { width: 28px; height: 28px; }
}

@media (min-width: 700px) {
  .hero { align-items: center; }
  .linkedin-proof { align-self: center; max-width: none; }
}
@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) 500px; gap: 40px; padding-block: 40px; }
  .hero-message { padding: 44px 52px; }
  .linkedin-proof { max-width: 500px; }
}

/* ---------- Composition v4: two-window proof card ---------- */

/* Same image twice: top window = author header + opening lines,
   bottom window = reactions + impressions row. A dotted seam joins them. */
.source-link { display: flex; flex-direction: column; background: #fff; }
.source-link img { aspect-ratio: auto; object-fit: cover; width: 100%; height: auto; }
.source-link img:first-child { order: 0; aspect-ratio: 551 / 200; object-position: top; }
.source-link img:last-child { order: 2; aspect-ratio: 551 / 126; object-position: bottom; }
.source-link::before {
  content: "";
  order: 1;
  height: 16px;
  border-block: 1px solid #e3e9e6;
  background: #f3f7f5 radial-gradient(circle, #9fb2ab 1.5px, transparent 2px) center / 12px 16px repeat-x;
}
.linkedin-proof { max-width: 460px; }

@media (min-width: 700px) {
  .hero { align-items: center; }
}
@media (min-width: 1000px) {
  .hero-message { padding: 40px 52px; }
  .linkedin-proof { max-width: 500px; }
}

/* ---------- Pilot offer ---------- */
.offer {
  max-width: 820px;
  padding-block: 32px;
  border-top: 2px solid var(--ink);
}
.offer h2 { margin-bottom: 12px; }
.offer p { margin: 0 0 12px; line-height: 1.8; }
.offer ul { margin: 0 0 16px; padding: 16px 36px 16px 20px; border: 2px solid var(--ink); background: var(--mint); line-height: 1.9; }
@media (min-width: 700px) { .offer { padding-block: 40px; } }
@media (min-width: 1000px) { .offer { padding-block: 48px; } }

/* ---------- Footer links ---------- */
.footer-links { display: flex; flex-wrap: wrap; column-gap: 18px; }
.footer-links a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Owner5Nov: LinkedIn feel in existing creative-team background, no copy change. */
.hero-message { background:#0A66C2; color:#fff; padding:28px 24px; border-radius:18px; }
.hero-message .badge { background:#ffffff; color:#0A66C2; }
.hero-message mark { background:var(--yellow); color:var(--ink); padding-inline:6px; }
.hero-message .button { background:#fff; color:#0A66C2; border-color:#fff; }
.hero-message .lead { color:#fff; }
@media(min-width:700px){.hero-message { padding:32px 28px; }}
@media(min-width:1000px){.hero-message { padding:40px 52px; }}

h1,h2,h3 { font-weight:700; letter-spacing:-.5px; }
.hero .lead + .lead {font-size:17px;line-height:1.75;opacity:.88;}

/* Owner 5Nov revision: yellow emphasis, intentional phrase-sized mobile lines. */
.hero h1 { max-width:100%; }
.headline-line { display:block; white-space:nowrap; }
@media(max-width:699px){
 .hero-message { padding:24px 18px; }
 .hero h1 { font-size:clamp(28px,8.2vw,36px); line-height:1.35; letter-spacing:-.3px; margin-bottom:18px; }
 .hero-message .badge { font-size:12px; line-height:1.65; margin-bottom:18px; padding:5px 10px; text-wrap:pretty; }
 .hero-message .lead {font-size:17px;line-height:1.65;text-wrap:pretty;}
 .hero-message .lead + .lead {font-size:16px;line-height:1.7;}
}

/* Approved5Nov10:18 headline: preserve complete phrases on narrow phones. */
@media(max-width:699px){.hero h1 {font-size:clamp(26px,7.6vw,34px);line-height:1.3;}}
@media(min-width:1000px){.hero h1 {font-size:44px;line-height:1.3;}}

/* Scoped5Nov content depth, existing visual system preserved. */
.writing-section { padding-block:32px; border-top:2px solid var(--ink); }
.writing-section > p { max-width:820px; margin-block:14px 22px; }
.writing-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
.writing-card { border:2px solid var(--ink); border-radius:14px; padding:24px; min-width:0; background:#fff; }
.writing-kind { font-size:14px; color:var(--green); font-weight:700; }
.writing-card h3 { margin-block:10px 18px; }
.writing-card blockquote { margin:0 0 20px; padding-inline-start:16px; border-inline-start:4px solid var(--yellow); font-size:18px; line-height:1.8; }
.writing-card .excerpt-context,.writing-note { color:var(--muted); font-size:15px; }
.writing-card a { display:inline-block; padding-block:8px; font-weight:600; }
@media(min-width:700px){.writing-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.writing-section{padding-block:40px;}}
@media(max-width:359px){.writing-card{padding:18px;}.writing-card blockquote{font-size:17px;padding-inline-start:12px;}}

.proper-name{white-space:nowrap;}

/* Owner 5Nov: real post captures match the accepted hero proof treatment. */
.writing-grid { align-items:start; }
.writing-card.screenshot-example { border:0; border-radius:0; padding:0; background:transparent; }
.screenshot-example .post-capture { display:block; padding:0; border:1px solid #d5ded9; border-radius:10px; overflow:hidden; background:#fff; box-shadow:0 5px 20px #152b3210; }
.post-capture img { display:block; width:100%; height:auto; }
.screenshot-example h3 { margin:8px 0 12px; }
.screenshot-example .excerpt-context { margin:12px 0; }
.sr-only { position:absolute; width:1px; height:1px; padding:0!important; margin:-1px!important; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0!important; }
.closing { background:var(--yellow); }

/* Owner 5 Nov: aligned examples, original screenshot pixels preserved. */
@media(min-width:700px){
 .writing-grid { align-items:stretch; }
 .writing-card.screenshot-example { display:grid; grid-template-rows:subgrid; grid-row:span 5; row-gap:12px; }
 .screenshot-example h3,.screenshot-example .excerpt-context { margin:0; }
 .screenshot-example .post-capture { aspect-ratio:384/524; align-self:start; background:#fff; }
 .screenshot-example .post-capture img { width:100%; height:100%; object-fit:contain; object-position:top; }
 .screenshot-example>a:not(.post-capture) { align-self:end; justify-self:start; }
}

/* Personal experience numbers, requested 5 November 2026. */
.about-writer .proof-number { color: var(--green); font-weight: 700; }

/* Booking: scoped dialog, existing contact routes retained. */
.booking-link { background:#0A66C2; color:#fff; }
.booking-dialog { width:min(1280px,calc(100vw - 32px)); max-width:none; height:min(850px,calc(100dvh - 32px)); max-height:none; padding:0; border:2px solid var(--ink); border-radius:18px; color:var(--ink); background:#fff; overflow:hidden; }
.booking-dialog[open] { display:flex; flex-direction:column; }
.booking-dialog::backdrop { background:rgba(10,25,30,.55); }
.booking-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 18px; border-bottom:1px solid #d5ded9; flex-shrink:0; }
.booking-toolbar h2 { margin:0; font-size:20px; }
.booking-close { font:inherit; font-weight:700; border:1px solid var(--ink); border-radius:24px; background:#fff; color:var(--ink); min-height:44px; padding:6px 14px; cursor:pointer; flex-shrink:0; }
.booking-frame { display:block; width:100%; flex:1; min-height:0; border:0; background:#fff; }
.booking-fallback { margin:0; padding:10px 18px; font-size:14px; text-align:center; border-top:1px solid #d5ded9; flex-shrink:0; }
body.booking-open { overflow:hidden; }
@media(max-width:600px) { .booking-dialog { width:100vw; height:100dvh; margin:0; border:0; border-radius:0; } .booking-toolbar { padding:8px 12px; } .booking-toolbar h2 { font-size:18px; } }

/* Requested questions-hub entry: retain every mobile navigation destination. */
.faq-more{margin:24px 0 0}.faq-more .button{font-size:16px}@media(min-width:1000px){.faq-more{grid-column:2}}@media(max-width:699px){nav{flex-wrap:wrap;gap:0 10px}.links{flex-wrap:wrap;gap:0 14px}.links a:first-child{display:flex}.links a{font-size:13px;min-height:44px}.brand{min-height:44px}}

@media(max-width:359px){.links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;column-gap:12px}.links a{justify-content:flex-start}}

.comparison-table{width:100%;border-collapse:collapse;margin-block:24px;font-size:17px}.comparison-table th,.comparison-table td{border:1px solid var(--line);padding:14px;text-align:right;vertical-align:top}.comparison-table th{background:#f4f8fa}.comparison-table td:first-child{font-weight:700;min-width:110px}@media(max-width:650px){.comparison-table,.comparison-table tbody,.comparison-table tr,.comparison-table td{display:block}.comparison-table thead{display:none}.comparison-table tr{border:1px solid var(--line);margin-bottom:18px;padding:10px}.comparison-table td{border:0;padding:8px;font-size:17px}.comparison-table td:before{content:attr(data-label);display:block;font-weight:700;color:var(--muted);font-size:14px;margin-bottom:4px}.comparison-table td:first-child:before{display:none}.comparison-table td:first-child{font-size:20px}}
/* Linked authored work and appearances, separate from client testimonials. */
.appearances-section{padding:40px 0;border-top:2px solid var(--ink,#17313a)}
.appearances-section h2{margin:0 0 24px}
.appearances-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.appearance-card{display:flex;flex-direction:column;align-items:flex-start;text-decoration:none;color:inherit;border:1px solid #c3d3d6;border-radius:16px;padding:24px;min-width:0;transition:border-color .15s,background .15s}
.appearance-card:hover,.appearance-card:focus-visible{border-color:#0967c5;background:#f7fbfd;outline:2px solid transparent}
.appearance-name{font-size:24px;font-weight:800;line-height:1.35}
.appearance-type{font-size:14px;line-height:1.6;color:#4a626b;margin-top:8px}
.appearance-card h3{font-size:19px;line-height:1.5;margin:12px 0 18px;font-weight:600}
.appearance-link{color:#0967c5;text-decoration:underline;text-underline-offset:4px;font-size:16px;margin-top:auto;font-weight:500}
.community-name{display:flex;gap:12px;align-items:center;min-height:56px}
.community-name img{border-radius:50%;flex-shrink:0}
.community-name .appearance-name{font-size:22px}
@media(max-width:600px){.appearances-section{padding:32px 0}.appearances-grid{grid-template-columns:1fr}.appearance-card{padding:22px}.appearance-name{font-size:23px}.appearance-card h3{font-size:19px}.community-name .appearance-name{font-size:21px}}
.appearance-card h3,.community-name .appearance-name{text-wrap:balance}
@media(max-width:360px){.community-name{gap:10px}.community-name img{width:44px;height:44px}.community-name .appearance-name{font-size:20px}}

.publisher-brand{display:flex;align-items:center;min-height:62px}.publisher-logo{display:block;object-fit:contain;object-position:right center;max-width:100%;height:auto}.geektime-logo{width:180px}.openu-logo{width:180px}
.publisher-brand:has(.geektime-logo){background:#172d35;border-radius:8px;padding:12px;width:204px;box-sizing:border-box}.publisher-brand:has(.geektime-logo) .geektime-logo{width:180px}

/* Whole-card contact links, using the existing ink and yellow palette. */
.journey article{position:relative;transition:background-color .18s,color .18s,transform .18s,box-shadow .18s}
.journey-card-link{position:absolute;inset:0;border-radius:inherit;z-index:1}
.journey-card-link:focus-visible{outline:3px solid var(--green);outline-offset:5px}
.journey article:focus-within{background:var(--ink);color:#fff;transform:translateY(-3px);box-shadow:0 5px 0 var(--yellow)}
.journey article:focus-within .step{background:var(--yellow);color:var(--ink)}
@media(hover:hover){.journey article:hover{background:var(--ink);color:#fff;transform:translateY(-3px);box-shadow:0 5px 0 var(--yellow)}.journey article:hover .step{background:var(--yellow);color:var(--ink)}}
#contact{scroll-margin-top:24px}
html:has(.journey-card-link:focus){scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){.journey article{transition:none}.journey article:hover,.journey article:focus-within{transform:none}html:has(.journey-card-link:focus){scroll-behavior:auto}}

/* Genuine author photo beside the existing introduction. */
.writer-identity{display:flex;align-items:center;gap:18px;margin-bottom:18px}.writer-identity img{display:block;width:88px;height:88px;object-fit:cover;border-radius:50%;flex-shrink:0}.writer-identity h2{margin:0}

/* Owner 7 Nov: softer section rhythm, grounded in the Esek360 visual reference.
   Homepage only. All words, assets and original-post metrics stay unchanged. */
body:has(main > .hero) { background: #fbfdfc; }
body:has(main > .hero) header { background: rgba(255,255,255,.97); border-bottom: 1px solid #d5e4de; box-shadow: 0 3px 18px #152b3205; }
body:has(main > .hero) main > section:not(.hero):not(.closing) {
  position: relative;
  width: 100%; max-width: none;
  margin-block: 28px 40px;
  padding-block: 44px;
  border-top: 0;
}
body:has(main > .hero) main > section:not(.hero):not(.closing)::before {
  content: ""; position: absolute; inset-block-start: -12px; inset-inline: 0;
  height: 1px; background: #d5e4de;
}
body:has(main > .hero) main > section:not(.hero):not(.closing)::after {
  content: ""; position: absolute; inset-block-start: -14px; inset-inline-start: 0;
  width: 56px; height: 5px; border-radius: 10px; background: var(--yellow);
}
body:has(main > .hero) .offer > p { max-width: 820px; }
body:has(main > .hero) #service { padding-inline: 32px; background: #fff; border-radius: 24px; box-shadow: 0 10px 32px #152b3205; }
body:has(main > .hero) #about { padding: 36px 32px; border-radius: 24px; background: linear-gradient(120deg,#f3faf7,#e9f5ef); box-shadow: -5px 6px 0 #dceee5; }
body:has(main > .hero) .writer-identity img { box-shadow: 0 0 0 5px #fff, 0 0 0 6px #d1e7dc; }
body:has(main > .hero) .writer-identity h2 { color: #173b37; }
body:has(main > .hero) .writing-card,
body:has(main > .hero) .appearance-card { background: #fff; border: 1px solid #d5e3dc; border-radius: 22px; box-shadow: 0 9px 25px #152b3205; }
body:has(main > .hero) .appearances-grid { gap: 20px; }
body:has(main > .hero) .appearance-card { border-block-start: 4px solid #dceee5; }
body:has(main > .hero) .community-appearance { border-block-start-color: var(--yellow); }
body:has(main > .hero) .journey { gap: 20px; }
body:has(main > .hero) .journey article { border: 1px solid #cbded3; border-radius: 22px; background: #f0f8f4; box-shadow: 0 7px 0 #e1eee6; }
body:has(main > .hero) .journey .step { color: var(--ink); background: var(--yellow); border-radius: 11px; }
body:has(main > .hero) .journey article:focus-within { color: #fff; background: var(--ink); }
body:has(main > .hero) .faq { padding-inline: 32px; background: #fff; border-radius: 24px; box-shadow: 0 10px 32px #152b3205; }
body:has(main > .hero) .faq details { border-bottom-color: #e0eae5; }
body:has(main > .hero) .closing { margin-block: 24px 48px; padding: 36px 32px; background: linear-gradient(115deg,#dff2e8,#f2f8e9); border: 1px solid #c9dfd2; border-radius: 24px; box-shadow: -5px 6px 0 #e0ead8; }
body:has(main > .hero) footer { border-top: 1px solid #d5e4de; }
@media(hover:hover) {
 body:has(main > .hero) .journey article:hover { color:#fff; background:var(--ink); }
 body:has(main > .hero) .appearance-card:hover { background:#f3faf7; border-color:#a9cdbc; box-shadow:0 12px 28px #152b320a; }
}
@media(max-width:699px) {
 body:has(main > .hero) main > section:not(.hero):not(.closing) { margin-block:24px 32px; padding-block:28px; }
 body:has(main > .hero) #service,
 body:has(main > .hero) #about,
 body:has(main > .hero) .faq,
 body:has(main > .hero) .closing { padding:26px 20px; border-radius:20px; }
 body:has(main > .hero) .journey { gap:18px; }
 body:has(main > .hero) .writer-identity { gap:16px; }
 body:has(main > .hero) .writer-identity img { width:76px; height:76px; }
}
/* Keep the sticky header opaque and the screenshot-card headings off the edge. */
body:has(main > .hero) header { background: #fff; }
body:has(main > .hero) .writing-card > .writing-kind,
body:has(main > .hero) .writing-card > h3 { padding-inline: 18px; }
body:has(main > .hero) .writing-card > .writing-kind { padding-block-start: 12px; }
body:has(main > .hero) .writing-card > h3 { text-wrap: balance; }
