:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #111827;
  --muted: #5f6f85;
  --soft: #f1f5f9;
  --line: #e2e8f0;
  --accent: #1264e8;
  --accent-strong: #0b55d9;
  --accent-soft: #e9f1ff;
  --teal: #0f766e;
  --amber: #b7791f;
  --white: #ffffff;
  --shadow: 0 22px 62px rgba(15, 23, 42, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

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

svg {
  display: block;
}

svg path,
svg circle,
svg rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(28px, 5vw, 76px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand img,
.footer-brand img {
  flex: 0 0 auto;
}

.brand-name {
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  line-height: 1;
}

.brand > span:not(.brand-name) {
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  line-height: 1;
}

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

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  color: #263244;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
}

.nav-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-product svg {
  width: 14px;
  height: 14px;
}

.header-cta,
.primary-button,
.cookie-panel button,
.mock-toolbar button,
.report-panel button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 10px 26px rgba(18, 100, 232, 0.18);
}

.header-cta {
  justify-self: end;
  min-width: 144px;
  padding: 0 18px;
}

.landing {
  width: min(1180px, calc(100vw - 56px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(520px, 1.15fr);
  align-items: center;
  gap: clamp(34px, 4vw, 64px);
  padding: 48px 0 40px;
}

.hero-visual {
  min-width: 0;
  margin: 0;
}

.hero-visual picture,
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy {
  min-width: 0;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 560px;
  margin: 0;
  color: #172033;
  font-size: clamp(44px, 3.8vw, 54px);
  line-height: 1.15;
  font-weight: 860;
}

h1 span {
  color: var(--accent);
}

.lead {
  max-width: 470px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

.primary-button {
  width: fit-content;
  min-width: 168px;
  margin-top: 32px;
  padding: 0 22px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 560px;
  margin-top: 44px;
  color: #627084;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.trust-row span {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 9px;
}

.trust-row i {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #172033;
  font-style: normal;
}

.trust-row i svg {
  width: 30px;
  height: 30px;
}

.product-window {
  display: none;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cbd5e1;
}

.app-shell {
  display: grid;
  grid-template-columns: 162px 1fr;
  min-height: 488px;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px 18px 18px;
  border-right: 1px solid var(--line);
  background: #fbfdff;
}

.mock-brand,
.mock-profile {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mock-brand strong,
.mock-profile strong {
  display: block;
  color: #172033;
  font-size: 13px;
}

.mock-profile small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #f97316);
}

.mock-sidebar nav {
  display: grid;
  gap: 8px;
}

.mock-sidebar nav span,
.settings {
  min-height: 31px;
  padding: 8px 10px;
  border-radius: 7px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.mock-sidebar nav .active {
  background: var(--accent-soft);
  color: var(--accent);
}

.settings {
  margin-top: auto;
}

.mock-content {
  min-width: 0;
  padding: 24px 24px 22px;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 22px;
}

.mock-toolbar button {
  min-width: 182px;
  min-height: 36px;
  font-size: 12px;
}

.mock-toolbar span {
  display: inline-grid;
  place-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.78fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.journal-panel {
  grid-row: span 2;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: #172033;
  font-size: 14px;
  font-weight: 850;
}

.panel-title small {
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--accent);
  font-size: 10px;
}

.note {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.note strong {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
}

.note p {
  margin: 0 0 8px;
  color: #263244;
  font-size: 11px;
  line-height: 1.5;
}

.note small {
  color: #94a3b8;
  font-size: 10px;
}

.note.success strong {
  color: #16a34a;
}

.note.warning strong {
  color: #dc2626;
}

.note.info strong {
  color: var(--accent);
}

.bar {
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
  gap: 12px;
  margin: 13px 0;
}

.bar span {
  height: 10px;
  border-radius: 999px;
}

.bar b {
  color: #475569;
  font-size: 11px;
}

.bar.red span {
  background: #ef4444;
}

.bar.yellow span {
  background: #f59e0b;
}

.bar.green span {
  background: #22c55e;
}

.bar.blue span {
  background: #0ea5e9;
}

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

.nine-grid span,
.nine-grid strong {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 10px;
}

.nine-grid strong {
  border: 2px solid #4f8ff7;
  background: #eef6ff;
  color: var(--accent);
}

.report-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
}

.report-panel p {
  height: 8px;
  margin: 9px 0;
  border-radius: 999px;
  background: #e5e7eb;
}

.report-panel p:nth-of-type(1) {
  width: 92%;
}

.report-panel p:nth-of-type(2) {
  width: 82%;
}

.report-panel p:nth-of-type(3) {
  width: 72%;
}

.report-panel button {
  min-height: 34px;
  margin-top: 14px;
  padding: 0 12px;
  font-size: 11px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 34px 0 58px;
}

.feature-grid article {
  min-height: 206px;
  padding: 26px 20px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-grid span,
.step-icon,
.benefits span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
}

.feature-grid svg,
.step-icon svg,
.benefits svg {
  width: 24px;
  height: 24px;
}

.feature-grid h2,
.benefits h3,
.steps h3 {
  margin: 24px 0 10px;
  color: #172033;
  font-size: 18px;
  line-height: 1.25;
}

.feature-grid p,
.steps p,
.benefits p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.how-section {
  padding: 18px 0 66px;
  text-align: center;
}

.how-section h2,
.benefits h2,
.final-cta h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.16;
}

.benefits h2 {
  font-size: clamp(24px, 2.2vw, 30px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 62px;
  margin-top: 36px;
  text-align: left;
}

.steps article {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 18px;
  align-items: center;
}

.steps article > span {
  position: absolute;
  top: 0;
  left: 54px;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.step-icon {
  grid-row: 1;
  align-self: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  font-size: 20px;
}

.step-copy {
  grid-column: 2;
  display: grid;
  gap: 10px;
  align-content: center;
}

.steps h3 {
  margin: 0;
}

.steps p {
  min-height: 72px;
}

.benefits {
  padding: 34px 46px 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  background: transparent;
}

.benefit-row article {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 16px;
  align-items: center;
  min-height: 88px;
  padding: 0 22px;
  background: var(--white);
  text-align: left;
}

.benefit-row article + article {
  border-left: 1px solid var(--line);
}

.benefits span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f8fafc;
  color: #172033;
  font-size: 16px;
}

.benefits h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.benefits p {
  grid-column: 2;
  font-size: 13px;
}

.final-cta {
  padding: 78px 0 70px;
  text-align: center;
}

.final-cta .primary-button {
  margin-top: 24px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px clamp(22px, 5vw, 72px) 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-brand span {
  color: var(--ink);
  font-weight: 850;
}

.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer a,
.site-footer button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-footer button:disabled {
  cursor: default;
  opacity: 0.72;
}

.cookie-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(520px, calc(100vw - 44px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(23, 23, 23, 0.13);
}

.cookie-panel[hidden] {
  display: none;
}

.cookie-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.cookie-panel button {
  min-width: 54px;
  min-height: 38px;
  padding: 0 14px;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.legal-page h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
}

.legal-page h2 {
  margin-top: 44px;
  font-size: 28px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.legal-note {
  padding: 18px;
  border: 1px solid #d7b86a;
  border-radius: 8px;
  background: #fff7df;
  color: #6b4b00;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .product-window {
    max-width: 720px;
  }

  .feature-grid,
  .benefit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding-inline: 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 18px;
  }

  .header-cta {
    min-width: 118px;
    min-height: 40px;
  }

  .landing {
    width: min(100vw - 32px, 1160px);
  }

  .hero {
    gap: 34px;
    padding: 34px 0 28px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .lead {
    font-size: 17px;
  }

  .primary-button {
    width: 100%;
  }

  .trust-row {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-content {
    padding: 16px;
  }

  .mock-toolbar {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .mock-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .feature-grid,
  .benefit-row {
    grid-template-columns: 1fr;
  }

  .benefits {
    padding: 30px 18px;
  }

  .benefit-row {
    gap: 18px;
    background: transparent;
  }

  .benefit-row article {
    min-height: auto;
    padding: 0;
  }

  .benefit-row article + article {
    border-left: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .cookie-panel {
    right: 14px;
    bottom: 14px;
    flex-direction: column;
    align-items: stretch;
    width: calc(100vw - 28px);
  }
}
