:root {
  color-scheme: light;
  --ink: #172033;
  --ink-soft: #44516a;
  --muted: #69758c;
  --brand: #5267f7;
  --brand-dark: #3c4ed8;
  --brand-soft: #eef0ff;
  --mint: #22b89a;
  --mint-soft: #e9faf6;
  --amber: #f2b84b;
  --surface: #ffffff;
  --surface-alt: #f6f7fb;
  --surface-warm: #fffaf1;
  --line: #e2e6ef;
  --line-strong: #cfd6e4;
  --shadow-sm: 0 10px 30px rgba(38, 47, 75, 0.07);
  --shadow-md: 0 24px 70px rgba(38, 47, 75, 0.13);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

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

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 230, 239, 0.8);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1 1 auto;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--ink);
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  line-height: 1.25;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(82, 103, 247, 0.24);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 16px 34px rgba(82, 103, 247, 0.3);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: #b8c0d2;
  background: var(--surface-alt);
}

.btn-ghost {
  min-height: auto;
  padding-inline: 10px;
  color: var(--ink-soft);
}

.btn-lg {
  min-height: 54px;
  padding-inline: 24px;
  border-radius: 16px;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 86px 0 92px;
  background:
    radial-gradient(circle at 80% 15%, rgba(82, 103, 247, 0.14), transparent 30%),
    radial-gradient(circle at 12% 80%, rgba(34, 184, 154, 0.12), transparent 27%),
    linear-gradient(180deg, #fbfbff, #fff);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -170px;
  height: 240px;
  border-radius: 50%;
  background: #fff;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #dfe3ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(34, 184, 154, 0.13);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.hero h1 {
  max-width: 740px;
  margin: 20px 0;
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.accent {
  color: var(--brand);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}

.trust-line li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--mint);
  font-weight: 900;
}

.product-shot {
  position: relative;
  padding: 13px;
  border: 1px solid rgba(208, 214, 230, 0.9);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
  transform: rotate(1deg);
}

.product-shot img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.product-shot::before {
  content: "";
  position: absolute;
  inset: -20px 9% auto;
  z-index: -1;
  height: 90%;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(82, 103, 247, 0.23), rgba(34, 184, 154, 0.2));
  filter: blur(30px);
}

.floating-note {
  position: absolute;
  right: -22px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  transform: rotate(-2deg);
}

.floating-note b {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-warm {
  background: var(--surface-warm);
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  margin-bottom: 15px;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 840;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-head p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.proof-strip {
  position: relative;
  z-index: 3;
  margin-top: -30px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.proof-item {
  min-height: 112px;
  padding: 25px 28px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
}

.proof-item span {
  color: var(--muted);
  font-size: 14px;
}

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

.card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 4px 16px rgba(35, 44, 74, 0.03);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card:nth-child(3n + 2) .card-icon {
  background: var(--mint-soft);
  color: #168b74;
}

.card:nth-child(3n) .card-icon {
  background: #fff4db;
  color: #a36b00;
}

.card h3 {
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 1.25;
}

.card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.workflow {
  counter-reset: workflow;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.workflow-item {
  position: relative;
  padding: 25px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.workflow-item::before {
  counter-increment: workflow;
  content: "0" counter(workflow);
  display: block;
  margin-bottom: 28px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.workflow-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 22px;
  right: -13px;
  z-index: 2;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

.workflow-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.workflow-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  align-items: center;
  gap: 70px;
}

.split.reverse > :first-child {
  order: 2;
}

.feature-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--mint-soft);
  color: #168b74;
  font-size: 12px;
  font-weight: 900;
}

.media-frame {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.media-frame img {
  width: 100%;
  border-radius: 15px;
}

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

.compare-panel {
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.compare-panel.positive {
  border-color: #cfd5ff;
  background: linear-gradient(145deg, #f6f7ff, #fff);
}

.compare-panel h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.compare-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-panel li {
  color: var(--ink-soft);
}

.compare-panel li::before {
  content: "×";
  margin-right: 10px;
  color: #c06b70;
  font-weight: 900;
}

.compare-panel.positive li::before {
  content: "✓";
  color: var(--mint);
}

.subject-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.subject-chip {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.subject-chip:hover,
.subject-chip.current {
  border-color: #cbd2ff;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 430px));
  justify-content: center;
  gap: 18px;
}

.price-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.price-card.featured {
  border-color: #bdc6ff;
  box-shadow: var(--shadow-sm);
}

.price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 850;
}

.price-card h3 {
  margin-bottom: 4px;
  font-size: 21px;
}

.price {
  margin: 24px 0;
  font-size: 43px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.price-card .feature-list {
  margin-bottom: 27px;
}

.faq {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 21px 44px 21px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 750;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 4px;
  color: var(--brand);
  font-size: 24px;
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  max-width: 740px;
  margin: -5px 0 22px;
  color: var(--ink-soft);
}

.cta-band {
  padding: 88px 0;
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 62px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
}

.cta-box::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 103, 247, 0.65), transparent 68%);
}

.cta-box h2 {
  position: relative;
  z-index: 1;
  max-width: 690px;
  margin-bottom: 13px;
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.cta-box p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin-bottom: 25px;
  color: #c7cede;
  font-size: 18px;
}

.cta-box .cta-actions {
  position: relative;
  z-index: 1;
}

.cta-box .btn-secondary {
  border-color: #556078;
  background: transparent;
  color: #fff;
}

.site-footer {
  padding: 62px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: 50px;
}

.footer-about {
  max-width: 360px;
  margin: 18px 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-email {
  color: var(--brand);
  font-weight: 700;
}

.footer-links h3 {
  margin-bottom: 15px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin: 9px 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 200;
  width: min(720px, calc(100% - 30px));
  padding: 16px;
  transform: translateX(-50%);
  border: 1px solid #303b52;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: var(--shadow-md);
  color: #e9edf5;
}

.cookie-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cookie-row p {
  flex: 1;
  margin: 0;
  font-size: 13px;
}

.cookie-row a {
  color: #bfc7ff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 7px;
}

.cookie-actions button {
  padding: 8px 11px;
  border: 1px solid #4a566e;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.cookie-actions .accept {
  border-color: var(--brand);
  background: var(--brand);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.board-demo {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(#edf0f7 1px, transparent 1px),
    linear-gradient(90deg, #edf0f7 1px, transparent 1px),
    #fff;
  background-size: 28px 28px;
  box-shadow: var(--shadow-md);
}

.board-toolbar {
  position: absolute;
  top: 18px;
  left: 50%;
  display: flex;
  gap: 7px;
  padding: 8px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.board-tool {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--surface-alt);
  color: var(--ink-soft);
  font-weight: 800;
}

.board-tool.active {
  background: var(--brand);
  color: #fff;
}

.formula {
  position: absolute;
  top: 135px;
  left: 13%;
  font-family: Georgia, serif;
  font-size: 34px;
  font-style: italic;
  transform: rotate(-2deg);
}

.board-note {
  position: absolute;
  right: 10%;
  bottom: 78px;
  width: 210px;
  padding: 18px;
  transform: rotate(2deg);
  border-radius: 6px;
  background: #fff0a9;
  box-shadow: var(--shadow-sm);
  color: #574a21;
  font-size: 14px;
}

.board-video {
  position: absolute;
  right: 18px;
  top: 78px;
  width: 140px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 15px;
  background: linear-gradient(135deg, #dce2f1, #aab5cf);
  box-shadow: var(--shadow-sm);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    padding: 18px 24px 26px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-sm);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 8px 0;
    font-size: 16px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .product-shot {
    max-width: 780px;
  }

  .split.reverse > :first-child {
    order: initial;
  }

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

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

  .workflow-item:nth-child(2)::after {
    display: none;
  }

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

  .footer-links:last-child {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .nav {
    min-height: 68px;
  }

  .nav-links {
    top: 68px;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero {
    padding: 58px 0 70px;
  }

  .hero h1 {
    font-size: clamp(39px, 13vw, 53px);
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .floating-note {
    right: 8px;
    bottom: 12px;
  }

  .section {
    padding: 70px 0;
  }

  .proof-grid,
  .cards,
  .workflow,
  .compare,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .workflow-item::after {
    display: none;
  }

  .cta-band {
    padding: 60px 0;
  }

  .cta-box {
    padding: 39px 25px;
    border-radius: 25px;
  }

  .footer-links:last-child {
    grid-column: auto;
  }

  .footer-bottom,
  .cookie-row {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-actions {
    flex-wrap: wrap;
  }

  .board-demo {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
