:root {
  --bg-canvas: #fbf1f0;
  --bg-surface: #f0dde8;
  --bg-surface-hover: #e6cce0;
  --text-primary: #1c1917;
  --text-muted: #5c4b56;
  --accent-primary: #6b2155;
  --accent-secondary: #9c387e;
  --border-subtle: rgba(107, 33, 85, 0.18);
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 16px 32px -4px rgba(107, 33, 85, 0.14);
  --glow-accent: 0 0 28px -4px rgba(107, 33, 85, 0.35);
  --glass-backdrop: blur(20px) saturate(190%);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.75;
  overflow-wrap: anywhere;
  hyphens: auto;
}
a { color: var(--accent-primary); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; }
a:hover { color: var(--accent-secondary); }
img { max-width: 100%; height: auto; display: block; border-radius: 0; object-fit: cover; }
.top-bar {
  background: var(--accent-primary);
  color: #fbf1f0;
  font-size: 0.85rem;
  padding: 0.4rem 1.5rem;
  letter-spacing: 0.04em;
}
.site-header {
  position: relative;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--accent-primary);
  display: inline-block;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid #fbf1f0;
}
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.4rem;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
  border-radius: 0;
}
.hero-blush {
  background: var(--bg-surface);
  padding: 5rem 1.5rem 6rem;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  border-bottom: 2px solid var(--border-subtle);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  max-width: 22ch;
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
h3 {
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
p {
  margin-bottom: 1.25rem;
  max-width: 70ch;
}
.lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 66ch;
  margin-bottom: 2rem;
}
.btn-pill {
  display: inline-block;
  background: var(--accent-primary);
  color: #fbf1f0;
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.3s var(--ease-kinetic), box-shadow 0.3s var(--ease-kinetic), background 0.2s ease;
}
.btn-pill:hover {
  background: var(--accent-secondary);
  color: #fbf1f0;
  transform: translateY(-3px);
  box-shadow: var(--glow-accent);
}
.sequence-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  position: relative;
}
.sequence-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2.75rem;
  width: 2px;
  background: var(--accent-primary);
  opacity: 0.45;
}
.seq-step {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 4.5rem;
}
.seq-node {
  position: absolute;
  left: 0.4rem;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-primary);
  color: #fbf1f0;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  z-index: 2;
}
.section-band {
  background: var(--bg-surface);
  padding: 2.5rem;
  clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 98%);
  border: 1px solid var(--border-subtle);
}
.glass-panel {
  background: rgba(251, 241, 240, 0.78);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  border-radius: 0;
  box-shadow: var(--shadow-elevation);
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s var(--ease-kinetic);
}
.glass-panel:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
}
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}
.illustration-frame {
  border: 1px solid var(--border-subtle);
  background: #f5e6ef;
  padding: 1rem;
  margin: 1.25rem 0;
  border-radius: 0;
}
.illustration-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.illustration-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  margin-bottom: 0;
}
.checklist {
  list-style: none;
  margin: 1.25rem 0;
}
.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
}
.checklist li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: 0.85rem;
}
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border-subtle);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(251, 241, 240, 0.9);
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
th {
  background: var(--bg-surface);
  color: var(--accent-primary);
  font-weight: 700;
}
details.faq-item {
  background: rgba(251, 241, 240, 0.85);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
  padding: 1.1rem 1.4rem;
  border-radius: 0;
}
details.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--accent-primary);
  font-size: 1.05rem;
}
details.faq-item p {
  margin-top: 0.85rem;
  margin-bottom: 0;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--accent-primary);
  background: #fbf1f0;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  border-radius: 0;
}
.preview-box {
  background: #f5e6ef;
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
  font-family: monospace;
  white-space: pre-wrap;
  margin: 1rem 0;
  min-height: 110px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.8s var(--ease-kinetic);
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
.site-footer {
  background: var(--bg-surface);
  border-top: 2px solid var(--border-subtle);
  padding: 3.5rem 1.5rem 2.5rem;
  margin-top: 4rem;
  font-size: 0.92rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 2px solid var(--accent-primary);
    padding: 1rem 1.5rem;
    z-index: 50;
  }
  .main-nav.nav-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .sequence-wrapper::before { left: 1.75rem; }
  .seq-step { padding-left: 2.6rem; }
  .seq-node { left: 0; width: 2rem; height: 2rem; font-size: 0.8rem; }
  .section-band { padding: 1.5rem; clip-path: none; }
}

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