/* =========================================================
   World Project Enterprises — site styles
   ========================================================= */

:root {
  --ink: #0a0d14;
  --ink-2: #121722;
  --ink-3: #1b2230;
  --line-dark: rgba(255, 255, 255, 0.09);
  --text-on-dark: #e8ecf3;
  --muted-on-dark: #9aa4b5;

  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --text: #121722;
  --muted: #5b6475;
  --line: #e4e8ef;

  --accent: #3d7bff;
  --accent-2: #22c3e6;
  --accent-ink: #1f5ee8;
  --accent-soft: #eaf1ff;
  --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 20px 50px rgba(16, 24, 40, 0.12);

  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: inherit;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  font: 600 0.98rem/1 var(--font-body);
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(61, 123, 255, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(61, 123, 255, 0.45); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.btn-outline { background: #fff; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-sm { padding: 10px 18px; font-size: 0.92rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(10, 13, 20, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--muted-on-dark);
  font-weight: 500; font-size: 0.97rem;
  padding: 9px 14px; border-radius: 999px;
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: #fff; }
.nav .btn { margin-left: 10px; color: #fff; padding: 11px 20px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark);
  color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 20px 24px;
    background: #0a0d14;
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .nav .btn { margin: 10px 0 0; }
  .site-header.menu-open { background: #0a0d14; }
}

/* ---------- Hero (dark) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: var(--text-on-dark);
  padding: calc(var(--header-h) + 90px) 0 110px;
  isolation: isolate;
}
.hero::before {
  /* grid texture */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after {
  /* glow */
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -260px; top: -380px;
  background: radial-gradient(circle, rgba(61, 123, 255, 0.35) 0%, rgba(34, 195, 230, 0.12) 40%, transparent 70%);
  filter: blur(10px);
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted-on-dark); max-width: 58ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.8rem/1 var(--font-body);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.hero .eyebrow, .dark .eyebrow { color: var(--accent-2); }

.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: center; }
.hero-mark {
  justify-self: center;
  width: min(340px, 100%); aspect-ratio: 1;
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  border: 1px solid var(--line-dark);
  display: grid; place-items: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero-mark img { width: 62%; aspect-ratio: 1; object-fit: cover; object-position: left center; filter: drop-shadow(0 10px 30px rgba(61,123,255,0.35)); }

.hero-sm { padding: calc(var(--header-h) + 70px) 0 80px; }
.hero-sm h1 { max-width: 22ch; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.hero-stats div { flex: 1 1 0; min-width: 130px; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.hero-stats span { font-size: 0.92rem; color: var(--muted-on-dark); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .hero { padding: calc(var(--header-h) + 56px) 0 80px; }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section.dark { background: var(--ink); color: var(--text-on-dark); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: var(--muted-on-dark); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 700px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d3dbe8; }
.card h3 { margin-top: 18px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .link-arrow { margin-top: 18px; }

.icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink);
}
.icon svg { width: 26px; height: 26px; }
.card-featured { background: var(--ink); border-color: var(--ink-3); color: var(--text-on-dark); }
.card-featured h3 { color: #fff; }
.card-featured p { color: var(--muted-on-dark); }
.card-featured .icon { background: rgba(61,123,255,0.16); color: #8fb4ff; }
.card-featured .link-arrow { color: #8fb4ff; }
.tag {
  position: absolute; top: 22px; right: 22px;
  font: 600 0.72rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 999px;
  background: rgba(34,195,230,0.14); color: var(--accent-2);
}

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .18s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Divisions (two-up) ---------- */
.division {
  border-radius: 24px; padding: 44px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex; flex-direction: column;
}
.division.dark-card { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink-3); position: relative; overflow: hidden; }
.division.dark-card::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -200px;
  background: radial-gradient(circle, rgba(61,123,255,0.35), transparent 65%);
}
.division.dark-card h3 { color: #fff; }
.division.dark-card p, .division.dark-card li { color: var(--muted-on-dark); }
.division h3 { font-size: 1.7rem; margin: 22px 0 12px; }
.division p { color: var(--muted); }
.division .btn { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }
.division ul { margin: 6px 0 32px; }
@media (max-width: 680px) { .division { padding: 30px; } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--muted); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5ee8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.dark-card .checklist li::before, .dark .checklist li::before {
  background-color: rgba(61,123,255,0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fb4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split p { color: var(--muted); }
.quote {
  margin-top: 28px; padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; color: var(--text);
}

.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font: 700 1.1rem/1 var(--font-head); color: #fff; background: var(--grad);
}
.step h4 { margin: 4px 0 6px; }
.step p { margin: 0; font-size: 0.97rem; }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.clients figure {
  margin: 0; height: 110px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; padding: 14px; overflow: hidden;
  filter: grayscale(1); opacity: .85; transition: filter .2s ease, opacity .2s ease;
}
.clients figure:hover { filter: none; opacity: 1; }
.clients img { max-height: 76px; width: auto; max-width: 100%; object-fit: contain; border-radius: 6px; }
@media (max-width: 900px) { .clients { grid-template-columns: repeat(2, 1fr); } .clients figure:last-child { grid-column: 1 / -1; } }

/* ---------- Service detail cards (WP Tech) ---------- */
.service { display: flex; flex-direction: column; }
.service h3 { margin-top: 18px; }
.service > p { color: var(--muted); }
.service .checklist { margin: 8px 0 22px; }
.benefit {
  margin-top: auto; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-soft); font-size: 0.95rem; color: var(--text);
}
.benefit strong { color: var(--accent-ink); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: 64px;
  background: var(--ink); color: var(--text-on-dark);
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; width: 600px; height: 600px; left: -200px; top: -300px;
  background: radial-gradient(circle, rgba(61,123,255,0.35), transparent 65%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: var(--muted-on-dark); margin: 0; }
.cta-band .hero-actions { justify-content: flex-end; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; } .cta-band .hero-actions { justify-content: flex-start; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list .icon { width: 46px; height: 46px; border-radius: 12px; flex: none; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: 0.85rem; }
.contact-list a, .contact-list span.v { font-weight: 600; color: var(--text); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .form-card { padding: 24px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field label .req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-soft);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(61, 123, 255, 0.15);
}
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }
.form-card .btn { width: 100%; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  color: inherit; text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card time { font-size: 0.82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); }
.post-card h3 { font-size: 1.18rem; margin: 10px 0 10px; color: var(--text); }
.post-card p { color: var(--muted); font-size: 0.96rem; margin: 0 0 18px; }
.post-card .link-arrow { margin-top: auto; color: var(--accent-ink); font-size: 0.95rem; }

.post-card.featured { grid-column: 1 / -1; flex-direction: row; }
.post-card.featured .thumb { flex: 1.15; aspect-ratio: auto; min-height: 340px; }
.post-card.featured .body { flex: 1; padding: 40px; justify-content: center; }
.post-card.featured h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
@media (max-width: 800px) {
  .post-card.featured { flex-direction: column; }
  .post-card.featured .thumb { min-height: 0; aspect-ratio: 16 / 10; }
  .post-card.featured .body { padding: 24px; }
}

.blog-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 56px; }
@media (max-width: 860px) { .blog-tools { grid-template-columns: 1fr; } }
.panel { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: #fff; }
.panel h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.panel h3 svg { width: 20px; height: 20px; color: var(--accent-ink); }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.panel li a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); color: var(--text); font-weight: 500; font-size: 0.95rem; }
.panel li a:hover { text-decoration: none; background: var(--accent-soft); color: var(--accent-ink); }
.panel li a svg { width: 16px; height: 16px; flex: none; }
.panel p { color: var(--muted); font-size: 0.95rem; }
.inline-form { display: flex; gap: 10px; }
.inline-form input {
  flex: 1; min-width: 0; font: inherit; padding: 12px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-soft);
}
.inline-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(61,123,255,.15); background: #fff; }
@media (max-width: 460px) { .inline-form { flex-direction: column; } }

/* Article */
.article-hero { padding-bottom: 150px; }
.article-hero .meta { color: var(--muted-on-dark); font-size: 0.95rem; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.article-hero .meta a { color: var(--muted-on-dark); }
.article-hero h1 { max-width: 24ch; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.article-cover {
  width: min(960px, 100% - 40px); margin: -110px auto 0; position: relative; z-index: 2;
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-soft);
}
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.prose { width: min(740px, 100% - 40px); margin: 56px auto 0; font-size: 1.08rem; line-height: 1.8; }
.prose h2 { font-size: 1.8rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.45rem; margin: 1.9em 0 .6em; }
.prose h4 { margin: 1.6em 0 .5em; }
.prose p { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.prose li { margin: .45em 0; }
.prose li > ul, .prose li > ol { margin: .4em 0 .2em; }
.prose li::marker { color: var(--accent-ink); font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-color: rgba(61,123,255,.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose .callout {
  margin: -0.3em 0 1.8em; padding: 18px 20px;
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0; font-size: 1rem; line-height: 1.7;
}
.prose .callout a.buy {
  display: inline-flex; margin-top: 10px; padding: 9px 18px; border-radius: 999px;
  background: var(--grad); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem;
}
.prose .callout a.buy:hover { box-shadow: 0 8px 20px rgba(61,123,255,.35); }
.disclosure { width: min(740px, 100% - 40px); margin: 40px auto 0; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
.share { width: min(740px, 100% - 40px); margin: 28px auto 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.share span { font-weight: 600; margin-right: 6px; }
.share a, .share button {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent-ink); }
.share svg { width: 18px; height: 18px; }

/* ---------- Policies ---------- */
.policy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .policy-layout { grid-template-columns: 1fr; gap: 24px; } }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc nav { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.toc strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 4px 10px 10px; }
.toc a { padding: 9px 10px; border-radius: 8px; color: var(--text); font-size: .95rem; }
.toc a:hover { background: var(--bg-soft); text-decoration: none; }
.toc a.sub { padding-left: 22px; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .toc { position: static; } }
.policy-doc { max-width: 760px; }
.policy-doc .prose { width: auto; margin: 0; }
.policy-doc section + section { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.policy-doc .effective { display: inline-block; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: 72px 0 32px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img { height: 46px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted-on-dark); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pill { padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: var(--text-on-dark); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; line-height: 1; margin-bottom: .1em; }
