:root {
  color-scheme: light;
  --navy: #061b49;
  --blue: #1264dc;
  --sky: #3aaef5;
  --muted: #52658b;
  --line: rgba(6, 27, 73, 0.12);
  --page: #f9fcff;
  --content: 1450px;
  --gutter: clamp(1rem, 4vw, 4.5rem);
  --font-sans: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--navy);
  background:
    radial-gradient(circle at 72% 54%, rgba(78, 174, 244, 0.17), transparent 34rem),
    linear-gradient(120deg, #fff 0%, #fbfdff 54%, #eef8ff 100%);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  color: #fff;
  background: var(--navy);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.page-shell {
  min-height: 100svh;
  overflow: hidden;
}

.site-header {
  display: flex;
  width: min(calc(100% - (2 * var(--gutter))), var(--content));
  height: 110px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 0.75rem;
}

.brand img {
  display: block;
  width: 82px;
  height: auto;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.clock-pill {
  display: inline-flex;
  min-width: 188px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid rgba(18, 100, 220, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0.8rem 2.2rem rgba(27, 72, 130, 0.09);
}

.clock-pill svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--navy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.live-clock {
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.language-control {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.language-control span {
  width: 1px;
  height: 1.45rem;
  background: var(--line);
}

.language-control button {
  padding: 0.35rem 0.25rem;
  border: 0;
  border-radius: 0.45rem;
  color: #7f8ba3;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 750;
}

.language-control button[aria-pressed="true"] { color: var(--blue); }

main { height: calc(100svh - 110px); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(480px, 0.84fr) minmax(660px, 1.16fr);
  width: min(calc(100% - (2 * var(--gutter))), var(--content));
  height: 100%;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 3rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 3vh, 2.75rem) 0 clamp(3.7rem, 6vh, 5.5rem);
}

.hero-copy {
  position: relative;
  z-index: 5;
  align-self: center;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 1.55rem;
  color: var(--blue);
  letter-spacing: 0.22em;
  font-size: clamp(0.72rem, 0.86vw, 0.92rem);
  font-weight: 850;
  position: relative;
  top: -1.45rem;
}

h1 {
  margin: 0;
  letter-spacing: -0.052em;
  position: relative;
  top: -1.45rem;
  margin-bottom: -0.7rem;
  font-size: clamp(3.65rem, 5.35vw, 5.75rem);
  font-weight: 850;
  line-height: 0.985;
}

.headline-line {
  display: block;
  white-space: nowrap;
}

.headline-accent {
  display: inline;
  color: #1474ed;
  background: linear-gradient(100deg, #1474ed 12%, #1f95f0 48%, #2bc84c 88%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow.is-visually-removed {
  visibility: hidden;
}

.hero-description {
  max-width: 610px;
  margin: clamp(1.35rem, 2.6vh, 2rem) 0 clamp(1.35rem, 2.7vh, 2rem);
  color: var(--muted);
  font-size: clamp(0.9rem, 1.05vw, 1.08rem);
  line-height: 1.52;
}

.primary-cta {
  display: inline-flex;
  min-width: 375px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #2788ee, #064fdd);
  box-shadow: 0 1.25rem 2.5rem rgba(10, 86, 211, 0.22);
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-cta svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.primary-cta:hover {
  box-shadow: 0 1.4rem 2.8rem rgba(10, 86, 211, 0.28);
  transform: translateY(-2px);
}

.brand:focus-visible,
.primary-cta:focus-visible,
.language-control button:focus-visible,
.text-link:focus-visible {
  outline: 3px solid #f4b52d;
  outline-offset: 4px;
}

.dynamic-date {
  position: absolute;
  bottom: 3.2rem;
  left: 0;
  color: #51658c;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.collage {
  position: relative;
  justify-self: end;
  width: min(100%, 830px);
  aspect-ratio: 1.24;
  isolation: isolate;
  transform: translateX(2rem);
}

.collage::before {
  position: absolute;
  z-index: -3;
  inset: 7% -3% 2% 2%;
  border-radius: 48%;
  background: radial-gradient(circle, rgba(191, 229, 255, 0.72) 0, rgba(216, 239, 255, 0.34) 46%, transparent 72%);
  filter: blur(4px);
  content: "";
}

.collage-orbit {
  position: absolute;
  z-index: -2;
  border: 2px solid rgba(41, 157, 242, 0.35);
  border-radius: 50%;
}

.orbit-a { inset: 10% 11% 7% 10%; transform: rotate(-9deg); }
.orbit-b { inset: 18% 16% 13% 18%; transform: rotate(13deg); }

.orbit-dot {
  position: absolute;
  z-index: -1;
  width: 17px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #4ab1f5;
  box-shadow: 0 0 1.2rem rgba(32, 154, 239, 0.58);
}

.dot-a { top: 9%; left: 49%; }
.dot-b { top: 35%; left: 4%; }
.dot-c { right: 10%; bottom: 10%; }

.portrait {
  position: absolute;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: clamp(6px, 0.65vw, 10px) solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: #eaf5fe;
  box-shadow: 0 1rem 2.4rem rgba(48, 118, 175, 0.12);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-listen { top: 1.5%; left: 24%; width: 26%; aspect-ratio: 1; }
.portrait-repeat { top: 0.5%; right: 10%; width: 26%; aspect-ratio: 1; }
.portrait-interact { top: 32%; left: 5%; width: 29%; aspect-ratio: 1; }
.portrait-master { top: 33%; right: 0; width: 29%; aspect-ratio: 1; }
.portrait-transfer { bottom: -1.5%; left: 23%; width: 30%; aspect-ratio: 1; }
.portrait-speak { right: 9%; bottom: -1.5%; width: 30%; aspect-ratio: 1; }

.portrait-listen img { width: 150%; height: 150%; object-position: 32% 39%; transform: translate(-7%, -4%); }
.portrait-repeat img { width: 136%; height: 136%; object-position: 65% 36%; transform: translate(-13%, -4%); }
.portrait-interact img { width: 140%; height: 140%; object-position: 39% 36%; transform: translate(-8%, -3%); }
.portrait-master img { width: 132%; height: 132%; object-position: 61% 29%; transform: translate(-12%, -4%); }
.portrait-transfer img { width: 138%; height: 138%; object-position: 54% 18%; transform: translate(-14%, -4%); }
.portrait-speak img { width: 145%; height: 145%; object-position: 66% 24%; transform: translate(-16%, -4%); }

.collage-hub {
  position: absolute;
  z-index: 4;
  top: 42%;
  left: 37%;
  display: flex;
  width: 28%;
  align-items: center;
  flex-direction: column;
  gap: 0.35rem;
}

.collage-hub img {
  display: block;
  width: 100%;
  height: auto;
}

.powered-by {
  color: #52698e;
  font-size: clamp(0.62rem, 0.85vw, 0.82rem);
  font-weight: 750;
  letter-spacing: 0.08em;
}

.feature {
  position: absolute;
  z-index: 7;
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 0.72rem;
  padding: 0.68rem 1rem 0.68rem 0.72rem;
  border: 1px solid rgba(23, 102, 220, 0.08);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.8rem 2rem rgba(35, 91, 151, 0.12);
}

.feature > span:last-child {
  display: grid;
  min-width: 0;
}

.feature strong {
  color: var(--navy);
  font-size: clamp(0.95rem, 1.2vw, 1.18rem);
  line-height: 1.05;
}

.feature small {
  max-width: 14ch;
  margin-top: 0.2rem;
  color: #53688e;
  font-size: clamp(0.66rem, 0.8vw, 0.8rem);
  line-height: 1.13;
}

.feature-icon {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #fff;
}

.feature-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon-listen { background: linear-gradient(135deg, #7d20db, #b539f1); }
.icon-repeat { background: linear-gradient(135deg, #109af2, #31b8ff); }
.icon-interact { background: linear-gradient(135deg, #ffb400, #ffd22e); }
.icon-transfer { background: linear-gradient(135deg, #f3286f, #ff3c89); }
.icon-master { background: linear-gradient(135deg, #31c775, #64df8c); }
.icon-speak { background: linear-gradient(135deg, #f47a20, #ffad32); }

.feature-listen { top: 6%; left: 0; width: 25%; }
.feature-repeat { top: 10%; right: -8%; width: 24%; }
.feature-interact { top: 56%; left: 0; width: 26%; }
.feature-transfer { bottom: 4%; left: 11%; width: 25%; }
.feature-master { top: 56%; right: -6.5%; width: 25%; }
.feature-speak { right: -5%; bottom: 4%; width: 28%; }

.boundary-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: var(--gutter);
}

.boundary-card {
  width: min(100%, 48rem);
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--line);
  border-radius: 2.5rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1.5rem 4rem rgba(7, 26, 66, 0.12);
}

.boundary-card h1 { max-width: 12ch; }
.boundary-card p { color: var(--muted); line-height: 1.7; }
.text-link { display: inline-block; margin-top: 1rem; color: var(--blue); font-weight: 800; }

@media (max-width: 1320px) {
  :root { --gutter: 2rem; }
  .site-header { height: 92px; }
  main { height: calc(100svh - 92px); }
  .hero { grid-template-columns: minmax(430px, 0.85fr) minmax(560px, 1.15fr); padding-top: 1rem; }
  h1 { font-size: clamp(3.1rem, 4.75vw, 4.25rem); }
  .collage { width: min(100%, 720px); }
  .feature { min-height: 66px; padding: 0.55rem 0.75rem; border-radius: 1.25rem; }
  .feature-icon { width: 39px; }
  .feature-icon svg { width: 23px; height: 23px; }
  .primary-cta { min-width: 330px; min-height: 56px; }
}

@media (max-height: 800px) and (min-width: 861px) {
  .site-header { height: 82px; }
  .brand img { width: 68px; }
  .clock-pill { min-height: 46px; }
  main { height: calc(100svh - 82px); }
  .hero { padding-block: 0.65rem 3.2rem; }
  .eyebrow { margin-bottom: 0.8rem; }
  h1 { font-size: clamp(3.15rem, 4.75vw, 4.25rem); }
  .hero-description { margin-block: 1rem; font-size: 0.88rem; }
  .primary-cta { min-height: 52px; }
  .collage { width: min(100%, 680px); }
  .dynamic-date { bottom: 0.8rem; }
}

@media (max-width: 1080px) and (min-width: 861px) {
  :root { --gutter: 1.35rem; }
  .hero { grid-template-columns: minmax(380px, 0.9fr) minmax(500px, 1.1fr); gap: 0.5rem; }
  .header-tools { gap: 1rem; }
  .clock-pill { min-width: 155px; }
  .collage { width: min(100%, 620px); }
  .feature small { font-size: 0.58rem; }
  .feature-repeat { right: -2%; }
  .feature-master { right: -3%; }
  .feature-speak { right: -2%; }
  .feature-transfer { left: 9%; }
}

@media (max-width: 860px) {
  .page-shell { min-height: 100svh; overflow: visible; }
  .site-header { height: 76px; }
  .brand img { width: 60px; }
  .header-tools { gap: 0.65rem; }
  .clock-pill { min-width: 0; min-height: 44px; gap: 0.45rem; padding: 0.5rem 0.8rem; }
  .clock-pill svg { width: 20px; height: 20px; }
  .live-clock { font-size: 0.76rem; }
  .language-control { gap: 0.35rem; }
  .language-control button { font-size: 0.78rem; }
  main { height: auto; }
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    gap: 1rem;
    padding: 2.1rem 0 4.5rem;
  }
  .hero-copy { max-width: 620px; }
  .eyebrow, h1 { top: 0; }
  h1 { margin-bottom: 0; }
  h1 { font-size: clamp(3rem, 9vw, 4.2rem); }
  .hero-description { max-width: 580px; }
  .collage { justify-self: center; width: min(100%, 680px); transform: none; }
  .feature-repeat { right: -5%; }
  .feature-master { right: -4%; }
  .feature-speak { right: -3%; }
  .dynamic-date { bottom: 1rem; }
}

@media (max-width: 520px) {
  :root { --gutter: 1rem; }
  .site-header { height: 72px; }
  .brand img { width: 50px; }
  .header-tools { gap: 0.35rem; }
  .clock-pill { min-height: 40px; padding-inline: 0.62rem; }
  .clock-pill svg { display: none; }
  .language-control button { padding-inline: 0.15rem; }
  .hero { gap: 0.35rem; padding-top: 1.6rem; }
  .eyebrow { margin-bottom: 0.8rem; font-size: 0.62rem; }
  h1 { font-size: clamp(2.55rem, 12vw, 3.25rem); line-height: 0.96; }
  .hero-description { margin-block: 1rem 1.15rem; font-size: 0.88rem; line-height: 1.5; }
  .primary-cta { width: 100%; min-width: 0; min-height: 54px; gap: 1.2rem; font-size: 0.88rem; }
  .collage { width: 100%; margin-inline: 0; }
  .feature-repeat, .feature-master, .feature-speak { right: 0; }
  .feature-repeat { top: 26%; }
  .feature-transfer { left: 5%; }
  .feature-speak { bottom: -5%; }
  .feature { min-height: 48px; gap: 0.35rem; padding: 0.35rem 0.42rem; border-radius: 0.9rem; }
  .feature-icon { width: 29px; }
  .feature-icon svg { width: 18px; height: 18px; }
  .feature strong { font-size: 0.68rem; }
  .feature small { margin-top: 0.08rem; font-size: 0.46rem; }
  .portrait { border-width: 4px; }
  .dynamic-date { font-size: 0.72rem; }
}

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