:root {
  --bg: #fff8f2;
  --card: #ffffff;
  --card-muted: #fff1e6;
  --text: #1f1208;
  --muted: #6d4b3b;
  --accent: #f1641e;
  --accent-strong: #d95414;
  --accent-soft: rgba(241, 100, 30, 0.14);
  --border: rgba(31, 18, 8, 0.08);
  --shadow: rgba(122, 62, 22, 0.14);
  --container: min(1200px, 90vw);
  --sticky-offset: clamp(72px, 9vh, 96px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
  background: linear-gradient(180deg, #fff4e9 0%, #ffffff 60%, #fff5ec 100%);
  color: var(--text);
  line-height: 1.6;
  background-image: radial-gradient(circle at 20% 20%, rgba(241, 100, 30, 0.08), transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(255, 190, 150, 0.14), transparent 25%);
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: transparent;
  padding: 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  width: var(--container);
  margin: 0 auto;
}

.nav {
  margin-left: 0;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  box-shadow: 0 20px 45px rgba(31, 18, 8, 0.12);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

.nav-list li {
  display: flex;
  align-items: center;
}

.nav-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--text);
  background: rgba(241, 100, 30, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.nav-logo-link img {
  width: 22px;
  height: 22px;
  border-radius: 0.5rem;
  box-shadow: 0 6px 14px rgba(241, 100, 30, 0.18);
}

.header-install-link {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(241, 100, 30, 0.14);
  border: 1px solid rgba(241, 100, 30, 0.25);
  display: inline-flex;
  align-items: center;
}

.header-install-link:hover,
.header-install-link:focus-visible {
  background: rgba(241, 100, 30, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.4rem;
  border-radius: 0.45rem;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--text);
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.secondary-btn {
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid var(--accent-soft);
}

.ghost-btn {
  background: rgba(241, 100, 30, 0.12);
  color: var(--accent-strong);
  border: 1px solid rgba(241, 100, 30, 0.3);
  box-shadow: 0 18px 40px rgba(241, 100, 30, 0.18);
}

.header-install {
  box-shadow: 0 10px 25px rgba(241, 100, 30, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.header-install.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.primary-btn {
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(241, 100, 30, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.primary-btn:hover,
.primary-btn:focus-visible {
  transform: translateY(-2px);
  background: var(--accent);
}

.secondary-btn:hover,
.ghost-btn:hover,
.secondary-btn:focus-visible,
.ghost-btn:focus-visible {
  transform: translateY(-2px);
  background: rgba(241, 100, 30, 0.16);
}

.ghost-btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(4rem, 6vw, 6rem) 0 5rem;
  background: radial-gradient(circle at 18% 20%, rgba(255, 162, 111, 0.5), transparent 55%),
    radial-gradient(circle at 82% -20%, rgba(180, 148, 255, 0.32), transparent 48%),
    linear-gradient(180deg, #fff3ea 0%, #fffefd 60%, #fef6ef 100%);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.32), transparent 55%);
  opacity: 0.8;
  z-index: 0;
}

.hero::after {
  background: radial-gradient(circle at 85% 0%, rgba(255, 203, 170, 0.22), transparent 50%);
  mix-blend-mode: screen;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  min-height: clamp(640px, 75vh, 720px);
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #1f1208;
}

.lead {
  font-size: 1.1rem;
  color: #3c261a;
  max-width: 36rem;
}

.hero-copy-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 244, 232, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.35rem;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  box-shadow: 0 28px 55px rgba(31, 18, 8, 0.15), 0 10px 22px rgba(255, 179, 128, 0.16);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  display: grid;
  gap: 0.75rem;
}

.hero-copy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(241, 100, 30, 0.06), rgba(255, 255, 255, 0.12));
  opacity: 0.85;
}

.hero-copy-with-icon {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 0.4rem;
}

.hero-copy-bot {
  width: 60px;
  height: 60px;
  border-radius: 1.2rem;
  box-shadow: 0 14px 32px rgba(241, 100, 30, 0.25);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0.6rem 0 0.5rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.55), rgba(255, 246, 235, 0.45));
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 22px 45px rgba(31, 18, 8, 0.12), 0 10px 22px rgba(255, 179, 128, 0.14);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(241, 100, 30, 0.08), rgba(255, 190, 150, 0.14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  z-index: -1;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: rgba(241, 100, 30, 0.12);
  filter: blur(40px);
  z-index: 0;
}

.hero-metrics-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-metrics-row > div {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1rem;
  padding: 0.95rem 1.3rem 0.95rem 1.55rem;
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  flex-direction: column;
  min-width: 150px;
  box-shadow: 0 24px 45px rgba(31, 18, 8, 0.15), 0 8px 18px rgba(255, 179, 128, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transform: translateZ(0);
}

.hero-metrics-row > div::before {
  content: '';
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 6px;
  border-radius: 1rem 0 0 1rem;
  background: linear-gradient(180deg, var(--accent), #ffc299);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.hero-metrics-row > div::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 190, 150, 0.12), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-trust-note {
  margin: 0.6rem 0 0;
  color: #1f1208;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 0;
  text-align: left;
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 100%;
}

.metric {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.metric-label {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 1024px) {
  .hero-metrics-row {
    flex-wrap: nowrap;
  }
  .hero-metrics-row > div {
    flex: 1 1 0;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    margin-top: 1.5rem;
  }
}

.hero-card-list {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  color: var(--text);
}

.hero-card-list li {
  position: relative;
  padding-left: 1.5rem;
}

.hero-card-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.hero-card-foot {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.demo-intro {
  padding: 4rem 0 2.5rem;
}

.demo-intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.demo-intro-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(122, 62, 22, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo-intro-card:focus-visible,
.demo-intro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(122, 62, 22, 0.16);
  outline: 3px solid rgba(241, 100, 30, 0.4);
}

.demo-intro-card:focus-visible {
  outline-offset: 4px;
}

.demo-stack {
  padding: 5rem 0 4rem;
  background: linear-gradient(
      180deg,
      rgba(255, 252, 248, 0.98) 0%,
      rgba(248, 230, 214, 0.96) 55%,
      rgba(120, 78, 50, 0.6) 80%,
      rgba(120, 78, 50, 0.6) 100%
    ),
    radial-gradient(circle at 20% 15%, rgba(255, 182, 120, 0.12), transparent 50%),
    radial-gradient(circle at 85% 0%, rgba(98, 74, 255, 0.18), transparent 50%);
  color: var(--text);
}

.demo-stack-grid {
  display: grid;
  grid-template-columns: minmax(600px, 1fr) minmax(260px, 360px);
  gap: 3.5rem;
  align-items: stretch;
}

.demo-shell-stage {
  position: relative;
  width: 100%;
  max-width: 940px;
  align-self: flex-start;
}

.demo-shell-stage-inner {
  position: sticky;
  top: var(--sticky-offset);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-shell-live {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(620px, 80vh, 820px);
}

.demo-shell-live .demo-shell {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 1.75rem;
  box-shadow: 0 40px 80px rgba(31, 18, 8, 0.25), 0 10px 30px rgba(31, 18, 8, 0.18);
  border: 1px solid rgba(31, 18, 8, 0.08);
  padding: 1rem;
  box-sizing: border-box;
}

.demo-shell-live .demo-shell.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  z-index: 1;
}

.demo-shell-templates {
  display: none;
}

.demo-case-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: clamp(40px, 6vh, 80px);
  min-height: clamp(620px, 80vh, 820px);
  justify-content: center;
  padding-top: clamp(80px, 12vh, 140px);
}

.demo-case-list::after {
  content: '';
  display: block;
  height: clamp(120px, 18vh, 180px);
  flex-shrink: 0;
}

.demo-case {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid rgba(241, 100, 30, 0.2);
  padding: 1.5rem;
  background: #fffefc;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
  opacity: 0.95;
  min-height: clamp(380px, 55vh, 620px);
  display: flex;
  align-items: center;
  box-shadow: 0 22px 38px rgba(31, 18, 8, 0.15);
  overflow: hidden;
}

.demo-case::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-radius: 1.25rem 0 0 1.25rem;
  background: linear-gradient(180deg, var(--accent), #ffc299);
}

.demo-case.active {
  border-color: rgba(241, 100, 30, 0.45);
  box-shadow: 0 35px 55px rgba(31, 18, 8, 0.2);
  opacity: 1;
  transform: translateX(4px);
  background: linear-gradient(145deg, #fff6ef, #ffe5d5);
}

.demo-case .demo-info {
  position: relative;
  max-width: none;
  width: 100%;
  color: inherit;
}

.demo-case:focus-visible {
  outline: 3px solid rgba(241, 100, 30, 0.45);
  outline-offset: 4px;
}

.demo-case .demo-info-list {
  margin-top: 1rem;
  color: rgba(44, 26, 18, 0.75);
}

@media (max-width: 1080px) {
  .demo-stack-grid {
    grid-template-columns: 1fr;
  }
  .demo-shell-stage {
    max-width: 100%;
    margin-bottom: 2rem;
  }
  .demo-shell-stage-inner {
    top: 3rem;
    height: clamp(420px, 75vh, 620px);
  }
  .demo-case-list {
    gap: 1.5rem;
    padding-bottom: 2rem;
    min-height: auto;
    justify-content: flex-start;
    padding-top: 0;
  }
  .demo-case-list::after {
    height: 0;
  }
  .demo-case {
    min-height: auto;
    opacity: 1;
  }
}

.demo-section {
  padding: 4rem 0;
}

.container-wide {
  width: min(1300px, 95vw);
  margin: 0 auto;
}

.trust-bar {
  padding: 2.5rem 0;
  background: #fff3ea;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.trust-title {
  font-weight: 600;
  color: var(--muted);
  margin: 0;
}

.stat-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 1rem;
  padding: 1rem 1.45rem 1rem 1.65rem;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.62), rgba(255, 247, 239, 0.5));
  min-width: 180px;
  box-shadow: 0 26px 55px rgba(31, 18, 8, 0.15), 0 8px 18px rgba(255, 179, 128, 0.16);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(241, 100, 30, 0.12), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
  pointer-events: none;
}

.stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
}

.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
}

.demo-flex {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.demo-info {
  flex: 1 1 320px;
  max-width: 360px;
}

.demo-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 0.85rem;
  box-shadow: 0 10px 25px rgba(122, 62, 22, 0.15);
}

.demo-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  color: var(--accent-strong);
}

.demo-info-title {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.demo-info-list {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.demo-shell {
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px rgba(122, 62, 22, 0.12);
  padding: 1.25rem 1.5rem;
  width: min(940px, 100%);
  margin-left: auto;
}

.demo-shell.simulated {
  position: relative;
  overflow: hidden;
}

.demo-shell.simulated select:disabled,
.demo-shell.simulated .demo-hint:disabled,
.demo-shell.simulated button:disabled,
.demo-shell.simulated textarea[readonly] {
  opacity: 1;
  color: var(--text);
  cursor: default;
}

.demo-shell.simulated .demo-hint:disabled {
  background: #fff;
  border-style: dashed;
}

.demo-shell.simulated button:disabled {
  background: var(--accent);
  color: #fff;
}

.demo-shell.simulated .demo-send-row .primary-btn:disabled {
  background: #111;
  color: #fff;
}

.simulate-highlight {
  box-shadow: 0 0 0 3px rgba(241, 100, 30, 0.35);
}

.simulated .demo-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"white\" stroke=\"black\" stroke-width=\"1.2\"><path d=\"M2 1l8 20 2-6 6 4z\"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.3s ease;
  z-index: 5;
}

.simulated .demo-cursor::after {
  content: '';
  position: absolute;
  top: 6px;
  right: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.simulated .demo-cursor.clicking::after {
  opacity: 1;
  transform: scale(1);
}

.tone-select-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.tone-select-shell.active::before {
  opacity: 1;
}

.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-etsy-mark {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.demo-brand-title {
  font-weight: 700;
  color: var(--text);
}

.demo-top-order {
  color: var(--muted);
}

.demo-content {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1rem;
}

.demo-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1.25rem;
}

.demo-layout.no-rail {
  grid-template-columns: minmax(0, 1fr);
}

.demo-layout.rules-view {
  grid-template-columns: 200px minmax(0, 1fr) 300px;
  align-items: start;
}

.demo-layout.rules-view.no-rail {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.demo-rail {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
  color: var(--muted);
}

.rules-panel {
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 0.85rem;
  background: #fff8f2;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 100%;
  width: 100%;
  font-size: 0.92rem;
}

.rules-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-title {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.sidebar-pill {
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(241, 100, 30, 0.15);
  color: var(--accent-strong);
}

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

.rules-list li {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.6rem;
  background: #fff;
}

.rules-list strong {
  display: block;
  font-size: 0.9rem;
}

.rules-list span {
  font-size: 0.85rem;
  color: var(--muted);
}

.rules-form {
  display: grid;
  gap: 0.5rem;
}

.rules-form label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.rules-form input {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.6rem;
  font-size: 0.9rem;
}

.rules-form button {
  justify-self: flex-start;
}

.sidebar-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.demo-rail-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0.5rem 0;
  color: var(--muted);
  display: none;
}

.demo-rail ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem 0;
}

.demo-rail li {
  padding: 0.45rem 0.6rem;
  border-radius: 0.6rem;
  cursor: default;
  color: #a0a0a0;
}

.demo-rail li:not(.active) {
  display: none;
}

.demo-rail li.active {
  background: var(--card-muted);
  color: var(--text);
  font-weight: 600;
}

.demo-chat {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02);
}

.demo-toolbar {
  display: flex;
  padding: 0.4rem 1rem;
  border-bottom: 1px solid var(--border);
}

.demo-thread {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  background: #fdfaf7;
}

.bubble-row {
  position: relative;
  padding-left: 44px;
}

.bubble-row-sent {
  opacity: 0;
  transition: opacity 0.35s ease;
  padding-left: 0;
  padding-right: 44px;
}

.avatar {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0d6ce;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-image: url('https://images.unsplash.com/photo-1524504388940-b1c1722653e1?w=120&h=120&fit=crop&q=60');
  background-size: cover;
  background-position: center;
}

.avatar-seller {
  background-image: url('https://images.unsplash.com/photo-1525130413817-d45c1d127c42?w=120&h=120&fit=crop&q=60');
}

.bubble-row-sent .avatar {
  left: auto;
  right: 0;
}

.bubble {
  max-width: 75%;
  padding: 0.7rem 0.9rem;
  border-radius: 1rem;
  font-size: 0.9rem;
}

.bubble-buyer {
  background: #f7f7f7;
  border: 1px solid var(--border);
  justify-self: flex-start;
  margin-right: auto;
}

.bubble-row-sent .bubble {
  margin-left: auto;
}

.bubble-seller {
  background: #ffe1cf;
  border: 1px solid var(--border);
  justify-self: flex-end;
  margin-left: auto;
}

.demo-thread .card-text {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 0 0.1rem 0;
  color: var(--text);
}

.bubble-meta {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.demo-composer {
  border-top: 1px solid var(--border);
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  background: #fff;
}

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

.demo-row-nowrap {
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.demo-row .demo-select,
.demo-row .tone-select-shell {
  flex: 0 0 auto;
}

.demo-row .demo-hint {
  flex: 1 1 240px;
}

.demo-hint--narrow {
  flex: 1 0 150px;
  min-width: 0;
}

.demo-row-nowrap .demo-hint {
  min-width: 0;
}

.demo-row .primary-btn,
.demo-row .ghost-btn,
.demo-row .secondary-btn {
  flex: 0 0 auto;
}

.tone-select-shell {
  position: relative;
}

.demo-select label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.demo-select select {
  width: 140px;
  padding: 0.45rem 0.65rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.tone-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  width: 170px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  padding: 0.4rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.tone-select-shell.menu-open .tone-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tone-menu li {
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
}

.tone-menu li.active {
  background: rgba(241, 100, 30, 0.15);
}

.demo-hint {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.demo-textarea {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0.75rem;
  background: #fff;
  display: grid;
  gap: 0.35rem;
}

.demo-reply-wrapper {
  position: relative;
}

.demo-caret {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: var(--accent-strong);
  opacity: 0;
  transition: opacity 0.2s ease;
  transform: none;
  pointer-events: none;
}

.show-edit-indicator .demo-caret {
  opacity: 1;
  animation: caret-blink 1s steps(2, start) infinite;
}

.demo-edit-indicator {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.8rem;
  color: var(--accent-strong);
  background: rgba(241, 100, 30, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.show-edit-indicator .demo-edit-indicator {
  opacity: 1;
}

@keyframes caret-blink {
  0%,
  50% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

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

.demo-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.demo-reply-input {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 0.9rem;
  font-size: 0.95rem;
  resize: vertical;
  background: #fff;
  color: var(--text);
}

.demo-reply-input:focus-visible {
  outline: 2px solid var(--accent-soft);
}

.demo-reply-input.demo-editing {
  box-shadow: 0 0 0 2px rgba(241, 100, 30, 0.25);
}

.demo-send-row {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.demo-send-row .primary-btn {
  background: #111;
  color: #fff;
  box-shadow: none;
}

.demo-send-row .primary-btn:hover,
.demo-send-row .primary-btn:focus-visible {
  background: #000;
}

.demo-sidebar {
  padding: 1.25rem;
}

.demo-pill {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.8rem;
}

.demo-controls {
  margin-top: 0.5rem;
}

.demo-actions {
  gap: 0.5rem;
}

.demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.85rem;
  color: var(--muted);
}

.chip.active {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-color: rgba(241, 100, 30, 0.35);
}

.demo-sidebar-section {
  margin-bottom: 1rem;
}

.demo-rules li {
  margin-bottom: 0.2rem;
}

.card-header,
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
}

.card-body {
  margin: 1.5rem 0;
}

.card-label {
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
  color: #6f4e3a;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  opacity: 0.85;
}

.card-text {
  background: var(--card-muted);
  padding: 0.9rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.card-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.social-proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0.6;
}

.faq,
.cta {
  padding: 5rem 0;
}

.faq {
  background: linear-gradient(
      180deg,
      rgba(120, 78, 50, 0.6) 0%,
      rgba(255, 248, 243, 1) 55%,
      #fff9f4 100%
    );
  padding-top: 4.5rem;
}

.faq-list .faq-item {
  background: #fff;
}

.eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #c65c1f;
  margin-bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-copy .eyebrow {
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
}

.faq h2,
.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-top: 0;
}

.faq-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-heading-with-icon {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-icon,
.cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(241, 100, 30, 0.2);
}

.faq-list {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.faq-contact {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.faq-item {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  padding: 1.1rem 1.35rem;
  text-align: left;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 0 26px 55px rgba(31, 18, 8, 0.14), 0 10px 20px rgba(255, 179, 128, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

.faq-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(241, 100, 30, 0.08), rgba(255, 255, 255, 0.05));
  pointer-events: none;
  mix-blend-mode: lighten;
}

.faq-item .answer {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  margin: 0;
  transition: max-height 0.3s ease;
}

.faq-item[aria-expanded='true'] .answer {
  max-height: 300px;
}

.faq-item .indicator {
  margin-left: auto;
  font-weight: 700;
}


.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 2rem;
  background: linear-gradient(185deg, #20110a 0%, #170c07 55%, #0f0705 100%);
  color: #e6dbd1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.footer-brand p {
  max-width: 320px;
  color: rgba(230, 219, 209, 0.78);
}

.footer-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(207, 149, 110, 0.82);
  margin-bottom: 0.8rem;
}

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

.footer-links a,
.footer-contact a {
  color: #d7b08a;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #e4c19d;
}

.footer-mail {
  font-weight: 600;
}

.footer-note {
  margin: 0.4rem 0 0;
  color: rgba(230, 219, 209, 0.72);
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: rgba(230, 219, 209, 0.7);
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Legal pages */
.legal-page {
  background: linear-gradient(180deg, #fff4e9 0%, #ffffff 60%, #fff5ec 100%);
  color: var(--text);
}

.legal-main {
  padding: 48px 0 96px;
}

.legal-hero {
  padding: 32px 0 12px;
}

.legal-section {
  padding: 8px 0 48px;
}

.legal-stack {
  display: grid;
  gap: 28px;
}

.legal-stack h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.legal-stack ul {
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.legal-stack li strong {
  font-weight: 600;
}

.legal-meta {
  padding-top: 8px;
  border-top: 1px solid #d9e1ef;
  color: #334155;
}

.container.narrow {
  max-width: 760px;
  margin: 0 auto;
}

.legal-nav-actions .ghost-btn.small {
  padding: 8px 12px;
  font-size: 14px;
}

.legal-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(241, 100, 30, 0.12);
  color: var(--accent-strong);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 25px rgba(241, 100, 30, 0.18);
}

.legal-hero-chip img {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(241, 100, 30, 0.22);
}

.legal-hero h1 {
  margin: 0.4rem 0 0.6rem;
}

.legal-hero .lead {
  color: #1f2937;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 14px 38px rgba(31, 18, 8, 0.08);
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.legal-stack h2 {
  font-size: 20px;
}

.legal-section {
  padding: 8px 0 48px;
}

.legal-stack ul {
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

/* Billing success page */
.billing-page {
  background: linear-gradient(180deg, #fff4e9 0%, #ffffff 60%, #fff5ec 100%);
  color: var(--text);
}

.billing-main {
  padding: 48px 0 96px;
}

.billing-hero {
  padding: 24px 0 8px;
}

.billing-hero-grid {
  display: grid;
  gap: 24px;
}

.billing-hero-copy h1 {
  margin: 0.35rem 0 0.6rem;
}

.billing-hero-copy .lead {
  color: #1f2937;
  max-width: 40rem;
}

.billing-hero {
  position: relative;
  overflow: hidden;
}

.billing-hero::before,
.billing-hero::after {
  content: "";
  position: absolute;
  inset: -120px auto auto -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(241, 100, 30, 0.12) 0%, rgba(248, 250, 252, 0) 68%);
  filter: blur(12px);
  z-index: 0;
}

.billing-hero::after {
  inset: auto -120px -140px auto;
  background: radial-gradient(circle, rgba(255, 190, 150, 0.18) 0%, rgba(248, 250, 252, 0) 68%);
}

.billing-hero .container {
  position: relative;
  z-index: 1;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.success-badge {
  background: rgba(34, 197, 94, 0.16);
  color: #166534;
}

.success-badge span {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  text-align: center;
  line-height: 18px;
  font-weight: 800;
}

.light-badge {
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
}

.billing-status-panel {
  display: none;
}

.inline-btn {
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 14px 30px rgba(241, 100, 30, 0.28);
  text-decoration: none;
}

.inline-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(241, 100, 30, 0.35);
}

.bot-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 18, 8, 0.1);
  margin-right: 10px;
  vertical-align: middle;
}

.bot-chip img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.billing-status-panel .ghost-btn {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.billing-status-panel .ghost-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.billing-card {
  background: #0b1628;
  color: #f8fafc;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.billing-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.billing-card h3 {
  margin: 0.2rem 0 0;
}

.next-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.next-steps li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.next-steps strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #fefefe;
}

.next-steps p {
  margin: 0;
  color: rgba(248, 250, 252, 0.82);
}

.billing-help {
  padding: 32px 0 0;
}

.billing-help-grid {
  display: grid;
  gap: 20px;
}

.info-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 36px rgba(31, 18, 8, 0.08);
}

.billing-list-grid {
  margin-top: 1rem;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.billing-list-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fffdf9;
}

.list-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(241, 100, 30, 0.18) 0%, rgba(241, 100, 30, 0.32) 100%);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(31, 18, 8, 0.08);
}

.billing-list-card p {
  margin: 0;
  color: #0f172a;
}

.billing-list-card strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .demo-flex {
    flex-direction: column;
  }

  .demo-shell {
    width: 100%;
    margin-left: 0;
  }

  .demo-info {
    max-width: 100%;
  }

  .demo-row-nowrap {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    margin-right: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    position: absolute;
    inset: 70px 1.5rem auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(241, 100, 30, 0.15);
    border-radius: 1.25rem;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-list.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    padding-top: 4rem;
  }

  .header-content {
    padding: 0.5rem 0;
  }

  .cta-actions {
    flex-direction: column;
  }
}
.demo-edit-indicator {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.8rem;
  color: var(--accent-strong);
  background: rgba(241, 100, 30, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.demo-editing + .demo-edit-indicator,
.show-edit-indicator .demo-edit-indicator {
  opacity: 1;
}
.demo-row-nowrap {
  flex-wrap: nowrap;
}
.cta {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 5% 20%, rgba(241, 100, 30, 0.12), transparent 50%),
    radial-gradient(circle at 95% 30%, rgba(255, 190, 150, 0.18), transparent 45%),
    #fffdfb;
}

.cta-card {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.75rem;
  padding: clamp(2.2rem, 4vw, 3.4rem);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 246, 235, 0.9));
  box-shadow: 0 50px 95px rgba(31, 18, 8, 0.18), 0 18px 35px rgba(255, 179, 128, 0.22);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(241, 100, 30, 0.14), rgba(255, 255, 255, 0.06));
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cta-left,
.cta-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-left p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.cta-right {
  gap: 1.5rem;
}

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

.cta-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cta-list-label {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(241, 100, 30, 0.16);
  color: var(--accent-strong);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-list span + span {
  color: var(--text);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cta-actions {
    flex-direction: row;
    align-items: flex-start;
  }
  .cta-actions a {
    flex: 0 0 auto;
  }
}
.section-intro {
  position: relative;
  padding: 2.5rem 0 3rem;
  background: linear-gradient(
      180deg,
      rgba(255, 252, 248, 0.96) 0%,
      rgba(248, 230, 214, 0.96) 55%,
      rgba(255, 252, 248, 0.98) 100%
    );
}

.section-intro-rail {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(31, 18, 8, 0.12);
  flex-wrap: wrap;
}

.section-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(241, 100, 30, 0.12);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 600;
}

.section-intro-badge img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(241, 100, 30, 0.25);
}

.section-intro-text {
  flex: 1 1 auto;
}

.section-intro-text h3 {
  margin: 0 0 0.35rem;
}

.section-intro-text p {
  margin: 0;
  color: #6d4b3b;
  max-width: 620px;
}

@media (max-width: 768px) {
  .section-intro-rail {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
.success-page {
  background: linear-gradient(180deg, #fff7ef 0%, #ffffff 58%, #fff3e7 100%);
}

.success-main {
  padding: 0 0 4rem;
}

.success-hero {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 2.5rem;
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(50, 201, 110, 0.12);
  color: #1b7a46;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(27, 122, 70, 0.15);
}

.success-card {
  margin-top: 1.6rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 1.5rem;
  border: 1px solid rgba(241, 100, 30, 0.15);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 235, 0.96));
  box-shadow: 0 28px 60px rgba(31, 18, 8, 0.14), 0 16px 32px rgba(241, 100, 30, 0.12);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.success-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(241, 100, 30, 0.12), transparent 42%);
  pointer-events: none;
}

.success-icon {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: linear-gradient(135deg, #2dc86a, #0f9d58);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  font-weight: 700;
  box-shadow: 0 18px 35px rgba(30, 148, 85, 0.28), 0 0 0 10px rgba(50, 201, 110, 0.08);
}

.success-copy h1 {
  margin: 0 0 0.4rem;
}

.success-copy .lead {
  margin: 0;
  color: var(--muted);
}

.success-copy .cta-actions {
  margin-top: 1.3rem;
}

.success-note {
  margin-top: 0.9rem;
  font-size: 0.98rem;
  color: var(--muted);
}

.success-steps {
  padding: 1.5rem 0 3.5rem;
}

.success-steps-head {
  max-width: 840px;
  margin: 0 auto 1.5rem;
}

.success-steps-head h2 {
  margin: 0.2rem 0 0.4rem;
}

.success-steps-head .lead {
  margin: 0;
}

.success-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  margin-top: 1rem;
}

.success-step {
  background: #ffffff;
  border-radius: 1.15rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 36px rgba(122, 62, 22, 0.12);
  padding: 1.25rem;
  display: grid;
  gap: 0.4rem;
}

.success-step h3 {
  margin: 0.15rem 0;
}

.success-step p {
  margin: 0;
  color: var(--muted);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(241, 100, 30, 0.12);
  color: var(--accent-strong);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.success-help {
  padding: 1rem 0 2.5rem;
}

.success-help-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  border-radius: 1.35rem;
  border: 1px solid rgba(241, 100, 30, 0.14);
  background: rgba(255, 252, 248, 0.9);
  box-shadow: 0 20px 42px rgba(31, 18, 8, 0.12);
}

.success-help-card .lead {
  margin: 0.2rem 0 0;
}

.help-actions {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.help-note {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .success-card {
    grid-template-columns: 1fr;
  }

  .success-icon {
    justify-self: flex-start;
  }

  .success-help-card {
    grid-template-columns: 1fr;
  }

  .help-actions {
    justify-content: flex-start;
  }
}
