:root {
  --pink-25: #fffafd;
  --pink-50: #fff3f8;
  --pink-100: #ffe2ee;
  --pink-200: #ffd1e3;
  --pink-300: #f8b6d2;
  --pink-500: #d85c92;
  --navy: #081b3f;
  --ink: #17233a;
  --muted: #536176;
  --line: rgba(216, 92, 146, 0.22);
  --device-blue: #174fb8;
  --device-blue-soft: #eaf3ff;
  --green: #2ca65a;
  --green-soft: #effaf3;
  --blue-soft: #f4f8ff;
  --paper: #ffffff;
  --cream: #fffdf9;
  --shadow: 0 20px 60px rgba(40, 34, 58, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 209, 227, 0.38), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(248, 182, 210, 0.28), transparent 24rem),
    var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(248, 182, 210, 0.38);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 1fr);
  left: 0;
  min-height: 80px;
  padding: 14px clamp(22px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(216, 92, 146, 0.18);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(216, 92, 146, 0.16);
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
  width: 42px;
}

.brand-mark img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text strong {
  color: var(--navy);
  font-size: 1.42rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  justify-content: center;
}

.nav-links a {
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.product-link:hover,
.product-link:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--pink-500);
  outline: none;
}

.nav-button {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-300));
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(216, 92, 146, 0.26);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 900;
  justify-self: end;
  padding: 14px 22px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 76px);
  grid-template-columns: minmax(310px, 0.92fr) minmax(420px, 1.08fr);
  min-height: 680px;
  overflow: hidden;
  padding: clamp(56px, 7vw, 92px) clamp(22px, 5vw, 64px) clamp(46px, 6vw, 82px);
  position: relative;
}

.hero::before {
  background: radial-gradient(circle, rgba(248, 182, 210, 0.46) 0 2px, transparent 2px);
  background-size: 22px 22px;
  content: "";
  height: 220px;
  opacity: 0.6;
  position: absolute;
  right: 6%;
  top: 130px;
  width: 260px;
}

.hero-copy {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

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

h1 {
  color: var(--navy);
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 26px;
}

h1 span {
  color: var(--pink-500);
  display: block;
}

.hero-copy p {
  color: #2f3e56;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--pink-500), #ec86b5);
  box-shadow: 0 18px 36px rgba(216, 92, 146, 0.26);
  color: #fff;
}

.button.secondary {
  background: #fff;
  border-color: rgba(216, 92, 146, 0.45);
  color: var(--navy);
}

.button.white {
  background: #fff;
  box-shadow: 0 14px 30px rgba(216, 92, 146, 0.16);
  color: var(--pink-500);
}

.button.outline-light {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(216, 92, 146, 0.44);
  color: var(--navy);
}

.hero-visual {
  aspect-ratio: 1.18 / 1;
  justify-self: end;
  max-width: 760px;
  position: relative;
  width: min(100%, 760px);
  z-index: 1;
}

.visual-backdrop {
  background:
    linear-gradient(145deg, rgba(248, 182, 210, 0.3), rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at 50% 50%, rgba(248, 182, 210, 0.32), rgba(248, 182, 210, 0) 66%);
  border-radius: 999px;
  height: 62%;
  position: absolute;
  right: 5%;
  top: 7%;
  width: 62%;
}

.browser-frame {
  background: #fff;
  border: 1px solid rgba(83, 97, 118, 0.22);
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(40, 34, 58, 0.16);
  overflow: hidden;
  padding-top: 30px;
  position: absolute;
}

.browser-frame::before {
  background: #fff;
  border-bottom: 1px solid rgba(83, 97, 118, 0.16);
  content: "";
  height: 30px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.browser-frame img {
  background: #f7f9fc;
  height: 100%;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.window-dots {
  display: flex;
  gap: 7px;
  left: 16px;
  position: absolute;
  top: 11px;
  z-index: 2;
}

.window-dots span {
  background: var(--pink-300);
  border-radius: 999px;
  height: 7px;
  width: 7px;
}

.window-dots span:nth-child(2) {
  background: #f4c6d8;
}

.window-dots span:nth-child(3) {
  background: #dce8f4;
}

.device-frame {
  aspect-ratio: 16 / 10;
  height: auto;
  left: 7%;
  top: 10%;
  width: 72%;
}

.class-frame {
  aspect-ratio: 16 / 10;
  height: auto;
  right: 4%;
  top: 40%;
  width: 72%;
}

.products-section,
.info-section {
  padding: clamp(46px, 6vw, 74px) clamp(22px, 5vw, 64px);
}

.why-section {
  background:
    linear-gradient(180deg, #fff, rgba(255, 246, 251, 0.82)),
    radial-gradient(circle at 12% 16%, rgba(248, 182, 210, 0.26), transparent 22rem);
  padding: clamp(54px, 7vw, 92px) clamp(22px, 5vw, 64px);
}

.products-section {
  background:
    linear-gradient(180deg, rgba(255, 246, 251, 0.92), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 12% 8%, rgba(248, 182, 210, 0.28), transparent 28%);
}

.section-heading {
  margin: 0 auto 30px;
  max-width: 780px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.final-cta h2,
.legal-hero h1 {
  color: var(--navy);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(63, 50, 67, 0.08);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 100%;
  overflow: hidden;
  padding: 22px;
}

.product-card img {
  min-width: 0;
}

.device-product {
  background: linear-gradient(135deg, rgba(234, 243, 255, 0.92), #fff);
  border-color: rgba(23, 79, 184, 0.2);
}

.class-product {
  background: linear-gradient(135deg, rgba(239, 250, 243, 0.8), #fff);
  border-color: rgba(44, 166, 90, 0.22);
}

.product-shot {
  align-self: center;
  width: 100%;
}

.laptop-frame {
  background: #0f1d32;
  border: 7px solid #0f1d32;
  border-radius: 12px 12px 8px 8px;
  box-shadow: 0 18px 42px rgba(8, 27, 63, 0.2);
  overflow: hidden;
  position: relative;
}

.laptop-frame::after {
  background: #111827;
  border-radius: 0 0 18px 18px;
  bottom: -14px;
  content: "";
  height: 14px;
  left: 16%;
  position: absolute;
  width: 68%;
}

.laptop-frame img {
  aspect-ratio: 16 / 10;
  background: #f7f9fc;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.product-copy {
  align-self: stretch;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-title {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.product-title img {
  background: #fff;
  border: 1px solid rgba(216, 92, 146, 0.2);
  border-radius: 12px;
  height: 44px;
  object-fit: contain;
  padding: 4px;
  width: 44px;
}

.product-title h3 {
  color: var(--pink-500);
  font-size: 1.65rem;
  line-height: 1.1;
  margin: 0;
}

.class-product .product-title h3,
.class-product .product-link {
  color: var(--green);
}

.device-product .product-title h3,
.device-product .product-link {
  color: var(--device-blue);
}

.device-product .product-title img {
  border-color: rgba(23, 79, 184, 0.22);
}

.product-copy p {
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 20px;
}

.badge-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
}

.badge-grid span {
  background: rgba(255, 246, 251, 0.92);
  border: 1px solid rgba(216, 92, 146, 0.13);
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 12px 10px;
  text-align: center;
}

.class-product .badge-grid span {
  background: rgba(239, 250, 243, 0.88);
  border-color: rgba(44, 166, 90, 0.14);
}

.device-product .badge-grid span {
  background: var(--device-blue-soft);
  border-color: rgba(23, 79, 184, 0.14);
}

.product-link {
  align-items: center;
  color: var(--pink-500);
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  margin-top: auto;
}

.info-section {
  background: #fff;
}

.why-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.why-card {
  background:
    linear-gradient(135deg, rgba(255, 246, 251, 0.96), rgba(255, 255, 255, 0.94)),
    #fff;
  border: 1px solid rgba(216, 92, 146, 0.2);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(63, 50, 67, 0.08);
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: clamp(20px, 3vw, 30px);
}

.why-number {
  align-items: center;
  background: linear-gradient(135deg, var(--pink-300), var(--pink-500));
  border-radius: 14px;
  color: #fff;
  display: inline-flex;
  font-weight: 950;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.why-card h3 {
  color: var(--navy);
  font-size: 1.22rem;
  margin: 0 0 8px;
}

.why-card p {
  color: #2f3e56;
  margin-bottom: 14px;
}

.why-card ul {
  color: var(--ink);
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.why-card li {
  align-items: flex-start;
  display: flex;
  gap: 9px;
}

.why-card li::before {
  background: var(--pink-500);
  border-radius: 999px;
  content: "";
  flex: 0 0 auto;
  height: 8px;
  margin-top: 8px;
  width: 8px;
}

.audience-section {
  background: linear-gradient(180deg, #fff, var(--pink-25));
}

.audience-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.audience-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 251, 0.95)),
    radial-gradient(circle at 100% 0%, rgba(248, 182, 210, 0.18), transparent 42%);
  border: 1px solid rgba(216, 92, 146, 0.2);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(80, 26, 52, 0.07);
  min-height: 220px;
  padding: 24px;
  position: relative;
}

.audience-card::before {
  background: linear-gradient(90deg, var(--pink-500), var(--pink-300));
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 0;
}

.audience-kicker {
  color: var(--pink-600);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.audience-card h3 {
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.2;
  margin: 0 0 12px;
}

.audience-card p:last-child {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.final-cta {
  align-items: center;
  background:
    linear-gradient(120deg, rgba(255, 214, 232, 0.98), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 90% 20%, rgba(248, 182, 210, 0.55), transparent 32%),
    radial-gradient(circle at 8% 88%, rgba(216, 92, 146, 0.16), transparent 24%);
  border-bottom: 1px solid rgba(216, 92, 146, 0.16);
  border-top: 1px solid rgba(216, 92, 146, 0.16);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
  padding: clamp(44px, 6vw, 72px) clamp(22px, 5vw, 64px);
}

.section-kicker {
  color: var(--pink-500);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.final-cta h2 {
  margin-bottom: 12px;
  max-width: 620px;
}

.final-cta p {
  color: var(--ink);
  font-size: 1.08rem;
  margin-bottom: 0;
  max-width: 560px;
}

.final-cta .cta-actions {
  justify-content: flex-end;
}

.site-footer {
  background:
    radial-gradient(circle at 15% 20%, rgba(216, 92, 146, 0.18), transparent 24rem),
    #101726;
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(150px, 1fr));
  padding: 44px clamp(22px, 5vw, 64px) 26px;
}

.footer-brand p {
  margin: 18px 0 0;
  max-width: 270px;
}

.footer-logo .brand-text strong,
.footer-logo .brand-text small {
  color: #fff;
}

.site-footer h2 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.site-footer nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.compact-footer {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.compact-footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  grid-column: 1 / -1;
  margin: 10px 0 0;
  text-align: center;
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(255, 214, 232, 0.58), rgba(255, 253, 249, 0) 360px),
    var(--cream);
  padding: 72px clamp(20px, 5vw, 76px) 64px;
}

.contact-page {
  background:
    linear-gradient(180deg, rgba(255, 214, 232, 0.58), rgba(255, 253, 249, 0) 360px),
    var(--cream);
  padding: clamp(54px, 7vw, 90px) clamp(20px, 5vw, 76px) clamp(60px, 8vw, 100px);
}

.contact-hero,
.contact-layout {
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
}

.contact-hero {
  max-width: 860px;
  text-align: center;
}

.contact-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  margin-bottom: 18px;
}

.contact-hero p {
  color: #2f3e56;
  font-size: 1.12rem;
  line-height: 1.75;
}

.contact-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(250px, 0.9fr));
  margin-top: 36px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(216, 92, 146, 0.22);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(63, 50, 67, 0.08);
  padding: clamp(22px, 3vw, 32px);
}

.primary-contact-card {
  background:
    linear-gradient(135deg, rgba(255, 246, 251, 0.96), rgba(255, 255, 255, 0.94)),
    #fff;
}

.contact-card h2 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.contact-card p,
.contact-list {
  color: #2f3e56;
  line-height: 1.7;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
}

.legal-hero,
.legal-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 920px;
}

.legal-hero {
  padding: 32px 0 28px;
}

.legal-hero p:last-child {
  color: var(--muted);
  font-weight: 750;
}

.legal-content {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(248, 182, 210, 0.55);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(74, 43, 58, 0.1);
  padding: clamp(24px, 4vw, 44px);
}

.legal-content h2 {
  color: var(--navy);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.12;
  margin: 34px 0 12px;
}

.legal-content h2:first-of-type {
  margin-top: 16px;
}

.legal-content p,
.legal-content li {
  color: #4f424b;
}

.legal-content a {
  color: var(--pink-500);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(216, 92, 146, 0.36);
  text-underline-offset: 3px;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li + li {
  margin-top: 8px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    order: 3;
  }

  .hero,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: center;
    width: min(100%, 720px);
  }

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

  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .final-cta .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 14px;
    grid-template-columns: 1fr;
    padding: 12px 20px;
  }

  .brand {
    max-width: 100%;
  }

  .brand-text strong {
    font-size: 1.18rem;
  }

  .nav-links {
    gap: 14px;
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    width: 100%;
  }

  .nav-button {
    justify-self: stretch;
    text-align: center;
  }

  h1 {
    font-size: clamp(1.8rem, 8.7vw, 2.28rem);
    line-height: 1.12;
  }

  .hero-copy p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero {
    min-height: auto;
    padding: 38px 18px 50px;
  }

  .hero-copy,
  .section-heading,
  .product-copy {
    max-width: 100%;
  }

  .products-section,
  .info-section,
  .final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .hero-visual {
    aspect-ratio: 0.95 / 1;
    width: 100%;
  }

  .device-frame,
  .class-frame {
    aspect-ratio: 16 / 10;
    height: auto;
    width: 92%;
  }

  .device-frame {
    left: 0;
    top: 0;
  }

  .class-frame {
    right: 0;
    top: 38%;
  }

  .product-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .badge-grid,
  .audience-grid,
  .site-footer,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    padding: 36px 20px 24px;
  }

  .compact-footer nav {
    justify-content: flex-start;
  }
}
