:root {
  --bg: #f2f0e8;
  --surface: #ffffff;
  --surface-soft: #e8eef0;
  --ink: #141923;
  --muted: #65717d;
  --brand: #1c6b5a;
  --brand-dark: #174236;
  --accent: #d9963f;
  --steel: #172033;
  --line: rgba(20, 25, 35, 0.13);
  --shadow: 0 28px 90px rgba(23, 32, 51, 0.18);
  font-family: "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(23, 32, 51, 0.08) 0 1px, transparent 1px 84px),
    radial-gradient(circle at 12% 0%, rgba(28, 107, 90, 0.22), transparent 34rem),
    radial-gradient(circle at 94% 10%, rgba(217, 150, 63, 0.24), transparent 30rem),
    var(--bg);
}

a {
  color: inherit;
}

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

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(23, 32, 51, 0.16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
.site-footer a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 750;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

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

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 54px;
  padding: 34px 0 72px;
}

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

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

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.6vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

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

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--steel), var(--brand));
  box-shadow: 0 16px 38px rgba(23, 32, 51, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.fine-print {
  max-width: 590px;
  color: var(--muted);
  font-size: 0.94rem;
}

.phone-card {
  position: relative;
  max-width: 390px;
  margin-left: auto;
  padding: 16px;
  border-radius: 46px;
  background: #111722;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.phone-top {
  width: 92px;
  height: 7px;
  margin: 5px auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.app-preview {
  display: grid;
  gap: 16px;
  padding: 22px;
  min-height: 560px;
  border-radius: 34px;
  background: linear-gradient(180deg, #fbfbf7, #e9efec);
}

.dashboard-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
  background: var(--surface);
}

.status-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--steel), var(--brand));
  font-weight: 950;
  letter-spacing: -0.06em;
}

.dashboard-row span,
.metric-grid span,
.timeline-card p {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-grid div,
.timeline-card {
  padding: 16px;
  border-radius: 24px;
  background: var(--surface);
}

.metric-grid strong {
  display: block;
  font-size: 1.55rem;
}

.timeline-card {
  margin-top: 2px;
}

.accent-card {
  border: 1px solid rgba(217, 150, 63, 0.32);
  background: linear-gradient(135deg, #fff, rgba(217, 150, 63, 0.12));
}

.pill {
  display: inline-flex;
  padding: 5px 9px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(28, 107, 90, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
}

.bay-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: auto;
}

.bay-strip span {
  height: 94px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent),
    linear-gradient(135deg, #1c6b5a, #7ca794);
}

.bay-strip span:nth-child(2),
.bay-strip span:nth-child(5) {
  background: linear-gradient(135deg, #d9963f, #efc27c);
}

.bay-strip span:nth-child(4) {
  opacity: 0.32;
}

.section,
.operations-panel,
.download,
.features article,
.faq article,
.legal-page,
.support-hero {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 60px rgba(23, 32, 51, 0.08);
  backdrop-filter: blur(18px);
}

.section.compact,
.operations-panel,
.download {
  margin: 22px 0;
  padding: clamp(26px, 5vw, 52px);
  border-radius: 36px;
}

.section.compact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: end;
}

.section.compact p:last-child,
.operations-panel p,
.download p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0;
}

.features article,
.faq article {
  padding: 24px;
  border-radius: 30px;
}

.features p,
.faq p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--steel), var(--brand));
  font-weight: 950;
}

.operations-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(242, 240, 232, 0.78)),
    radial-gradient(circle at 92% 0%, rgba(217, 150, 63, 0.24), transparent 26rem);
}

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

.check-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-weight: 760;
}

.download {
  margin-bottom: 58px;
  text-align: center;
}

.download h2,
.download p {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.legal-page,
.support-page {
  max-width: 920px;
  margin: 38px auto 70px;
}

.legal-page {
  padding: clamp(24px, 5vw, 56px);
  border-radius: 36px;
}

.legal-page h1,
.support-page h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}

.legal-page h2,
.faq h2 {
  margin-top: 36px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal-page hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.support-hero {
  padding: clamp(28px, 5vw, 58px);
  border-radius: 36px;
}

.support-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.faq {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .section.compact,
  .operations-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 26px;
    padding-top: 28px;
  }

  .phone-card {
    width: min(100%, 390px);
    margin: 0 auto;
    transform: none;
  }

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

@media (max-width: 520px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-actions .button {
    width: 100%;
  }

  .app-preview {
    min-height: 500px;
  }

  .bay-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}
