:root {
  color-scheme: light;
  --ink: #111318;
  --muted: #667085;
  --line: #dfe4ea;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --blue: #1085f5;
  --green: #14a872;
  --orange: #f28a1b;
  --pink: #e64a8a;
  --purple: #7662e8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 46%, #f4f7fb 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(223, 228, 234, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  background: var(--blue);
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

main {
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(28px, 7vw, 90px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px clamp(20px, 5vw, 64px) 86px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.primary {
  color: white;
  background: var(--blue);
}

.secondary {
  border: 1px solid var(--line);
  background: white;
}

.phone-stage {
  justify-self: center;
  width: min(100%, 360px);
  padding: 12px;
  background: #171a20;
  border-radius: 34px;
  box-shadow: 0 26px 60px rgba(16, 24, 40, 0.22);
}

.phone-stage img,
.mock-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

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

.feature-grid article,
.pricing,
.ai,
.mock-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.07);
}

.feature-grid article {
  padding: 24px;
}

.feature-grid p,
.pricing p,
.ai p {
  color: var(--muted);
  line-height: 1.8;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: white;
  font-weight: 900;
  font-size: 24px;
}

.blue { background: var(--blue); }
.green { background: var(--green); }
.orange { background: var(--orange); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.mock-card {
  padding: 14px;
}

.mock-card p {
  margin: 0;
  padding: 36px 24px;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.7;
}

.ai,
.lang-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: center;
}

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

.ai-list span {
  padding: 14px;
  text-align: center;
  font-weight: 900;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.pricing {
  text-align: center;
}

.pricing p {
  max-width: 720px;
  margin: 18px auto 0;
}

.english-note {
  font-weight: 800;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.mini-links a {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--blue);
  font-weight: 800;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.text-page {
  max-width: 860px;
}

.text-page h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.text-page h2 {
  margin-top: 36px;
  font-size: 28px;
}

.text-page p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  nav {
    display: none;
  }

  .hero,
  .split,
  .ai,
  .lang-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 38px;
  }

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

  .phone-stage {
    width: min(100%, 320px);
  }

  footer {
    flex-direction: column;
  }
}
