:root {
  --ink: #16242f;
  --muted: #60717c;
  --line: #dce7e3;
  --paper: #ffffff;
  --wash: #eef8f4;
  --mint: #0f8a68;
  --teal: #106b7a;
  --sun: #f5b84b;
  --clay: #d96f4d;
  --shadow: 0 18px 46px rgba(22, 36, 47, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fbfdfb;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--paper);
  transition: opacity .25s ease, visibility .25s ease;
}

.loader::after {
  content: "";
  position: absolute;
  left: calc(50% - 18px);
  top: calc(50% - 18px);
  width: 36px;
  height: 36px;
  border: 4px solid var(--line);
  border-top-color: var(--mint);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

body.ready .loader {
  opacity: 0;
  visibility: hidden;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(220, 231, 227, .9);
  backdrop-filter: blur(14px);
}

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

.brand img:first-child {
  width: 42px;
  height: 34px;
  object-fit: contain;
}

.brand img:last-child {
  width: 148px;
  height: 38px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 24px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.nav a {
  padding: 8px 0;
}

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

.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 78px;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--mint);
  border-radius: 8px;
  background: var(--mint);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15, 138, 104, .18);
}

.header-login:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .82fr);
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
  min-height: calc(100vh - 64px);
  padding: clamp(42px, 7vw, 88px) clamp(18px, 6vw, 88px) clamp(34px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(15, 138, 104, .12), rgba(245, 184, 75, .13) 46%, rgba(217, 111, 77, .11)),
    #fbfdfb;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 820px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  max-width: 860px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

.lede,
.section-heading p,
.split p,
.feature-grid p {
  color: var(--muted);
}

.lede {
  max-width: 660px;
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(22, 36, 47, .08);
}

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

.actions .button.primary + .button.primary {
  border-color: var(--teal);
  background: var(--teal);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin-top: 34px;
}

.hero-stats span {
  display: grid;
  gap: 2px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(220, 231, 227, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
  color: var(--muted);
  font-size: 14px;
}

.hero-stats strong {
  color: var(--ink);
  font-size: 16px;
}

.hero-media {
  justify-self: center;
  width: min(390px, 84vw);
}

.phone-frame {
  padding: 18px;
  border: 1px solid rgba(22, 36, 47, .12);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #eaf5f1);
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  border-radius: 18px;
}

.section {
  padding: clamp(58px, 8vw, 98px) clamp(18px, 6vw, 88px);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 30px;
}

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

.feature-grid article {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(22, 36, 47, .07);
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #e7f5ef;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.feature-grid article:nth-child(2) .feature-mark {
  background: #fff3db;
  color: #986816;
}

.feature-grid article:nth-child(3) .feature-mark {
  background: #edf4f7;
  color: var(--teal);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(30px, 5vw, 62px);
  background: var(--wash);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-weight: 700;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--mint);
  border-bottom: 3px solid var(--mint);
  transform: rotate(-45deg);
}

.screens {
  position: relative;
  overflow: hidden;
  min-height: min(560px, 70vw);
  padding: 22px 0 44px;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transform: translateX(0);
  transition: transform .6s ease;
  will-change: transform;
}

.screens img {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(320px, 90%);
}

.carousel-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b6c7c1;
  transition: background .25s ease, transform .25s ease;
}

.carousel-dots span.is-active {
  background: var(--mint);
  transform: scale(1.25);
}

.visual-band {
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

.visual-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 27, 34, .84), rgba(13, 27, 34, .42));
}

.visual-band > div {
  position: relative;
  max-width: 780px;
}

.visual-band .eyebrow {
  color: var(--sun);
}

.support {
  background: #fff;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(320px, 1.12fr);
  align-items: stretch;
  gap: clamp(22px, 4vw, 44px);
}

.support-form {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  box-shadow: 0 12px 30px rgba(22, 36, 47, .06);
}

.support-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 138, 104, .16);
  border-color: var(--mint);
}

.notice {
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.notice.success {
  background: #e8f7ef;
  color: #14613f;
}

.notice.error {
  background: #fff0ec;
  color: #a6432b;
}

.support-visual {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #eef8f4;
  box-shadow: 0 12px 30px rgba(22, 36, 47, .08);
}

.support-visual img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.footer {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 24px clamp(18px, 6vw, 88px);
  border-top: 1px solid var(--line);
  background: #f8fbfa;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 0 4px;
  }

  .hero,
  .split,
  .feature-grid,
  .support-layout,
  .support-form,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .support-visual img {
    min-height: 320px;
  }

  .hero {
    min-height: auto;
  }

  .screens {
    min-height: 480px;
    padding-bottom: 36px;
  }

  .screens img {
    flex-basis: calc((100% - 24px) / 3);
    border-width: 6px;
  }
}
