/* Stet Copy — editorial marketing site
   Cream ground, ink text, oxblood accent. No framework. */

:root {
  --cream: #f3eee4;
  --cream-deep: #e8e1d4;
  --paper: #faf7f1;
  --ink: #1a1512;
  --ink-muted: #5a534c;
  --rule: #d6ccbe;
  --rule-strong: #b9ad9c;
  --oxblood: #6e242c;
  --oxblood-deep: #4f181e;
  --oxblood-soft: #ead9d6;
  --focus: #6e242c;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  --measure: 38rem;
  --wide: 68rem;
  --header-h: 4.25rem;
  --space: 1.15rem;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
}

[hidden] {
  display: none !important;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--oxblood);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--oxblood-deep);
}

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

::selection {
  background: var(--oxblood-soft);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
  color: var(--cream);
  outline-color: var(--cream);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  padding: 0.35rem 0 0.55rem;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: var(--ink);
}

.wordmark-stet,
.wordmark-copy {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

.wordmark-stet {
  font-style: italic;
  position: relative;
  padding-bottom: 0.28rem;
}

/* Stet dots: the editor's mark under the word */
.wordmark-stet::after {
  content: "";
  position: absolute;
  left: 0.08em;
  right: 0.08em;
  bottom: 0;
  height: 4px;
  background-image: radial-gradient(circle, var(--oxblood) 1.15px, transparent 1.2px);
  background-size: 6px 4px;
  background-repeat: repeat-x;
  background-position: 0 0;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: currentColor;
  position: absolute;
  left: 50%;
  margin-left: -0.625rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars {
  top: 50%;
  margin-top: -0.75px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-open .nav-toggle-bars {
  background: transparent;
}

.nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--oxblood);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--oxblood);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--oxblood);
  color: var(--cream) !important;
  padding: 0.5rem 0.95rem;
  min-height: 2.5rem;
  border-radius: var(--radius);
  text-decoration: none !important;
  font-weight: 600;
  box-shadow: none !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--oxblood-deep);
  color: var(--cream) !important;
}

/* ---------- Layout ---------- */

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.measure {
  max-width: var(--measure);
}

main {
  overflow-x: hidden;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 0.85rem);
}

.section {
  padding: 4.5rem 0;
}

.section + .section {
  border-top: 1px solid var(--rule);
}

.section-head {
  max-width: var(--measure);
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxblood);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 6.2vw, 4.35rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1rem;
}

.lede,
.section-head p {
  color: var(--ink-muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

.lede {
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

/* ---------- Buttons ---------- */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--oxblood);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 0.85rem 1.35rem;
  min-height: 3rem;
  border: 1px solid var(--oxblood);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: var(--oxblood-deep);
  border-color: var(--oxblood-deep);
  color: var(--cream);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* ---------- Hero ---------- */

.hero {
  padding: 4.75rem 0 5.25rem;
}

.hero h1 {
  max-width: 13.5em;
}

/* ---------- Included / feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

.feature {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.5rem 1.45rem 1.35rem;
}

.feature p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 1.05rem;
}

.feature h3 {
  font-family: var(--serif);
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.35rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 0.25rem;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  color: var(--oxblood);
  margin-bottom: 0.7rem;
  letter-spacing: 0.04em;
}

.steps h3 {
  margin-bottom: 0.45rem;
}

.steps p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* ---------- Fit ---------- */

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 52rem;
}

.fit {
  border-top: 2px solid var(--ink);
  padding-top: 1.15rem;
}

.fit.not {
  border-top-color: var(--rule-strong);
}

.fit h3 {
  margin-bottom: 0.7rem;
}

.fit p,
.fit ul {
  color: var(--ink-muted);
  margin: 0;
}

.fit ul {
  padding-left: 1.15rem;
}

.fit li + li {
  margin-top: 0.4rem;
}

.note {
  max-width: var(--measure);
  margin: 2rem 0 0;
  color: var(--ink);
  font-size: 1.1rem;
}

/* ---------- Samples ---------- */

.sample-block + .sample-block {
  margin-top: 2.75rem;
}

.sample-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.sample-frame {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink-muted);
  overflow: hidden;
}

.sample-frame:hover {
  border-color: var(--rule-strong);
  color: var(--ink);
}

.sample-frame .kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxblood);
  padding: 0.55rem 0.85rem 0.45rem;
}

.sample-sheet {
  position: relative;
  display: block;
  aspect-ratio: 8.5 / 11;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.sample-sheet img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.sample-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.15rem 1.1rem 1rem;
  pointer-events: none;
}

.sample-frame.has-image .sample-fallback {
  display: none;
}

.sample-fallback .hint {
  font-size: 0.95rem;
  margin: 0;
  max-width: 14em;
}

.sample-frame figcaption,
.sample-block figcaption,
figcaption {
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

.sample-links {
  margin: 0.35rem 0 0;
  font-size: 0.98rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

/* ---------- Pricing ---------- */

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

.price-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.6rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--oxblood);
  background: var(--paper);
  padding: 1.55rem 1.35rem 1.45rem;
}

.price-card .tag {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.price-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.price {
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.35rem 0 1rem;
}

.price span {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-muted);
}

.price-card ul {
  margin: 0 0 1.4rem;
  padding-left: 1.1rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
  flex: 1;
}

.price-card li + li {
  margin-top: 0.4rem;
}

.addon {
  max-width: var(--measure);
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-muted);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 42rem;
}

.faq details {
  border-top: 1px solid var(--rule);
  padding: 1rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.08rem;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--oxblood);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.65rem 0 0.4rem;
  color: var(--ink-muted);
  max-width: 38rem;
}

/* ---------- Close CTA ---------- */

.close-cta {
  padding: 5rem 0;
  text-align: left;
}

.close-cta h2 {
  max-width: 16em;
}

.close-cta .lede {
  margin-left: 0;
  margin-right: auto;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.25rem 0 2.5rem;
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem 3rem;
  align-items: end;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  font-style: italic;
  margin: 0 0 0.25rem;
}

.footer-name + p,
.copyright {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--oxblood);
  text-decoration: underline;
}

.footer-dots {
  display: flex;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
}

.footer-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--oxblood);
  display: block;
  font-style: normal;
}

/* ---------- Inner pages ---------- */

.page-hero {
  padding: 3.25rem 0 0.5rem;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.prose {
  max-width: 40rem;
  padding: 1.5rem 0 4.5rem;
}

.prose h2 {
  font-size: 1.55rem;
  margin: 2.25rem 0 0.6rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.effective {
  color: var(--ink-muted);
  font-size: 1rem;
}

/* ---------- Forms ---------- */

.form {
  max-width: 38rem;
  padding-bottom: 4.5rem;
}

.form-intro {
  margin-bottom: 2rem;
  color: var(--ink-muted);
}

fieldset {
  border: 0;
  margin: 0 0 1.75rem;
  padding: 0;
}

legend {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  padding: 0;
  margin: 0 0 0.85rem;
}

.field {
  margin-bottom: 1.15rem;
}

label,
.legend-like {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.hint,
.field .hint {
  display: block;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 0.3rem 0 0;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  min-height: 2.85rem;
  appearance: none;
  border-radius: var(--radius);
}

textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.5;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--ink-muted);
}

.packages {
  display: grid;
  gap: 0.65rem;
}

.package-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 0.9rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.9rem 1rem;
  cursor: pointer;
}

.package-option:has(input:checked) {
  border-color: var(--oxblood);
  border-width: 2px;
  padding: calc(0.9rem - 1px) calc(1rem - 1px);
}

.package-option input {
  margin-top: 0.35rem;
  accent-color: var(--oxblood);
  width: 1.05rem;
  height: 1.05rem;
}

.package-option .pkg-name {
  display: block;
  font-weight: 600;
  margin: 0;
}

.package-option .pkg-desc {
  display: block;
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
  font-weight: 400;
}

.package-option .pkg-price {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
}

.check-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.9rem 1rem;
  cursor: pointer;
}

.check-row input {
  margin-top: 0.3rem;
  accent-color: var(--oxblood);
  width: 1.05rem;
  height: 1.05rem;
}

.check-row span {
  font-weight: 400;
}

.file-box {
  background: var(--paper);
  border: 1px dashed var(--rule-strong);
  padding: 1.15rem 1.2rem;
  margin: 0 0 1.5rem;
}

.file-box h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.file-box p {
  margin: 0;
  color: var(--ink-muted);
}

.honesty {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

/* Success */

.success-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.35rem 1.3rem;
  margin: 1.5rem 0;
}

.success-panel h2 {
  font-size: 1.25rem;
}

.summary-box {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 1rem 1.1rem;
  font-family: ui-monospace, "Source Sans 3", monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  margin: 0.75rem 0 1rem;
  overflow-x: auto;
}

.next-steps {
  padding-left: 1.2rem;
}

.next-steps li + li {
  margin-top: 0.5rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .feature-grid,
  .steps,
  .fit-grid,
  .price-grid,
  .sample-pair,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 1.75rem;
  }

  .hero {
    padding: 3rem 0 3.5rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .footer-inner {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn {
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 39;
    background: var(--cream);
    border-bottom: 0;
    padding: 0.5rem 1.5rem 2rem;
    overflow: auto;
  }

  .nav-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .site-nav .nav-cta {
    margin-top: 0.85rem;
    width: 100%;
    border-bottom: 0;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (min-width: 861px) {
  .price-card.featured {
    transform: translateY(-0.35rem);
  }
}
