:root {
  --ink: #061936;
  --teal: #0758d6;
  --teal-2: #00a8ff;
  --coral: #ff7a35;
  --coral-dark: #e2601d;
  --mint: #d9f2ff;
  --line: #d5e4f4;
  --muted: #52677f;
  --soft: #f2f8ff;
  --white: #ffffff;
  --shadow: 0 22px 50px rgba(0, 47, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7fbff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 168, 255, 0.14), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 122, 53, 0.08), transparent 22%);
  content: "";
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(72px, 1fr);
  align-items: center;
  min-height: 102px;
  padding: 18px clamp(22px, 5vw, 74px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

main {
  padding-bottom: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 0.9;
}

.brand-logo {
  width: clamp(146px, 16vw, 210px);
  min-width: 150px;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
}

.brand-mark svg {
  width: 54px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  font-size: 18px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 12px 0;
}

.nav a.active::after,
.nav a:hover::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 3px;
  background: var(--teal);
  content: "";
}

.cart-button {
  justify-self: end;
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 63, 77, 0.22);
  cursor: pointer;
}

.cart-button svg,
.email-icon svg {
  width: 33px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cart-button span {
  position: absolute;
  top: 9px;
  right: 10px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(380px, 0.75fr);
  gap: clamp(32px, 5vw, 62px);
  align-items: center;
  width: min(1180px, calc(100% - 44px));
  min-height: auto;
  margin: 34px auto 18px;
  padding: clamp(36px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 255, 0.96));
  box-shadow: 0 22px 60px rgba(7, 88, 214, 0.1);
}

.hero h1,
.products-section h2,
.bundle-band h2,
.email-band h2 {
  margin: 0;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
}

.hero-copy > p {
  max-width: 660px;
  margin: 20px 0 0;
  color: #253b5d;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.hero-proof {
  display: grid;
  gap: 4px;
  max-width: 620px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid #bfd8f4;
  border-radius: 8px;
  background: #ffffff;
}

.hero-proof strong {
  color: var(--teal);
  font-size: 17px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 32px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(239, 90, 63, 0.22);
}

.primary:hover {
  background: var(--coral-dark);
}

.secondary {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--white);
}

.dark {
  background: linear-gradient(135deg, #074bd6, #00a8ff);
  color: var(--white);
}

.full {
  width: 100%;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.trust-row div {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.trust-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.trust-row strong {
  color: var(--ink);
  font-size: 15px;
}

.round-icon {
  flex: 0 0 auto;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  font-weight: 900;
}

.hero-products {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  min-height: 0;
  padding-top: 0;
}

.hero-logo-card,
.hero-module-card {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 50px rgba(0, 47, 130, 0.16);
}

.hero-logo-card {
  grid-row: auto;
  padding: 14px;
  object-fit: contain;
}

.hero-ai-card {
  display: grid;
  gap: 14px;
  width: min(88%, 520px);
  margin: -24px auto 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 50px rgba(0, 47, 130, 0.16);
}

.cover {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 3px;
  background: linear-gradient(180deg, #fffdfa 0%, #f8f2ea 78%, var(--teal) 78%);
  color: var(--teal);
  text-align: center;
  box-shadow: var(--shadow);
}

.cover::before {
  width: 24px;
  height: 24px;
  margin-top: 30px;
  border: 1.7px solid currentColor;
  border-radius: 6px;
  content: "";
  font-size: 14px;
  line-height: 20px;
}

.cover span {
  margin-top: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.cover h2 {
  margin: 22px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 0.92;
}

.cover p {
  max-width: 72%;
  margin: 0 auto;
  color: #173744;
  font-size: 13px;
  line-height: 1.35;
}

.cover strong {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 13px 8px;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tablet {
  width: min(42vw, 350px);
  height: 450px;
  transform: rotate(-2deg);
  border: 14px solid #141414;
  border-radius: 18px;
}

.standing {
  width: min(25vw, 218px);
  height: 360px;
  margin-left: -40px;
}

.screen {
  z-index: 2;
  background: linear-gradient(180deg, #d8eeee 0%, #eef8f8 78%, var(--teal-2) 78%);
}

.feelings {
  background: linear-gradient(180deg, #fbf5ef 0%, #fffdfa 78%, var(--coral) 78%);
}

.products-section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-heading h2,
.bundle-band h2,
.email-band h2 {
  font-size: clamp(30px, 3vw, 38px);
}

.section-heading a {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 0;
  gap: 30px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 47, 130, 0.08);
}

.product-image {
  width: 100%;
  height: 100%;
  min-height: 230px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.product-card:last-child {
  border-right: 1px solid var(--line);
  padding-right: 24px;
  padding-left: 24px;
}

.product-card:nth-child(2) {
  padding-left: 24px;
}

.mini-cover {
  width: 144px;
  height: 212px;
  transform: none;
  box-shadow: 0 14px 30px rgba(0, 47, 58, 0.12);
}

.mini-cover h2 {
  font-size: 24px;
}

.product-card h3 {
  margin: 7px 0 6px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.05;
}

.product-card .format,
.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.product-meta {
  display: flex;
  gap: 18px;
  margin: 18px 0;
  color: var(--ink);
  font-size: 14px;
}

.product-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 26px;
  font-weight: 900;
}

.add-button {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.bundle-band,
.email-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  width: min(1180px, calc(100% - 44px));
  margin: 18px auto 0;
  padding: 30px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--soft), #ffffff);
}

.bundle-band p,
.email-band p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(1180px, calc(100% - 44px));
  margin: 16px auto 34px;
  padding: 42px;
  border-radius: 8px;
  background: radial-gradient(circle at top right, rgba(0, 168, 255, 0.28), transparent 34%), linear-gradient(135deg, #052f8f, #061936);
  color: var(--white);
}

.ai-copy h2 {
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
}

.ai-copy > p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.45;
}

.ai-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.ai-steps div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.ai-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-weight: 900;
}

.ai-steps strong {
  display: block;
  margin-top: 14px;
  font-size: 17px;
}

.ai-steps p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.ai-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.24);
}

.ai-message {
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.45;
}

.ai-message.parent {
  justify-self: end;
  max-width: 86%;
  background: #eef8f8;
  color: var(--teal);
  font-weight: 800;
}

.ai-message.assistant {
  background: var(--soft);
  color: var(--ink);
}

.modules-section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 28px 0 24px;
}

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

.module-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(0, 47, 130, 0.08);
}

.module-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.module-content {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.module-content span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.module-content h3 {
  margin: 0;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.05;
}

.module-content p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.module-content ul {
  display: grid;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.module-content li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
}

.module-content li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.module-content strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.email-band {
  grid-template-columns: 88px 1fr minmax(360px, 0.8fr);
  margin-bottom: 40px;
}

.email-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
}

.email-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
}

.email-form input {
  min-height: 54px;
  min-width: 0;
  padding: 0 16px;
  border: 1px solid #cbd5d8;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
}

.email-form small {
  color: var(--muted);
  font-size: 13px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  width: min(430px, 100vw);
  height: 100vh;
  padding: 24px;
  background: var(--white);
  box-shadow: -24px 0 60px rgba(7, 21, 34, 0.18);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer h2 {
  margin: 0;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

#closeCart {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 28px;
  cursor: pointer;
}

#cartItems {
  display: grid;
  gap: 14px;
  min-height: 170px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

#cartItems li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin: 0 0 20px;
  font-size: 22px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  max-width: 340px;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
  }

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

  .hero-products {
    min-height: 420px;
  }

  .hero-products {
    grid-template-columns: 1fr 1fr;
  }

  .hero-logo-card {
    grid-column: 1 / -1;
    grid-row: auto;
    max-height: 340px;
    object-fit: contain;
  }

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

  .ai-section {
    grid-template-columns: 1fr;
  }

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

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

  .product-card,
  .product-card:nth-child(2),
  .product-card:last-child {
    padding: 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .email-band {
    grid-template-columns: 72px 1fr;
  }

  .email-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: auto;
    padding: 14px 18px;
  }

  .brand {
    font-size: 25px;
  }

  .brand-logo {
    width: 142px;
    min-width: 142px;
  }

  .brand-mark,
  .brand-mark svg {
    width: 44px;
    height: 44px;
  }

  .nav {
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    font-size: 15px;
  }

  .cart-button {
    width: 52px;
    height: 52px;
  }

  .hero {
    min-height: auto;
    padding: 42px 18px 28px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-copy > p {
    font-size: 20px;
  }

  .hero-actions {
    display: grid;
  }

  .trust-row {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hero-products {
    min-height: 360px;
    overflow: hidden;
  }

  .hero-products {
    grid-template-columns: 1fr;
  }

  .hero-logo-card {
    max-height: 260px;
  }

  .hero-module-card {
    max-height: 230px;
  }

  .tablet {
    width: 235px;
    height: 320px;
  }

  .standing {
    width: 150px;
    height: 260px;
    margin-left: -70px;
  }

  .cover h2 {
    font-size: 30px;
  }

  .cover span,
  .cover p {
    font-size: 9px;
  }

  .cover strong {
    font-size: 8px;
  }

  .products-section {
    padding: 30px 18px;
  }

  .section-heading {
    align-items: start;
  }

  .product-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-image {
    min-height: 210px;
  }

  .mini-cover {
    width: 108px;
    height: 164px;
  }

  .mini-cover h2 {
    font-size: 20px;
  }

  .product-buy {
    align-items: stretch;
    flex-direction: column;
  }

  .bundle-band,
  .email-band {
    grid-template-columns: 1fr;
    margin-right: 18px;
    margin-left: 18px;
    padding: 24px;
  }

  .email-form {
    grid-template-columns: 1fr;
  }

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