:root {
  color-scheme: light;
  --paper: #f4efe5;
  --paper-deep: #e9e0d1;
  --ink: #17252d;
  --muted: #68737a;
  --line: rgba(23, 37, 45, 0.14);
  --learning: #cf6f3f;
  --learning-dark: #9f4827;
  --speaking: #176b52;
  --speaking-dark: #0d4b39;
  --white: #fffdf8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 16%, rgba(207, 111, 63, 0.14), transparent 25rem),
    radial-gradient(circle at 86% 76%, rgba(23, 107, 82, 0.13), transparent 28rem),
    linear-gradient(135deg, var(--paper) 0%, #faf7ef 48%, var(--paper-deep) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.42;
  background-image: linear-gradient(rgba(23, 37, 45, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 37, 45, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.identity-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 37, 45, 0.24);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.header-note {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

main {
  flex: 1;
  display: grid;
  align-content: center;
  padding: 70px 0 58px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 72px;
  margin-bottom: 58px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--learning-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 7vw, 6.9rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}

.intro {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
}

.orbit {
  position: relative;
  width: 250px;
  aspect-ratio: 1;
  justify-self: end;
  border: 1px solid rgba(23, 37, 45, 0.16);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  position: absolute;
  inset: 18%;
  content: "";
  border: 1px solid rgba(23, 37, 45, 0.1);
  border-radius: 50%;
}

.orbit::after {
  inset: 38%;
  background: rgba(255, 253, 248, 0.58);
  border-color: rgba(23, 37, 45, 0.16);
}

.orbit-core {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.orbit-dot {
  position: absolute;
  z-index: 2;
  width: 24px;
  aspect-ratio: 1;
  border: 5px solid var(--paper);
  border-radius: 50%;
}

.orbit-dot-one {
  top: 12%;
  right: 18%;
  background: var(--learning);
}

.orbit-dot-two {
  bottom: 11%;
  left: 20%;
  background: var(--speaking);
}

.orbit-line {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 155px;
  height: 1px;
  background: rgba(23, 37, 45, 0.11);
  transform: translate(-50%, -50%) rotate(-42deg);
}

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

.platform-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 60px rgba(23, 37, 45, 0.06);
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.platform-card::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 260px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.1;
  transition: transform 260ms ease;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 74px rgba(23, 37, 45, 0.12);
}

.platform-card:hover::after {
  transform: scale(1.1);
}

.platform-card:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.platform-card-learning:hover {
  border-color: rgba(207, 111, 63, 0.5);
}

.platform-card-speaking:hover {
  border-color: rgba(23, 107, 82, 0.5);
}

.card-number {
  position: absolute;
  top: 30px;
  right: 30px;
  color: rgba(23, 37, 45, 0.4);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
}

.card-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
}

.card-icon svg {
  width: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.card-icon-learning {
  color: var(--learning-dark);
  background: rgba(207, 111, 63, 0.14);
}

.card-icon-speaking {
  color: var(--speaking-dark);
  background: rgba(23, 107, 82, 0.14);
}

.card-content {
  grid-column: 1 / -1;
  align-self: end;
  display: grid;
  gap: 9px;
}

.card-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.card-description {
  max-width: 440px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.card-action {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 750;
}

.card-action svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.platform-card:hover .card-action svg {
  transform: translateX(4px);
}

footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-status i {
  width: 7px;
  aspect-ratio: 1;
  background: var(--speaking);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(23, 107, 82, 0.1);
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 32px, 680px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 42px;
  }

  .orbit {
    display: none;
  }

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

  main {
    padding: 52px 0 44px;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 80px;
  }

  .header-note {
    display: none;
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 4.2rem);
  }

  .intro {
    margin-top: 22px;
  }

  .platform-card {
    min-height: 300px;
    padding: 24px;
    border-radius: 22px;
  }

  .card-number {
    top: 24px;
    right: 24px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
