:root {
  --white: #ffffff;
  --bg-soft: #f5f8ff;
  --navy: #101828;
  --slate: #344054;
  --gray: #667085;
  --blue: #1264f5;
  --blue-dark: #0752d8;
  --blue-light: #eaf2ff;
  --border: #e6ecf5;
  --green: #22c55e;
  --yellow: #ffb800;
  --privacy-bg: #f0f9f5;

  --gradient-btn: linear-gradient(135deg, #075ff5 0%, #1264f5 100%);
  --shadow-card: 0 4px 16px rgba(31, 70, 130, 0.06);
  --shadow-hover: 0 8px 24px rgba(31, 70, 130, 0.1);
  --shadow-btn: 0 5px 14px rgba(18, 100, 245, 0.22);

  --gutter: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font:
    400 16px/1.5 Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}
h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
ul,
ol {
  list-style: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-hover);
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-btn);
  color: var(--white);
  box-shadow: var(--shadow-btn);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    filter 200ms ease;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 20px rgba(18, 100, 245, 0.32);
}
.btn:active {
  transform: scale(0.98);
}
.chrome-icon {
  flex: none;
}

.btn-header {
  height: 44px;
  padding: 0 20px;
  gap: 10px;
  border-radius: 14px;
  font-size: 14px;
  white-space: nowrap;
}
.btn-header .chrome-icon {
  width: 22px;
  height: 22px;
}
.label-short {
  display: none;
}

.btn-hero {
  min-height: 60px;
  min-width: 355px;
  padding: 0 26px;
  gap: 14px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
}
.btn-hero .chrome-icon {
  width: 36px;
  height: 36px;
}

.btn-cta {
  flex: none;
  min-height: 52px;
  padding: 0 24px;
  gap: 12px;
  border-radius: 16px;
  font-size: 17px;
}
.btn-cta .chrome-icon {
  width: 30px;
  height: 30px;
}
.btn-cta .light {
  font-weight: 400;
}

.header {
  position: relative;
  z-index: 100;
  background: var(--white);
}
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms ease;
}
.nav a:hover {
  color: var(--blue);
}

.hero {
  background: radial-gradient(ellipse at 75% 35%, #e6efff 0%, #ffffff 65%);
  padding: 32px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  gap: 30px;
  align-items: center;
  min-height: 380px;
}
h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.8px;
}
h1 span {
  display: block;
}
.accent {
  color: var(--blue);
}
.hero-text {
  max-width: 470px;
  margin-top: 18px;
  font-size: 18px;
  color: var(--slate);
}

.social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 20px;
}
.stars {
  --fill: 100%;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 2px;
  background: linear-gradient(
    90deg,
    var(--yellow) var(--fill),
    #d0d5dd var(--fill)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.social-proof strong {
  font-size: 16px;
  font-weight: 700;
}
.users {
  font-size: 14px;
  color: var(--slate);
}

.hero-art {
  width: 100%;
  max-width: 540px;
  justify-self: end;
}
.hero-art svg,
.faq-art svg {
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: Inter, system-ui, sans-serif;
}
.art-window {
  filter: drop-shadow(0 18px 28px rgba(31, 90, 200, 0.16));
}
.art-popup {
  filter: drop-shadow(0 10px 18px rgba(31, 70, 130, 0.18));
}
.art-badge {
  filter: drop-shadow(0 6px 14px rgba(31, 70, 130, 0.18));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card {
  min-height: 160px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.card-head svg {
  flex: none;
  width: 42px;
  height: 42px;
}
.card h3 {
  font-size: 18px;
}
.card p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--slate);
}

.how {
  padding: 48px 0;
}
.how h2 {
  text-align: center;
}
.how-subtitle {
  margin-top: 6px;
  text-align: center;
  color: var(--slate);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 24px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 87px;
  right: -34px;
  width: 28px;
  height: 28px;
  background: #8db5ff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M3 14h21m-9-9 9 9-9 9' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M3 14h21m-9-9 9 9-9 9' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.step-visual {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
}
.step-logo-halo {
  background: var(--white);
  box-shadow: 0 6px 22px rgba(31, 70, 130, 0.14);
}
.step-logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.step-badge {
  position: absolute;
  right: 2px;
  bottom: 4px;
  width: 30px;
  height: 30px;
}
.step-window {
  width: 90px;
  height: 65px;
  filter: drop-shadow(0 6px 10px rgba(31, 70, 130, 0.12));
}
.step-body {
  display: grid;
  grid-template-columns: 36px minmax(0, auto);
  column-gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}
.step-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}
.step-body p {
  grid-column: 2;
  max-width: 250px;
  margin-top: 2px;
  font-size: 15px;
  color: var(--slate);
}

.privacy-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 40px;
  row-gap: 20px;
  min-height: 130px;
  padding: 24px 48px;
  background: var(--privacy-bg);
  border-radius: 20px;
}
.privacy-shield {
  width: 72px;
  height: 72px;
}
.privacy-copy h2 {
  font-size: 25px;
  letter-spacing: -0.4px;
}
.privacy-copy p {
  max-width: 440px;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--slate);
}
.privacy-list {
  position: relative;
  display: grid;
  gap: 12px;
  padding-left: 48px;
}
.privacy-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 70px;
  transform: translateY(-50%);
  background: #c9d9d2;
}
.privacy-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}
.privacy-list svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.faq {
  padding: 32px 0 48px;
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: 32px;
  align-items: start;
}
.faq h2 {
  margin-bottom: 18px;
  font-size: 30px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition:
    background-color 200ms ease,
    border-color 200ms ease;
}
.faq-item + .faq-item {
  margin-top: 4px;
}
.faq-item.is-open {
  background: #eef4ff;
  border-color: transparent;
}
.faq-item h3 {
  font-size: inherit;
}
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 46px;
  padding: 11px 24px;
  background: none;
  border: 0;
  border-radius: 12px;
  color: var(--navy);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: padding 200ms ease;
}
.faq-trigger svg {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform 200ms ease;
}
.is-open .faq-trigger {
  padding-top: 15px;
  padding-bottom: 0;
  min-height: 36px;
}
.is-open .faq-trigger svg {
  transform: rotate(180deg);
  color: var(--blue);
}
.faq-panel p {
  padding: 8px 24px 15px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
}
.js .faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 200ms ease,
    visibility 0s 200ms;
}
.js .faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.js .is-open .faq-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 200ms ease;
}
.faq-art {
  width: 100%;
  max-width: 400px;
  justify-self: center;
  align-self: center;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
  padding: 24px 40px;
  border-radius: 22px;
  background: linear-gradient(110deg, #eef4ff 0%, #dce9ff 100%);
}
.cta-brand {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 20px;
  align-items: center;
}
.cta-brand img {
  grid-row: span 2;
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.cta-brand h2 {
  align-self: end;
  font-size: 28px;
}
.cta-brand p {
  align-self: start;
  margin-top: 4px;
  font-size: 15px;
  color: var(--slate);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 24px;
  min-height: 52px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--gray);
}
.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-bottom a {
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 1199px) {
  :root {
    --gutter: 24px;
  }
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  h1 {
    font-size: clamp(28px, 3.7vw, 44px);
    letter-spacing: -0.03em;
  }
  .btn-hero {
    min-width: 0;
    width: 100%;
    max-width: 355px;
  }
  .steps {
    gap: 28px;
  }
  .step:not(:last-child)::after {
    right: -24px;
    width: 20px;
    height: 20px;
    top: 29px;
  }
  .step-body {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
    width: 100%;
  }
  .step-body h3 {
    font-size: 18px;
  }
  .privacy-card {
    column-gap: 24px;
    padding: 24px 32px;
  }
  .privacy-list {
    padding-left: 24px;
  }
}

@media (max-width: 1023px) {
  .nav {
    gap: 18px;
  }
  .brand {
    font-size: 20px;
    gap: 10px;
  }
  .btn-header {
    padding: 0 14px;
  }
  .step-body {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 8px;
    text-align: center;
  }
  .step-body p {
    grid-column: 1;
  }
  .privacy-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .privacy-list {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-left: 0;
  }
  .privacy-list::before {
    display: none;
  }
}

@media (max-width: 899px) {
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }
  h2 {
    font-size: 27px;
  }
  h3 {
    font-size: 19px;
  }

  .header-inner {
    height: 64px;
    gap: 8px;
  }
  .brand {
    font-size: 18px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .nav {
    display: none;
  }
  .btn-header {
    gap: 8px;
  }
  .label-full {
    display: none;
  }
  .label-short {
    display: inline;
  }

  .hero {
    padding-top: 24px;
    background: radial-gradient(ellipse at 60% 75%, #e6efff 0%, #ffffff 65%);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  h1 {
    font-size: 30px;
    letter-spacing: -1.2px;
    text-wrap: balance;
  }
  h1 span {
    text-wrap: balance;
  }
  .hero-text {
    margin-top: 16px;
    font-size: 16px;
  }
  .btn-hero {
    width: 100%;
    max-width: none;
    min-height: 56px;
    padding: 8px 16px;
    font-size: 16px;
  }
  .hero-art {
    justify-self: center;
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .card {
    min-height: 140px;
    padding: 18px;
  }
  .card p {
    font-size: 15px;
  }

  .how {
    padding: 40px 0;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    max-width: 420px;
    margin: 24px auto 0;
  }
  .step:not(:last-child)::after {
    display: none;
  }

  .privacy-card {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 14px;
    padding: 24px 20px;
  }
  .privacy-shield {
    width: 52px;
    height: 52px;
  }
  .privacy-copy {
    display: contents;
  }
  .privacy-copy p {
    grid-column: 1 / -1;
    margin: 0;
  }
  .privacy-list {
    grid-column: 1 / -1;
    flex-direction: column;
  }

  .faq h2 {
    font-size: 26px;
  }
  .faq-trigger {
    padding: 13px 16px;
  }
  .is-open .faq-trigger {
    padding: 16px 16px 0;
  }
  .faq-panel p {
    padding: 8px 16px 16px;
  }

  .cta-card {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px;
  }
  .cta-brand {
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 14px;
  }
  .cta-brand img {
    grid-row: auto;
    width: 56px;
    height: 56px;
  }
  .cta-brand h2 {
    align-self: center;
    font-size: 24px;
  }
  .cta-brand p {
    grid-column: 1 / -1;
    margin-top: 12px;
  }
  .btn-cta {
    width: 100%;
    min-height: 56px;
    padding: 8px 16px;
    font-size: 16px;
  }
  .footer-bottom {
    justify-content: center;
    padding: 12px 0;
    text-align: center;
  }
}

@media (min-width: 375px) and (max-width: 767px) {
  h1 {
    font-size: 34px;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 359px) {
  .brand {
    font-size: 16px;
    gap: 8px;
  }
  .btn-header {
    width: 44px;
    padding: 0;
  }
  .label-short {
    display: none;
  }
  .btn-hero,
  .btn-cta {
    gap: 8px;
    padding-inline: 10px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .js .art-selection,
  .js .art-menu,
  .js .art-cursor {
    opacity: 0;
  }
  .js .is-visible .art-selection {
    animation: fade-in 500ms ease 200ms forwards;
  }
  .js .is-visible .art-menu {
    animation: rise-in 450ms ease 600ms forwards;
  }
  .js .is-visible .art-cursor {
    animation: cursor-in 800ms ease 900ms forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .btn:hover,
  .btn:active,
  .card:hover {
    transform: none;
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes cursor-in {
  from {
    opacity: 0;
    transform: translate(28px, 26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
