:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --primary: #1269ff;
  --primary-dark: #0f4fd1;
  --success: #12b76a;
  --radius: 22px;
}

* {
  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: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 248, 251, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
}

nav a,
.text-link,
.site-footer a {
  text-decoration: none;
}

nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--primary);
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: center;
  padding: 64px 0;
}

.hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.button {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--primary);
}

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

.button.secondary {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.hero-panel,
.app-card,
.contact-form,
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.06);
}

.hero-panel {
  padding: 18px;
}

.panel-row {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.panel-row:last-child {
  border-bottom: 0;
}

.panel-row span {
  color: var(--primary);
  font-weight: 900;
}

.panel-row strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.panel-row p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 74px 0;
}

.section-heading,
.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

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

.app-card {
  min-height: 230px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-card h3 {
  margin: 18px 0 8px;
  font-size: 26px;
}

.app-card p,
.steps p,
.contact-section p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.65;
}

.muted-card {
  opacity: 0.76;
}

.app-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #101828;
  font-weight: 900;
}

.clearpuff-icon {
  background: linear-gradient(135deg, #1269ff, #61c3ff);
}

.text-link {
  color: var(--primary);
  font-weight: 900;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps div {
  padding: 20px;
  border-left: 4px solid var(--primary);
  background: var(--surface);
  border-radius: 16px;
}

.steps strong {
  font-size: 18px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-form {
  padding: 22px;
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 13px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.section-intro {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.app-card .app-icon {
  background: linear-gradient(135deg, var(--app-color, #1269ff), #101828);
}

.app-category {
  margin: 22px 0 5px !important;
  color: var(--app-color, var(--primary)) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-chip {
  padding: 7px 10px;
  border-radius: 999px;
  color: #344054;
  background: #f2f4f7;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-chip.live { color: #027a48; background: #ecfdf3; }
.status-chip.testing { color: #b54708; background: #fffaeb; }

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 16px 0 20px;
}

.legal-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.legal-links a:hover { color: var(--primary); }

.policy-note {
  padding: 16px 18px;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  background: #eef5ff;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

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

.screenshot-placeholder {
  min-height: 380px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(160deg, var(--app-color, #1269ff), #101828);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.12);
}

.screenshot-placeholder strong { font-size: 24px; }
.screenshot-placeholder p { color: rgba(255,255,255,.78); }

.store-screenshot {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.1);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.site-footer {
  max-width: 1160px;
  margin: 0 auto;
  min-height: 88px;
  padding: 0 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer span {
  margin-right: auto;
}

.app-hero {
  padding: 68px 0 40px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.phone-preview {
  min-height: 560px;
  border-radius: 44px;
  border: 14px solid #111827;
  background: #fff;
  padding: 22px;
  box-shadow: 0 26px 60px rgba(16, 24, 40, 0.18);
}

.phone-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 14px;
}

.metric {
  font-size: 58px;
  font-weight: 900;
  color: var(--primary);
}

.pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--primary);
  background: #eef5ff;
  font-weight: 900;
  font-size: 13px;
}

.legal-page {
  padding: 46px 22px 72px;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px;
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: 38px;
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 22px;
}

.support-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.support-list a {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
}

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

  nav {
    gap: 12px;
    font-size: 14px;
  }

  .hero,
  .section-heading,
  .split,
  .contact-section,
  .app-hero {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    min-height: auto;
    padding: 42px 0;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 24px 22px;
  }

  .site-footer span {
    width: 100%;
  }
}
