/* ==========================================================
   WebJi® — index2 preview theme ("Paper & Ink")
   Warm paper, ink black, tangerine accent, hard offset shadows.
   Fonts: Bricolage Grotesque (display) + Instrument Sans (body)
   ========================================================== */

:root {
  --paper: #F7F3EA;
  --paper-2: #EFE8D8;
  --ink: #1A1712;
  --ink-soft: #544D40;
  --ink-muted: #6B6355;
  --accent: #E8490F;
  --accent-strong: #B23505;
  --accent-deep: #9C2E06;
  --green: #23523C;
  --green-tint: #DFE9DE;
  --butter: #F5D66B;
  --line: rgba(26, 23, 18, .16);
  --r: 16px;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Instrument Sans", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px;
  z-index: 200; background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: 0 0 10px 10px;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }

/* ---------- mono labels / eyebrows ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }

.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 68ch; }

/* inline text link inside prose, tables and answers */
.text-link {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--accent); }

/* ---------- skip target offsets under the sticky header ---------- */
:target { scroll-margin-top: calc(var(--header-h) + 20px); }
section[id], h2[id], h3[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* ---------- header ---------- */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .8rem;
  padding: 8px 0;
  text-align: center;
  letter-spacing: .04em;
}
.topbar a { color: var(--butter); border-bottom: 1px dotted var(--butter); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  min-width: 0;
}
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { height: 36px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 0; min-width: 0; }
.main-nav > .nav-item { position: relative; }
.nav-link {
  display: inline-block;
  padding: 8px 9px;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  border-radius: 999px;
  transition: background .15s;
}
.nav-link:hover { background: var(--paper-2); }
.nav-link .chev { font-size: .7em; opacity: .6; margin-left: 1px; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 10px;
  display: none;
  flex-direction: column;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: flex; }
.dropdown a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--paper-2); color: var(--accent-deep); }
.dropdown--mega { width: 480px; flex-wrap: wrap; }
.dropdown--mega a { width: 50%; }
.mega-col-head {
  width: 100%;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--accent-deep);
  padding: 10px 12px 2px;
}
.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone { font-family: var(--font-mono); font-size: .82rem; white-space: nowrap; }
.header-cta .btn { padding: 10px 20px; font-size: .92rem; white-space: nowrap; }
.mobile-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.mobile-menu { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-body);
  line-height: 1.3;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn--primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent-deep);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--accent); }
.btn--ink:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--accent); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--paper-2); }
.btn--big { padding: 16px 32px; font-size: 1.02rem; }

/* ---------- sticker badge ---------- */
.sticker {
  display: inline-block;
  background: var(--butter);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  box-shadow: var(--shadow-sm);
}
.sticker--accent { background: var(--accent-strong); color: #fff; }
.sticker--green { background: var(--green-tint); }
.tilt { transform: rotate(-2.5deg); }

/* ---------- breadcrumbs ---------- */
.crumbs {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--ink-muted);
  padding: 18px 0 0;
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-muted); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 48px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 44px;
  align-items: center;
}
.hero h1 .hl {
  color: var(--accent-strong);
  position: relative;
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .02em;
  height: .14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='10' viewBox='0 0 80 10'%3E%3Cpath d='M0 5 Q10 0 20 5 T40 5 T60 5 T80 5' fill='none' stroke='%23F5D66B' stroke-width='5'/%3E%3C/svg%3E") repeat-x;
  background-size: 80px 10px;
  z-index: -1;
}
.hero-promise {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin-top: 10px;
}
.hero-sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; margin: 18px 0 22px; }

.answer-box {
  border: 1.5px dashed var(--ink);
  border-radius: var(--r);
  background: #fff;
  padding: 20px 22px 18px;
  font-size: .98rem;
  color: var(--ink-soft);
  margin: 22px 0;
  position: relative;
}
.answer-box p { margin: 0; }
.answer-box strong { color: var(--ink); }
.answer-box .answer-label {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.answer-box a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 26px; }
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
}
.trust-item .tick {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  font-size: .75rem;
  border: 1.5px solid var(--green);
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-side { position: relative; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.stamp {
  width: 156px; height: 156px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .8rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .08em;
  transform: rotate(6deg);
}
.stamp b { display: block; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0; text-transform: none; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; margin: 0; }
.mini-card {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.mini-card dt {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-deep);
}
.mini-card dd { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; margin: 0; }
.mini-card:nth-child(2) { transform: rotate(1.6deg); background: var(--butter); }
.mini-card:nth-child(3) { transform: rotate(-1.2deg); }

/* ---------- stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stats-bar > div {
  padding: 20px 22px;
  border-left: 1.5px solid var(--line);
}
.stats-bar > div:first-child { border-left: 0; }
.stats-bar dt { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-muted); }
.stats-bar dd { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; margin: 0; line-height: 1.2; }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--green);
  color: var(--paper);
  overflow: hidden;
  padding: 12px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  animation: scroll 28s linear infinite;
}
.marquee-track span::after { content: "✳"; margin-left: 48px; color: var(--butter); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .lead { color: #C9C2B4; }
.section--ink h2, .section--ink h3 { color: var(--paper); }
.section-head { max-width: 780px; margin-bottom: 36px; }
.section-head .lead { margin-top: 10px; }
.section--ink .eyebrow { color: var(--butter); }
.section--ink .eyebrow::before { background: var(--butter); }
.prose { max-width: 74ch; }
.prose p { margin-bottom: 18px; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }
.prose ol { margin: 0 0 18px 22px; }
.prose ol li { margin-bottom: 8px; color: var(--ink-soft); }
.prose ol li strong { color: var(--ink); }

/* ---------- in-page contents ---------- */
.toc {
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  background: #fff;
  padding: 22px 24px;
  margin: 8px 0 0;
  box-shadow: var(--shadow-sm);
}
.toc .toc-title {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.toc ol { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 24px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: block;
  padding: 6px 0;
  font-weight: 600;
  font-size: .95rem;
  border-bottom: 1px solid transparent;
}
.toc a::before { content: counter(toc, decimal-leading-zero) " "; font-family: var(--font-mono); font-size: .78rem; color: var(--accent-deep); }
.toc a:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }

/* ---------- pricing cards ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan--hot {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-1deg);
  box-shadow: var(--shadow);
}
.plan--hot .plan-price .amt, .plan--hot h3 { color: var(--butter); }
.plan--hot .feat li { border-color: rgba(247,243,234,.2); color: #D8D1C2; }
.plan-tag {
  position: absolute;
  top: -15px;
  left: 24px;
}
.plan h3 { margin-bottom: 4px; font-size: 1.35rem; }
.plan .for { font-size: .92rem; color: var(--ink-soft); margin-bottom: 14px; }
.plan--hot .for { color: #B9B2A3; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 2px; }
.plan-price .amt { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; }
.plan-price .per { font-family: var(--font-mono); font-size: .85rem; }
.plan-year { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-muted); margin-bottom: 18px; }
.plan--hot .plan-year { color: #B9B2A3; }
.feat { list-style: none; margin-bottom: 24px; flex: 1; }
.feat li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  display: flex;
  gap: 10px;
}
.feat li::before { content: "→"; color: var(--accent); font-weight: 700; }
.plan .btn { justify-content: center; }
.plan-note {
  font-size: .95rem;
  color: var(--ink-soft);
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}

/* term switcher */
.switcher {
  display: inline-flex;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 32px;
}
.switcher button {
  border: 0;
  background: transparent;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: .8rem;
  cursor: pointer;
  letter-spacing: .04em;
}
.switcher button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.switcher button:not([aria-pressed="true"]):hover { background: var(--paper-2); }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; margin: 8px 0 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-muted);
  padding: 12px 16px 4px;
}
th {
  font-family: var(--font-mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
  background: var(--paper-2);
}
td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--paper); }
td.price-cell { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; white-space: nowrap; }
table a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.fineprint { font-size: .82rem; color: var(--ink-muted); margin-top: 10px; }
.data-date {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ink-muted);
  display: block;
  margin-top: 10px;
}

/* ---------- FAQ (native disclosure) ---------- */
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1.5px solid var(--ink); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  padding: 20px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-deep); }
.faq-item summary .pm {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent-strong);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] summary .pm { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--accent-deep); }
.faq-a { padding: 0 8px 22px; color: var(--ink-soft); max-width: 74ch; }
.faq-a p + p { margin-top: 12px; }
.faq-a a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- CTA band ---------- */
.cta-band {
  border-top: 1.5px solid var(--ink);
  padding: 68px 0;
  text-align: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(232,73,15,.10), transparent 34%),
    radial-gradient(circle at 86% 70%, rgba(245,214,107,.45), transparent 40%),
    var(--paper-2);
}
.cta-band h2 { margin: 18px 0 14px; }
.cta-band p { max-width: 62ch; margin: 0 auto 28px; color: var(--ink-soft); }
.cta-band .hero-cta-group { justify-content: center; }

/* ---------- figures / diagrams ---------- */
.figure {
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow);
  margin: 0;
}
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption {
  font-size: .88rem;
  color: var(--ink-soft);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.figure figcaption strong { color: var(--ink); }
.figure--photo { padding: 12px; }
.figure--photo img { border-radius: 12px; border: 1.5px solid var(--ink); }

/* ---------- hub blocks ---------- */
.hub-block {
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  background: #fff;
  padding: 28px;
  margin-bottom: 26px;
}
.hub-block:last-child { margin-bottom: 0; }
.hub-block-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.hub-block-head > div { min-width: 0; }
.hub-block-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.hub-block-head p { color: var(--ink-soft); font-size: .98rem; max-width: 70ch; }
.h-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
}
.h-icon svg { width: 22px; height: 22px; }

/* ---------- why cards ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-grid--2 { grid-template-columns: 1fr 1fr; }
.why-card {
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.section--ink .why-card {
  background: #241F18;
  border-color: var(--paper);
  box-shadow: 5px 5px 0 var(--butter);
}
.why-card .w-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--green-tint);
  border: 1.5px solid var(--ink);
  margin-bottom: 14px;
}
.section--ink .why-card .w-icon { background: #2F4A3A; border-color: var(--paper); color: var(--butter); }
.why-card .w-icon svg { width: 20px; height: 20px; }
.why-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.why-card p { font-size: .94rem; color: var(--ink-soft); }
.section--ink .why-card p { color: #C9C2B4; }

/* ---------- scope / deliverable list ---------- */
.checklist { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px 28px; }
.checklist li { position: relative; padding-left: 28px; font-size: .97rem; color: var(--ink-soft); }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  font-weight: 700;
  color: var(--green);
}
.checklist strong { color: var(--ink); }

/* ---------- two-col prose ---------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }

/* timeline (about) */
.timeline { margin: 8px 0 0; }
.tl-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.tl-row:last-child { border-bottom: 0; }
.tl-year { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--accent-deep); }
.tl-what { color: var(--ink-soft); font-size: .97rem; }
.tl-what strong { color: var(--ink); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: start; }
.chan {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.chan .ic {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
}
.chan .ic svg { width: 20px; height: 20px; }
.chan h3 { font-size: 1.08rem; margin-bottom: 4px; }
.chan p { color: var(--ink-soft); font-size: .95rem; }
.chan .mono { font-family: var(--font-mono); font-size: .95rem; color: var(--accent-deep); font-weight: 500; overflow-wrap: anywhere; }
.chan--24 .ic { background: var(--green-tint); }
.badge-24h {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .68rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: .1em;
}

/* review quote */
.review-quote {
  background: var(--butter);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
  max-width: 560px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.45;
}
.review-meta { font-family: var(--font-mono); font-size: .78rem; margin-top: 14px; color: var(--ink-soft); font-weight: 400; }
.review-meta a { text-decoration: underline; text-underline-offset: 2px; }
.stars { color: var(--accent-deep); letter-spacing: 2px; }

/* hub link grid */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.service-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  padding: 13px 16px;
  font-weight: 600;
  font-size: .93rem;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.service-link:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-sm); background: #fff; }
.service-link .arrow { color: var(--accent-strong); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1.1fr;
  gap: 30px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(247,243,234,.18);
}
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-wordmark {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -.02em;
  color: var(--paper);
  margin-bottom: 16px;
}
.footer-wordmark sup { font-size: .45em; vertical-align: super; }
.footer-brand p { font-size: .9rem; color: #C9C2B4; max-width: 36ch; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
  font-size: .85rem;
  transition: background .15s, color .15s;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--butter);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: .9rem; color: #C9C2B4; }
.footer-col a:hover { color: var(--butter); }
.footer-contact li { display: flex; gap: 10px; color: #C9C2B4; font-size: .9rem; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 4px; flex-shrink: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: #A29B8D;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer-bottom a:hover { color: var(--butter); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .header-phone { display: none; }
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--paper);
    z-index: 100;
    padding: 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu-close {
    background: none;
    border: 1.5px solid var(--ink);
    border-radius: 10px;
    padding: 6px 14px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-bottom: 18px;
  }
  .m-nav { list-style: none; }
  .m-nav > li { border-bottom: 1px solid var(--line); }
  .m-nav a, .m-expand {
    display: block;
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    padding: 14px 4px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    color: var(--ink);
  }
  .m-expand { display: flex; justify-content: space-between; align-items: center; }
  .m-sub { padding-bottom: 8px; }
  .m-sub[hidden] { display: none; }
  .m-sub a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .95rem;
    padding: 9px 4px 9px 20px;
    color: var(--ink-soft);
  }
}
@media (max-width: 860px) {
  .hero-grid, .cols-2, .contact-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 36px; }
  .hero-side { display: none; }
  .plan--hot { transform: none; }
  .section { padding: 56px 0; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stats-bar > div:nth-child(3) { border-left: 0; border-top: 1.5px solid var(--line); }
  .stats-bar > div:nth-child(4) { border-top: 1.5px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .toc ol { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-trust { display: none; }
  .answer-box { padding: 16px 16px 14px; font-size: .94rem; }
  .hub-block { padding: 20px; }
  .hub-block-head { gap: 12px; }
  .h-icon { width: 38px; height: 38px; }
  .sticker { font-size: .7rem; padding: 6px 12px; }
  .btn--big { padding: 14px 24px; }
  .plan { padding: 24px 20px; }
  .review-quote { font-size: 1.05rem; padding: 20px; }
}

/* ==========================================================
   Converted-page components (flow content, tools, domain search)
   ========================================================== */
.section--toc { padding: 28px 0 8px; }
.section--toc .toc { margin: 0; }
.section--intro { padding: 44px 0 8px; }
.section > .container > h2 { margin-bottom: 20px; max-width: 900px; }
.flow { max-width: 100%; }
.flow > p, .flow > ul, .flow > ol, .flow > blockquote:not(.review-quote), .flow > pre { max-width: 76ch; }
.flow > * + * { margin-top: 16px; }
.flow p { color: var(--ink-soft); }
.flow strong { color: var(--ink); }
.flow a:not(.btn):not(.service-link) {
  color: var(--accent-deep); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
.flow h3 { font-size: 1.22rem; margin-top: 30px; }
.flow .lead { font-size: 1.12rem; }
.section--ink .flow p, .section--ink .flow li { color: #C9C2B4; }
.section--ink .flow strong { color: var(--paper); }
.section--ink .flow a:not(.btn) { color: var(--butter); text-decoration-color: var(--butter); }
.section--ink .review-quote { margin-top: 22px; }

ul.bullets { list-style: none; }
ul.bullets li { position: relative; padding-left: 22px; margin-bottom: 9px; color: var(--ink-soft); }
ul.bullets li::before { content: "→"; position: absolute; left: 0; color: var(--accent-strong); font-weight: 700; }
.flow ul:not([class]) { padding-left: 22px; }
.flow ul:not([class]) li, .flow ol:not([class]) li { margin-bottom: 8px; color: var(--ink-soft); }
.flow ol:not([class]) { padding-left: 24px; }
ol.steps { list-style: none; counter-reset: step; }
ol.steps li {
  counter-increment: step; position: relative;
  padding: 14px 16px 14px 60px; margin-bottom: 10px;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 12px;
  color: var(--ink-soft);
}
ol.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 16px; top: 13px;
  font-family: var(--font-mono); font-weight: 500; color: var(--accent-deep);
}
.flow .checklist { max-width: none; }

pre {
  background: var(--ink); color: #F1EBDD;
  border-radius: 12px; padding: 18px 20px;
  overflow-x: auto; font-family: var(--font-mono); font-size: .88rem; line-height: 1.6;
  border: 1.5px solid var(--ink);
}
code { font-family: var(--font-mono); font-size: .9em; }
:not(pre) > code { background: var(--paper-2); padding: 1px 6px; border-radius: 5px; color: var(--ink); }

.flow .figure { max-width: 760px; }
.flow .figure img { display: block; width: 100%; height: auto; }

.ref-list { padding-left: 22px; font-size: .92rem; color: var(--ink-soft); }
.ref-list li { margin-bottom: 8px; overflow-wrap: anywhere; }
.ref-date, .ref-note { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-muted); }

.plans-wrap { margin-top: 24px; }

/* domain search */
.domsearch { background: var(--ink); color: var(--paper); padding: 30px 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.domsearch-form { display: flex; gap: 12px; max-width: 760px; }
.domsearch-form input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 1.05rem; padding: 14px 20px;
  border-radius: 999px; border: 1.5px solid var(--paper); background: var(--paper); color: var(--ink);
}
.domsearch-form .btn { border-color: var(--paper); }
.domsearch-note { font-family: var(--font-mono); font-size: .8rem; color: #C9C2B4; margin-top: 12px; max-width: 76ch; }
.domsearch-note a { color: var(--butter); text-decoration: underline; }

/* calculators (wj-calc) and live tools (wjt) */
.wj-calc, .wjt {
  background: #fff; border: 1.5px solid var(--ink); border-radius: 20px;
  padding: 26px; box-shadow: var(--shadow); margin-top: 20px;
}
.wj-calc h3 { margin: 0 0 16px; }
.wjt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.wjt-head h2 { font-size: 1.5rem; margin: 0; }
.wjt-tag {
  font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  background: var(--green-tint); color: var(--green); border: 1.5px solid var(--green);
  border-radius: 999px; padding: 4px 12px;
}
.wj-calc-grid, .wjt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.wj-calc-field label, .wjt-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.wj-calc-field input, .wj-calc-field select, .wjt-field input, .wjt-field select, .wjt-field textarea {
  width: 100%; font: inherit; padding: 11px 14px;
  border: 1.5px solid var(--ink); border-radius: 10px; background: var(--paper);
}
.wj-calc-field small, .wjt-field small { display: block; font-size: .8rem; color: var(--ink-muted); margin-top: 4px; }
.wj-calc-range { display: flex; align-items: center; gap: 10px; }
.wj-calc-range input { flex: 1; accent-color: var(--accent-strong); padding: 0; border: 0; background: none; }
.wj-calc-range output { font-family: var(--font-mono); font-size: .85rem; min-width: 3.5em; }
.wj-calc-out, .wjt-result { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 20px; }
.wj-calc-cell, .wjt-result > div {
  background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 12px; padding: 14px 16px;
}
.wj-calc-cell b, .wjt-result b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.wj-calc-cell span, .wjt-result span { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); }
.wj-calc-main, .wjt-main { background: var(--butter) !important; }
.wj-calc-note, .wjt-note { font-size: .88rem; color: var(--ink-soft); margin-top: 16px; }
.wjt-actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.wjt-err, .wjt-status { display: none; margin-top: 12px; font-size: .92rem; padding: 10px 14px; border-radius: 10px; }
.wjt-err.wjt-show { display: block; background: #FBE3DA; color: var(--accent-deep); border: 1.5px solid var(--accent-deep); }
.wjt-status.wjt-show { display: block; background: var(--green-tint); color: var(--green); border: 1.5px solid var(--green); }
.wjt-pre { background: var(--ink); color: #F1EBDD; border-radius: 12px; padding: 14px 16px; overflow-x: auto; }
.wjt-pre code { background: none; color: inherit; white-space: pre; }

/* WordPress / plan comparison table */
.wjpxB-tbl td, .wjpxB-tbl th { vertical-align: middle; }
.wjpxB-plan { display: block; font-weight: 700; }
.wjpxB-plan small { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-muted); }
.wjpxB-num { font-family: var(--font-display); font-weight: 800; white-space: nowrap; }
.wjpxB-save, .wjpxB-chip, .wjpxB-tag { font-family: var(--font-mono); font-size: .72rem; color: var(--green); }
.wjpxB-hot { background: #FFF8E1; }
.wjpxB-btn {
  display: inline-block; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem;
  background: var(--accent-strong); color: #fff !important; border: 1.5px solid var(--ink); text-decoration: none !important;
}
.wjpxB-btn-ghost { background: transparent; color: var(--ink) !important; }
.wjpx-sub, .wjpx-note { font-size: .85rem; color: var(--ink-muted); }

@media (max-width: 560px) {
  .domsearch-form { flex-direction: column; }
  .wj-calc, .wjt { padding: 18px; }
}

/* ---- Mobile overflow fix layer (15 Nov 2026): long inline code + unwrapped tables ---- */
:not(pre) > code { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  main table { display: block; overflow-x: auto; }
}
/* long plain-text strings (paths/URLs) must wrap inside their paragraph */
main p, main li, main td, main th, main figcaption, main caption, .hero-sub, .answer-box p, .data-date { overflow-wrap: break-word; }
