/* Draftworks - shared styles */

:root {
  --ink: #10141c;
  --ink-soft: #3b4252;
  --paper: #faf9f6;
  --paper-dim: #f1efe9;
  --line: #e4e1d8;
  --accent: #5e42d6;
  --accent-ink: #3e2a8c;
  --coral: #ff6b81;
  --white: #ffffff;
  --on-accent: #ffffff;
  --radius: 14px;
  --max: 1180px;
  --font-head: 'Urbanist', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --shadow: 0 20px 50px -25px rgba(16, 20, 28, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f2f1f6;
    --ink-soft: #a9a8ba;
    --paper: #0c0e16;
    --paper-dim: #14121f;
    --line: #2a2836;
    --white: #171526;
    --shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  --ink: #f2f1f6;
  --ink-soft: #a9a8ba;
  --paper: #0c0e16;
  --paper-dim: #14121f;
  --line: #2a2836;
  --white: #171526;
  --shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

.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;
}
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--accent) 20%, var(--paper)) 0%,
      var(--paper) 42%,
      var(--paper) 58%,
      color-mix(in srgb, var(--coral) 20%, var(--paper)) 100%
    );
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: #eeedfe;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--accent); }

/* Gradient-border button wrap: wrapper's gradient background peeks out
   as a thin ring around the button's own solid background. No masking
   or CSS Houdini needed, so it renders consistently everywhere. Static
   at rest; only animates briefly on hover, not forever. */
.btn-border-wrap {
  display: inline-block;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-ink));
  background-size: 200% 100%;
  background-position: 0 0;
  transition: background-position 0.6s ease;
}
.btn-border-wrap:hover {
  background-position: 100% 0;
}
.btn-border-wrap .btn { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .btn-border-wrap { transition: none; }
}

/* Slide-fill hover: accent sweeps in behind the label */
.btn-slide {
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color 0.3s ease;
}
.btn-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}
.btn-slide:hover {
  color: var(--on-accent);
  transform: none;
  box-shadow: none;
  background: var(--ink);
}
.btn-slide:hover::after { transform: translateX(0); }
.btn-slide .btn-chevron {
  transition: transform 0.3s ease;
}
.btn-slide:hover .btn-chevron { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-accent {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(99, 91, 255, 0.55); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 97%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  flex-shrink: 0;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-links li.nav-cta-mobile { display: none; }
.nav-cta .btn-ghost {
  background:
    radial-gradient(circle at 85% 10%, rgba(99, 91, 255, 0.55), transparent 55%),
    radial-gradient(circle at 10% 85%, rgba(255, 107, 129, 0.45), transparent 55%),
    linear-gradient(165deg, #0b0e16, #14101f 60%, #1b1230);
  color: #fff;
  border-color: transparent;
}
.nav-cta .btn-ghost:hover { border-color: transparent; opacity: 0.9; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
}
.nav-toggle.active span { background: #fff; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 0;
    z-index: 200;
    background:
      radial-gradient(circle at 85% 10%, rgba(99, 91, 255, 0.35), transparent 55%),
      radial-gradient(circle at 10% 85%, rgba(255, 107, 129, 0.28), transparent 55%),
      linear-gradient(165deg, #0b0e16, #14101f 60%, #1b1230);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    overflow-y: auto;
    counter-reset: navcount;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li {
    counter-increment: navcount;
    width: 100%;
    list-style: none;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .nav-links.open li { opacity: 1; transform: translateX(0); }
  .nav-links.open li:nth-child(1) { transition-delay: 0.06s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.12s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.18s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.24s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.3s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.36s; }
  .nav-links li::before {
    content: "0" counter(navcount);
    display: block;
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 6px;
  }
  .nav-links a {
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
  }
  .nav-links a.active { color: var(--accent); }
  .nav-links a.active::after { display: none; }
  .nav-links li.nav-cta-mobile {
    display: block;
    border-bottom: none;
    padding-top: 28px;
    counter-increment: none;
  }
  .nav-links li.nav-cta-mobile::before { display: none; }
  .nav-links li.nav-cta-mobile a {
    display: inline-flex;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    background: var(--accent);
    padding: 14px 28px;
    border-radius: 999px;
  }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; z-index: 210; position: relative; }
  body.menu-open { overflow: hidden; }
}

/* Sections */
section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.hero {
  padding: 76px 0 90px;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 75px);
  min-height: calc(100dvh - 75px);
  display: flex;
  align-items: center;
}
.hero .wrap { position: relative; z-index: 1; width: 100%; }
@media (max-width: 900px) {
  .hero { min-height: 0; padding: 48px 0 64px; }
}

.hl {
  color: var(--accent-ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }

.hero-secondary-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hero-secondary-link:hover {
  color: var(--accent-ink);
  border-color: var(--accent-ink);
}

.hero-visual {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 14px;
  max-width: 410px;
  margin-left: auto;
  position: relative;
}
@media (max-width: 900px) {
  .hero-visual { max-width: 100%; margin-left: 0; }
}

.browser-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--paper-dim);
}
.browser-bar span {
  width: 9px; height: 9px; border-radius: 50%; background: #d9d4c7;
}
.browser-bar span:nth-child(1) { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }
.showcase-shot {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.showcase-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.15s ease;
}
a.showcase-shot:hover img {
  opacity: 0.9;
}
.visual-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

/* 404 page */
.error-hero {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: #0b0e16;
  color: #ffffff;
}
.error-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 0;
}
.error-hero .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #cdc8ff;
}
.error-code {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  color: #ffffff;
}
.error-hero .lede { color: #b7bcc9; max-width: 44ch; }
.error-links {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.error-links a {
  color: #b7bcc9;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.error-links a:hover { color: #ffffff; }

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
}
.response-promise {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 14px 0 0;
}
.response-promise::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 150;
    background: color-mix(in srgb, var(--paper) 96%, transparent);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }
  .sticky-cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
  }
  .sticky-cta-text strong {
    font-family: var(--font-head);
    font-size: 0.92rem;
    color: var(--ink);
  }
  .sticky-cta-text span {
    font-size: 0.74rem;
    color: var(--ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sticky-cta .btn { flex-shrink: 0; }
  body.menu-open .sticky-cta { display: none; }
  body.has-sticky-cta { padding-bottom: 78px; }
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .num {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--accent-ink);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 20px;
  background: #eeedfe;
  color: var(--accent-ink);
}

.problem-fix {
  max-width: 760px;
}
.problem-fix-lead {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
}
.problem-fix-turn {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid var(--line);
}
.problem-fix-arrow {
  font-size: 1.8rem;
  line-height: 1.3;
  color: var(--accent);
  flex-shrink: 0;
}
.problem-fix-turn p {
  font-size: 1.05rem;
  margin: 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Pricing-ish plan cards */
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan.featured {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  position: relative;
}
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.plan li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.plan-price { font-family: var(--font-head); font-size: 2rem; font-weight: 800; }
.plan-price span { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }

/* Process steps */
.process-list {
  border-top: 1px solid var(--line);
}
.process-row {
  display: grid;
  grid-template-columns: 64px 180px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.process-row .step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
}
.process-row h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
}
.process-row p {
  margin: 0;
  color: var(--ink-soft);
}
@media (max-width: 700px) {
  .process-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
}

/* CTA band */
.cta-band {
  background: #10141c;
  color: #ffffff;
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}
.cta-band h2 { color: #ffffff; }
.cta-band p { color: #b7bcc9; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  background: var(--paper-dim);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.footer-bottom a { text-decoration: underline; }

/* Portfolio */
.portfolio-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  overflow: hidden;
}
@media (max-width: 900px) { .portfolio-feature { grid-template-columns: 1fr; } }
.portfolio-feature .copy { padding: 28px 24px 28px 8px; }
@media (max-width: 900px) { .portfolio-feature .copy { padding: 8px; } }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eeedfe;
  color: var(--accent-ink);
}
.stat-strip { display: flex; gap: 28px; margin: 22px 0; flex-wrap: wrap; }
.stat-strip div strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; }
.stat-strip div span { font-size: 0.82rem; color: var(--ink-soft); }

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 16px;
}

.hp-field {
  display: none;
}

.form-status {
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 0 0 20px;
}
.form-status.is-success {
  background: color-mix(in srgb, #22c55e 14%, var(--white));
  color: #15803d;
  border: 1px solid color-mix(in srgb, #22c55e 30%, var(--line));
}
.form-status.is-error {
  background: color-mix(in srgb, #ef4444 12%, var(--white));
  color: #b91c1c;
  border: 1px solid color-mix(in srgb, #ef4444 30%, var(--line));
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--paper-dim);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent-ink);
}
.info-icon svg { display: block; }
.info-list h3 { margin: 0 0 4px; font-family: var(--font-head); font-size: 1rem; }

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.status-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.status-row .status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.is-up { background: #22c55e; }
.status-dot.is-down { background: #ef4444; }
.status-info { flex: 1; min-width: 0; }
.status-info h3 { margin: 0 0 2px; font-family: var(--font-head); font-size: 1rem; }
.status-info a { font-size: 0.85rem; color: var(--ink-soft); text-decoration: none; }
.status-info a:hover { text-decoration: underline; }
.status-meta { text-align: right; flex-shrink: 0; }
.status-label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; }
.status-detail { display: block; font-size: 0.8rem; color: var(--ink-soft); }
@media (max-width: 560px) {
  .status-meta { text-align: left; }
  .status-row { flex-wrap: wrap; }
}
.info-list p { margin: 0; font-size: 0.92rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 64px;
  padding-bottom: 100px;
}
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal .updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 1.3rem;
  margin-top: 2.2em;
  padding-top: 0.4em;
  border-top: 1px solid var(--line);
}
.legal ul { color: var(--ink-soft); }
.legal-toc {
  background: var(--paper-dim);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.legal-toc .toc-label { margin: 0 0 12px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; gap: 20px; }
@media (max-width: 560px) { .legal-toc ol { columns: 1; } }
.legal-toc a { text-decoration: none; font-size: 0.92rem; }
.legal-toc a:hover { text-decoration: underline; }

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Page hero (non-home) */
.page-hero {
  padding: 60px 0 40px;
}
.page-hero .lede { max-width: 60ch; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.breadcrumb a { text-decoration: none; color: var(--ink-soft); }
.breadcrumb a:hover { text-decoration: underline; }
