:root {
  color-scheme: light;
  --bg: #fbfbfd;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e7e7ec;
  --card: #ffffff;
  --tint: #f7efff;
  --pink: #f3d7ec;
  --purple: #9b6ce3;
  --blue: #4b8bed;
  --rose: #df6b9a;
  --shadow: 0 22px 70px rgba(29, 29, 31, 0.1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f8f4ff 0, #fbfbfd 360px),
    var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

code {
  padding: 2px 6px;
  background: #f1f1f4;
  border-radius: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 12px max(22px, calc((100vw - var(--max)) / 2));
  background: rgba(251, 251, 253, 0.78);
  border-bottom: 1px solid rgba(231, 231, 236, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img,
.hero-icon img,
.download img {
  display: block;
  border-radius: 20%;
  box-shadow: 0 10px 28px rgba(29, 29, 31, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.site-footer a:hover,
.policy-content a:hover {
  color: var(--ink);
}

.brand:focus-visible,
.nav a:focus-visible,
.button:focus-visible,
.site-footer a:focus-visible,
.policy-content a:focus-visible {
  outline: 3px solid rgba(75, 139, 237, 0.35);
  outline-offset: 4px;
}

.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(54px, 9vw, 96px) 22px 34px;
  text-align: center;
}

.hero-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 19px;
  font-weight: 600;
}

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

h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.02;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 740;
  letter-spacing: 0;
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.35;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(75, 139, 237, 0.16);
}

.product-shot {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 22px clamp(54px, 8vw, 88px);
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(29, 29, 31, 0.14);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 22px;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
}

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

.feature-grid article {
  min-height: 230px;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(29, 29, 31, 0.04);
}

.feature-grid p,
.policy-content p,
.policy-content li,
.policy-hero p,
.policy-summary span {
  color: var(--muted);
}

.feature-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
}

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

.grid-icon::before,
.grid-icon::after,
.grid-icon span {
  content: "";
}

.grid-icon {
  background:
    linear-gradient(var(--purple), var(--purple)) 0 0 / 17px 17px no-repeat,
    linear-gradient(var(--purple), var(--purple)) 25px 0 / 17px 17px no-repeat,
    linear-gradient(var(--purple), var(--purple)) 0 25px / 17px 17px no-repeat,
    linear-gradient(var(--purple), var(--purple)) 25px 25px / 17px 17px no-repeat;
  border-radius: 10px;
}

.search-icon {
  border: 5px solid var(--purple);
  border-radius: 999px;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: 2px;
  width: 18px;
  height: 5px;
  background: var(--purple);
  border-radius: 999px;
  transform: rotate(45deg);
}

.palette-icon {
  border: 5px solid var(--rose);
  border-radius: 50%;
}

.palette-icon::before {
  content: "";
  position: absolute;
  inset: 8px 7px auto auto;
  width: 9px;
  height: 9px;
  background: var(--rose);
  border-radius: 50%;
  box-shadow: -15px 5px 0 var(--rose), -4px 18px 0 var(--rose);
}

.sliders-icon {
  background:
    linear-gradient(var(--blue), var(--blue)) 0 8px / 42px 4px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 0 21px / 42px 4px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 0 34px / 42px 4px no-repeat;
}

.sliders-icon::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: #fff;
  transform: translate(8px, 3px);
  box-shadow: 18px 13px 0 -3px #fff, 18px 13px 0 0 var(--blue), 4px 26px 0 -3px #fff, 4px 26px 0 0 var(--blue);
}

.download {
  margin-bottom: 26px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #fff7fc);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.download img {
  margin: 0 auto 16px;
}

.download h2 {
  margin-bottom: 2px;
  font-size: clamp(34px, 5vw, 52px);
}

.download p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 24px;
}

.download span {
  color: var(--rose);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 22px 42px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.policy-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 22px;
}

.policy-hero {
  padding: clamp(54px, 8vw, 92px) 0 30px;
  text-align: center;
}

.policy-hero h1 {
  font-size: clamp(42px, 7vw, 72px);
}

.policy-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: clamp(44px, 7vw, 70px);
}

.policy-summary article {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.policy-summary strong,
.policy-summary span {
  display: block;
}

.policy-summary strong {
  margin-bottom: 6px;
}

.policy-content {
  padding-bottom: 88px;
}

.policy-content h2 {
  margin: 36px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 24px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  font-size: 17px;
}

.policy-content a {
  color: var(--blue);
  font-weight: 600;
}

.policy-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

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

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-icon img {
    width: 72px;
    height: 72px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

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

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

  .download {
    border-radius: 0;
    margin-right: -22px;
    margin-left: -22px;
  }

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