/* Shopify-style landing page hero image */
.hero-visual img {
  max-width: 340px;
  width: 100%;
}
/* Catalog grid styles for landing page */
.catalog-panel {
  margin: 2em auto;
  max-width: 1100px;
  background: var(--surface);
  border-radius: 18px;
  padding: 2em 2em 2.5em 2em;
  box-shadow: var(--shadow);
}
.catalog-categories {
  margin-bottom: 1.5em;
  display: flex;
  align-items: center;
  gap: 1em;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2em 1.5em;
}
.catalog-card {
  background: var(--surface-strong);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(201,92,47,0.07);
  padding: 1.2em 1em 1.5em 1em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.catalog-card:hover {
  box-shadow: 0 6px 24px rgba(201,92,47,0.13);
}
.catalog-card img {
  width: 100%;
  max-width: 180px;
  margin-bottom: 1em;
  border-radius: 10px;
  align-self: center;
}
.catalog-card-title {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 0.5em;
}
.catalog-card-price {
  font-size: 1.1rem;
  color: var(--accent-strong);
  margin-bottom: 0.7em;
}
.catalog-card-actions {
  margin-top: auto;
  display: flex;
  gap: 0.7em;
}
.catalog-card-desc {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.8em;
}
/* Catalog section wrapper */
.catalog-section {
  margin: 3em auto;
  max-width: 1200px;
  padding: 0 1.5em;
}
.catalog-header {
  margin-bottom: 1.2em;
}
.catalog-header h2 {
  font-size: 1.7rem;
  margin-bottom: 0.25em;
}
.catalog-sub {
  font-size: 0.9rem;
  color: var(--muted);
}
/* Filter bar */
.catalog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1em 1.5em;
  margin-bottom: 1.8em;
  padding: 1em 1.2em;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
.filter-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.filter-select {
  padding: 0.5em 2em 0.5em 0.75em;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.95rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65em center;
}
.filter-group--checkbox {
  flex-direction: row;
  align-items: center;
  padding-bottom: 0.15em;
}
.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.95rem;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.filter-checkbox-label input[type="checkbox"] {
  width: 1.1em;
  height: 1.1em;
  accent-color: var(--accent-strong);
  cursor: pointer;
}
.catalog-results-meta {
  margin-left: auto;
  font-size: 0.87rem;
  color: var(--muted);
  align-self: flex-end;
  padding-bottom: 0.2em;
}
/* Shipping badges on product cards */
.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2em 0.6em;
  border-radius: 20px;
  margin-bottom: 0.5em;
}
.badge--free-shipping {
  background: #e6f9f0;
  color: #1a7a4a;
}
.badge--shipping-extra {
  background: #f0f0f0;
  color: #777;
}
[data-theme="dark"] .badge--free-shipping {
  background: rgba(79, 209, 161, 0.15);
  color: #4fd1a1;
}
[data-theme="dark"] .badge--shipping-extra {
  background: rgba(255,255,255,0.07);
  color: #b6a99a;
}
/* Star rating */
.product-rating {
  font-size: 0.85rem;
  color: #e6a817;
  margin-bottom: 0.4em;
  display: block;
}
.catalog-card-body {
  width: 100%;
}
.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2em;
  color: var(--muted);
}
.login-link-margin {
  margin-top: 1em;
}
.tc-note {
  font-size: 12px;
  color: #5a6a7e;
  margin: 8px 0 4px;
  text-align: center;
}
.tc-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 14px;
  font-size: 13px;
  color: #3a4a5e;
  cursor: pointer;
}
.tc-consent-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #d4af37;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.tc-consent-label a {
  color: #1565c0;
}
/* --- Force majeure / legal category headings in terms.html --- */
.fm-category-head {
  margin: 14px 0 8px;
  font-size: 14px;
  color: #1565c0;
}
.fm-category-intro {
  font-size: 13px;
  color: #3a4a5e;
  margin-bottom: 6px;
}
.info-box-spaced {
  margin-bottom: 18px;
}
.theme-toggle-fixed {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1000;
}
/* --- Moved from inline styles in index.html --- */
.mascot-bot-img {
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 2px 12px #c95c2f33);
  margin-bottom: 18px;
}
.theme-toggle-fixed {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1000;
}
.right-align {
  text-align: right;
  margin-top: 0.5em;
}
.testimonials-margin {
  margin-top: 32px;
}
.testimonial-list-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.testimonial-blockquote {
  background: rgba(255,255,255,0.7);
  border-radius: 16px;
  padding: 18px 20px;
  font-size: 1.05rem;
}
.testimonial-footer {
  margin-top: 0.7em;
  font-size: 0.92rem;
  color: #655c52;
}
.testimonial-title {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
}
.dashboard-shell[data-theme="dark"],
[data-theme="dark"] {
  --bg: #1a1816;
  --bg-alt: #23201d;
  --surface: rgba(34, 28, 23, 0.92);
  --surface-strong: rgba(34, 28, 23, 0.98);
  --ink: #f3ede3;
  --muted: #b6a99a;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #ffb36b;
  --accent-strong: #c95c2f;
  --success: #4fd1a1;
  --warning: #ffb36b;
  --danger: #ff6b6b;
  --shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.cta-button {
  font-size: 1.18rem;
  padding: 18px 28px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 8px 32px rgba(201, 92, 47, 0.18);
  border: 0;
  margin-top: 12px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cta-button:focus, .cta-button:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 36px rgba(201, 92, 47, 0.22);
  transform: translateY(-2px) scale(1.03);
}

.hero-animate {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1);
}

@media (max-width: 980px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-header {
    flex-direction: column;
    gap: 18px;
  }
  .dashboard-card {
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .dashboard-shell {
    padding: 10px;
  }
  .dashboard-card, .dashboard-header {
    padding: 12px;
    border-radius: 18px;
  }
  .dashboard-grid {
    gap: 12px;
  }
}
.cta-button {
  font-size: 1.18rem;
  padding: 18px 28px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 8px 32px rgba(201, 92, 47, 0.18);
  border: 0;
  margin-top: 12px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cta-button:focus, .cta-button:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 36px rgba(201, 92, 47, 0.22);
  transform: translateY(-2px) scale(1.03);
}

.feature-icon {
  width: 1.3em;
  height: 1.3em;
  margin-right: 0.5em;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(201,92,47,0.10));
}

.hero-visual {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.5em;
}

.hero-animate, .auth-animate {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1);
}

@media (max-width: 980px) {
  .page-shell--split {
    grid-template-columns: 1fr;
  }
  .hero-panel, .auth-panel {
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .landing-shell {
    padding: 10px;
  }
  .hero-panel, .auth-panel {
    padding: 12px;
    border-radius: 18px;
  }
  .feature-list {
    gap: 6px;
  }
}

/* Dark mode */
[data-theme="dark"] {
  --bg: #1a1816;
  --bg-alt: #23201d;
  --surface: rgba(34, 28, 23, 0.92);
  --surface-strong: rgba(34, 28, 23, 0.98);
  --ink: #f3ede3;
  --muted: #b6a99a;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #ffb36b;
  --accent-strong: #c95c2f;
  --success: #4fd1a1;
  --warning: #ffb36b;
  --danger: #ff6b6b;
  --shadow: 0 24px 60px rgba(0,0,0,0.18);
}
:root {
  --bg: #f3ede3;
  --bg-alt: #efe2c3;
  --surface: rgba(255, 250, 242, 0.84);
  --surface-strong: rgba(255, 252, 247, 0.96);
  --ink: #1f1b17;
  --muted: #655c52;
  --line: rgba(73, 53, 29, 0.14);
  --accent: #c95c2f;
  --accent-strong: #9d3d19;
  --success: #1f7a58;
  --warning: #9e5f00;
  --danger: #8c2b2b;
  --shadow: 0 24px 60px rgba(69, 41, 16, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 220, 171, 0.55), transparent 33%),
    radial-gradient(circle at bottom right, rgba(201, 92, 47, 0.2), transparent 28%),
    linear-gradient(145deg, var(--bg), var(--bg-alt));
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(31, 27, 23, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 27, 23, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 88%);
}

h1,
h2,
p,
ul,
pre {
  margin: 0;
}

a {
  color: inherit;
}

.landing-shell,
.dashboard-shell {
  padding: 32px;
}

.page-shell,
.dashboard-layout {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.page-shell--split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 420px);
  gap: 24px;
  align-items: stretch;
}

.dashboard-layout {
  display: grid;
  gap: 24px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

/* Ensure card content remains readable on bright surfaces and mixed theme states. */
.card h1,
.card h2,
.card h3,
.card h4,
.card strong,
.card .node-title,
.card .section-title {
  color: #11243a;
  opacity: 1;
}

.card p,
.card li,
.card small,
.card .node-role,
.card .node-fn,
.card .muted,
.card .subtitle {
  color: #314a63;
  opacity: 1;
}

/* Extra guard for marketplace/trading sections rendered by dynamic components. */
[class*="marketplace" i],
[id*="marketplace" i],
[class*="trading" i],
[id*="trading" i] {
  color: #11243a;
}

[class*="marketplace" i] h1,
[class*="marketplace" i] h2,
[class*="marketplace" i] h3,
[id*="marketplace" i] h1,
[id*="marketplace" i] h2,
[id*="marketplace" i] h3,
[class*="trading" i] h1,
[class*="trading" i] h2,
[class*="trading" i] h3,
[id*="trading" i] h1,
[id*="trading" i] h2,
[id*="trading" i] h3 {
  color: #11243a;
  opacity: 1;
}

[class*="marketplace" i] p,
[id*="marketplace" i] p,
[class*="trading" i] p,
[id*="trading" i] p {
  color: #314a63;
  opacity: 1;
}

.card--hero,
.card--auth,
.dashboard-card,
.dashboard-header {
  padding: 28px;
}

.card--hero {
  min-height: 720px;
  display: grid;
  gap: 24px;
  align-content: start;
}

.card--inset {
  padding: 20px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid rgba(73, 53, 29, 0.1);
}

.card--soft {
  background: rgba(249, 242, 232, 0.85);
}

.eyebrow,
.section-kicker,
.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--muted);
}

h1,
h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3rem, 5vw, 5.5rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-top: 8px;
}

.lede {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 60ch;
  color: var(--muted);
}

.lede--compact {
  max-width: 50ch;
}

.hero-stats,
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.hero-stats article,
.inventory-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(73, 53, 29, 0.12);
}

.hero-stats strong,
.inventory-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.3rem;
}

.feature-list {
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.stack-form {
  display: grid;
  gap: 14px;
}

.stack-form label {
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(73, 53, 29, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  padding: 14px 16px;
  color: var(--ink);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(201, 92, 47, 0.2);
  border-color: rgba(201, 92, 47, 0.48);
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff8f2;
  box-shadow: 0 10px 22px rgba(157, 61, 25, 0.28);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border: 1px solid rgba(73, 53, 29, 0.12);
}

.status-line {
  min-height: 24px;
  color: var(--muted);
  line-height: 1.6;
}


.status-line[data-state='error'] {
  color: var(--danger);
  font-weight: bold;
}


.status-line[data-state='success'] {
  color: var(--success);
  font-weight: bold;
}
.loading-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 3px solid var(--muted);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.code-output {
  padding: 18px;
  border-radius: 18px;
  background: rgba(32, 23, 16, 0.95);
  color: #f6ead8;
  min-height: 220px;
  overflow: auto;
  line-height: 1.6;
  white-space: pre-wrap;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.header-actions,
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.inventory-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.inventory-card--critical {
  border-color: rgba(140, 43, 43, 0.28);
  background: rgba(255, 234, 234, 0.76);
}

.inventory-card--low {
  border-color: rgba(158, 95, 0, 0.28);
  background: rgba(255, 245, 225, 0.76);
}

@media (max-width: 980px) {
  .page-shell--split,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-header {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .landing-shell,
  .dashboard-shell {
    padding: 18px;
  }

  .card--hero,
  .card--auth,
  .dashboard-card,
  .dashboard-header {
    padding: 20px;
    border-radius: 22px;
  }

  h1 {
    max-width: none;
  }

  .header-actions,
  .panel-heading {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================================
   LANDING PAGE — SHOPIFY-STYLE SECTIONS
   ============================================================ */

/* Remove default padding on the landing shell so hero bleeds edge-to-edge */
body.landing-shell {
  padding: 0;
}

.shopify-landing {
  overflow: hidden;
}

/* ---- HERO ---- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #1f1b17 0%, #3b2412 55%, #5c2e0e 100%);
  color: #f9f0e6;
  text-align: center;
  padding: 100px 24px 90px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,92,47,0.45), transparent 65%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(255,180,80,0.18), transparent 60%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-content h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  color: #fff8f0;
  max-width: none;
  margin-bottom: 0.45em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.hero-content h1 em {
  font-style: italic;
  color: #ffb36b;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255,240,220,0.88);
  max-width: 52ch;
  margin: 0 auto 2rem;
}

.hero-sub strong {
  color: #ffb36b;
}

.hero-form {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.hero-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 22px;
  color: #fff8f0;
  font-size: 1rem;
  outline: none;
  border-radius: 0;
  width: auto;
}

.hero-form input[type="email"]::placeholder {
  color: rgba(255,240,220,0.55);
}

.hero-form input[type="email"]:focus {
  outline: none;
  border-color: transparent;
}

.hero-form .button--primary {
  border-radius: 999px;
  margin: 5px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: linear-gradient(135deg, #c95c2f, #ffb36b);
  box-shadow: 0 4px 18px rgba(201,92,47,0.5);
  color: #1f1b17;
}

.hero-form .button--primary:hover {
  background: linear-gradient(135deg, #ffb36b, #c95c2f);
  transform: none;
}

.hero-agree {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,240,220,0.5);
  margin-top: 0.5rem;
}

/* ---- TRUST LOGOS ---- */
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 40px;
  padding: 36px 32px;
  background: var(--bg-alt, #efe2c3);
  border-bottom: 1px solid rgba(73,53,29,0.1);
}

.trust-logos img {
  height: 26px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(1) contrast(0.8);
  transition: opacity 0.2s, filter 0.2s;
}

.trust-logos img:hover {
  opacity: 0.85;
  filter: grayscale(0) contrast(1);
}

/* ---- FEATURES SECTION ---- */
.features-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line, rgba(73,53,29,0.14));
  margin: 0;
  padding: 0;
}

.feature-card {
  background: var(--bg, #f3ede3);
  padding: 56px 52px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.feature-card:hover {
  background: #ede3d4;
}

.feature-cta {
  margin-top: auto;
  padding-top: 1.5em;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent, #c95c2f);
  letter-spacing: 0.03em;
  transition: letter-spacing 0.2s, color 0.2s;
}

.feature-card:hover .feature-cta {
  letter-spacing: 0.07em;
  color: var(--accent-strong, #9d3d19);
}

.feature-card::before {
  content: counter(feature-counter, decimal-leading-zero);
  counter-increment: feature-counter;
  position: absolute;
  top: 28px;
  right: 36px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 4rem;
  color: rgba(201,92,47,0.08);
  line-height: 1;
  font-weight: 400;
}

.features-section {
  counter-reset: feature-counter;
}

.feature-card h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  color: var(--ink, #1f1b17);
  margin-bottom: 0.6em;
}

.feature-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted, #655c52);
  max-width: 36ch;
}

/* ---- TESTIMONIAL ---- */
.testimonial-section {
  background: linear-gradient(135deg, #1f1b17 0%, #3b2412 100%);
  padding: 80px 32px;
  text-align: center;
}

.testimonial-section blockquote {
  max-width: 680px;
  margin: 0 auto;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-style: italic;
  color: #f9f0e6;
  line-height: 1.5;
  quotes: "\201C" "\201D";
  position: relative;
}

.testimonial-section blockquote::before {
  content: open-quote;
  font-size: 5rem;
  color: rgba(201,92,47,0.5);
  line-height: 0;
  vertical-align: -0.45em;
  margin-right: 4px;
}

.testimonial-section blockquote footer {
  margin-top: 1.4em;
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(255,240,220,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- FAQ ---- */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 32px;
}

.faq-section > h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  margin-bottom: 2em;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6em;
  line-height: 1.4;
}

.faq-item p {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 55ch;
}

/* ---- FOOTER ---- */
.footer-section {
  background: #1f1b17;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-section nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-section nav a {
  font-size: 0.88rem;
  color: rgba(255,240,220,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section nav a:hover {
  color: #ffb36b;
}

.footer-brand {
  font-size: 0.88rem;
  color: rgba(255,240,220,0.35);
}

/* ---- AUTH PANEL (below footer) ---- */
.auth-panel {
  max-width: 480px;
  margin: 48px auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
  .features-section {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 40px 28px;
  }

  .hero-section {
    padding: 72px 20px 64px;
  }

  .hero-form {
    flex-direction: column;
    border-radius: 20px;
    gap: 0;
  }

  .hero-form input[type="email"] {
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .hero-form .button--primary {
    border-radius: 16px;
    margin: 8px;
    padding: 14px 20px;
  }

  .footer-section {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}