/* Keep the Shop — shared styles for the static site */

:root {
  --paper: #f4efe6;
  --paper-band: #e9e2d4;
  --card: #fffdf8;
  --ink: #1a211c;
  --ink-soft: #3a4640;
  --line: #d3cbb8;
  --green: #1e3f33;
  --green-deep: #152c24;
  --green-hover: #2a5646;
  --cream: #f4efe6;
  --copper: #8a4228;
  --highlight: #f3e2c4;
  --ph-bg: #f1e6c9;
  --ph-line: #b79a5a;
  --shadow: 0 1px 2px rgba(26, 33, 28, 0.05), 0 10px 28px rgba(26, 33, 28, 0.07);
  --radius: 12px;
  --wrap: 70rem;
  --header-h: 5.5rem;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", "Segoe UI", "Calibri", sans-serif;
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

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

h1,
h2,
h3,
.logo-text {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.15rem, 5.4vw, 3.5rem);
  margin-bottom: 0.45em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
}

h3 {
  font-family: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0;
  margin-bottom: 0.35em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--copper);
  text-underline-offset: 0.15em;
}

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

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--green);
  color: var(--cream);
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: 6px;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(calc(100% - 2.25rem), var(--wrap));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(calc(100% - 2.25rem), 44rem);
  margin-inline: auto;
}

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding: 0.85rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--green);
}

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

.logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.45rem;
  margin: 0;
  font-weight: 600;
  color: inherit;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  align-items: center;
}

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

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--green);
  text-decoration: underline;
}

.header-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 3.1rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--cream);
}

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

.btn-secondary:hover {
  background: var(--green);
  color: var(--cream);
}

.btn-lg {
  padding: 0.95rem 1.5rem;
  font-size: 1.125rem;
  min-height: 3.35rem;
  width: 100%;
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* ----- Placeholder tokens ----- */

.ph {
  display: inline-block;
  background: var(--ph-bg);
  border: 1px dashed var(--ph-line);
  padding: 0 0.38em;
  border-radius: 4px;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

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

.hero {
  padding: 3.75rem 0 3.5rem;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(243, 226, 196, 0.65), transparent 55%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero .lead {
  font-size: clamp(1.2rem, 2.1vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

/* ----- Sections ----- */

.section {
  padding: 3.75rem 0;
}

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

.band {
  background: var(--paper-band);
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.kicker {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.6rem;
}

/* ----- How it works ----- */

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

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: var(--shadow);
}

.step-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.85rem;
  color: var(--green);
}

.step-num {
  display: block;
  font-weight: 700;
  color: var(--copper);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

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

.step p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* ----- Example ----- */

.example {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

.bubble {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.bubble.draft {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow);
}

.bubble-label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.7rem;
}

.bubble.draft .bubble-label {
  color: var(--green);
}

.quote {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0;
}

.example-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.8rem;
  font-weight: 700;
  min-width: 2rem;
}

.example-follow {
  margin-top: 1.25rem;
  font-size: 1.15rem;
}

/* ----- Trades ----- */

.trades {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.trade {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.trade svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--green);
  flex-shrink: 0;
}

/* ----- Lists ----- */

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plain-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.7rem;
  border-bottom: 1px solid var(--line);
}

.plain-list li:last-child {
  border-bottom: 0;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--green);
}

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

.setup-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.4rem;
  box-shadow: var(--shadow);
  counter-increment: setup;
}

.setup-list li::before {
  content: counter(setup);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.setup-list strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.plan-line {
  font-size: 1.3rem;
  font-weight: 700;
}

/* ----- CTA pair ----- */

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.cta-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cta-card p {
  color: var(--ink-soft);
  flex: 1;
}

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

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.15rem 1.3rem 1.25rem;
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.faq-item p {
  color: var(--ink-soft);
}

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

.site-footer {
  background: var(--green);
  color: var(--cream);
  padding: 2.75rem 0 2rem;
  margin-top: 0;
}

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

.site-footer a:hover {
  color: #fff;
}

.site-footer .logo {
  color: var(--cream);
}

.site-footer .logo:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 2rem 1.5rem;
}

.footer-brand p {
  margin-top: 0.6rem;
  max-width: 22rem;
  color: #e4ddd0;
}

.footer-contact p,
.footer-legal p {
  margin: 0 0 0.4rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.85rem;
}

.footer-legal .cancel-note {
  color: #e4ddd0;
  font-size: 1.05rem;
  margin-top: 0.4rem;
}

.copyright {
  color: #c9c2b3;
  font-size: 1rem;
  margin-top: 0.8rem;
}

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

.page-hero {
  padding: 2.75rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
}

.coming-soon {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.coming-soon strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

/* ----- Checkout ----- */

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3.5rem;
}

.summary-card,
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.7rem;
  box-shadow: var(--shadow);
}

.summary-card h2,
.form-card h2 {
  font-size: 1.55rem;
  margin-bottom: 0.9rem;
}

.price-box {
  margin-top: 1.15rem;
  background: var(--highlight);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  font-size: 1.15rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field.span-2 {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: 1.05rem;
}

.hint {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.field input,
.field select {
  font-family: inherit;
  font-size: 1.125rem;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  min-height: 3rem;
  width: 100%;
}

.field input:focus,
.field select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(30, 63, 51, 0.2);
  outline-offset: 0;
}

.pay-box {
  margin-top: 1.4rem;
  border: 2px dashed var(--ph-line);
  background: var(--ph-bg);
  border-radius: 10px;
  padding: 1.15rem 1.15rem 1.3rem;
}

.pay-box strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.pay-box p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.pay-box .btn {
  width: 100%;
}

.fine-print {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ----- Thanks ----- */

.next-steps {
  counter-reset: next;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.next-steps li {
  counter-increment: next;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.next-steps li::before {
  content: counter(next);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  font-weight: 700;
}

.thanks-note {
  background: var(--highlight);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin-top: 0.5rem;
}

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

@media (max-width: 900px) {
  .steps,
  .setup-list,
  .trades,
  .cta-grid,
  .checkout-layout,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .example-arrow {
    transform: rotate(90deg);
    padding: 0.2rem 0;
  }

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

  .header-cta .btn-secondary {
    display: none;
  }

  .header-inner {
    gap: 0.7rem 1rem;
  }

  .nav {
    width: 100%;
    order: 3;
    padding-top: 0.15rem;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 1.125rem;
  }

  .wrap,
  .wrap-narrow {
    width: min(calc(100% - 1.5rem), var(--wrap));
  }

  .hero {
    padding: 2.4rem 0 2.3rem;
  }

  .section {
    padding: 2.6rem 0;
  }

  .header-cta {
    margin-left: auto;
  }

  .header-cta .btn {
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .trades,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-grid {
    gap: 1.6rem;
  }
}

@media (min-width: 901px) {
  .header-inner {
    flex-wrap: nowrap;
  }
}

.page-hero .lead {
  font-size: 1.25rem;
  max-width: 38rem;
  color: var(--ink-soft);
}

.tight-top {
  padding-top: 0;
}

.hero-actions .btn-lg,
.cta-card .btn-lg {
  width: auto;
}

.cta-card .btn-lg {
  width: 100%;
}

@media (max-width: 620px) {
  .hero-actions .btn-lg {
    width: 100%;
  }
}

form {
  margin: 0;
}
