:root {
  color-scheme: light;
  --bg: #fbfcfa;
  --ink: #111410;
  --muted: #59645e;
  --panel: #ffffff;
  --panel-strong: #f4faef;
  --line: #d8dfd7;
  --teal: #008f8a;
  --teal-dark: #007875;
  --yellow: #ffb817;
  --shadow: 0 24px 80px rgba(34, 40, 30, 0.08);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 27px clamp(50px, 5vw, 64px) 14px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 229, 217, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
  text-decoration: none;
  font-size: 27px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--teal);
  background: #fff;
  border: 6px solid var(--teal);
  border-right-color: var(--ink);
  border-bottom-color: var(--ink);
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 46px;
  color: #1f2630;
  font-size: 17px;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding-bottom: 24px;
  text-decoration: none;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--teal);
  content: "";
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--teal);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 9vw, 132px);
  min-height: 520px;
  padding: 86px clamp(56px, 5.5vw, 72px) 70px;
  background: #fff;
}

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

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

h1 {
  max-width: 610px;
  margin-bottom: 22px;
  font-size: clamp(52px, 5.1vw, 74px);
  line-height: 1.08;
  font-weight: 850;
}

.hero-copy p {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(20px, 1.7vw, 22px);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 750;
}

.button.primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 30px rgba(23, 25, 21, 0.18);
}

.button.secondary {
  min-width: 224px;
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-brand {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-mark {
  display: grid;
  width: min(36vw, 210px);
  height: min(36vw, 210px);
  place-items: center;
  margin-bottom: 26px;
  color: var(--teal);
  background: #fff;
  border: 28px solid var(--teal);
  border-right-color: var(--ink);
  border-bottom-color: var(--ink);
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  font-size: clamp(72px, 8vw, 120px);
  font-weight: 900;
  line-height: 1;
  filter: drop-shadow(0 18px 24px rgba(17, 20, 16, 0.22));
}

.hero-wordmark {
  position: static;
  color: #020403;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 500;
}

.apps-section,
.privacy-preview,
.contact-section {
  padding: 40px clamp(50px, 5vw, 64px);
}

.section-heading {
  display: block;
  margin: 0 auto 28px;
  text-align: center;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(34px, 3.2vw, 43px);
  line-height: 1;
}

.section-heading p,
.privacy-copy p,
.contact-band p,
.future-apps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

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

.app-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  min-height: 260px;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(34, 40, 30, 0.07);
}

.app-icon {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  border-radius: 8px;
}

.app-icon svg {
  width: 86px;
  height: 86px;
}

.app-icon path,
.app-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.proofbox {
  background: var(--teal);
  color: #fff;
}

.proofbox path,
.proofbox circle {
  stroke-width: 3.4;
}

.kidcanvas path,
.kidcanvas circle {
  stroke: #fff;
  stroke-width: 3.4;
}

.kidcanvas .kid-detail {
  stroke: #fff;
}

.proofbox,
.kidcanvas {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.kidcanvas {
  background: var(--yellow);
  color: #fff;
}

.app-content h3 {
  margin-bottom: 10px;
  font-size: 29px;
}

.app-content p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.app-content ul {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding: 0;
  color: #394036;
  font-size: 15px;
  list-style: none;
}

.app-content li {
  position: relative;
  padding-left: 20px;
}

.app-content li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "\2713";
  font-weight: 800;
}

.text-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.future-apps {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-top: 22px;
  padding: 30px 58px;
  background: #fff;
  border: 1px dashed var(--teal);
  border-radius: var(--radius);
}

.future-icon {
  display: grid;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  place-items: center;
  background: transparent;
  color: var(--teal);
  border: 4px solid var(--teal);
  border-radius: 50%;
  font-size: 42px;
  font-weight: 700;
}

.future-apps h3 {
  margin-bottom: 2px;
  font-size: 21px;
}

.privacy-preview {
  display: block;
  background: #fff;
  color: var(--ink);
}

.privacy-copy {
  max-width: none;
}

.privacy-copy > p {
  max-width: 880px;
}

.privacy-copy p,
.privacy-principles p {
  color: var(--muted);
}

.privacy-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  margin-top: 38px;
  margin-bottom: 36px;
}

.privacy-principles > div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.privacy-principles span {
  display: block;
  margin-bottom: 0;
  color: var(--teal);
}

.privacy-principles svg {
  width: 42px;
  height: 42px;
}

.privacy-principles path,
.privacy-principles rect,
.privacy-principles circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.privacy-principles h3 {
  grid-column: 2;
  margin-bottom: 12px;
  font-size: 17px;
}

.privacy-principles p {
  grid-column: 2;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.55;
}

.policy-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.policy-link:hover,
.policy-link:focus-visible {
  color: var(--teal-dark);
  text-decoration: underline;
}

.policy-hero {
  padding: clamp(70px, 10vw, 132px) clamp(20px, 5vw, 72px) clamp(44px, 6vw, 72px);
  background: #fff;
}

.policy-hero > div {
  max-width: 960px;
}

.policy-hero h1 {
  margin-bottom: 24px;
}

.policy-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.effective-date {
  margin-top: 24px;
  font-size: 16px !important;
  font-weight: 750;
  color: var(--teal-dark) !important;
}

.policy-page {
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.policy-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin-bottom: 22px;
}

.policy-summary > div {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.policy-summary strong {
  color: var(--ink);
  font-size: 16px;
}

.policy-summary span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.policy-document {
  max-width: 1120px;
  padding: clamp(26px, 5vw, 48px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(34, 40, 30, 0.07);
}

.policy-document h2 {
  margin: 34px 0 12px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
}

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

.policy-document p {
  margin-bottom: 16px;
  color: #394036;
  font-size: 17px;
  line-height: 1.7;
}

.policy-document a {
  color: var(--teal);
  font-weight: 750;
}

.contact-band {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 27px 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mail-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  background: #e7f4f1;
  color: var(--teal);
  border-radius: 8px;
  font-size: 27px;
}

.contact-band h2 {
  margin-bottom: 6px;
  font-size: clamp(28px, 3vw, 42px);
}

footer {
  padding: 17px clamp(50px, 5vw, 64px) 20px;
  background: #fff;
  border-top: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

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

  .hero,
  .privacy-preview {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-brand {
    min-height: 320px;
  }

  .section-heading,
  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .contact-band {
    display: flex;
  }
}

@media (max-width: 560px) {
  .site-nav {
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-brand::before {
    inset: 16px;
  }

  .hero-mark {
    width: 160px;
    height: 160px;
    border-radius: 18px;
  }

  .app-card {
    grid-template-columns: 1fr;
  }

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