:root {
  --ink: #1c0626;
  --muted: #574a60;
  --on-dark: #fbf4ff;
  --on-dark-muted: #c9b6e2;
  --link: #1a65a6;
  --bg: #fbf4ff;
  --dark: #1c0626;
  --white: #ffffff;
  --ai-bg: #efe8f7;
  --border: #e8dff2;
  --learn-tint: #e3f0fb;
  --manage-tint: #ffddd5;
  --village-tint: #c7ffcd;
  --font-display: "Unbounded", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --desktop: 1100px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.only-mobile {
  display: block;
}

.only-desktop {
  display: none;
}

.font-display,
.wordmark-name,
.hero h1,
.products h2,
.card-title,
.ask h2,
.option-title,
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: normal;
}

.hero {
  padding: 32px 0 40px;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  min-width: 0;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--bg);
}

.logo-mark img {
  display: block;
  width: 32px;
  height: 32px;
}

.wordmark-name {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.22px;
  color: var(--ink);
}

.greeting {
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}

.hero h1 {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.34px;
  color: var(--ink);
}

.subhead,
.fine-print,
.products-intro,
.card-body {
  color: var(--muted);
}

.subhead {
  font-size: 17px;
  line-height: 1.55;
}

.hero-cta {
  padding-top: 4px;
}

.fine-print {
  font-size: 15px;
  line-height: 1.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
}

.btn:focus-visible,
.email-inline:focus-visible,
.footer-email:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.btn-dark {
  width: 100%;
  padding: 16px 24px;
  background: var(--dark);
  color: var(--on-dark);
  font-size: 17px;
  font-weight: 600;
}

.hero-photo {
  position: relative;
  width: 100%;
  height: 262px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
}

.hero-photo img,
.card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.products {
  padding: 40px 0 48px;
}

.products-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.products-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eyebrow {
  color: var(--link);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.12px;
}

.products h2 {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.26px;
}

.products-intro {
  font-size: 16px;
  line-height: 1.55;
}

.product-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.card-photo {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 12px;
}

.product-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.product-tag img {
  display: block;
  width: 8px;
  height: 8px;
  flex: none;
}

.tag-learn { background: var(--learn-tint); }
.tag-manage { background: var(--manage-tint); }
.tag-village { background: var(--village-tint); }

.card-title {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.11px;
}

.card-body {
  font-size: 16px;
  line-height: 1.55;
}

.ai {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--ai-bg);
  border-radius: 16px;
}

.ai-tag {
  display: inline-flex;
  flex: none;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--on-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.ai-text {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

.ai-text strong {
  font-weight: 700;
}

.ai-text em {
  font-style: italic;
  font-weight: 400;
}

.mascot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 134.438px;
  height: 99.599px;
  flex: none;
}

.mascot-float {
  rotate: -16.12deg;
  animation: mascot-bob 2s ease-in-out infinite;
  line-height: 0;
}

.mascot img {
  display: block;
  width: 120px;
  height: 69px;
}

@keyframes mascot-bob {
  0%,
  100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

.ask {
  padding: 8px 0 48px;
}

.ask-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px 24px;
  background: var(--dark);
  border-radius: 24px;
}

.ask-copy,
.ask-options {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.ask-copy { gap: 16px; }
.ask-options { gap: 14px; }

.ask-kicker {
  color: var(--on-dark-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.12px;
}

.ask h2 {
  color: var(--on-dark);
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -0.26px;
}

.ask-body,
.option-body {
  color: var(--on-dark-muted);
  font-size: 16px;
  line-height: 1.55;
}

.option {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
}

.option-title {
  color: var(--on-dark);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.095px;
}

.ask-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.btn-light {
  width: 100%;
  padding: 16px 24px;
  background: var(--on-dark);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.btn-light:focus-visible {
  outline-color: var(--on-dark);
}

.email-inline {
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.email-inline:hover,
.footer-email:hover {
  text-decoration: underline;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 32px;
}

.footer-layout,
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-wordmark {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.3;
}

.footer-email {
  color: var(--link);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

@media (min-width: 1100px) {
  .only-mobile { display: none; }
  .only-desktop { display: block; }

  .wordmark-name {
    font-size: 26px;
    letter-spacing: -0.26px;
  }

  .wordmark { padding-bottom: 24px; }

  .hero { padding: 72px 0 64px; }

  .hero-layout {
    display: grid;
    grid-template-columns: 572fr 492fr;
    gap: 56px;
    align-items: center;
  }

  .hero-copy { gap: 24px; }

  .greeting { font-size: 17px; }

  .hero h1 {
    font-size: 56px;
    line-height: 1.08;
    letter-spacing: -0.56px;
  }

  .subhead { font-size: 20px; }

  .hero-cta {
    align-self: flex-start;
    padding-top: 8px;
  }

  .btn-dark {
    width: auto;
    padding: 14px 24px;
    font-size: 16px;
  }

  .hero-photo {
    height: 460px;
    border-radius: 24px;
  }

  .products { padding: 80px 0; }
  .products-layout { gap: 40px; }
  .products-header { gap: 16px; }

  .products h2 {
    font-size: 44px;
    line-height: 1.12;
    letter-spacing: -0.44px;
  }

  .products-intro { font-size: 19px; }

  .product-grid {
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
  }

  .card {
    flex: 1;
    min-width: 0;
    gap: 20px;
    padding: 24px 24px 32px;
  }

  .card-photo { height: 200px; }

  .card-title {
    font-size: 26px;
    letter-spacing: -0.13px;
  }

  .ai {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
  }

  .ai-text {
    flex: 1;
    min-width: 0;
    font-size: 17px;
    line-height: 1.45;
  }

  .ask { padding: 24px 0 96px; }

  .ask-card {
    flex-direction: row;
    align-items: center;
    gap: 64px;
    padding: 64px;
    border-radius: 28px;
  }

  .ask-copy {
    flex: 1;
    gap: 20px;
  }

  .ask-options {
    width: 400px;
    flex: none;
    gap: 16px;
  }

  .ask h2 {
    font-size: 40px;
    line-height: 1.14;
    letter-spacing: -0.4px;
  }

  .ask-body { font-size: 18px; }

  .option { padding: 22px 24px 24px; }

  .option-title {
    font-size: 22px;
    letter-spacing: -0.11px;
  }

  .email-inline { font-size: 16px; }

  .footer { padding: 32px 0; }

  .footer-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .footer-left {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-float { animation: none; }
}
