:root {
  --ink: #1f160f;
  --muted: #6c625a;
  --paper: #fffdf9;
  --cream: #f6f0e7;
  --sand: #eadfce;
  --rust: #b84f2d;
  --rust-dark: #8e351c;
  --sky: #cbe7ed;
  --blue: #235a68;
  --night: #171310;
  --line: rgba(43, 31, 22, 0.14);
  --shadow: 0 24px 70px rgba(46, 29, 17, 0.16);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: #fff; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(51, 35, 24, 0.09);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; letter-spacing: -0.02em; font-size: 1.15rem; }
.brand-mark { width: 30px; height: 30px; position: relative; display: inline-grid; place-items: center; }
.brand-mark i { position: absolute; width: 22px; height: 22px; border: 4px solid currentColor; border-radius: 8px; transform: rotate(12deg); }
.brand-mark i:nth-child(2) { color: var(--rust); transform: rotate(132deg) scale(.76); }
.brand-mark i:nth-child(3) { color: var(--blue); transform: rotate(252deg) scale(.48); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a, .footer-links a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: .92rem; }
.main-nav a:hover, .footer-links a:hover { color: var(--rust); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--rust);
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(184, 79, 45, .2);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--rust-dark); box-shadow: 0 14px 28px rgba(184, 79, 45, .26); }
.button-small { min-height: 42px; padding-inline: 18px; }
.button-outline { background: transparent; color: var(--rust-dark); box-shadow: none; }
.button-outline:hover { color: #fff; }

.hero { position: relative; overflow: hidden; padding: 104px 0 98px; background: radial-gradient(circle at 78% 13%, #e6f2f3 0 15%, transparent 42%), linear-gradient(135deg, #fffaf2, #f4e9dc); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(184,79,45,.17); border-radius: 50%; left: -300px; top: -190px; box-shadow: 0 0 0 74px rgba(184,79,45,.035), 0 0 0 148px rgba(184,79,45,.025); }
.hero-grid { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 14px; color: var(--rust-dark); text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 900; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 650px; margin-bottom: 24px; font-size: clamp(3rem, 5.6vw, 5.65rem); }
h2 { margin-bottom: 18px; font-size: clamp(2.25rem, 4.4vw, 4rem); }
h3 { margin-bottom: 10px; font-size: 1.35rem; }
p { margin-top: 0; }
.lede { max-width: 650px; margin-bottom: 28px; color: #52483f; font-size: 1.16rem; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.text-link { color: var(--rust-dark); font-weight: 800; text-underline-offset: 4px; }
.hero-points { display: flex; gap: 18px; flex-wrap: wrap; padding: 0; margin: 28px 0 0; list-style: none; color: var(--muted); font-size: .88rem; font-weight: 750; }
.hero-points li::before { content: "•"; margin-right: 8px; color: var(--rust); }
.visual-window { overflow: hidden; border: 1px solid rgba(48, 36, 26, .14); border-radius: 22px; background: #fff; box-shadow: var(--shadow); transform: rotate(1.2deg); }
.window-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 13px; background: #f1eee9; color: #746b64; font-size: .7rem; }
.window-bar span { width: 8px; height: 8px; border-radius: 50%; background: #c1b6ab; }
.window-bar span:first-child { background: #d97c60; }
.window-bar b { margin-left: 5px; }
.visual-window img { width: 100%; aspect-ratio: 16 / 10.1; object-fit: cover; object-position: top center; }
.hero-visual figcaption { max-width: 510px; margin: 18px auto 0; color: var(--muted); text-align: center; font-size: .88rem; }

.proof-strip { border-block: 1px solid var(--line); background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid p { display: flex; flex-direction: column; margin: 0; padding: 25px 28px; border-right: 1px solid var(--line); }
.proof-grid p:first-child { border-left: 1px solid var(--line); }
.proof-grid strong { font-size: .94rem; }
.proof-grid span { color: var(--muted); font-size: .78rem; }

.section { padding: 104px 0; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading > p:last-child, .split-copy > p { color: var(--muted); font-size: 1.06rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 34px rgba(43, 31, 22, .05); }
.feature-card > span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 36px; border-radius: 50%; background: var(--cream); color: var(--rust-dark); font-weight: 900; font-size: .75rem; }
.feature-card p { color: var(--muted); }

.section-dark { color: #fff; background: var(--night); }
.section-heading-light p:last-child { color: #cfc5bc; }
.section-dark .eyebrow { color: #e7a790; }
.workflow-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.steps li > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #f0d8cc; color: var(--rust-dark); font-weight: 900; }
.steps h3 { margin: 2px 0 7px; font-size: 1.15rem; letter-spacing: -.02em; }
.steps p { margin: 0; color: #bdb4ad; font-size: .94rem; }

.split { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 90px; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--rust); font-weight: 900; }
.image-stack { position: relative; min-height: 620px; }
.image-stack img { position: absolute; border: 8px solid #fff; border-radius: 20px; box-shadow: var(--shadow); object-fit: cover; object-position: top; }
.stack-main { top: 0; right: 0; width: 64%; height: 570px; }
.stack-float { left: 0; bottom: 0; width: 68%; height: 330px; }

.section-soft { background: var(--cream); }
.learn-grid { display: grid; grid-template-columns: 1fr .78fr; align-items: center; gap: 90px; }
.learn-grid > div > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 1.06rem; }
.manual-card { padding: 36px; border: 1px solid rgba(70,48,32,.16); border-radius: 22px; background: rgba(255,255,255,.7); }
.manual-card strong { display: block; margin-bottom: 18px; font-size: 1.2rem; }
.manual-card ul { margin: 0; padding-left: 19px; color: var(--muted); }
.manual-card li + li { margin-top: 9px; }

.downloads { background: linear-gradient(180deg, #fff, #fbf5ed); }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.download-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 340px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.primary-card { background: var(--night); color: #fff; }
.platform { margin-bottom: 40px; color: var(--rust); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 900; }
.download-card p { flex: 1; color: var(--muted); }
.primary-card p, .primary-card small { color: #c9c0b9; }
.download-card .button { width: 100%; margin-top: 10px; }
.download-card small { margin-top: 14px; color: var(--muted); }
.download-note { max-width: 800px; margin: 28px auto 0; color: var(--muted); text-align: center; font-size: .87rem; }

.site-footer { padding: 38px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; }
.brand-footer { font-size: 1rem; }
.footer-grid p { margin: 0; color: var(--muted); font-size: .86rem; }
.footer-links { display: flex; gap: 22px; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-shell { justify-content: space-between; }
  .hero-grid, .workflow-grid, .split, .learn-grid { grid-template-columns: minmax(0, 1fr); gap: 54px; }
  .hero-grid > *, .workflow-grid > *, .split > *, .learn-grid > * { min-width: 0; }
  .hero { padding-top: 72px; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .feature-grid, .download-grid { grid-template-columns: repeat(2, 1fr); }
  .image-stack { width: min(720px, 100%); margin: 0 auto; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid p:nth-child(odd) { border-left: 1px solid var(--line); }
  .proof-grid p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 28px); max-width: calc(100% - 28px); }
  .hero-grid, .hero-copy, .hero-copy h1, .hero-copy .lede, .hero-visual, .visual-window { width: 100%; max-width: 100%; min-width: 0; }
  .site-header .button-small { display: none; }
  .nav-shell { min-height: 66px; }
  h1 { font-size: clamp(2.35rem, 11.3vw, 3.1rem); }
  .hero-copy { width: 100%; }
  .section { padding: 76px 0; }
  .feature-grid, .download-grid, .proof-grid { grid-template-columns: 1fr; }
  .proof-grid p, .proof-grid p:first-child, .proof-grid p:nth-child(odd) { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .image-stack { min-height: 560px; }
  .stack-main { width: 82%; height: 510px; }
  .stack-float { width: 78%; height: 265px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid .brand, .footer-links { justify-content: center; }
}

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