:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5f6673;
  --soft: #eef7f8;
  --surface: #ffffff;
  --surface-2: #f7fafb;
  --line: rgba(17, 24, 39, 0.11);
  --teal: #0e9f9a;
  --cyan: #16b9d4;
  --blue: #2563eb;
  --green: #21a67a;
  --amber: #c9851a;
  --shadow: 0 18px 55px rgba(17, 24, 39, 0.12);
  --max: 1120px;
}

* {
  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: #f7fafb;
  color: var(--ink);
  line-height: 1.6;
}

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

figure {
  margin: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(14, 159, 154, 0.22);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  box-shadow: none;
}

.hero {
  height: clamp(600px, calc(100vh - 110px), 700px);
  min-height: 0;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(100deg, #071017 0%, #0b1820 48%, #10333d 74%, #071017 100%);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  right: max(42px, calc((100vw - var(--max)) / 2 + 18px));
  bottom: 24px;
  z-index: 0;
  width: min(250px, 22vw);
  aspect-ratio: 368 / 800;
  border: 10px solid rgba(255, 255, 255, 0.88);
  border-radius: 34px;
  background: url("screen-dashboard.jpg") center top / cover no-repeat;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 132px 0 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  width: min(760px, 100%);
  margin: 22px 0 18px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero p {
  width: min(650px, 100%);
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 600;
}

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

.hero-stats {
  width: min(var(--max), calc(100% - 32px));
  margin: -10px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.stat {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
}

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

main section {
  padding: 88px 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-kicker {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin: 10px 0 16px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-copy {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.feature-card,
.package-card,
.legal-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.07);
}

.feature-card {
  padding: 20px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--teal);
  font-weight: 900;
}

.feature-card h3,
.package-card h3,
.contact-card h2 {
  margin: 16px 0 8px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.feature-card p,
.package-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.screens {
  background: #ecf5f5;
}

.screen-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 0.9fr;
  align-items: end;
  gap: 22px;
  margin-top: 42px;
}

.phone-shot {
  overflow: hidden;
  border: 10px solid #111827;
  border-radius: 32px;
  background: #111827;
  box-shadow: 0 26px 60px rgba(17, 24, 39, 0.24);
}

.phone-shot img {
  width: 100%;
}

.phone-shot.main {
  transform: translateY(-18px);
}

.packages {
  background: var(--surface);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.package-card {
  padding: 20px;
}

.package-card strong {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(14, 159, 154, 0.10);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trust-band {
  background: #111827;
  color: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.trust-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-item h3 {
  margin: 0 0 8px;
}

.trust-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 600;
}

.cta {
  background: var(--surface-2);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.site-footer {
  background: #0b111b;
  color: rgba(255, 255, 255, 0.76);
  padding: 38px 0;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  text-decoration: none;
}

.page-hero {
  padding: 86px 0 42px;
  background:
    linear-gradient(120deg, rgba(14, 159, 154, 0.14), rgba(37, 99, 235, 0.10)),
    #f7fafb;
}

.page-hero h1 {
  margin: 12px 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 600;
}

.content-shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 86px;
}

.legal-card,
.contact-card {
  padding: clamp(22px, 4vw, 42px);
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 1.24rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #394150;
}

.legal-card a,
.contact-card a {
  color: var(--blue);
  font-weight: 800;
}

.meta-note {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  text-decoration: none;
}

form {
  display: grid;
  gap: 12px;
}

label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

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

textarea {
  min-height: 150px;
  resize: vertical;
}

button.button {
  border: 0;
  cursor: pointer;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(120deg, rgba(14, 159, 154, 0.16), rgba(37, 99, 235, 0.10)),
    #f7fafb;
}

.not-found .contact-card {
  width: min(560px, 100%);
  text-align: center;
}

.not-found .brand {
  justify-content: center;
  margin-bottom: 24px;
}

@media (max-width: 820px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    height: clamp(620px, calc(100vh - 150px), 720px);
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(7, 15, 23, 0.82), rgba(7, 15, 23, 0.58)),
      url("screen-dashboard.jpg") center top / cover no-repeat;
  }

  .hero::after {
    display: none;
  }

  .hero-inner {
    padding-top: 110px;
  }

  .hero-stats,
  .feature-grid,
  .package-grid,
  .trust-grid,
  .cta-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .screen-row {
    grid-template-columns: 1fr;
  }

  .phone-shot {
    width: min(330px, 92vw);
    margin: 0 auto;
  }

  .phone-shot.main {
    transform: none;
  }

  main section {
    padding: 64px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}
