@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-400-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-400-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-400-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-tight-500-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-tight-500-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-tight-800.woff2') format('woff2');
}

:root {
  --bg: #fbfaf8;
  --paper: #fff;
  --soft: #f2f0ec;
  --ink: #1f1f1e;
  --muted: rgba(31, 31, 30, 0.7);
  --line: rgba(31, 31, 30, 0.12);
  --pink: #f9288f;
  --blue: #5577f4;
  --orange: #ff6335;
  --tag: #44589f;
  --tag-warm: #aa4d25;
  --max: 1060px;
  --nav-height: 64px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.6 Inter, system-ui, sans-serif;
}

h1, h2, h3 {
  font-family: 'Inter Tight', Inter, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.78; }

:focus-visible {
  outline: 3px solid #7659df;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 6vw;
  background: rgba(251, 250, 248, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: 600 18px 'Inter Tight', sans-serif;
}

.mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #7659df, #f49459);
  font: 700 13px Inter, sans-serif;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}

.navlinks > a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 5px;
}

.navlinks .button { min-height: 44px; padding: 10px 16px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  content: '';
  transition: transform 180ms ease, opacity 180ms ease;
}

.hamburger { position: relative; }
.hamburger::before { position: absolute; top: -6px; }
.hamburger::after { position: absolute; top: 6px; }
.nav.is-open .hamburger { background: transparent; }
.nav.is-open .hamburger::before { top: 0; transform: rotate(45deg); }
.nav.is-open .hamburger::after { top: 0; transform: rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  padding: 11px 24px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.button.alt {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  border-color: rgba(31, 31, 30, 0.18);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 24px 0;
  text-align: center;
  background:
    radial-gradient(50% 62% at 48% 108%, rgba(249, 40, 143, 0.5), transparent 72%),
    radial-gradient(42% 55% at 15% 105%, rgba(85, 119, 244, 0.46), transparent 78%),
    radial-gradient(38% 54% at 88% 108%, rgba(255, 99, 53, 0.48), transparent 78%),
    linear-gradient(#fff, #f8edf4);
}

.hero.compact { padding-bottom: 86px; }

.hero-inner {
  position: relative;
  max-width: 820px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.eyebrow {
  margin: 0;
  color: #b41462;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 14px var(--pink);
}

h1 { margin: 0; font-size: clamp(44px, 5.3vw, 72px); }

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.fine {
  color: #4e4a43 !important;
  font-size: 13px !important;
  font-weight: 500;
}

.preview {
  box-sizing: border-box;
  width: 100%;
  max-width: 920px;
  margin: 56px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 -24px 80px rgba(31, 31, 30, 0.09);
}

.preview picture,
.preview img {
  display: block;
  width: 100%;
}

.preview img {
  height: auto;
  border-radius: 14px 14px 0 0;
}

.section {
  padding: 96px 40px;
  border-top: 1px solid var(--line);
}

.section.soft { background: var(--soft); }
.section.panel-accent { background: #f5f3f7; }
section[id] { scroll-margin-top: calc(var(--nav-height) + 20px); }
#demo { scroll-margin-top: calc(var(--nav-height) + 24px); }

.wrap { max-width: var(--max); margin: auto; }
.intro { max-width: 600px; margin-bottom: 48px; }
.intro.center { margin: 0 auto 48px; text-align: center; }
.intro h2 { margin: 0 0 14px; font-size: 36px; }
.intro p, .copy { margin: 0; color: var(--muted); font-size: 16.5px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}

.card h3 { margin: 5px 0 10px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.tag {
  color: var(--tag);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tag.peach { color: var(--tag-warm); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin: 0 0 14px; font-size: 34px; }

.checklist { margin: 18px 0 0; padding: 0; list-style: none; }
.checklist li { margin: 9px 0; color: var(--muted); }
.checklist li::before { content: '✓'; margin-right: 10px; color: #5c43bb; font-weight: 700; }

.workspace {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #7659df, #604cb5);
}

.avatar.orange { background: linear-gradient(135deg, #de9c5d, #d46a3a); }
.avatar.blue { background: linear-gradient(135deg, #4f93b6, #3f63a5); }
.workspace small { display: block; color: var(--muted); }

.isolate {
  margin-left: auto;
  border-radius: 999px;
  padding: 4px 10px;
  background: #eee8ff;
  color: #513db6;
  font-size: 11px;
  font-weight: 700;
}

.panel { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.panel-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.panel-row:last-child { border: 0; }

.layer-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 22px; }
.layer { padding: 32px 28px; background: #fff; border-right: 1px solid var(--line); }
.layer:last-child { border: 0; }
.layer b { color: var(--tag); font: 800 22px 'Inter Tight', sans-serif; }
.layer h3 { margin: 8px 0; }
.layer p { margin: 0; color: var(--muted); font-size: 14.5px; }

.cta { padding: 88px 24px; text-align: center; background: linear-gradient(135deg, #ece8fc, #fff1e8); }
.cta h2 { margin: 0 0 14px; font-size: 38px; }
.cta p { max-width: 580px; margin: 0 auto 24px; color: var(--muted); }

.feature { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 52px 0; border-bottom: 1px solid var(--line); }
.feature h2 { margin: 6px 0; font-size: 25px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.feature ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; }
.feature li { margin: 8px 0; }
.feature li::before { content: '✓'; margin-right: 10px; color: #5c43bb; font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.step b { color: var(--tag); font-weight: 800; }
.step h3 { margin: 8px 0; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { display: flex; flex-direction: column; gap: 20px; padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.plan.enterprise { color: #fff; background: var(--ink); }
.plan.enterprise p, .plan.enterprise li { color: rgba(255, 255, 255, 0.78); }
.price { font: 600 42px 'Inter Tight', sans-serif; }
.price small { color: var(--muted); font: 500 15px Inter, sans-serif; }
.enterprise .price small { color: rgba(255, 255, 255, 0.65); }
.plan ul { flex: 1; margin: 0; padding: 0; list-style: none; }
.plan li { margin: 10px 0; color: var(--muted); font-size: 14.5px; }
.plan li::before { content: '✓'; margin-right: 10px; color: #5c43bb; font-weight: 700; }
.enterprise li::before { color: #ffb08e; }
.plan .button { margin-top: auto; }
.plan.enterprise .button { color: var(--ink); background: #fff; }

.form { display: grid; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.form input, .form textarea { width: 100%; border: 1px solid rgba(31, 31, 30, 0.18); border-radius: 10px; padding: 11px 14px; background: #f7f5f2; font: inherit; }
.form .success { display: none; margin: 0; color: #513db6; font-size: 14px; }
.form.submitted .success { display: block; }

.faq { margin: 12px 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq h3 { margin: 0 0 8px; font-size: 16px; }
.faq p { margin: 0; color: var(--muted); font-size: 14.5px; }

.not-found { min-height: calc(100vh - var(--nav-height)); display: grid; place-items: center; padding: 72px 24px; background: linear-gradient(#fff, #f8edf4); }
.not-found-card { max-width: 720px; padding: 52px 40px; text-align: center; border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 255, 255, 0.72); box-shadow: 0 24px 80px rgba(31, 31, 30, 0.08); }
.not-found-card h1 { font-size: clamp(46px, 8vw, 76px); }
.not-found-card p { color: var(--muted); font-size: 17px; }

.footer { padding: 64px 6vw; border-top: 1px solid var(--line); background: #f1efeb; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; max-width: var(--max); margin: auto; flex-wrap: wrap; }
.footer p { max-width: 280px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 64px; }
.footer-links div { display: grid; gap: 10px; font-size: 14px; }
.footer-links strong { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.copyright { max-width: var(--max); margin: 36px auto 0; color: var(--muted); font-size: 12.5px; }

@media (max-width: 860px) {
  .nav { position: sticky; padding: 10px 20px; }
  .nav-toggle { display: inline-flex; }
  .nav.js-nav .navlinks { display: none; }
  .nav.js-nav.is-open .navlinks { position: absolute; top: calc(100% + 1px); right: 12px; left: 12px; display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.98); box-shadow: 0 18px 48px rgba(31, 31, 30, 0.14); }
  .nav.js-nav .navlinks > a { min-height: 44px; padding: 10px 12px; border-radius: 8px; }
  .nav.js-nav .navlinks > a:not(.button):hover { background: var(--soft); opacity: 1; }
  .nav.js-nav .navlinks .button { width: 100%; margin-top: 4px; }
  .section { padding: 72px 20px; }
  .grid3, .split, .plans, .steps, .layer-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 16px; }
  .layer { border-right: 0; border-bottom: 1px solid var(--line); }
  .preview { margin-top: 38px; }
  .footer-links { gap: 28px; }
}

@media (max-width: 520px) {
  .actions, .actions .button { width: 100%; }
  .hero { padding-top: 84px; }
  .not-found-card { padding: 40px 24px; }
}
