:root {
  color-scheme: light;
  --ink: #07101f;
  --muted: #65707f;
  --line: #d8e6fb;
  --paper: #f4f8ff;
  --white: #ffffff;
  --charcoal: #08111f;
  --charcoal-2: #101927;
  --green: #2f7cff;
  --green-dark: #1457c8;
  --mint: #eaf4ff;
  --app-sky: #7ab8ff;
  --app-ice: #dcecff;
  --coral: #3b82f6;
  --blue: #2f7cff;
  --blue-soft: #9dccff;
  --ice: #eef6ff;
  --shadow: 0 30px 90px rgba(7, 16, 31, 0.18);
  --shadow-soft: 0 18px 60px rgba(7, 16, 31, 0.1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #b8c5d6;
  --line: rgba(157, 204, 255, 0.22);
  --paper: #07101f;
  --charcoal: #f7fbff;
  --charcoal-2: #dcecff;
  --green: #83bcff;
  --green-dark: #badcff;
  --mint: #10233c;
  --app-sky: #8dc4ff;
  --app-ice: #dcecff;
  --coral: #6da8ff;
  --blue: #83bcff;
  --blue-soft: #badcff;
  --ice: #10233c;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 520px),
    linear-gradient(90deg, rgba(47, 124, 255, 0.08), rgba(157, 204, 255, 0.1));
  color: var(--ink);
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

html[data-theme="dark"] body {
  background:
    linear-gradient(180deg, #050b14 0, #08111f 520px),
    linear-gradient(90deg, rgba(47, 124, 255, 0.12), rgba(157, 204, 255, 0.06));
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(8, 17, 31, 0.68);
  border-bottom: 1px solid rgba(157, 204, 255, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px) saturate(1.25);
  gap: 12px;
}

.site-header.solid {
  background: rgba(8, 17, 31, 0.96);
}

.brand,
.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand {
  order: 1;
}

.brand img,
.site-footer img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  order: 2;
  margin-left: auto;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
  white-space: nowrap;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--blue-soft);
}

.nav-action {
  padding: 10px 16px;
  color: var(--white);
  background: linear-gradient(180deg, #4b96ff, #2368f2);
  border: 1px solid rgba(220, 236, 255, 0.56);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(47, 124, 255, 0.3);
}

.menu-button {
  display: none;
  order: 4;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--white);
}

.theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  order: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(157, 204, 255, 0.72);
}

.theme-toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  color: currentColor;
  border-radius: 999px;
  background: currentColor;
  box-shadow: inset -6px -5px 0 rgba(8, 17, 31, 0.92);
}

.theme-toggle-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid transparent;
}

html[data-theme="light"] .theme-toggle-icon {
  background: transparent;
  box-shadow: inset 0 0 0 2px currentColor;
}

html[data-theme="light"] .theme-toggle-icon::before {
  border-color: currentColor;
  transform: scale(0.72);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(680px, 88vh, 840px);
  padding: 132px clamp(22px, 6vw, 92px) 78px;
  overflow: hidden;
  color: var(--white);
  align-items: end;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(0.92) contrast(1.06) brightness(0.92);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 12, 23, 0.98), rgba(5, 12, 23, 0.86) 40%, rgba(5, 12, 23, 0.44) 72%, rgba(5, 12, 23, 0.62) 100%),
    linear-gradient(270deg, rgba(5, 12, 23, 0.54), rgba(5, 12, 23, 0.08) 42%, transparent 68%),
    linear-gradient(0deg, rgba(5, 12, 23, 0.94), rgba(5, 12, 23, 0.2) 58%),
    linear-gradient(180deg, rgba(5, 12, 23, 0.36), rgba(5, 12, 23, 0.12));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(157, 204, 255, 0.75), transparent);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  z-index: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.48);
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -28px -34px -30px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at left center, rgba(5, 12, 23, 0.72), rgba(5, 12, 23, 0.42) 48%, transparent 74%);
  filter: blur(18px);
}

.hero-icon {
  width: 78px;
  height: 78px;
  margin-bottom: 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero .hero-copy {
  color: rgba(255, 255, 255, 0.84);
}

.hero .eyebrow {
  color: var(--blue-soft);
}

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

h1 {
  margin: 0;
  font-size: clamp(4.4rem, 10vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 950;
}

h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 920;
}

h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.15;
  font-weight: 880;
}

p {
  line-height: 1.7;
}

.hero-copy {
  max-width: 670px;
  margin: 26px 0 0;
  font-size: clamp(1.04rem, 1.7vw, 1.35rem);
  text-wrap: pretty;
}

.hero-actions,
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.4vw, 14px);
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button.is-disabled {
  cursor: default;
  pointer-events: none;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(180deg, #4b96ff, var(--green-dark));
  box-shadow: 0 18px 42px rgba(47, 124, 255, 0.38);
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 56px rgba(47, 124, 255, 0.46);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(157, 204, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.button.secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(157, 204, 255, 0.85);
  background: rgba(255, 255, 255, 0.14);
}

.intro-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 36px));
  margin: -34px auto 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  background: rgba(216, 230, 251, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

html[data-theme="dark"] .intro-section {
  background: rgba(157, 204, 255, 0.16);
  border-color: rgba(157, 204, 255, 0.18);
}

.intro-section + .section {
  padding-top: 96px;
}

.stat {
  min-height: 116px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] .stat {
  background: rgba(13, 24, 40, 0.92);
}

.stat strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section,
.showcase-section,
.clarity-section,
.tutorial-section,
.tutorial-note,
.privacy-section,
.cta-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 118px 0;
}

.clarity-section {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 44px;
  align-items: start;
  border-top: 1px solid rgba(47, 124, 255, 0.18);
  border-bottom: 1px solid rgba(47, 124, 255, 0.14);
}

html[data-theme="dark"] .clarity-section {
  border-top-color: rgba(157, 204, 255, 0.2);
  border-bottom-color: rgba(157, 204, 255, 0.16);
}

.clarity-section h2 {
  max-width: 680px;
}

.clarity-section p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.76;
}

.section-heading {
  display: grid;
  gap: 20px;
  margin-bottom: 48px;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  text-wrap: pretty;
}

.section-heading.compact {
  margin-bottom: 28px;
}

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

.feature-card {
  position: relative;
  min-height: 276px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 249, 244, 0.98));
  border: 1px solid rgba(216, 230, 251, 0.92);
  border-radius: 8px;
  box-shadow: 0 20px 52px rgba(7, 16, 31, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

html[data-theme="dark"] .feature-card {
  background:
    linear-gradient(180deg, rgba(13, 24, 40, 0.98), rgba(8, 17, 31, 0.98));
  border-color: rgba(157, 204, 255, 0.18);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.22);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #2f7cff, #9dccff);
  opacity: 0.68;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 124, 255, 0.38);
  box-shadow: 0 30px 70px rgba(7, 16, 31, 0.12);
}

html[data-theme="dark"] .feature-card:hover {
  border-color: rgba(131, 188, 255, 0.44);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.feature-card.accent {
  color: var(--white);
  background:
    linear-gradient(145deg, #091321, #142338 58%, #18372f);
  border-color: rgba(157, 204, 255, 0.28);
}

.feature-card p {
  margin: 18px 0 0;
  color: var(--muted);
}

.feature-card.accent p {
  color: rgba(255, 255, 255, 0.74);
}

.feature-index {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--green);
  font-weight: 900;
}

.accent .feature-index {
  color: var(--blue-soft);
}

.showcase-section {
  width: 100%;
  padding-left: max(18px, calc((100% - 1220px) / 2));
  padding-right: max(18px, calc((100% - 1220px) / 2));
  background:
    linear-gradient(180deg, #07101f 0, #0d1828 54%, #07101f 100%);
  color: var(--white);
  border-top: 1px solid rgba(157, 204, 255, 0.18);
  border-bottom: 1px solid rgba(157, 204, 255, 0.14);
}

.showcase-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.screen-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.screen-tab {
  min-height: 44px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(157, 204, 255, 0.18);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.screen-tab.active {
  color: var(--white);
  background: linear-gradient(180deg, #4b96ff, #2368f2);
  border-color: rgba(255, 255, 255, 0.5);
}

.screen-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(157, 204, 255, 0.46);
}

.screen-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
}

.phone-frame {
  aspect-ratio: 941 / 1672;
  width: min(430px, 100%);
  padding: 0;
  background: #f8fbff;
  border: 1px solid rgba(157, 204, 255, 0.34);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.54),
    0 0 0 8px rgba(255, 255, 255, 0.04);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}

.screen-copy {
  max-width: 620px;
  padding: 8px 0;
}

.screen-copy h3 {
  font-size: clamp(2.1rem, 4.2vw, 5rem);
  line-height: 0.98;
}

.screen-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  max-width: 520px;
}

.screen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: 42px;
  align-items: start;
}

.section-heading.left {
  margin-bottom: 0;
}

.pro-list {
  display: grid;
  gap: 14px;
}

.pro-list div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(216, 230, 251, 0.92);
  border-left: 6px solid var(--coral);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(7, 16, 31, 0.07);
}

html[data-theme="dark"] .pro-list div {
  background: rgba(13, 24, 40, 0.92);
  border-color: rgba(157, 204, 255, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.pro-list div:nth-child(2) {
  border-left-color: var(--app-sky);
}

.pro-list div:nth-child(3) {
  border-left-color: var(--blue);
}

.pro-list strong,
.pro-list span {
  display: block;
}

.pro-list span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}


.tutorial-page {
  padding-top: 72px;
}

.tutorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.72fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 112px 0 88px;
}

.tutorial-hero h1 {
  color: var(--ink);
  font-size: clamp(3rem, 6.8vw, 7.6rem);
  line-height: 0.92;
}

.tutorial-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.button.secondary.dark {
  color: var(--ink);
  border-color: rgba(47, 124, 255, 0.24);
  background: rgba(255, 255, 255, 0.76);
}

html[data-theme="dark"] .button.secondary.dark {
  color: var(--white);
  border-color: rgba(157, 204, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.tutorial-hero-card {
  margin: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(216, 230, 251, 0.92);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

html[data-theme="dark"] .tutorial-hero-card {
  background: rgba(13, 24, 40, 0.86);
  border-color: rgba(157, 204, 255, 0.18);
}

.tutorial-hero-card img,
.tutorial-media-grid img,
.tutorial-media img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(216, 230, 251, 0.9);
  box-shadow: 0 22px 64px rgba(7, 16, 31, 0.12);
}

html[data-theme="dark"] .tutorial-hero-card img,
html[data-theme="dark"] .tutorial-media-grid img,
html[data-theme="dark"] .tutorial-media img {
  border-color: rgba(157, 204, 255, 0.2);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.34);
}

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

.tutorial-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tutorial-card {
  min-height: 100%;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 230, 251, 0.92);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(7, 16, 31, 0.07);
}

html[data-theme="dark"] .tutorial-card {
  background: rgba(13, 24, 40, 0.92);
  border-color: rgba(157, 204, 255, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.tutorial-card.featured {
  color: var(--white);
  background: linear-gradient(145deg, #07101f, #122845 64%, #1457c8);
  border-color: rgba(157, 204, 255, 0.34);
}

.tutorial-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.tutorial-card.featured p,
.tutorial-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.tutorial-steps,
.tutorial-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.tutorial-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  width: 100%;
  padding: 96px max(18px, calc((100% - 1220px) / 2));
  color: var(--white);
  background: linear-gradient(180deg, #07101f 0, #0d1828 100%);
  border-top: 1px solid rgba(157, 204, 255, 0.18);
  border-bottom: 1px solid rgba(157, 204, 255, 0.14);
}

.tutorial-showcase.reverse {
  background: linear-gradient(135deg, #0b1727, #07101f 66%, #112848);
}

.tutorial-copy h2 {
  color: var(--white);
}

.tutorial-copy p:not(.eyebrow),
.tutorial-copy li {
  color: rgba(255, 255, 255, 0.74);
}

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

.tutorial-media.single {
  width: min(430px, 100%);
}

.tutorial-note {
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  gap: 44px;
  align-items: start;
  border-top: 1px solid rgba(47, 124, 255, 0.18);
}

html[data-theme="dark"] .tutorial-note {
  border-top-color: rgba(157, 204, 255, 0.2);
}

.tutorial-note p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.privacy-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 44px;
  align-items: start;
  border-top: 1px solid rgba(47, 124, 255, 0.24);
  border-bottom: 1px solid rgba(47, 124, 255, 0.18);
}

html[data-theme="dark"] .privacy-section {
  border-top-color: rgba(157, 204, 255, 0.24);
  border-bottom-color: rgba(157, 204, 255, 0.18);
}

.privacy-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.inline-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--green-dark);
  background: linear-gradient(180deg, #f3f9ff, #dcecff);
  border: 1px solid rgba(47, 124, 255, 0.16);
  border-radius: 8px;
  font-weight: 800;
}

html[data-theme="dark"] .inline-links a {
  color: var(--green-dark);
  background: rgba(16, 35, 60, 0.86);
  border-color: rgba(157, 204, 255, 0.2);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 52px;
  padding: clamp(34px, 5vw, 58px);
  color: var(--white);
  background:
    linear-gradient(135deg, #1457c8, #0b1727 72%);
  border: 1px solid rgba(157, 204, 255, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta-section h2 {
  max-width: 720px;
}

.cta-section p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.cta-section .eyebrow {
  color: var(--app-ice);
}

.cta-section .button.secondary {
  background: transparent;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 104px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, #08111f, #050b14);
  border-top: 1px solid rgba(157, 204, 255, 0.18);
}

.site-footer div {
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

.site-footer a:hover {
  color: var(--white);
}

.legal-page {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 156px 0 96px;
}

.legal-hero {
  display: grid;
  gap: 16px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

html[data-theme="dark"] .legal-hero {
  border-bottom-color: rgba(157, 204, 255, 0.22);
}

.legal-hero h1 {
  color: var(--ink);
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.legal-hero p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.legal-document {
  display: grid;
  gap: 34px;
  padding-top: 42px;
}

.legal-document section {
  padding: 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 230, 251, 0.92);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(7, 16, 31, 0.06);
}

html[data-theme="dark"] .legal-document section {
  background: rgba(13, 24, 40, 0.92);
  border-color: rgba(157, 204, 255, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.legal-document h2 {
  max-width: none;
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.12;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-document p {
  margin: 0;
}

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

.legal-document a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(8, 12, 20, 0.9), rgba(8, 12, 20, 0.48) 54%, rgba(8, 12, 20, 0.7)),
    linear-gradient(0deg, rgba(8, 12, 20, 0.85), rgba(8, 12, 20, 0.08) 52%);
}

html[dir="rtl"] .pro-list div {
  border-right: 6px solid var(--coral);
  border-left: 1px solid var(--line);
}

html[dir="rtl"] .pro-list div:nth-child(2) {
  border-right-color: var(--app-sky);
}

html[dir="rtl"] .pro-list div:nth-child(3) {
  border-right-color: var(--blue);
}

html[dir="rtl"] .legal-document ul {
  padding-right: 22px;
  padding-left: 0;
}

@media (max-width: 1280px) {
  .brand {
    margin-right: auto;
  }

  .menu-button {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: clamp(14px, 4vw, 28px);
    left: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: min(320px, calc(100vw - 28px));
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    padding: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(216, 230, 251, 0.96);
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(7, 16, 31, 0.22);
  }

  html[data-theme="dark"] .site-nav {
    color: var(--ink);
    background: rgba(8, 17, 31, 0.98);
    border-color: rgba(157, 204, 255, 0.22);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 11px;
    border-radius: 7px;
    font-size: 0.93rem;
    line-height: 1.25;
    opacity: 0.9;
  }

  .site-nav a:hover {
    color: var(--green-dark);
    background: var(--ice);
  }

  html[data-theme="dark"] .site-nav a:hover {
    color: var(--white);
    background: rgba(157, 204, 255, 0.12);
  }

  .nav-action {
    justify-content: center;
    min-height: 42px;
    margin-top: 4px;
    color: var(--white);
    background: var(--green);
    box-shadow: 0 10px 24px rgba(47, 124, 255, 0.24);
  }

  html[dir="rtl"] .site-nav {
    right: auto;
    left: clamp(14px, 4vw, 28px);
    text-align: right;
  }

  html[dir="rtl"] .brand {
    margin-right: 0;
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .intro-section,
  .feature-grid,
  .screen-showcase,
  .split-section,
  .clarity-section,
  .tutorial-hero,
  .tutorial-grid,
  .tutorial-grid.three,
  .tutorial-showcase,
  .tutorial-note,
  .privacy-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: clamp(640px, 84vh, 780px);
    padding-bottom: 70px;
  }

  .hero-content::before {
    inset: -22px -24px -26px;
    background: radial-gradient(ellipse at left center, rgba(5, 12, 23, 0.82), rgba(5, 12, 23, 0.52) 52%, transparent 78%);
  }

  .phone-frame {
    margin: 0 auto;
  }

  .cta-section {
    padding: 34px 24px;
  }

  .store-actions {
    margin-top: 0;
  }
}

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

  .hero {
    min-height: 82vh;
    padding-top: 112px;
    padding-bottom: 64px;
  }

  .hero-bg {
    object-position: 72% center;
    filter: saturate(0.9) contrast(1.08) brightness(0.74);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 12, 23, 0.98), rgba(5, 12, 23, 0.9) 46%, rgba(5, 12, 23, 0.56) 82%, rgba(5, 12, 23, 0.68) 100%),
      linear-gradient(270deg, rgba(5, 12, 23, 0.58), rgba(5, 12, 23, 0.08) 54%, transparent 78%),
      linear-gradient(0deg, rgba(5, 12, 23, 0.96), rgba(5, 12, 23, 0.28) 60%),
      linear-gradient(180deg, rgba(5, 12, 23, 0.46), rgba(5, 12, 23, 0.14));
  }

  .hero-content::before {
    inset: -18px -18px -22px;
    background: radial-gradient(ellipse at left center, rgba(5, 12, 23, 0.88), rgba(5, 12, 23, 0.6) 56%, transparent 82%);
    filter: blur(16px);
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 5.2rem);
  }

  .hero-actions,
  .store-actions,
  .screen-actions {
    display: grid;
  }

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

  .hero-actions .button.primary {
    grid-column: 1 / -1;
  }

  .button {
    width: 100%;
  }

  .intro-section {
    margin-top: 0;
    width: 100%;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .section,
  .showcase-section,
  .clarity-section,
  .tutorial-section,
  .tutorial-note,
  .privacy-section,
  .cta-section {
    width: min(100% - 28px, 1180px);
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .showcase-section,
  .tutorial-showcase {
    width: 100%;
  }

  .tutorial-hero {
    padding-top: 86px;
    padding-bottom: 64px;
  }

  .tutorial-showcase {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .tutorial-media-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-index {
    margin-bottom: 28px;
  }

  .screen-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-tab {
    width: 100%;
  }

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


  .legal-page {
    padding-top: 118px;
  }

  .legal-document section {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
}
