:root {
  --bg: #f7f4ef;
  --panel: #ffffff;
  --text: #171717;
  --muted: #7d7b77;
  --accent: #c65a42;
  --accent-dark: #151515;
  --accent-soft: #f3e1d9;
  --border: #e4dbd2;
  --shadow: 0 28px 70px rgba(38, 31, 26, 0.16);
  --shadow-soft: 0 14px 32px rgba(38, 31, 26, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(247, 244, 239, 0.88);
  border-bottom: 1px solid rgba(228, 219, 210, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  margin: 3px 0;
}

.hero {
  padding: 54px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 56px;
  align-items: center;
}

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

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
  line-height: 0.98;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1.08;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.lead,
.page-intro,
.feature p,
.cta-panel p,
.policy-card p,
.contact-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.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-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  text-align: center;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px rgba(198, 90, 66, 0.24);
}

.button.secondary {
  background: var(--panel);
  color: var(--text);
  border-color: var(--border);
}

.hero-card {
  display: flex;
  justify-content: center;
}

.app-showcase {
  position: relative;
  width: min(100%, 620px);
  min-height: 660px;
  align-items: center;
  overflow: visible;
}

.app-showcase::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background: rgba(198, 90, 66, 0.18);
  filter: blur(70px);
  opacity: 0.55;
  transform: translate(28px, 38px);
}

.phone-crop {
  position: relative;
  margin: 0;
  aspect-ratio: 944 / 1915;
  overflow: hidden;
  border-radius: 36px;
  background: #efe8df;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.phone-crop img {
  position: absolute;
  top: 0;
  left: 0;
  width: 136.1%;
  max-width: none;
  height: auto;
  transform: translate(-13.25%, -22.32%);
}

.phone-crop-main {
  z-index: 3;
  width: min(46vw, 320px);
  margin: 0 auto;
}

.phone-crop-side {
  position: absolute;
  z-index: 2;
  width: min(32vw, 220px);
  opacity: 0.92;
  filter: saturate(0.94);
}

.phone-crop-left {
  left: 0;
  transform: translateY(26px) rotate(-7deg);
}

.phone-crop-right {
  right: 0;
  transform: translateY(58px) rotate(7deg);
}

.feature,
.cta-panel,
.contact-card,
.policy-card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.section {
  padding: 56px 0;
}

.section-accent {
  padding-top: 8px;
  padding-bottom: 72px;
}

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

.app-flow-section {
  padding-top: 28px;
}

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

.flow-step {
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 620px;
  padding: 22px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.flow-copy span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.flow-copy p {
  margin: 0;
  color: var(--muted);
}

.flow-phone {
  width: min(100%, 245px);
  justify-self: center;
  box-shadow: 0 18px 42px rgba(38, 31, 26, 0.14);
}

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

.feature {
  border-radius: 18px;
  padding: 22px;
}

.cta-panel {
  border-radius: 24px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page {
  padding: 72px 0 96px;
}

.contact-card,
.policy-card {
  margin-top: 24px;
  border-radius: 20px;
  padding: 24px;
}

.contact-email {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  word-break: break-word;
}

.policy-card h2 {
  margin-top: 28px;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card ul {
  padding-left: 20px;
  color: var(--muted);
}

.policy-card li {
  margin-bottom: 10px;
}

.button-compact {
  min-height: 44px;
  padding: 0 16px;
}

.site-footer {
  border-top: 1px solid rgba(228, 219, 210, 0.9);
  background: rgba(255, 255, 255, 0.5);
}

.footer-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

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

@media (max-width: 900px) {
  .hero {
    padding-top: 40px;
  }

  .hero-grid,
  .app-flow-grid,
  .feature-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: -1;
  }

  .app-showcase {
    min-height: 520px;
  }

  .phone-crop-main {
    width: min(100%, 310px);
  }

  .phone-crop-side {
    width: min(36vw, 200px);
  }

  .flow-step {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.62fr);
    align-items: center;
    min-height: 0;
  }

  .flow-phone {
    width: min(100%, 220px);
  }

  .cta-panel {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .nav {
    min-height: 64px;
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 12px;
    border-radius: 10px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: #f4eee8;
  }

  .hero-actions,
  .footer-row,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .page {
    padding: 40px 0 64px;
  }

  .app-showcase {
    min-height: auto;
  }

  .phone-crop-main {
    width: min(100%, 300px);
  }

  .phone-crop-side {
    display: none;
  }

  .flow-step {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-bottom: 24px;
  }

  .section {
    padding: 40px 0;
  }

  .app-showcase::before {
    width: 260px;
    height: 260px;
  }

  .phone-crop {
    border-radius: 28px;
  }

  .flow-phone {
    width: min(100%, 230px);
  }

  .contact-card,
  .policy-card,
  .feature,
  .cta-panel {
    padding: 18px;
  }
}
