:root {
  --bg: #0f172a;
  --bg-2: #172554;
  --panel: #111827;
  --panel-soft: #f8fafc;
  --text: #0f172a;
  --text-soft: #475569;
  --line: #dbe3ee;
  --accent: #14b8a6;
  --accent-2: #0ea5e9;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: #eef3f8;
}

a {
  color: inherit;
}

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

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 32px));
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.18), transparent 28%),
    radial-gradient(circle at left center, rgba(14, 165, 233, 0.18), transparent 24%),
    linear-gradient(135deg, #0b1220, #111827 55%, #172554);
  color: var(--white);
  padding: 72px 0 88px;
}

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

.brand-row {
  display: flex;
  gap: 18px;
  align-items: center;
}

.brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
}

.eyebrow {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.eyebrow.dark {
  color: #64748b;
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

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

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.device-shell {
  width: min(420px, 100%);
  border-radius: 28px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.device-top {
  display: flex;
  gap: 7px;
  padding: 4px 0 12px;
}

.device-top span,
.screen-top {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.device-content {
  border-radius: 20px;
  padding: 18px;
  background: #f8fafc;
  color: var(--text);
}

.mock-appbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-appbar img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.mock-appbar small {
  display: block;
  margin-top: 2px;
  color: #64748b;
}

.mock-search,
.screen-search {
  height: 44px;
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  color: #94a3b8;
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.mock-grid,
.feature-grid,
.screens-grid {
  display: grid;
  gap: 16px;
}

.mock-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.mock-chip {
  min-height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e6f7f4;
  color: #0f766e;
  font-size: 14px;
  font-weight: 600;
}

.mock-card,
.screen-body,
.screen-list {
  border-radius: 16px;
  background: linear-gradient(180deg, #dbeafe, #eff6ff);
}

.mock-card.large {
  height: 170px;
  margin-top: 18px;
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.mock-row .mock-card {
  height: 88px;
}

.section {
  padding: 56px 0;
}

.section.muted {
  background: #e7edf5;
}

.section-head {
  margin-bottom: 22px;
}

.section-head.left {
  margin-bottom: 16px;
}

.section h2,
.policy h2,
.card h3 {
  margin: 0;
}

.section h2,
.policy h2 {
  font-size: 28px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.screen-card,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.card {
  padding: 24px;
}

.card p,
.policy p,
.policy li,
.contact-copy {
  color: var(--text-soft);
  line-height: 1.72;
}

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

.screen-card {
  padding: 18px;
  min-height: 320px;
}

.screen-card img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #dbe3ee;
  background: #fff;
}

.screen-card h3 {
  margin: 14px 0 8px;
  font-size: 20px;
}

.screen-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.screen-top {
  margin-bottom: 14px;
}

.screen-top.dark {
  background: #0f172a;
}

.screen-top.accent {
  background: #14b8a6;
}

.screen-bookmarks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.screen-bookmarks span {
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
}

.screen-body {
  height: 150px;
  margin-top: 18px;
}

.screen-list {
  height: 44px;
  margin-top: 14px;
}

.screen-list.short {
  width: 78%;
}

.screen-lock {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.screen-lock img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
}

.screen-pin {
  width: 70%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #dbe3ee;
  background: #f8fafc;
}

.screen-button {
  width: 56%;
  height: 42px;
  border-radius: 999px;
  background: #0f172a;
}

.text-link {
  color: #0f766e;
  text-decoration: none;
  font-weight: 600;
}

.contact-form {
  padding: 22px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.submit {
  min-width: 140px;
}

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

.footer-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.policy {
  padding: 40px 0 72px;
}

.policy h1 {
  margin: 14px 0 6px;
  font-size: clamp(32px, 4vw, 44px);
}

.policy-brand {
  margin: 22px 0 10px;
}

.policy-brand img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  object-fit: cover;
}

.policy-meta,
.back-link {
  color: #64748b;
}

.back-link {
  text-decoration: none;
}

.policy ul {
  padding-left: 20px;
}

.note {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
}

.center-block {
  text-align: center;
}

.center-actions {
  justify-content: center;
}

.dark-button {
  border-color: #cbd5e1;
  color: var(--text);
}

.error-logo {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 20px;
  object-fit: cover;
}

@media (max-width: 920px) {
  .hero-grid,
  .grid.two,
  .feature-grid,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .brand-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-row {
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
