:root {
  --background: #f5f3fb;
  --surface: #ffffff;
  --surface-soft: #efecf8;
  --text-primary: #0f1020;
  --text-secondary: #6b6f80;
  --text-muted: #a5a8b8;
  --border: #ece9f5;
  --border-strong: #d9d5ea;
  --primary: #3e5af5;
  --primary-dark: #2e46cc;
  --primary-soft: #dde3ff;
  --yellow: #ffcc2a;
  --yellow-soft: #fff2b8;
  --coral: #ff6b6b;
  --coral-soft: #ffd6d6;
  --green: #22c07a;
  --green-soft: #c9f0dc;
  --shadow: 0 14px 34px rgba(19, 20, 40, 0.08);
  --shadow-strong: 0 22px 48px rgba(19, 20, 40, 0.14);
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 88% 12%, rgba(62, 90, 245, 0.14), transparent 30%),
    radial-gradient(circle at 14% 22%, rgba(255, 204, 42, 0.18), transparent 26%),
    var(--background);
  font-family: "Heebo", "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-shell {
  min-height: 100dvh;
  padding: 24px;
}

.site-header,
.site-footer,
.hero,
.section,
.legal-page {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Rubik", "Heebo", sans-serif;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-weight: 700;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  color: var(--text-primary);
  background: var(--surface);
}

.site-nav a:active,
.button:active {
  transform: scale(0.98);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0 40px;
}

.hero-copy {
  padding-block: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
.display-word {
  font-family: "Rubik", "Heebo", sans-serif;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(3.8rem, 10vw, 7.5rem);
  line-height: 0.92;
  font-weight: 800;
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-weight: 900;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 16px 28px rgba(62, 90, 245, 0.22);
}

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

.button-secondary {
  color: var(--text-primary);
  background: var(--surface);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: var(--border-strong);
}

.phone-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: 18px auto auto 22px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: var(--yellow-soft);
}

.app-icon-large {
  position: relative;
  width: min(220px, 54vw);
  border-radius: 52px;
  justify-self: center;
  box-shadow: var(--shadow-strong);
}

.word-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.word-label {
  margin: 0;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 900;
}

.display-word {
  margin: 8px 0 12px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
}

.word-hint {
  margin: 0;
  color: var(--text-secondary);
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-tile {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mini-tile strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.45rem;
  font-family: "Rubik", "Heebo", sans-serif;
}

.mini-tile span {
  color: var(--text-secondary);
  font-weight: 700;
}

.section {
  padding: 38px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section h2,
.legal-page h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 800;
}

.section-header p {
  max-width: 470px;
  margin: 0;
  color: var(--text-secondary);
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.feature-panel,
.legal-card {
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-panel {
  padding: 26px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  color: var(--primary);
  background: var(--primary-soft);
  font-family: "Rubik", "Heebo", sans-serif;
  font-weight: 900;
}

.feature-list h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.feature-list p {
  margin: 0;
  color: var(--text-secondary);
}

.accent-panel {
  display: grid;
  align-content: space-between;
  min-height: 100%;
  padding: 26px;
  border-radius: var(--radius-xl);
  color: var(--text-primary);
  background: var(--yellow-soft);
  box-shadow: var(--shadow);
}

.accent-panel strong {
  display: block;
  font-family: "Rubik", "Heebo", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.accent-panel p {
  max-width: 280px;
  margin: 18px 0 0;
  color: #5a4f1f;
  font-weight: 700;
}

.support-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: var(--text-primary);
  color: #ffffff;
}

.support-strip p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.support-strip .button {
  color: var(--text-primary);
  background: #ffffff;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 38px 0 14px;
  color: var(--text-secondary);
  font-weight: 700;
}

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

.legal-page {
  padding: 26px 0 54px;
}

.legal-intro {
  max-width: 720px;
  margin: 16px 0 24px;
  color: var(--text-secondary);
  font-size: 1.08rem;
}

.legal-card {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 5vw, 38px);
}

.legal-section {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.legal-section p,
.legal-section li {
  color: var(--text-secondary);
}

.legal-section p {
  margin: 0 0 10px;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 22px 0 0;
}

.muted-note {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-weight: 900;
}

@media (max-width: 820px) {
  .site-shell {
    padding: 18px;
  }

  .site-header,
  .section-header,
  .support-strip,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .site-nav,
  .footer-links {
    flex-wrap: wrap;
  }

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

  .hero {
    padding-top: 6px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.3rem, 18vw, 5.8rem);
  }

  .phone-card {
    border-radius: 30px;
  }

  .support-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .site-nav a {
    padding-inline: 10px;
  }
}
