/* Long Story Short — Brand System */
:root {
  --teal: #0A5C5C;
  --teal-dark: #074747;
  --teal-mid: #0D7070;
  --teal-soft: #E6F2F2;
  --cream: #F8F4EB;
  --cream-deep: #F0E9DA;
  --amber: #E8B923;
  --amber-soft: #FDF6E0;
  --sage: #A8C4B4;
  --sage-soft: #E8F1EC;
  --charcoal: #2C2C2C;
  --charcoal-muted: #5A5A5A;
  --white: #FFFFFF;
  --border: rgba(10, 92, 92, 0.12);
  --shadow-sm: 0 2px 8px rgba(44, 44, 44, 0.06);
  --shadow-md: 0 8px 28px rgba(44, 44, 44, 0.08);
  --shadow-lg: 0 18px 48px rgba(10, 92, 92, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max: 1120px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
p { margin: 0 0 1rem; color: var(--charcoal-muted); }
ul, ol { color: var(--charcoal-muted); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--charcoal);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.15rem, 4.5vw, 3.35rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section--sage { background: var(--sage-soft); }
.section--teal { background: var(--teal); color: var(--white); }
.section--teal h2,
.section--teal h3,
.section--teal p { color: var(--white); }
.section--teal p { color: rgba(255, 255, 255, 0.88); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.lead {
  font-size: 1.125rem;
  max-width: 42rem;
  color: var(--charcoal-muted);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.logo:hover { color: var(--charcoal); }

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo em {
  font-style: normal;
  color: var(--teal);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(10, 92, 92, 0.25);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: rgba(10, 92, 92, 0.28);
}

.btn-secondary:hover {
  background: var(--teal-soft);
  color: var(--teal-dark);
  border-color: var(--teal);
}

.btn-amber {
  background: var(--amber);
  color: var(--charcoal);
}

.btn-amber:hover {
  background: #d4a81c;
  color: var(--charcoal);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal-muted);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--teal);
  background: var(--teal-soft);
}

.btn-lg {
  min-height: 54px;
  padding: 0.9rem 1.65rem;
  font-size: 1rem;
}

.btn-block { width: 100%; }

/* —— Hero —— */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(168, 196, 180, 0.35), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  position: relative;
}

.hero h1 {
  margin-bottom: 1.1rem;
}

.hero .lead {
  margin-bottom: 1.75rem;
  font-size: 1.15rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.trust-note {
  font-size: 0.92rem;
  color: var(--charcoal-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 34rem;
}

.trust-note svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--teal);
}

/* Hero visual card */
.hero-visual {
  position: relative;
}

.manuscript-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.manuscript-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.mc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.mc-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--charcoal);
  margin: 0;
}

.mc-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--amber-soft);
  color: #8a6a0a;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.mc-lines {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.mc-line {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--cream-deep), var(--sage-soft));
}

.mc-line:nth-child(1) { width: 92%; }
.mc-line:nth-child(2) { width: 100%; }
.mc-line:nth-child(3) { width: 78%; }
.mc-line:nth-child(4) { width: 88%; }
.mc-line:nth-child(5) { width: 64%; background: var(--teal-soft); }

.mc-chapters {
  display: grid;
  gap: 0.55rem;
}

.mc-chapter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--charcoal);
  font-weight: 500;
}

.mc-chapter span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.float-pill {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.float-pill--top {
  top: -12px;
  right: -8px;
}

.float-pill--bottom {
  bottom: 18px;
  left: -16px;
}

.float-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

/* —— Grids & cards —— */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.card-icon--amber {
  background: var(--amber-soft);
  color: #9a780f;
}

.card h3 { margin-bottom: 0.45rem; }
.card p:last-child { margin-bottom: 0; }

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head.center .lead {
  margin-inline: auto;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.step h3 { margin-bottom: 0.5rem; }

/* Receive list */
.receive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--charcoal);
  font-weight: 500;
}

.checklist li svg {
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 0.15rem;
}

.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal-muted);
}

.pill strong { color: var(--teal); }

/* Book types */
.type-card {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  height: 100%;
}

.type-card .icon-row {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.type-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

/* Sample cards */
.sample-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.sample-cover {
  aspect-ratio: 3/2;
  background: linear-gradient(145deg, var(--teal), #0d6b6b 50%, #0a4a4a);
  color: white;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.sample-cover--memoir {
  background: linear-gradient(145deg, #5c4a3a, #8a6d4f 55%, #3d3228);
}

.sample-cover--edu {
  background: linear-gradient(145deg, #2f5d4a, #4a8a6e 55%, #1e3d32);
}

.sample-cover--fiction {
  background: linear-gradient(145deg, #3a3f5c, #5a628a 55%, #252838);
}

.sample-cover .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sample-cover h3 {
  color: white;
  font-size: 1.2rem;
  margin: 0;
}

.sample-body {
  padding: 1.25rem 1.35rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sample-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--charcoal-muted);
  margin-bottom: 0.85rem;
}

.sample-excerpt {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--charcoal-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table th {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.compare-table th:first-child {
  background: var(--teal);
  color: white;
  width: 42%;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table td:first-child {
  font-weight: 600;
  color: var(--charcoal);
  background: rgba(10, 92, 92, 0.03);
}

/* Reviews */
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.review-card blockquote {
  margin: 0 0 1.15rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--charcoal);
  line-height: 1.55;
  flex: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.reviewer strong {
  display: block;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.reviewer span {
  font-size: 0.82rem;
  color: var(--charcoal-muted);
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--teal);
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item .faq-body {
  padding: 0 1.25rem 1.2rem;
  color: var(--charcoal-muted);
}

.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232, 185, 35, 0.15), transparent 45%),
    radial-gradient(ellipse at 80% 100%, rgba(168, 196, 180, 0.35), transparent 50%),
    var(--cream-deep);
}

.cta-band .lead {
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.75rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover { color: var(--amber); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 0.85rem;
}

.footer-brand .logo em { color: var(--amber); }

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  max-width: 22rem;
}

.footer-col h4 {
  color: white;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col li { font-size: 0.92rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, var(--sage-soft), var(--cream));
}

.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .lead { margin-bottom: 0; }

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.price-card .popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--charcoal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.price-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.03em;
  margin: 0.5rem 0;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal-muted);
}

.price-desc {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.price-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  flex: 1;
}

.price-features li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--charcoal);
}

.price-features svg {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Form wizard */
.wizard-shell {
  max-width: 720px;
  margin: 0 auto;
}

.progress {
  margin-bottom: 1.75rem;
}

.progress-bar {
  height: 6px;
  background: var(--cream-deep);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-mid));
  border-radius: 999px;
  transition: width 0.35s var(--ease);
  width: 14%;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--charcoal-muted);
  font-weight: 500;
}

.wizard-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-md);
}

.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeUp 0.35s var(--ease); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-step h2 {
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}

.field-hint {
  font-size: 0.9rem;
  color: var(--charcoal-muted);
  margin-bottom: 1.35rem;
}

.option-grid {
  display: grid;
  gap: 0.75rem;
}

.option-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.option {
  position: relative;
}

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option label {
  display: block;
  padding: 1rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--cream);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-weight: 600;
  color: var(--charcoal);
}

.option label small {
  display: block;
  font-weight: 400;
  color: var(--charcoal-muted);
  margin-top: 0.25rem;
  font-size: 0.88rem;
}

.option input:checked + label,
.option label:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

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

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid rgba(10, 92, 92, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 92, 92, 0.12);
  outline: none;
}

.field .help {
  font-size: 0.85rem;
  color: var(--charcoal-muted);
  margin-top: 0.4rem;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.summary-box {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.25rem;
}

.summary-box dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.summary-box dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.summary-box dd {
  margin: 0;
  color: var(--charcoal);
  font-weight: 500;
}

.checkout-panel {
  background: var(--teal-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.checkout-row.total {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
}

.secure-note {
  font-size: 0.85rem;
  color: var(--charcoal-muted);
  text-align: center;
  margin-top: 0.85rem;
}

/* Auth / dashboard */
.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.auth-card h1 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 0.4rem;
}

.auth-card .sub {
  text-align: center;
  margin-bottom: 1.5rem;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--charcoal-muted);
  font-size: 0.85rem;
  margin: 1.15rem 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.dash-side {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.dash-side h2 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal-muted);
  margin-bottom: 0.85rem;
}

.dash-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.dash-side a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--charcoal-muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.dash-side a:hover,
.dash-side a.active {
  background: var(--teal-soft);
  color: var(--teal);
}

.status-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.status-stages {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.status-stage {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--charcoal-muted);
}

.status-stage.done { color: var(--teal); font-weight: 600; }
.status-stage.current { color: var(--charcoal); font-weight: 600; }

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--cream);
  flex-shrink: 0;
}

.status-stage.done .status-dot {
  background: var(--teal);
  border-color: var(--teal);
}

.status-stage.current .status-dot {
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 185, 35, 0.25);
}

/* Legal pages */
.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  background: var(--teal);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info h2,
.contact-info p { color: white; }

.contact-info p { color: rgba(255, 255, 255, 0.85); }

.contact-info a { color: var(--amber); }

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .nav-links,
  .nav-actions .btn-ghost {
    display: none;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.15rem;
    box-shadow: var(--shadow-md);
  }

  .nav.open .nav-links a {
    padding: 0.75rem 0.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav.open .nav-actions {
    position: absolute;
    top: calc(var(--nav-h) + 12rem);
    left: 1.25rem;
    right: 1.25rem;
    flex-direction: column;
    z-index: 101;
  }

  .nav.open .nav-actions .btn-ghost {
    display: inline-flex;
    width: 100%;
  }

  .hero-grid,
  .receive-grid,
  .grid-3,
  .grid-4,
  .steps,
  .price-grid,
  .footer-grid,
  .dashboard-layout,
  .contact-grid,
  .option-grid.cols-2 {
    grid-template-columns: 1fr;
  }

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

  .price-card.featured { transform: none; }

  .float-pill--top,
  .float-pill--bottom {
    position: static;
    margin-top: 0.75rem;
    width: fit-content;
  }

  .hero-visual { order: -1; }
}

@media (min-width: 700px) and (max-width: 900px) {
  .grid-2,
  .grid-3,
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

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