:root {
  --brand: #d97757;
  --brand-pressed: #b85a3d;
  --brand-soft: #fce8e0;
  --brand-muted: #e8a08a;
  --ink: #111111;
  --ink-2: #666666;
  --paper: #ffffff;
  --paper-2: #f4f4f4;
  --paper-warm: #fbf7f4;
  --line: #ece7e4;
  --radius: 12px;
  --shadow: 0 18px 50px -24px rgba(28, 20, 18, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper-warm);
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  z-index: 100;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.75rem;
}

.skip-link:focus {
  top: 1rem;
}

#site-header {
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#site-header.is-scrolled {
  background: rgba(251, 247, 244, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(28, 20, 18, 0.04);
  backdrop-filter: saturate(1.2) blur(16px);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(28, 20, 18, 0.12);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.15;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.store-btn small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

.store-btn-primary {
  background: var(--brand);
  color: #fff;
}

.store-btn-primary:hover {
  background: var(--brand-pressed);
}

.store-btn-secondary {
  background: var(--ink);
  color: #fff;
}

.store-btn-secondary:hover {
  background: #000;
}

.store-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.store-btn-ghost:hover {
  border-color: var(--brand-muted);
  background: var(--paper);
}

.store-btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.shot {
  width: 240px;
  margin: 0;
}

.shot--lg {
  width: 280px;
}

.shot--sm {
  width: 200px;
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 40px rgba(28, 20, 18, 0.18));
}

.shot-stack {
  position: relative;
  width: 400px;
  min-height: 580px;
}

.shot-stack .shot:first-child {
  position: absolute;
  left: 0;
  top: 48px;
  transform: rotate(-7deg);
  z-index: 1;
}

.shot-stack .shot:last-child {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.sheet-window {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sheet-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f8faf8;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

.sheet-dots {
  display: flex;
  gap: 5px;
}

.sheet-dots i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #dadada;
}

.sheet-dots i:nth-child(1) {
  background: #34a853;
}

.trust-icon,
.use-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-pressed);
}

.flow {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .flow {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
  }
}

.flow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.flow-num {
  font-family: Fraunces, serif;
  font-size: 28px;
  color: var(--brand);
  font-weight: 600;
}

.how-num {
  font-family: Fraunces, serif;
  font-size: 40px;
  line-height: 1;
  color: var(--brand);
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-wash {
  background:
    radial-gradient(900px 480px at 85% -10%, var(--brand-soft), transparent 60%),
    radial-gradient(600px 320px at 0% 80%, rgba(232, 160, 138, 0.18), transparent 55%),
    var(--paper-warm);
}

.section-muted {
  background: var(--paper-2);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px -20px rgba(28, 20, 18, 0.35);
}

.feature-list li {
  position: relative;
  padding-left: 1.15rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--brand);
}

@media (max-width: 767px) {
  .shot-stack {
    width: 260px;
    min-height: 0;
    height: auto;
    margin-inline: auto;
  }

  .shot-stack .shot:first-child {
    display: none;
  }

  .shot-stack .shot:last-child {
    position: relative;
    right: auto;
    width: 260px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
