:root {
  color: #171719;
  background: #ececea;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
}

a {
  color: inherit;
}

code {
  padding: 0.12em 0.35em;
  color: #34343a;
  background: #eeeeef;
  border-radius: 5px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 9px 13px;
  color: #fff;
  background: #111113;
  border-radius: 8px;
  transform: translateY(-160%);
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 780;
  letter-spacing: -0.03em;
  text-decoration: none;
}

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

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

.site-header nav a {
  color: #67676e;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:hover {
  color: #111113;
}

.hero {
  padding: clamp(70px, 12vw, 136px) clamp(24px, 7vw, 84px);
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 18%, rgb(34 197 94 / 12%), transparent 28%),
    #f9f9f7;
  border: 1px solid #e4e4e1;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgb(24 24 27 / 7%);
}

.eyebrow,
.kicker {
  color: #16823d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 18px 0 22px;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 34px;
  color: #66666d;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.primary-link {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  align-items: center;
  gap: 14px;
  color: #fff;
  background: #111113;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.primary-link:hover {
  background: #2c2c30;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  background: #dededb;
  border: 1px solid #dededb;
  border-radius: 16px;
}

.trust-strip div {
  display: grid;
  gap: 4px;
  padding: 23px 24px;
  background: #f7f7f5;
}

.trust-strip strong {
  font-size: 13px;
}

.trust-strip span {
  color: #77777e;
  font-size: 13px;
}

.content-section {
  padding: 110px 0 20px;
  scroll-margin-top: 20px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 44px;
}

.section-heading > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: #6e6e75;
  border: 1px solid #cececa;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.kicker {
  margin: 1px 0 7px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps > li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  background: #f8f8f6;
  border: 1px solid #e2e2df;
  border-radius: 16px;
}

.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: #111113;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.steps h3,
.feature-grid h3,
.security-card h3 {
  margin: 3px 0 8px;
  font-size: 17px;
}

.steps p,
.feature-grid p,
.security-card p {
  max-width: 760px;
  margin: 0;
  color: #68686f;
  font-size: 15px;
  line-height: 1.7;
}

.field-example {
  max-width: 660px;
  margin: 18px 0 13px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e6e3;
  border-radius: 12px;
}

.field-example div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 13px 16px;
  border-bottom: 1px solid #ececea;
}

.field-example div:last-child {
  border-bottom: 0;
}

.field-example span {
  color: #85858c;
  font-size: 13px;
  font-weight: 650;
}

.field-example code {
  padding: 0;
  overflow-wrap: anywhere;
  background: transparent;
}

.steps .hint {
  color: #85858c;
  font-size: 13px;
}

.callout {
  max-width: 700px;
  margin-top: 17px;
  padding: 15px 17px;
  color: #76500d;
  background: #fff8e7;
  border: 1px solid #efd99f;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.callout strong {
  display: block;
  margin-bottom: 2px;
}

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

.feature-grid article {
  min-height: 220px;
  padding: 27px;
  background: #f8f8f6;
  border: 1px solid #e2e2df;
  border-radius: 16px;
}

.feature-icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 35px;
  place-items: center;
  color: #5d5d65;
  background: #fff;
  border: 1px solid #dfdfdc;
  border-radius: 10px;
  font-size: 18px;
}

.toggle-demo {
  position: relative;
  width: 44px;
  height: 26px;
  margin-top: 7px;
  margin-bottom: 42px;
  background: #111113;
  border-radius: 999px;
}

.toggle-demo span {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
}

.permission-demo {
  color: #16823d;
  background: #edf8f0;
  border-color: #c9e8d2;
}

.security-section {
  padding-bottom: 0;
}

.security-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  color: #f7f7f6;
  background: #38383c;
  border-radius: 18px;
}

.security-card > div {
  padding: clamp(28px, 5vw, 50px);
  background: #171719;
}

.security-card h3 {
  margin-top: 0;
}

.security-card p {
  color: #acacb2;
}

.faq-list {
  overflow: hidden;
  background: #f8f8f6;
  border: 1px solid #e2e2df;
  border-radius: 16px;
}

.faq-list details {
  border-bottom: 1px solid #e2e2df;
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  position: relative;
  padding: 22px 58px 22px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 720;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 23px;
  color: #75757c;
  font-size: 25px;
  font-weight: 350;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 760px;
  margin: -7px 24px 23px;
  color: #6e6e75;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  margin-top: 110px;
  padding: 35px 0 45px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #77777d;
  border-top: 1px solid #d5d5d1;
  font-size: 13px;
}

.footer-brand {
  color: #242427;
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid #111113;
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    padding: 65px 24px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 60px);
  }

  .trust-strip,
  .feature-grid,
  .security-card {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding-top: 80px;
  }

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

  .field-example div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

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

@media (max-width: 420px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .hero h1 {
    letter-spacing: -0.05em;
  }

  .section-heading {
    gap: 12px;
  }

  .steps > li,
  .feature-grid article {
    padding: 20px;
  }
}

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