:root {
  --page: #f7f4ea;
  --surface: #fffefa;
  --paper: #fff8df;
  --line: #e6dec8;
  --text: #1f2328;
  --muted: #5d5f57;
  --green: #2f5b3b;
  --green-soft: #d9ead3;
  --yellow: #f7c948;
  --yellow-soft: #ffe07a;
  --clay: #d85f45;
  --shadow: 0 18px 52px rgb(31 35 40 / 10%);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 10px max(16px, env(safe-area-inset-left)) 10px max(16px, env(safe-area-inset-right));
  border-bottom: 1px solid rgb(230 222 200 / 86%);
  background: rgb(247 244 234 / 94%);
  backdrop-filter: blur(16px);
}

.brand,
.header-actions,
.nav-links,
.button-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 950;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.nav-links {
  display: none;
}

.header-actions {
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.language {
  min-width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 950;
}

.language.active {
  background: var(--yellow);
  color: var(--text);
}

.hero,
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 124px);
  display: grid;
  gap: 28px;
  padding: 34px 0 44px;
  align-items: center;
}

.hero-copy,
.section-heading,
.cta-section {
  display: grid;
  gap: 16px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  color: var(--text);
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(40px, 13vw, 58px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(30px, 9vw, 46px);
  line-height: 1.04;
}

.hero-copy > p:not(.eyebrow),
.section-heading > p,
.mobile-copy > p,
.chat-section > p,
.cta-section > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.button-row {
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 950;
}

.button.primary {
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--surface);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: #374151;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sticky-note {
  position: absolute;
  display: grid;
  gap: 10px;
  width: min(260px, 78%);
  padding: 18px;
  border: 1px solid rgb(31 35 40 / 12%);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgb(31 35 40 / 12%);
}

.sticky-note span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.sticky-note strong {
  font-size: 22px;
  line-height: 1.12;
}

.yellow-note {
  top: 30px;
  left: 16px;
  background: var(--yellow-soft);
  transform: rotate(-3deg);
}

.white-note {
  top: 136px;
  right: 14px;
  background: #ffffff;
  transform: rotate(2deg);
}

.green-note {
  left: 20px;
  bottom: 142px;
  background: var(--green-soft);
  transform: rotate(2deg);
}

.phone-card {
  position: absolute;
  right: 14px;
  bottom: 18px;
  width: min(268px, calc(100% - 28px));
  padding: 14px;
  border: 8px solid var(--text);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 24px 48px rgb(31 35 40 / 22%);
}

.phone-top,
.phone-task,
.status-row {
  display: flex;
  align-items: center;
}

.phone-top {
  justify-content: space-between;
  padding-bottom: 12px;
  color: #374151;
  font-size: 13px;
  font-weight: 950;
}

.phone-task {
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.phone-task div {
  display: grid;
  gap: 4px;
}

.phone-task small {
  color: #6b7280;
  font-size: 12px;
}

.checkmark {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid var(--green);
  border-radius: 999px;
}

.status-row {
  gap: 6px;
  margin-top: 10px;
}

.status-row span {
  flex: 1;
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--page);
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.section {
  padding: 54px 0;
}

.card-grid,
.steps,
.pricing-grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.info-card,
.feature-card,
.price-card,
.steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.info-card {
  display: grid;
  gap: 28px;
  align-content: space-between;
  min-height: 190px;
  padding: 20px;
}

.card-icon {
  color: var(--green);
  font-weight: 950;
}

.info-card p,
.feature-card p,
.steps p {
  color: #374151;
  font-weight: 820;
  line-height: 1.35;
}

.feature-section {
  width: 100%;
  padding: 64px max(16px, calc((100% - 1180px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.feature-card {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 18px;
  background: var(--page);
}

.feature-card strong {
  color: var(--green);
  font-size: 18px;
}

.mobile-section {
  display: grid;
  gap: 28px;
  align-items: center;
}

.mobile-copy {
  display: grid;
  gap: 16px;
}

.mobile-showcase {
  display: grid;
  place-items: center;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background:
    radial-gradient(circle at 24% 20%, rgb(247 201 72 / 24%), transparent 28%),
    var(--surface);
  box-shadow: var(--shadow);
}

.app-phone {
  width: min(336px, 100%);
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 10px solid var(--text);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: 0 28px 58px rgb(31 35 40 / 22%);
}

.app-phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-phone-header span {
  color: var(--green);
  font-size: 14px;
  font-weight: 950;
}

.app-phone-header strong {
  font-size: 22px;
}

.mobile-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mobile-tabs span {
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--page);
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.mobile-tabs .active {
  background: var(--yellow);
  color: var(--text);
}

.mobile-task-list {
  display: grid;
  gap: 10px;
}

.mobile-task-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.mobile-task-list article:nth-child(2) {
  background: #ffffff;
}

.mobile-task-list article:nth-child(3) {
  background: var(--green-soft);
}

.mobile-task-list div {
  display: grid;
  gap: 4px;
}

.mobile-task-list strong {
  font-size: 15px;
  line-height: 1.15;
}

.mobile-task-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mobile-task-list em {
  border-radius: 999px;
  padding: 6px 8px;
  background: var(--surface);
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.app-phone button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--text);
  color: var(--surface);
  font: inherit;
  font-weight: 950;
}

.steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.steps span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--yellow);
  font-weight: 950;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-list span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--surface);
  color: #374151;
  font-weight: 900;
}

.pricing-section {
  width: 100%;
  padding: 64px max(16px, calc((100% - 1180px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.price-card {
  display: grid;
  gap: 9px;
  align-content: start;
  min-height: 220px;
  padding: 20px;
  background: var(--page);
}

.price-card strong {
  color: var(--text);
  font-size: clamp(30px, 9vw, 42px);
  line-height: 1;
}

.price-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.price-card p:last-child {
  color: #374151;
  font-weight: 820;
  line-height: 1.35;
}

.price-label {
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.demo-card {
  background: var(--paper);
}

.custom-card {
  border-color: rgb(47 91 59 / 28%);
  background: var(--green-soft);
}

.chat-section,
.cta-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.chat-section {
  display: grid;
  gap: 16px;
}

.cta-section {
  margin-bottom: 34px;
  background: var(--paper);
}

.cta-section .button {
  max-width: 260px;
}

@media (min-width: 760px) {
  .site-header {
    padding-right: max(36px, env(safe-area-inset-right));
    padding-left: max(36px, env(safe-area-inset-left));
  }

  .nav-links {
    display: flex;
    gap: 6px;
  }

  .nav-links a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 0 12px;
    color: var(--muted);
    font-weight: 900;
  }

  .nav-links a:hover {
    background: var(--surface);
    color: var(--text);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
    gap: 42px;
  }

  h1 {
    font-size: clamp(58px, 8vw, 92px);
  }

  h2 {
    font-size: clamp(38px, 4.8vw, 56px);
  }

  .hero-copy > p:not(.eyebrow),
  .section-heading > p,
  .mobile-copy > p,
  .chat-section > p,
  .cta-section > p {
    font-size: 18px;
  }

  .button {
    width: auto;
  }

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

  .yellow-note {
    left: 24px;
  }

  .white-note {
    top: 122px;
    right: 24px;
  }

  .green-note {
    left: 52px;
    bottom: 42px;
  }

  .phone-card {
    right: 54px;
    bottom: 36px;
    width: min(270px, 48%);
  }

  .three {
    grid-template-columns: repeat(3, 1fr);
  }

  .two {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
    gap: 44px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .steps article {
    min-height: 180px;
    align-content: start;
    align-items: start;
    grid-template-columns: 1fr;
  }

  .chat-section {
    grid-template-columns: minmax(280px, 0.82fr) 1fr;
    align-items: center;
  }
}
