:root {
  color-scheme: light;
  --ink: #182235;
  --muted: #697386;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --line: #e5e9f0;
  --coral: #ff6242;
  --coral-dark: #e44628;
  --amber: #ffb22e;
  --cyan: #13b5c8;
  --navy: #14213d;
  --shadow: 0 24px 60px rgba(24, 34, 53, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(255, 98, 66, 0.25);
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--coral-dark);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  background: var(--coral);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(255, 98, 66, 0.28);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--coral-dark);
  box-shadow: 0 18px 36px rgba(228, 70, 40, 0.3);
}

.button-small {
  min-height: 42px;
  padding-inline: 17px;
}

.button-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-ghost:hover {
  background: var(--soft);
  color: var(--ink);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 52px;
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 38px 0 72px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.lead {
  color: var(--muted);
  font-size: 1.16rem;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
  margin: 0;
}

.stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.stats dt {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
  display: grid;
  min-height: 610px;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 178, 46, 0.24), transparent 34%),
    linear-gradient(145deg, #fff5ef, #edf9fb 58%, #f8f9ff);
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(20, 33, 61, 0.09);
  border-radius: 8px;
}

.phone {
  position: relative;
  width: min(72vw, 280px);
  border-radius: 34px;
  filter: drop-shadow(0 28px 34px rgba(20, 33, 61, 0.18));
}

.phone-main {
  z-index: 2;
  transform: translateX(-42px);
}

.phone-side {
  position: absolute;
  right: 34px;
  bottom: 46px;
  width: 210px;
  opacity: 0.92;
  transform: rotate(5deg);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

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

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

.feature-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-grid p,
.split-section p,
.support-section p,
.site-footer p,
.legal-content p {
  color: var(--muted);
}

.feature-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #fff1ec;
  color: var(--coral-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 50px;
  align-items: center;
}

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

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--navy);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--amber));
}

.screenshot-band {
  display: grid;
  min-height: 520px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(160deg, #14213d, #24566c 54%, #ff9f55);
}

.support-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  margin: 36px auto 90px;
  padding: 44px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.support-section p {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
}

.brand-footer {
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
}

.support-dialog {
  width: min(560px, calc(100% - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.support-dialog::backdrop {
  background: rgba(20, 33, 61, 0.54);
  backdrop-filter: blur(6px);
}

.support-form {
  padding: 30px;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.dialog-header h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(255, 98, 66, 0.16);
  border-color: var(--coral);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

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

.legal-page {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.legal-content {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(24, 34, 53, 0.08);
}

.legal-content h1 {
  font-size: clamp(2.5rem, 7vw, 4.6rem);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.25rem;
}

.legal-content a {
  color: var(--coral-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split-section,
  .support-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
  }

  .hero-media {
    min-height: 540px;
  }

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

  .support-section {
    align-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .support-section,
  .site-footer,
  .legal-page {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .form-actions {
    display: grid;
  }

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

  .hero-media {
    min-height: 470px;
  }

  .phone-main {
    transform: translateX(0);
  }

  .phone-side {
    display: none;
  }

  .support-section,
  .legal-content,
  .support-form {
    padding: 24px;
  }

  .site-header .button-small {
    padding-inline: 12px;
  }
}
