:root {
  --bg: #f6efe5;
  --bg-alt: #fffaf5;
  --surface: rgba(255, 250, 245, 0.72);
  --surface-strong: #fffdf9;
  --card: rgba(255, 255, 255, 0.72);
  --stroke: rgba(90, 59, 28, 0.12);
  --text: #20150f;
  --muted: #695447;
  --accent: #d85b2d;
  --accent-strong: #a33c19;
  --accent-soft: #ffd8b8;
  --teal: #1f8a78;
  --shadow: 0 24px 70px rgba(88, 52, 25, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 91, 45, 0.16), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(31, 138, 120, 0.2), transparent 18%),
    linear-gradient(180deg, #f8f1e8 0%, #f4eadf 48%, #fffaf5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 48px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 249, 242, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand,
.site-nav a,
.footer-links a {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 8px 18px rgba(33, 18, 7, 0.1);
  vertical-align: middle;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-name {
  display: block;
  line-height: 1;
}

.brand-name,
.site-nav,
.button,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
}

.section {
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 140px);
}

.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-strong);
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.hero-text {
  max-width: 58ch;
  margin-top: 22px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ee8a4a);
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
  box-shadow: 0 18px 32px rgba(216, 91, 45, 0.24);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  border-color: var(--stroke);
  box-shadow: none;
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.94rem;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trust-points li,
.screen-chip,
.feature-icon {
  border: 1px solid var(--stroke);
  border-radius: 999px;
}

.trust-points li {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--text);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.screens-showcase {
  position: relative;
  width: min(100%, 320px);
  min-height: 0;
}

.screen-shot {
  position: relative;
  width: min(100%, 266px);
  margin: 0 auto;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(160deg, #2d211c, #0e0a08);
  box-shadow:
    0 28px 52px rgba(33, 18, 7, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.screen-shot::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 34%;
  height: 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.78);
  transform: translateX(-50%);
}

.screen-shot img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.screen-shot-front {
  transform: rotate(-2deg);
}

.floating-panel {
  position: absolute;
  max-width: 220px;
  padding: 16px 18px;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: rgba(255, 250, 245, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.floating-panel span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.floating-panel strong {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.3;
}

.floating-panel-left {
  left: 8px;
  bottom: 84px;
}

.floating-panel-right {
  right: -8px;
  top: 104px;
}

.screenshot-strip {
  padding-top: 12px;
}

.screenshot-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.screenshot-copy {
  max-width: 22rem;
}

.screenshot-copy p:last-child {
  margin-top: 14px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 240px));
  justify-content: start;
  gap: 18px;
}

.screenshot-card {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255, 250, 245, 0.78);
  box-shadow: var(--shadow);
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stat-card,
.highlight-card,
.highlight-list article,
.feature-card,
.workflow-step,
.privacy-panel,
.faq-item,
.cta-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.stat-card {
  padding: 26px;
}

.stat-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  letter-spacing: -0.06em;
}

.stat-card span {
  color: var(--muted);
}

.feature-highlight {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.highlight-card,
.privacy-panel,
.cta-card {
  padding: 32px;
}

.highlight-list {
  display: grid;
  gap: 18px;
}

.highlight-list article,
.workflow-step,
.faq-item {
  padding: 26px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.feature-grid,
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 28px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 38px;
  margin-bottom: 20px;
  padding: 0 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.feature-card li + li {
  margin-top: 8px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.workflow-step span {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  color: var(--accent);
}

.privacy-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(circle at right center, rgba(31, 138, 120, 0.15), transparent 24%),
    rgba(255, 251, 246, 0.8);
}

.cta-card {
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(216, 91, 45, 0.16), transparent 35%),
    rgba(255, 251, 246, 0.88);
}

.cta-card .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 18px 0 10px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero,
  .feature-highlight,
  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .screens-showcase {
    width: min(100%, 300px);
  }

  .screenshot-layout {
    grid-template-columns: 1fr;
  }

  .screenshot-copy {
    max-width: none;
  }

  .floating-panel-left {
    left: 12px;
    bottom: 18px;
  }

  .floating-panel-right {
    right: 12px;
    top: 18px;
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .stats,
  .feature-grid,
  .workflow-grid,
  .faq-list,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .button-small {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual {
    min-height: auto;
    align-content: start;
  }

  .floating-panel {
    position: static;
    max-width: none;
  }

  .hero-visual {
    gap: 16px;
  }

  .screens-showcase {
    width: 100%;
    display: grid;
    gap: 16px;
  }

  .screen-shot {
    position: static;
    width: min(100%, 240px);
    margin: 0 auto;
    transform: none;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .section {
    padding: 52px 0;
  }

  .site-header {
    top: 10px;
    padding: 14px;
    border-radius: 28px;
  }

  .screen-shot {
    width: min(100%, 220px);
  }
}
