* {
  box-sizing: border-box;
}

:root {
  --primary: #3330F9;
  --primary-dark: #0A06DF;
  --primary-bg: #E7E6FE; 
  --primary-subtle: #C3C2FD; 
  --complementary: #F6F930; 
  --text: #202124;
  --muted: #68707a;
  --border: #dedfe3;
  --background: #f7f7f8;
  --soft: #f0f0f2;
  --white: #ffffff;
  --success: #18794e;
  --max-width: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.55;
  font-size: 16px;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top .15s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  background: var(--white);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

.hero {
  /* background: var(--white); */
  /* border-bottom: 1px solid var(--border); */
  background-color: var(--primary);
  text-align: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  /* padding: 64px 32px; */
  padding: 3rem 2rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.2px;
}

.brand-mark-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--primary);
  font-size: 20px;
  line-height: 1;
}

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

.eyebrow,
.section-kicker,
.category-label,
.privacy-kicker {
  display: block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: var(--white);
}

.privacy-kicker {
  color: var(--success);
}

.hero-copy h1 {
  color: var(--complementary);
  margin: 14px 0 18px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: .98;
  letter-spacing: -4px;
}

.hero-copy h1 span {
  /* color: var(--primary); */
}

.hero-description {
  /* max-width: 660px; */
  margin: 0;
  /* color: var(--muted); */
  color: var(--white);
  text-wrap: balance;
  font-size: 20px;
  line-height: 1.55;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-pills li {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #4d535a;
  background: #fbfbfc;
  font-size: 13px;
  font-weight: 600;
}

.tools-area,
.platform-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -.8px;
}

.section-heading p {
  color: var(--muted);
  text-align: left;
  margin: 2px 0;
}

.tool-category + .tool-category {
  margin-top: 64px;
}

.category-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.category-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--primary-subtle);
  border-radius: 12px;
  color: var(--primary);
  background: var(--primary-bg);
}

.category-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-heading h3 {
  margin: 2px 0 2px;
  font-size: 24px;
  line-height: 1.25;
}

.category-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tools-grid li {
  display: flex;
}

.tool-card {
  flex: 1;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(32, 33, 36, .04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  border-color: #c7c7f7;
  box-shadow: 0 10px 28px rgba(32, 33, 36, .09);
  transform: translateY(-3px);
  outline: none;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--primary);
  background: var(--primary-bg);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-arrow {
  color: #8a9097;
  font-size: 21px;
  transition: color .2s ease, transform .2s ease;
}

.tool-card:hover .card-arrow,
.tool-card:focus-visible .card-arrow {
  color: var(--primary);
  transform: translate(2px, -2px);
}

.tool-card h4 {
  margin: 24px 0 8px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.2px;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.card-meta {
  margin-top: auto;
  padding-top: 18px;
  color: #6b7178;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.coming-soon {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px dashed #cfd1d8;
  border-radius: 14px;
  background: #fbfbfc;
}

.coming-soon-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--muted);
  background: var(--soft);
  font-size: 22px;
}

.coming-soon strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.coming-soon p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.platform-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.principle {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbfbfc;
}

.principle-number {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.principle h3 {
  margin: 34px 0 8px;
  font-size: 20px;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.privacy-panel {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 16px;
  padding: 26px;
  border-radius: 14px;
  background: #f4faf7;
}

.privacy-panel-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--success);
  background: #e3f4eb;
}

.privacy-panel-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-panel h3 {
  margin: 5px 0 6px;
  font-size: 20px;
}

.privacy-panel p {
  max-width: 760px;
  margin: 0;
  color: #476257;
  font-size: 14px;
}

.cta-section {
  background: var(--background);
}

.cta-inner {
  max-width: 850px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.cta-inner h2 {
  margin: 12px 0 16px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.cta-inner p {
  max-width: 650px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 16px;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 9px;
  color: var(--white);
  background: var(--primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, transform .1s ease;
}

.primary-btn:hover,
.primary-btn:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-1px);
  outline: none;
}

.site-footer {
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  color: var(--text);
  font-size: 15px;
}

.footer-inner p {
  margin: 3px 0 0;
  font-size: 12px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  font-size: 11px;
  text-align: right;
}

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

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .section-heading > p {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .hero-inner,
  .tools-area,
  .platform-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-inner {
    padding: 24px 18px;
  }

  .hero-inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-copy h1 {
    font-size: 48px;
    letter-spacing: -2.5px;
  }

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

  .tools-area,
  .platform-inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .tools-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 245px;
  }

  .privacy-panel {
    flex-direction: column;
  }

  .cta-inner {
    padding: 68px 18px;
  }

  .footer-inner {
    padding: 24px 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 460px) {
  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-pills span {
    font-size: 12px;
  }

  .category-heading {
    gap: 12px;
  }

  .category-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}
