/* Generated from WPComfy by sitecomfy/tools/build-assets.py. Edit css/sitecomfy.css instead. */
/* =========================================================
   WPComfy — subpages: Care Log (blog), single post, contact.
   Builds on styles.css tokens and components.
   ========================================================= */

/* ---------- compact page hero with the pixel scene ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
  background: var(--night-0);
  isolation: isolate;
}

.page-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 12, 16, 0.88) 0%, rgba(8, 12, 16, 0.6) 40%, rgba(8, 12, 16, 0.1) 70%, transparent 85%),
    linear-gradient(180deg, rgba(8, 12, 16, 0.5) 0%, transparent 20%, transparent 70%, rgba(13, 18, 27, 0.95) 100%);
}

.page-hero-grid {
  display: grid;
  min-height: 460px;
  align-items: center;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 32px;
  padding-block: 56px 64px;
}

.page-hero h1 {
  max-width: 13em;
  font-size: clamp(40px, 5vw, 66px);
}

.page-hero .hero-intro {
  margin-bottom: 0;
}

.page-hero .comfy {
  --p: 3;
  justify-self: center;
  animation: hover-bob 1.8s steps(4, jump-none) infinite alternate;
}

/* ---------- topic chips ---------- */

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.chip {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: rgba(243, 248, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: #ebf1fb;
  font: 500 14px/1 var(--pixel);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 140ms ease,
    transform 120ms steps(2);
}

.chip:hover {
  background: rgba(243, 248, 255, 0.12);
  transform: translateY(-2px);
}

.chip[aria-pressed="true"],
.chip.is-current {
  background: var(--amber);
  box-shadow: 0 3px 0 0 var(--amber-deep);
  color: #1d130f;
}

.chip-count {
  opacity: 0.6;
  font-size: 12px;
}

/* ---------- pixel covers ---------- */

.cover {
  --tint: var(--amber);
  --base: #171f2b;
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  place-items: center;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--tint) 28%, transparent), transparent 55%),
    repeating-conic-gradient(rgba(255, 255, 255, 0.025) 0 25%, transparent 0 50%) 0 0 / 16px 16px,
    var(--base);
  isolation: isolate;
}

.cover::before {
  /* scattered pixel stars */
  position: absolute;
  top: 18%;
  left: 12%;
  width: 4px;
  height: 4px;
  background: var(--tint);
  box-shadow:
    120px 10px 0 0 color-mix(in srgb, var(--tint) 70%, transparent),
    60px 70px 0 0 color-mix(in srgb, var(--tint) 45%, transparent),
    210px 40px 0 0 color-mix(in srgb, var(--tint) 55%, transparent),
    250px 120px 0 0 color-mix(in srgb, var(--tint) 40%, transparent),
    20px 130px 0 0 color-mix(in srgb, var(--tint) 50%, transparent),
    170px 150px 0 0 color-mix(in srgb, var(--tint) 35%, transparent);
  content: "";
  opacity: 0.8;
  animation: blink 3.4s steps(1) infinite;
}

.cover::after {
  /* pixel hills along the bottom */
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 26%;
  background: color-mix(in srgb, var(--base) 55%, #000000);
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='16' shape-rendering='crispEdges'%3E%3Cpath d='M0 16V10H8V8H16V6H40V8H48V10H56V12H72V10H80V8H96V10H104V12H128V16z'/%3E%3C/svg%3E") 0 0 / 256px 100% repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='16' shape-rendering='crispEdges'%3E%3Cpath d='M0 16V10H8V8H16V6H40V8H48V10H56V12H72V10H80V8H96V10H104V12H128V16z'/%3E%3C/svg%3E") 0 0 / 256px 100% repeat-x;
}

.cover > svg {
  width: 96px;
  height: 96px;
  fill: var(--tint);
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--tint) 45%, transparent));
  transition: transform 220ms steps(3);
}

.cover--moss {
  --tint: #9dbcec;
  --base: #1d2633;
}

.cover--violet {
  --tint: var(--violet-hi);
  --base: #232b33;
}

.cover--dusk {
  --tint: #ffbba6;
  --base: #2a1f1a;
}

.cover--teal {
  --tint: #a2c2f3;
  --base: #131e2f;
}

.cover .pixel-img {
  --p: 3;
  width: calc(var(--w) * var(--p) * 1px);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(244, 178, 153, 0.25));
}

/* ---------- Care Log listing ---------- */

.section--log {
  padding-top: 64px;
  background: var(--night);
}

.log-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.log-toolbar .chips-row {
  margin-top: 0;
}

.log-count {
  color: var(--faint);
  font-family: var(--pixel);
  font-size: 14px;
}

.post-featured {
  display: grid;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--night-1);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease;
}

.post-featured:hover {
  border-color: rgba(244, 178, 153, 0.4);
}

.post-featured .cover {
  aspect-ratio: 16 / 11;
}

.post-featured-body {
  padding: 12px 24px 12px 0;
}

.post-featured h2 {
  margin: 14px 0 14px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.post-featured p {
  color: var(--muted);
  font-size: 17px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--faint);
  font-size: 13.5px;
}

.post-meta .cat {
  color: var(--amber);
  font-family: var(--pixel);
  font-size: 14px;
}

.post-meta .dot-sep {
  width: 3px;
  height: 3px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--amber-hi);
  font-weight: 600;
}

.read-more svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 160ms steps(2);
}

.post-featured:hover .read-more svg,
.post-card:hover .read-more svg {
  transform: translateX(4px);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.post-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px 12px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--night-1);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms steps(3);
}

.post-card:hover {
  border-color: rgba(244, 178, 153, 0.35);
  transform: translateY(-4px);
}

.post-card:hover .cover > svg {
  transform: translateY(-6px);
}

.post-card[hidden] {
  display: none;
}

.post-card .post-meta {
  margin: 18px 10px 0;
}

.post-card h3 {
  margin: 10px 10px 8px;
  font-size: 21px;
  line-height: 1.25;
}

.post-card p {
  margin: 0 10px;
  color: var(--muted);
  font-size: 15px;
}

.post-card .read-more {
  margin: auto 10px 0;
  padding-top: 18px;
  font-size: 14px;
}

.log-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  color: var(--faint);
  font-family: var(--pixel);
  font-size: 14px;
  text-align: center;
}

.log-end::before,
.log-end::after {
  width: 80px;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(244, 178, 153, 0.4) 0 4px, transparent 4px 10px);
  content: "";
}

.log-empty {
  padding: 48px 0;
  color: var(--muted);
  text-align: center;
}

/* ---------- "ask" band (paper) ---------- */

.ask-band {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 46em);
  gap: 40px;
}

.ask-band .button {
  margin-top: 22px;
}

.ask-band .pixel-img {
  --p: 2;
  width: calc(var(--w) * var(--p) * 1px);
  height: auto;
}

.ask-band h2 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ask-band p {
  color: var(--ink-soft);
}

.section--paper.section--compact {
  padding-block: 64px;
}

/* ---------- single post ---------- */

.read-progress {
  position: fixed;
  top: var(--header-h);
  right: 0;
  left: 0;
  z-index: 49;
  height: 4px;
  background: rgba(243, 248, 255, 0.05);
}

.read-progress b {
  display: block;
  width: 0;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--amber) 0 8px, transparent 8px 12px);
  box-shadow: 0 0 10px rgba(244, 178, 153, 0.45);
}

.page-hero--post .page-hero-grid {
  min-height: 520px;
  grid-template-columns: minmax(0, 1fr);
  padding-block: 56px 72px;
}

.page-hero--post h1 {
  max-width: 17em;
  margin-bottom: 20px;
  font-size: clamp(38px, 4.6vw, 62px);
}

.page-hero--post .hero-intro {
  max-width: 40em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 0;
  list-style: none;
  color: var(--faint);
  font-family: var(--pixel);
  font-size: 14px;
}

.breadcrumb a {
  color: #ebf1fb;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--amber-hi);
}

.breadcrumb li + li::before {
  margin-right: 8px;
  color: var(--amber);
  content: "›";
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.byline-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.byline-author img {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
}

.byline-author strong {
  display: block;
  color: var(--text);
}

.post-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 720px) minmax(0, 280px);
  justify-content: space-between;
  gap: 64px;
}

.post-layout > * {
  min-width: 0;
}

.post-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  gap: 20px;
}

.toc {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--night-1);
}

.toc-title {
  margin-bottom: 12px;
  color: var(--amber);
  font-family: var(--pixel);
  font-size: 14px;
}

.toc ol {
  display: grid;
  gap: 2px;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc a {
  display: grid;
  grid-template-columns: 26px 1fr;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  counter-increment: toc;
  transition: color 140ms ease;
}

.toc a::before {
  color: var(--faint);
  content: counter(toc, decimal-leading-zero);
  font-family: var(--pixel);
  font-size: 12px;
  line-height: 1.7;
}

.toc a:hover,
.toc a.is-active {
  color: var(--text);
}

.toc a.is-active::before {
  color: var(--amber);
}

.aside-cta {
  padding: 22px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
}

.aside-cta p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.aside-cta strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.2;
}

.aside-cta .button {
  width: 100%;
}

/* prose */

.prose {
  color: #ebf1f9;
  font-size: 18px;
  line-height: 1.75;
}

.prose > * + * {
  margin-top: 1.1em;
}

/* Diagrams get the same space above and below. The next heading drops its own
   (larger) top margin, so its pixel marker sits as far from the image as the text above. */
.prose .is-diagram {
  margin-top: clamp(36px, 6vw, 56px);
  margin-bottom: clamp(36px, 6vw, 56px);
}

.prose .is-diagram + * {
  margin-top: 0;
}

.prose .is-diagram img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.prose .lead {
  color: var(--text);
  font-size: 21px;
  line-height: 1.6;
}

.prose h2 {
  position: relative;
  margin-top: 2.2em;
  padding-top: 8px;
  color: var(--text);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  scroll-margin-top: calc(var(--header-h) + 28px);
}

.prose h2::before {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 14px;
  background: var(--amber);
  box-shadow: 16px 0 0 0 rgba(244, 178, 153, 0.45), 32px 0 0 0 rgba(244, 178, 153, 0.2);
  content: "";
}

.prose h3 {
  margin-top: 1.8em;
  color: var(--text);
  font-size: 22px;
  line-height: 1.3;
}

.prose a {
  color: var(--amber-hi);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.prose strong {
  color: var(--text);
}

.prose ul,
.prose ol {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 28px;
}

.prose ul li::before {
  position: absolute;
  top: 0.62em;
  left: 4px;
  width: 8px;
  height: 8px;
  background: var(--amber);
  content: "";
}

.prose ol {
  counter-reset: steps;
}

.prose ol li {
  position: relative;
  padding-left: 44px;
  counter-increment: steps;
}

.prose ol li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 6px;
  background: rgba(244, 178, 153, 0.12);
  box-shadow: inset 0 0 0 1px rgba(244, 178, 153, 0.35);
  color: var(--amber);
  content: counter(steps);
  font-family: var(--pixel);
  font-size: 14px;
  line-height: 1;
}

.prose blockquote {
  margin-block: 1.6em;
  padding: 4px 0 4px 26px;
  border-left: 4px solid var(--amber);
  color: var(--text);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.terminal {
  overflow: hidden;
  border-radius: 14px;
  background: var(--night-0);
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    8px 8px 0 0 rgba(0, 0, 0, 0.3);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--pixel);
  font-size: 12.5px;
}

.terminal-bar i {
  width: 8px;
  height: 8px;
  background: #434b56;
}

.terminal-bar i:first-child {
  background: var(--amber);
}

.terminal-bar span {
  margin-left: 8px;
}

.terminal pre {
  margin: 0;
  overflow-x: auto;
  padding: 18px 20px;
  color: #e8f1ff;
  font: 14.5px/1.7 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.terminal .c {
  color: #9197a1;
}

.terminal .p {
  color: var(--amber);
}

.comfy-tip {
  --b: 4px;
  --edge: #e9cec1;
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin-block: 2em !important;
  padding: 20px 22px;
  background: #121924;
  box-shadow:
    var(--b) 0 0 0 var(--edge),
    calc(var(--b) * -1) 0 0 0 var(--edge),
    0 var(--b) 0 0 var(--edge),
    0 calc(var(--b) * -1) 0 0 var(--edge),
    calc(var(--b) * 2) calc(var(--b) * 3) 0 0 rgba(0, 0, 0, 0.35);
}

.comfy-tip .pixel-img {
  width: 115px;
  height: auto;
}

.comfy-tip p {
  font-size: 16.5px;
  line-height: 1.6;
}

.comfy-tip-title {
  display: block;
  margin-bottom: 4px;
  color: var(--amber);
  font-family: var(--pixel);
  font-size: 15px;
}

.post-foot {
  display: grid;
  gap: 28px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.copy-link {
  margin-left: auto;
}

.author-box {
  display: grid;
  align-items: start;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--night-1);
}

.author-box img {
  width: 56px;
  height: 56px;
  image-rendering: pixelated;
}

.prose .author-box h3 {
  margin: 2px 0 6px;
  font-size: 20px;
}

.prose .author-box p {
  margin: 0;
}

.author-box p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.author-box .text-link {
  margin-top: 12px;
  font-size: 14px;
}

.related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.related-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.related-head .text-link {
  margin-top: 0;
}

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

.section--contact {
  padding-top: 56px;
  background: var(--night);
}

.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 12px 12px 0 0 rgba(0, 0, 0, 0.3);
  color: var(--ink);
}

.form-card fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-card fieldset + fieldset {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 2px dashed rgba(27, 32, 39, 0.14);
}

.form-card legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legend-step {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: var(--amber);
  font-family: var(--pixel);
  font-size: 14px;
  font-weight: 600;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.field + .field,
.field-row + .field,
.field + .field-row,
.field-row + .field-row {
  margin-top: 16px;
}

.field-row .field + .field {
  margin-top: 0;
}

.field label,
.field .label {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
}

.field .optional {
  color: var(--ink-soft);
  font-weight: 500;
}

.field-hint {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 2px solid rgba(27, 32, 39, 0.22);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  transition:
    border-color 120ms ease,
    box-shadow 120ms steps(2);
}

textarea.input {
  min-height: 116px;
  resize: vertical;
}

.input::placeholder {
  color: #abb0b8;
}

.input:hover {
  border-color: rgba(27, 32, 39, 0.38);
}

.input:focus {
  border-color: var(--ink);
  outline: none;
  box-shadow: 4px 4px 0 0 var(--amber);
}

.input:user-invalid,
.was-submitted .input:invalid {
  border-color: #b4442f;
  box-shadow: 4px 4px 0 0 rgba(180, 68, 47, 0.3);
}

.field-error {
  display: none;
  color: #9c3622;
  font-family: var(--pixel);
  font-size: 13px;
}

.input:user-invalid + .field-error,
.was-submitted .input:invalid + .field-error {
  display: block;
}

/* plan picker */

.plan-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.plan-option {
  position: relative;
}

.plan-option input {
  position: absolute;
  opacity: 0;
}

.plan-option span {
  display: grid;
  min-height: 66px;
  place-content: center;
  gap: 2px;
  padding: 10px 6px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(27, 32, 39, 0.16);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    box-shadow 120ms steps(2),
    transform 120ms steps(2);
}

.plan-option small {
  color: var(--ink-soft);
  font-family: var(--pixel);
  font-size: 12.5px;
  font-weight: 500;
}

.plan-option span:hover {
  transform: translateY(-2px);
}

.plan-option input:checked + span {
  background: var(--ink);
  box-shadow: 0 4px 0 0 var(--amber-deep), inset 0 0 0 2px var(--ink);
  color: #ffffff;
}

.plan-option input:checked + span small {
  color: var(--amber);
}

.plan-option input:focus-visible + span {
  outline: 3px solid var(--amber-deep);
  outline-offset: 2px;
}

/* pixel checkboxes */

.checks {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  cursor: pointer;
}

.check input {
  position: absolute;
  opacity: 0;
}

.check-box {
  display: grid;
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  place-items: center;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(27, 32, 39, 0.35);
}

.check-box svg {
  width: 12px;
  height: 12px;
  fill: #ffffff;
  opacity: 0;
}

.check input:checked + .check-box {
  background: var(--violet);
  box-shadow: inset 0 0 0 2px #6888a3;
}

.check input:checked + .check-box svg {
  opacity: 1;
}

.check input:focus-visible + .check-box {
  outline: 3px solid var(--amber-deep);
  outline-offset: 2px;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 32px;
}

.form-note {
  max-width: 30em;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.form-sent {
  display: none;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 14px;
  background: #e7f1ff;
  color: var(--ink);
}

.form-sent.is-visible {
  display: grid;
}

.form-sent img {
  width: 117px;
  height: auto;
}

.inline-link {
  color: var(--amber-hi);
  font-weight: 600;
  text-underline-offset: 3px;
}

.form-sent strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
}

.form-sent p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* contact aside */

.contact-aside {
  display: grid;
  gap: 18px;
}

/* Comfy rises out of the hero above the aside and watches the form. */
.contact-comfy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
}

.contact-comfy .comfy {
  --p: 3;
  animation: hover-bob 1.8s steps(4, jump-none) infinite alternate;
}

.contact-comfy .dialog-box {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  margin-top: 10px;
  animation: none;
}

.contact-comfy .dialog-box::before {
  left: 50%;
  margin-left: -6px;
}

.contact-comfy .dialog-box p {
  color: #eef5ff;
  font-size: 14.5px;
  line-height: 1.45;
}

@media (min-width: 981px) {
  .contact-comfy {
    margin-top: -290px;
  }
}

.info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--night-1);
}

.info-card .px-icon {
  width: 44px;
  height: 44px;
  margin: 0;
}

.info-card .px-icon svg {
  width: 24px;
  height: 24px;
}

.info-card strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15.5px;
}

.info-card--steps {
  display: block;
  padding: 22px;
}

.info-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.info-card-head strong {
  margin: 0;
  color: var(--text);
  font-size: 17px;
}

.info-card p,
.info-card a {
  color: var(--muted);
  font-size: 14.5px;
}

.info-card a {
  color: var(--amber-hi);
  font-weight: 600;
  text-underline-offset: 3px;
}

.next-steps {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.next-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  color: var(--muted);
  font-size: 14.5px;
}

.next-steps b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  background: rgba(244, 178, 153, 0.12);
  box-shadow: inset 0 0 0 1px rgba(244, 178, 153, 0.35);
  color: var(--amber);
  font-family: var(--pixel);
  font-size: 13px;
}

.next-steps strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.section--contact-faq {
  background: var(--night-1);
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
    order: -1;
  }

  .post-aside .aside-cta {
    display: none;
  }

  .plan-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .post-featured {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .post-featured-body {
    padding: 12px 10px 14px;
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    grid-template-columns: 1fr 1fr;
  }

  .contact-comfy {
    grid-row: span 3;
    align-content: start;
  }


}

@media (max-width: 820px) {
  .page-hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-block: 40px 48px;
  }

  .page-hero .comfy {
    --p: 2;
    justify-self: start;
  }

  .page-hero .hero-shade {
    background: linear-gradient(180deg, rgba(8, 12, 16, 0.8) 0%, rgba(8, 12, 16, 0.5) 55%, rgba(13, 18, 27, 0.95) 100%);
  }

  .post-aside {
    grid-template-columns: 1fr;
  }

  .prose {
    font-size: 17px;
  }

  .prose .lead {
    font-size: 19px;
  }

  .prose h2 {
    font-size: 27px;
  }
}

@media (max-width: 640px) {
  .post-grid,
  .field-row,
  .contact-aside {
    grid-template-columns: 1fr;
  }

  .field-row .field + .field {
    margin-top: 16px;
  }

  .plan-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-comfy {
    grid-row: auto;
  }

  .contact-comfy .comfy {
    --p: 2;
  }

  .ask-band {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .comfy-tip {
    grid-template-columns: 1fr;
  }

  .copy-link {
    margin-left: 0;
  }

  .related-head {
    display: block;
  }

  .related-head .text-link {
    margin-top: 12px;
  }
}

/* Care Log archives (WordPress): topic chips are links, the current one highlighted. */
a.chip {
	text-decoration: none;
}

.chips-row .chip .chip-count {
	margin-left: 2px;
}

.page-hero--archive .breadcrumb li[aria-current] {
	color: var(--text);
}

/* Simple text pages (legal, etc.) */
.page-hero--page .page-hero-grid {
	min-height: 320px;
	padding-block: 64px 48px;
}

.section--page {
	padding-top: 48px;
	background: var(--night);
}

.page-prose {
	max-width: 760px;
}

.page-prose h2 {
	font-size: 26px;
}

/* =========================================================
   Landing pages: Plans, WooCommerce care, For agencies
   ========================================================= */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.page-hero--landing .page-hero-grid {
	min-height: 520px;
}

.page-hero--landing h1 {
	max-width: 14em;
}

.page-hero--landing .hero-actions {
	margin-top: 32px;
}

.page-hero--landing .breadcrumb {
	margin-bottom: 18px;
}

.pose--hero {
	--p: 3;
	justify-self: center;
}

.pose--hero .pixel-img {
	width: calc(var(--w, 115) * 1px * var(--p));
}

/* ---------- plan comparison ---------- */

.section--compare {
	/* The wide table scrolls inside .compare-scroll; clip so mobile browsers don't widen the page. */
	overflow-x: clip;
	background: var(--night-1);
}

.section--compare .section-head {
	max-width: 760px;
	margin-bottom: 40px;
}

.compare-scroll {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(9, 14, 20, 0.45);
	-webkit-overflow-scrolling: touch;
}

.compare-scroll:focus-visible {
	outline: 3px solid var(--amber-deep);
	outline-offset: 3px;
}

.compare-table {
	width: 100%;
	min-width: 860px;
	border-collapse: collapse;
	font-size: 15px;
}

.compare-table th,
.compare-table td {
	padding: 15px 18px;
	border-bottom: 1px solid var(--line);
	text-align: center;
	vertical-align: middle;
}

.compare-table tbody th[scope="row"] {
	width: 34%;
	color: var(--text);
	font-weight: 600;
	text-align: left;
}

.compare-table tbody th[scope="row"] span {
	display: block;
	margin-top: 3px;
	color: var(--faint);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
}

.compare-table td {
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.compare-table td b {
	color: var(--text);
	font-size: 18px;
}

.compare-table td small {
	display: block;
	color: var(--faint);
	font-size: 12px;
}

.compare-table thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	padding-block: 20px;
	background: #0f151f;
	color: var(--text);
	font-family: var(--display);
	font-size: 19px;
	font-weight: 700;
}

.compare-table thead th small {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 500;
}

.compare-table thead th.is-featured {
	color: var(--amber);
}

.compare-table td:nth-child(4),
.compare-table thead th:nth-child(4) {
	background: rgba(244, 178, 153, 0.045);
}

.compare-group th {
	padding-top: 26px;
	background: transparent;
	color: var(--amber);
	font-family: var(--pixel);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.03em;
	text-align: left !important;
}

.compare-group span {
	position: sticky;
	left: 18px;
	display: inline-flex;
	align-items: center;
}

.compare-group svg {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 10px;
	vertical-align: -2px;
	fill: currentColor;
}

.c-yes,
.c-no {
	display: inline-block;
	width: 18px;
	height: 18px;
	vertical-align: middle;
}

.c-yes {
	background: var(--leaf);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath d='M6 1h2v1H6zM5 2h2v1H5zM0 3h2v1H0zM4 3h2v1H4zM1 4h4v1H1zM2 5h2v1H2z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath d='M6 1h2v1H6zM5 2h2v1H5zM0 3h2v1H0zM4 3h2v1H4zM1 4h4v1H1zM2 5h2v1H2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.c-no {
	width: 12px;
	height: 2px;
	background: rgba(231, 241, 255, 0.22);
}

.compare-table tfoot td,
.compare-table tfoot th {
	padding-block: 22px;
	border-bottom: 0;
}

.compare-table tfoot .plan-cta {
	min-height: 42px;
	padding-inline: 12px;
}

.compare-table tfoot td:nth-child(4) .plan-cta {
	background: var(--amber);
	box-shadow: 0 4px 0 0 var(--amber-deep);
	color: #1a1310;
}

.compare-hint {
	display: none;
	margin-top: 12px;
	color: var(--faint);
	font-size: 13px;
}

.page-hero--landing ~ .section .section-head + .cards-3 {
	margin-top: 44px;
}

/* ---------- limits / review lists ---------- */

.limits-grid {
	display: grid;
	align-items: start;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(32px, 6vw, 80px);
}

.limits-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.limits-list li {
	padding: 20px 22px;
	border: 1px solid var(--line-paper);
	border-radius: 14px;
	background: var(--paper-card);
	color: #595f68;
	font-size: 14.5px;
	line-height: 1.55;
}

.limits-list strong {
	display: block;
	margin-bottom: 6px;
	color: var(--ink);
	font-size: 16px;
}

/* ---------- check lists ---------- */

.check-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 12px;
	align-items: start;
	line-height: 1.5;
}

.check-list svg {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	fill: var(--leaf);
}

.check-list strong {
	display: block;
	margin-bottom: 2px;
}

/* ---------- WooCommerce offer ---------- */

.woo-included {
	display: grid;
	gap: 40px;
}

.woo-included .section-head {
	max-width: 720px;
}

.woo-offer {
	display: grid;
	align-items: start;
	grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
	gap: 28px;
}

.woo-offer .check-list {
	grid-template-columns: 1fr 1fr;
	gap: 22px 28px;
	padding: 30px;
	border: 1px solid var(--line-paper);
	border-radius: var(--radius);
	background: var(--paper-card);
	color: #595f68;
	font-size: 14.5px;
}

.woo-offer .check-list strong {
	color: var(--ink);
	font-size: 16px;
}

.woo-price {
	display: grid;
	gap: 12px;
	padding: 30px;
	border-radius: var(--radius);
	background: var(--night-1);
	color: var(--text);
}

.woo-price .plan-name {
	color: var(--amber);
	font-family: var(--pixel);
	font-size: 16px;
}

.woo-price .plan-price strong {
	color: var(--text);
}

.woo-price .plan-price span,
.woo-price-note {
	color: var(--muted);
	font-size: 14px;
}

.woo-price .button {
	justify-content: center;
	margin-top: 6px;
}

.woo-price-alt {
	color: var(--muted);
	font-size: 14px;
	text-align: center;
	text-underline-offset: 3px;
}

/* ---------- step row ---------- */

.step-row {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.step-row li {
	display: grid;
	align-content: start;
	gap: 8px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(9, 14, 20, 0.4);
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.5;
}

.step-row b {
	color: var(--amber);
	font-family: var(--sans);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.step-row strong {
	color: var(--text);
	font-size: 17px;
}

/* ---------- agency models & pricing ---------- */

.models-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	max-width: 980px;
	margin: 40px auto 0;
}

.model-card {
	padding: 32px;
	border: 1px solid var(--line-paper);
	border-radius: var(--radius);
	background: var(--paper-card);
	color: #595f68;
}

.model-card h3 {
	margin-bottom: 20px;
	color: var(--ink);
	font-size: 25px;
}

.white-label-badge--alt {
	background: var(--leaf);
	color: #101720;
}

.agency-pricing {
	display: grid;
	align-items: start;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(32px, 6vw, 72px);
}

.tier-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.tier {
	display: grid;
	align-content: start;
	gap: 16px;
	padding: 30px;
	border: 1px solid var(--line-paper);
	border-radius: var(--radius);
	background: var(--paper-card);
	color: #595f68;
	font-size: 14.5px;
}

.tier h3 {
	color: var(--ink);
	font-size: 24px;
}

.tier-label {
	color: var(--amber-deep);
	font-family: var(--pixel);
	font-size: 14px;
}

.tier-price {
	color: #595f68;
}

.tier-price strong {
	color: var(--ink);
	font-family: var(--display);
	font-size: 30px;
}

.tier .button {
	justify-content: center;
	margin-top: 6px;
}

.tier--featured {
	border-color: transparent;
	background: #252f38;
	color: #cbd4dc;
}

.tier--featured h3,
.tier--featured .tier-price strong {
	color: #ffffff;
}

.tier--featured .tier-price {
	color: #cbd4dc;
}

.tier--featured .tier-label {
	color: var(--amber);
}

.tier--featured .check-list svg {
	fill: var(--amber);
}

.button--ghost-dark {
	--shadow: rgba(27, 32, 39, 0.2);
	background: #ffffff;
	box-shadow:
		inset 0 0 0 1px rgba(27, 32, 39, 0.2),
		0 4px 0 0 rgba(27, 32, 39, 0.2);
	color: var(--ink);
}

@media (max-width: 1080px) {
	.step-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woo-offer,
	.agency-pricing,
	.limits-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 820px) {
	.page-hero--landing .page-hero-grid {
		min-height: 0;
	}

	.pose--hero {
		display: none;
	}

	.compare-hint {
		display: block;
	}

	.compare-table {
		min-width: 720px;
		font-size: 14px;
	}

	.compare-table th,
	.compare-table td {
		padding: 12px 12px;
	}

	.compare-table tbody th[scope="row"] {
		position: sticky;
		left: 0;
		z-index: 1;
		width: 190px;
		background: #0f151f;
	}

	.limits-list,
	.woo-offer .check-list,
	.models-grid,
	.tier-grid,
	.step-row {
		grid-template-columns: 1fr;
	}
}
