:root {
  --ink: #211a3a;
  --ink-soft: #51476d;
  --ink-faint: #746a8c;
  --violet: #7557c9;
  --violet-dark: #533b9c;
  --blue: #4e86bd;
  --green: #2d6b61;
  --paper: #fbf9ff;
  --line: rgba(76, 58, 125, 0.14);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(67, 49, 119, 0.16);
  --radius: 18px;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: #e9e2f7 url("assets/aurora-mist.webp") center top / cover fixed no-repeat;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(250, 247, 255, 0.3), rgba(246, 241, 253, 0.76) 45%, rgba(247, 244, 250, 0.95) 76%);
}

a {
  color: inherit;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--violet-dark);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 237, 252, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(51, 42, 85, 0.14);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav > a:not(.button) {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

nav > a:not(.button):hover,
.footer-links a:hover {
  color: var(--violet-dark);
}

.hero {
  min-height: 740px;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(570px, 1.22fr);
  align-items: center;
  gap: 56px;
  padding-block: 88px 108px;
}

.hero > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--violet-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: #55a28d;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(85, 162, 141, 0.14);
}

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

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

h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 6vw, 5.6rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.65rem);
  font-weight: 730;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.hero-summary {
  max-width: 600px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 1.16rem;
}

.hero-actions,
.install-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(71, 49, 132, 0.13);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(71, 49, 132, 0.2);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #7d5acf, #527ebc);
  border-color: rgba(255, 255, 255, 0.3);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.75);
}

.button-small {
  min-height: 40px;
  padding-inline: 17px;
  border-radius: 10px;
  font-size: 0.82rem;
}

.text-link {
  color: var(--violet-dark);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.support-note {
  margin: 20px 0 0;
  color: var(--ink-faint);
  font-size: 0.79rem;
}

.product-shot {
  min-width: 0;
  margin: 0;
}

.product-shot picture {
  display: block;
}

.product-shot img {
  width: 100%;
  height: auto;
}

.product-shot figcaption {
  margin-top: 16px;
  color: var(--ink-faint);
  font-size: 0.76rem;
  line-height: 1.5;
}

.product-shot-hero {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.product-shot-hero figcaption {
  padding-inline: 12px;
}

.product-shot-workflow {
  width: min(1050px, 100%);
  margin: 64px auto 0;
}

.product-shot-workflow figcaption {
  text-align: center;
}

.trust-strip {
  background: rgba(250, 248, 253, 0.54);
  border-block: 1px solid rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 31px;
}

.trust-grid > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  padding-inline: 35px;
  border-right: 1px solid var(--line);
}

.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { padding-right: 0; border: 0; }

.trust-icon {
  grid-row: 1 / span 2;
  color: var(--violet);
}

.trust-grid strong {
  font-size: 0.92rem;
}

.trust-grid small {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.section {
  padding-block: 120px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 58px;
}

.section-heading > p:last-child,
.feature-copy > p,
.install-card p {
  color: var(--ink-soft);
}

.section-heading.compact {
  margin-bottom: 45px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li,
.use-case-grid article,
.technical-grid article,
.correction-card,
.install-card,
.privacy-note {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.steps li {
  min-height: 250px;
  padding: 30px;
  border-radius: var(--radius);
}

.steps li > span,
.use-case-grid article > span {
  display: block;
  margin-bottom: 44px;
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.steps p,
.use-case-grid p,
.technical-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

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

.technical-grid article {
  min-height: 235px;
  padding: 32px;
  border-radius: var(--radius);
}

.technical-grid article > span {
  display: block;
  margin-bottom: 34px;
  color: var(--violet);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.technical-note {
  margin: 18px 0 0;
  padding: 20px 24px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 12px;
  font-size: 0.84rem;
}

.technical-note a,
.privacy-note a {
  color: var(--violet-dark);
  font-weight: 750;
  text-underline-offset: 3px;
}

.feature-section {
  background: rgba(248, 245, 252, 0.54);
  border-block: 1px solid rgba(255, 255, 255, 0.7);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  gap: 100px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

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

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.correction-card {
  padding: 28px;
  border-radius: var(--radius);
  transform: rotate(1.5deg);
}

.correction-before,
.correction-after {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.48);
}

.correction-after {
  border-color: rgba(45, 107, 97, 0.26);
  background: rgba(231, 248, 242, 0.62);
}

.correction-card small {
  display: block;
  margin-bottom: 9px;
  color: var(--ink-faint);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.correction-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.correction-card strong {
  color: var(--violet-dark);
}

.correction-arrow {
  display: block;
  margin: 9px 0 9px 28px;
  color: var(--violet);
  font-size: 1.3rem;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.use-case-grid article {
  grid-column: span 2;
  min-height: 235px;
  padding: 27px;
  border-radius: var(--radius);
}

.use-case-grid article:nth-child(4) { grid-column: 2 / span 2; }
.use-case-grid article:nth-child(5) { grid-column: 4 / span 2; }

.use-case-grid article > span {
  margin-bottom: 30px;
}

.install-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
  padding: 52px;
  border-radius: var(--radius);
  background: var(--glass-strong);
}

.install-card h2 {
  margin-bottom: 15px;
}

.install-card p {
  max-width: 710px;
  margin-bottom: 0;
}

.install-actions {
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

.privacy-note {
  margin: 16px 0 0;
  padding: 20px 24px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  box-shadow: none;
}

.site-footer {
  padding: 62px 0 30px;
  background: rgba(238, 233, 246, 0.74);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-grid,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-grid p {
  margin: 13px 0 0;
  color: var(--ink-faint);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.72rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 70px;
  }

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

  .product-shot-hero {
    width: min(800px, 100%);
    transform: none;
  }

  .feature-grid {
    gap: 55px;
  }

  .install-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .install-actions {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(calc(100% - 28px), 620px);
  }

  body {
    font-size: 16px;
    background-attachment: scroll;
  }

  .nav-shell {
    min-height: 66px;
  }

  nav > a:not(.button) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 62px 76px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .trust-grid,
  .steps,
  .technical-grid,
  .feature-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 82px;
  }

  .feature-grid {
    gap: 45px;
  }

  .product-shot-workflow {
    margin-top: 48px;
  }

  .use-case-grid article,
  .use-case-grid article:nth-child(4),
  .use-case-grid article:nth-child(5) {
    grid-column: auto;
  }

  .install-card {
    gap: 36px;
    padding: 30px;
  }

  .footer-grid,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 470px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-shot img {
    border-radius: 14px;
  }

  .install-actions {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
