:root {
  --bg: #FAF7F2;
  --bg-alt: #F3EFE8;
  --card: #EFEAE2;
  --ink: #1C1A17;
  --ink-soft: #55504A;
  --accent: #E8662A;
  --accent-soft: #FBE6D8;
  --line: #E2DCD1;
  --radius: 16px;
  --maxw: 1120px;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 6px 18px rgba(232,102,42,.22);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(232,102,42,.3); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { background: #fff; border-color: var(--ink); box-shadow: none; }
.btn--small { padding: 9px 18px; font-size: 14px; }
.btn--full { width: 100%; padding: 15px; font-size: 16px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px;
  font-weight: 600; color: var(--accent); margin: 0 0 14px;
}
.accent { color: var(--accent); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(250,247,242,.78);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--ink); }
.brand__mark { color: var(--accent); }
.nav__links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.nav__links a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero__web { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero__inner { position: relative; padding: 110px 24px 96px; max-width: 880px; }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 6vw, 66px); line-height: 1.04;
  letter-spacing: -0.015em; margin: 0 0 24px;
}
.hero__sub { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-soft); max-width: 640px; margin: 0 0 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
.section { padding: 92px 0; }
.section--alt { background: var(--bg-alt); }
.section__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.1;
  letter-spacing: -0.01em; margin: 0 0 20px;
}
.section__lead { font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); margin: 0; }

/* Chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 34px 0 0; }
.chips li {
  background: #fff; border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28,26,23,.07); }
.card__num { font-family: var(--serif); font-size: 15px; color: var(--accent); font-weight: 600; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 12px 0 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* Split sections */
.split__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split--reverse .split__inner { direction: rtl; }
.split--reverse .split__text { direction: ltr; }
.split--reverse .split__visual { direction: ltr; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: 15.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
}

/* Graph visual */
.split__visual { display: flex; justify-content: center; }
.graph { width: 100%; max-width: 360px; }
.graph__edges line { stroke: var(--accent); stroke-width: 1.4; opacity: .4; }
.graph__nodes circle { fill: var(--ink); }
.graph__node--accent { fill: var(--accent) !important; }

/* Panel mock */
.panel {
  width: 100%; max-width: 380px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 18px 40px rgba(28,26,23,.08);
}
.panel__row { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.panel__bubble {
  background: var(--bg-alt); border-radius: 12px; padding: 14px 16px;
  font-size: 14.5px; margin-bottom: 14px;
}
.panel__answer {
  border-left: 2px solid var(--accent); padding-left: 14px;
  font-size: 14px; color: var(--ink-soft);
}
.panel__src { display: block; font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 6px; }

/* Feature screenshot */
.feature__head { margin-bottom: 44px; }
.shot {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 30px 70px rgba(28,26,23,.12);
}
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.shot figcaption {
  text-align: center; color: var(--ink-soft);
  font-size: 14px; padding: 18px 16px 8px;
}

/* Pilot / form */
.pilot { padding-bottom: 100px; }
.form { margin-top: 34px; text-align: left; display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form select, .form textarea {
  width: 100%; font-family: inherit; font-size: 15px;
  padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; color: var(--ink); resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form__note { font-size: 14px; margin: 4px 0 0; min-height: 20px; }
.form__note.ok { color: var(--accent); }
.form__note.err { color: #c0392b; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.footer__brand { font-family: var(--serif); font-weight: 600; font-size: 19px; }
.footer__tag { color: var(--ink-soft); font-size: 14px; flex: 1; min-width: 240px; }
.footer__copy { color: var(--ink-soft); font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .cards { grid-template-columns: 1fr; }
  .split__inner { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__inner { direction: ltr; }
  .section { padding: 68px 0; }
  .hero__inner { padding: 80px 24px 70px; }
}
@media (max-width: 540px) {
  .form__row { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
