:root {
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #20262d;
  background: #f5f7f9;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --surface: #ffffff;
  --surface-soft: #edf1f5;
  --text: #20262d;
  --muted: #68727d;
  --line: #dce2e8;
  --accent: #277cf3;
  --accent-hover: #1769dc;
  --shadow: 0 24px 70px rgb(31 49 68 / 12%);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 14% 4%, rgb(127 195 255 / 20%), transparent 28rem),
    radial-gradient(circle at 92% 28%, rgb(151 121 255 / 12%), transparent 31rem),
    #f5f7f9;
  color: var(--text);
}

a {
  color: inherit;
}

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

.site-header,
.site-footer,
main {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand img {
  border-radius: 9px;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--text);
}

.site-header .nav-dashboard {
  color: var(--text);
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 74%);
}

.hero {
  padding: 82px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: 56px;
}

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

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 5.1vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-description {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 26px rgb(39 124 243 / 24%);
}

.button.primary:hover {
  background: var(--accent-hover);
}

.button.secondary {
  background: var(--surface);
  border: 1px solid var(--line);
}

.text-link {
  color: var(--text);
  text-underline-offset: 4px;
  font-weight: 500;
}

.hero-actions .text-link {
  margin-left: 4px;
  font-size: 14px;
}

.hero-facts {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.hero-facts li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent);
  font-weight: 700;
}

.hero-visual,
.showcase figure,
.showcase-pair figure {
  margin: 0;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(1.25deg);
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.trust-strip {
  padding: 20px 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(255 255 255 / 70%);
  color: var(--muted);
  font-size: 13px;
}

.feature-intro {
  max-width: 760px;
  margin: 140px auto 56px;
  text-align: center;
}

.feature-intro > p:last-child {
  max-width: 650px;
  margin: 0 auto;
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 14px 34px rgb(31 49 68 / 5%);
}

.feature-number {
  display: block;
  margin-bottom: 42px;
  color: #98a2ad;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.feature-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.showcase {
  margin-top: 150px;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: 66px;
}

.showcase.reverse {
  grid-template-columns: minmax(520px, 1.28fr) minmax(0, 0.72fr);
}

.showcase.reverse .showcase-copy {
  order: 2;
}

.showcase.reverse figure {
  order: 1;
}

.showcase-copy > p:not(.eyebrow) {
  font-size: 17px;
}

.showcase-copy ul {
  margin: 26px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.showcase figure,
.showcase-pair figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.showcase figure img,
.showcase-pair figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
}

.showcase-pair {
  margin-top: 150px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.showcase-pair figcaption {
  padding: 24px 26px 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.showcase-pair figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 17px;
}

.privacy-section {
  margin-top: 150px;
  padding: 52px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  border-radius: var(--radius);
  color: #f4f7fa;
  background:
    radial-gradient(circle at 5% 5%, rgb(39 124 243 / 36%), transparent 23rem),
    #17212c;
  box-shadow: var(--shadow);
}

.privacy-section h2 {
  margin-bottom: 0;
}

.privacy-section p {
  color: #bac5cf;
}

.privacy-section .text-link {
  color: #fff;
}

.faq-section {
  max-width: 940px;
  margin: 150px auto 0;
}

.faq-section > h2 {
  max-width: 640px;
}

.faq-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(255 255 255 / 72%);
}

.faq-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.final-cta {
  margin: 150px 0 90px;
  padding: 72px 24px;
  border-radius: var(--radius);
  text-align: center;
  background: linear-gradient(145deg, #e5f1ff, #f2ecff);
  box-shadow: 0 22px 58px rgb(31 49 68 / 8%);
}

.final-cta h2 {
  max-width: 760px;
  margin-inline: auto;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-top: 30px;
}

.site-footer {
  min-height: 112px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  justify-content: center;
}

.site-footer > span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

@media (max-width: 980px) {
  .hero,
  .showcase,
  .showcase.reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

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

  .hero-visual {
    transform: none;
  }

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

  .showcase.reverse .showcase-copy,
  .showcase.reverse figure {
    order: initial;
  }

  .showcase,
  .showcase.reverse {
    gap: 34px;
  }

  .privacy-section {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .site-footer > span {
    text-align: center;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  .site-header .brand span {
    display: none;
  }

  .site-header nav {
    gap: 16px;
  }

  .site-header nav > a:not(.nav-dashboard) {
    display: none;
  }

  .hero {
    padding: 46px 0 62px;
    gap: 34px;
  }

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

  h2 {
    font-size: 34px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .text-link {
    margin: 8px 0 0;
    text-align: center;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
  }

  .trust-strip {
    justify-content: flex-start;
    gap: 12px 22px;
  }

  .feature-intro,
  .showcase,
  .showcase-pair,
  .privacy-section,
  .faq-section,
  .final-cta {
    margin-top: 96px;
  }

  .feature-grid,
  .showcase-pair,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 28px;
  }

  .showcase figure,
  .showcase-pair figure,
  .hero-visual {
    border-radius: 18px;
  }

  .privacy-section {
    padding: 34px 26px;
  }

  .final-cta {
    padding: 50px 22px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 22px;
  }
}

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

  .button {
    transition: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color: #edf1f5;
    background: #10161d;
    --surface: #18212b;
    --surface-soft: #202b36;
    --text: #edf1f5;
    --muted: #9ca8b4;
    --line: #2b3743;
    --shadow: 0 24px 70px rgb(0 0 0 / 34%);
  }

  body {
    background:
      radial-gradient(circle at 14% 4%, rgb(37 102 157 / 24%), transparent 28rem),
      radial-gradient(circle at 92% 28%, rgb(95 72 150 / 18%), transparent 31rem),
      #10161d;
  }

  .site-header .nav-dashboard,
  .trust-strip,
  .feature-grid article,
  .faq-grid article {
    background: rgb(24 33 43 / 82%);
  }

  .button.secondary {
    background: #1a242e;
  }

  .final-cta {
    background: linear-gradient(145deg, #172b42, #29233f);
  }
}
