:root {
  color-scheme: light;
  --ink: #172121;
  --muted: #586461;
  --line: #d9e1dc;
  --paper: #fffdf7;
  --panel: #ffffff;
  --sage: #e4efe8;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --gold: #d79a2b;
  --gold-soft: #fff1c7;
  --sky: #dcecff;
  --red: #dc4c3f;
  --shadow: 0 18px 45px rgba(23, 33, 33, 0.12);
  --glow: 0 20px 70px rgba(215, 154, 43, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 225, 220, 0.85);
  background: rgba(251, 252, 249, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 33, 33, 0.08);
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

nav a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

nav a:hover {
  background: var(--sage);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
  min-height: calc(100vh - 79px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px) 56px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 241, 199, 0.92), transparent 24%),
    linear-gradient(120deg, rgba(228, 239, 232, 0.88), rgba(255, 253, 247, 0.65) 48%),
    linear-gradient(180deg, #fff, var(--paper));
}

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

.eyebrow,
.app-kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.hero-lede {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--ink), #243230);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.device {
  position: absolute;
  width: min(84%, 440px);
  border: 1px solid rgba(23, 33, 33, 0.12);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.language-preview {
  top: 0;
  right: 8%;
  z-index: 2;
  padding: 20px;
  box-shadow: var(--shadow), var(--glow);
}

.market-preview {
  right: 0;
  bottom: 54px;
  z-index: 1;
  padding: 18px;
}

.device-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.device-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.voice-thread {
  display: grid;
  gap: 12px;
}

.voice-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.voice-row.learner {
  justify-content: flex-end;
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
}

.voice-bubble {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(78%, 300px);
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e3f4eb;
  color: var(--teal-dark);
}

.voice-row.learner .voice-bubble {
  background: #dcf7c8;
}

.play-dot,
.mic-dot {
  display: grid;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
}

.play-dot::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #fff;
  content: "";
}

.waveform {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 4px;
  min-width: 86px;
}

.waveform i {
  width: 4px;
  height: 14px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.72;
}

.waveform i:nth-child(2),
.waveform i:nth-child(5) {
  height: 24px;
}

.waveform i:nth-child(3),
.waveform i:nth-child(6) {
  height: 10px;
}

.waveform i:nth-child(4),
.waveform i:nth-child(7) {
  height: 30px;
}

.voice-bubble small {
  color: var(--muted);
  font-weight: 800;
}

.recording-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #f4f7f5;
  color: var(--muted);
  font-weight: 800;
}

.recording-bar strong {
  margin-left: auto;
  color: var(--ink);
}

.mic-dot {
  width: 24px;
  height: 24px;
  background: var(--red);
}

.mic-dot::before {
  width: 8px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  content: "";
}

.progress-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.progress-strip small {
  color: var(--muted);
  text-align: right;
}

.market-preview-image {
  display: block;
  width: 100%;
  height: 220px;
  border-radius: 8px;
  object-fit: cover;
  object-position: 86% 14%;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.intro-band {
  background:
    linear-gradient(90deg, rgba(215, 154, 43, 0.18), transparent 36%),
    var(--ink);
  color: #fff;
}

.intro-band p {
  max-width: 1040px;
  margin: 0 auto;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.35;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.about-section {
  background:
    linear-gradient(180deg, #fff, var(--paper));
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1080px;
}

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

.about-copy p {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.18rem);
}

.about-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 280px);
  aspect-ratio: 1;
  border: 1px solid rgba(23, 33, 33, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--glow);
  overflow: hidden;
}

.about-logo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.service-grid p,
.app-panel p,
.contact-section p,
.company-facts dd {
  color: var(--muted);
}

.apps-section {
  background:
    linear-gradient(180deg, #eef4f0, #fff8e8);
}

.app-list {
  display: grid;
  gap: 18px;
}

.app-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(23, 33, 33, 0.1);
  border-radius: 8px;
  background: var(--panel);
}

.app-shot {
  min-height: 320px;
  border-radius: 8px;
  background: #f8faf8;
  overflow: hidden;
}

.language-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255, 244, 219, 0.72), rgba(236, 247, 244, 0.82)),
    #f8faf8;
}

.voice-chat-illustration {
  display: block;
  width: min(86%, 260px);
  height: auto;
}

.dashboard-shot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: left top;
}

.company-section {
  background: #fff;
}

.company-facts {
  display: grid;
  gap: 0;
  max-width: 860px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-facts div {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.company-facts dt {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.company-facts dd {
  margin: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(120deg, var(--sage), var(--gold-soft));
}

address {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(23, 33, 33, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  font-style: normal;
}

address a {
  color: var(--teal-dark);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

address span {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-hero {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px) clamp(36px, 6vw, 68px);
  background:
    linear-gradient(120deg, rgba(228, 239, 232, 0.92), rgba(255, 241, 199, 0.6)),
    #fff;
}

.legal-hero h1 {
  max-width: 980px;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
}

.legal-hero p {
  max-width: 900px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.2rem);
}

.legal-updated {
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-weight: 800;
}

.legal-content {
  display: grid;
  gap: 28px;
  max-width: 980px;
  padding: clamp(42px, 7vw, 82px) clamp(20px, 5vw, 72px);
}

.legal-content article {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--teal-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero,
  .app-panel,
  .about-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 620px;
  }

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

  .company-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  nav {
    justify-content: flex-start;
  }

  .hero-visual {
    min-height: 560px;
  }

  .device {
    width: 96%;
  }

  .language-preview {
    right: 0;
  }

  .market-preview {
    left: 0;
  }

  .progress-strip,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .progress-strip small {
    text-align: left;
  }
}
