:root {
  --ink: #1a1c1f;
  --ink-soft: #4a5058;
  --fog: #f3f0ea;
  --paper: #fffcf8;
  --brass: #9a7340;
  --brass-soft: rgba(154, 115, 64, 0.18);
  --line: rgba(26, 28, 31, 0.12);
  --line-strong: rgba(26, 28, 31, 0.18);
  --stage: #f7f4ee;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--fog);
  -webkit-font-smoothing: antialiased;
}

.demo {
  position: relative;
  min-height: 100dvh;
}

.demo__hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(243, 240, 234, 0.97) 0%, rgba(243, 240, 234, 0.9) 48%, rgba(243, 240, 234, 0.72) 100%),
    url("/static/coming-hero.jpg") 78% center / cover no-repeat;
  filter: grayscale(0.25) saturate(0.7) brightness(1.02);
}

.demo__grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.demo__shell {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.25rem, 3.5vw, 2rem) 0 4.5rem;
}

.demo__brand {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.05em;
  margin-bottom: clamp(1.75rem, 5vw, 2.75rem);
}

.demo__brand span {
  color: var(--brass);
}

.demo__brand:hover {
  opacity: 0.7;
}

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

.demo__eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.demo__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.demo__lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

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

.demo__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--fog);
  font: 650 0.95rem/1 var(--font-body);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.demo__cta:hover {
  background: #000;
  transform: translateY(-1px);
}

.demo__ghost {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  color: var(--ink-soft);
  font: 550 0.95rem/1 var(--font-body);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.demo__ghost:hover {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

/* Carousel — high contrast card */
.carousel {
  margin-bottom: 2rem;
  outline: none;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 20px 50px rgba(26, 28, 31, 0.1);
  /* Avoid overflow:hidden — it clips Syne descenders (g, y) on step titles. */
  overflow: visible;
}

.carousel__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 234, 0.65);
}

.carousel__progress {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.carousel__nav {
  display: flex;
  gap: 0.45rem;
}

.carousel__btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-size: 1.05rem;
  cursor: pointer;
}

.carousel__btn:hover {
  border-color: var(--ink);
}

.carousel__viewport {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  touch-action: pan-y;
  overflow: visible;
}

.carousel__track {
  min-height: 21rem;
  overflow: visible;
}

.carousel__slide[hidden] {
  display: none !important;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem 1.15rem;
}

.carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(26, 28, 31, 0.18);
  cursor: pointer;
}

.carousel__dot.is-active {
  background: var(--brass);
  transform: scale(1.25);
}

.demo__step {
  display: grid;
  grid-template-columns: minmax(16rem, 1.1fr) 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.demo__step-copy {
  overflow: visible;
  padding: 0.5rem 0.85rem 0.85rem 0.2rem;
  min-height: 14rem;
}

.demo__step-copy h2 {
  margin: 0 0 1rem;
  /* Figtree keeps descenders (g) intact; Syne 800 clips them in this card. */
  font-family: var(--font-body);
  font-weight: 650;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.35;
  padding: 0.05em 0 0.15em;
  overflow: visible;
  color: var(--ink);
}

.demo__step-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 1.02rem;
  max-width: 26rem;
}

.demo__n {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.demo__stage {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--stage);
  padding: 1.35rem;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Console mock — light */
.mock-console__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.mock-console__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brass);
}

.mock-console__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 650;
  color: var(--ink);
}

.mock-console__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.mock-console__chip {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.mock-console__chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.mock-console__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 2.45rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: var(--brass);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 650;
}

/* Phone mock */
.mock-phone {
  width: min(100%, 260px);
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  padding: 0.85rem 0.75rem 1rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(26, 28, 31, 0.08);
}

.mock-phone__notch {
  width: 5.5rem;
  height: 0.4rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  background: rgba(26, 28, 31, 0.12);
}

.mock-phone__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.mock-sms {
  max-width: 94%;
  margin-left: auto;
  padding: 0.75rem 0.85rem;
  border-radius: 16px 16px 4px 16px;
  background: #efe6d6;
  border: 1px solid rgba(154, 115, 64, 0.25);
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink);
}

.mock-sms a {
  color: var(--brass);
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Claim mock */
.mock-claim__shop {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.mock-claim__time {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.mock-claim__service {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.mock-claim__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mock-claim__price strong {
  font-size: 1.3rem;
  font-weight: 650;
  color: var(--ink);
}

.mock-claim__price s {
  color: rgba(26, 28, 31, 0.4);
  font-size: 0.95rem;
}

.mock-claim__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 650;
  font-size: 0.95rem;
}

.demo__try {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 248, 0.82);
  padding: clamp(1.25rem, 3vw, 1.6rem);
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 1.25rem;
  align-items: center;
}

.demo__try h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.demo__try p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
  font-size: 0.95rem;
  max-width: 32rem;
}

.demo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.demo__note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: rgba(26, 28, 31, 0.5);
}

@media (max-width: 800px) {
  .demo__step,
  .demo__try {
    grid-template-columns: 1fr;
  }

  .demo__actions {
    justify-content: flex-start;
  }

  .demo__hero {
    background:
      linear-gradient(180deg, rgba(243, 240, 234, 0.96) 0%, rgba(243, 240, 234, 0.88) 100%),
      url("/static/coming-hero.jpg") center / cover no-repeat;
  }
}

