:root {
  --ink: #111314;
  --muted: #687177;
  --line: #dde2df;
  --paper: #f6f6f1;
  --panel: #ffffff;
  --soft: #e9eee9;
  --accent: #237064;
  --accent-dark: #123f3a;
  --shadow: 0 24px 70px rgba(17, 19, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 19, 20, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.icon-sprite {
  display: none;
}

.icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon.small {
  width: 18px;
  height: 18px;
}

.site-header,
.login-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(17, 19, 20, 0.09);
  background: rgba(246, 246, 241, 0.9);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  flex: 0 0 auto;
  font-weight: 850;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(17, 19, 20, 0.18);
  border-radius: 50%;
  background: var(--panel);
  font-size: 13px;
  letter-spacing: 0;
}

.site-nav {
  gap: clamp(14px, 2.6vw, 30px);
  font-size: 14px;
  font-weight: 760;
}

.site-nav a,
.back-link {
  color: rgba(17, 19, 20, 0.78);
  transition:
    color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.site-nav a:hover,
.back-link:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.login-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(17, 19, 20, 0.16);
  border-radius: 999px;
  background: var(--panel);
}

.hero {
  position: relative;
  min-height: calc(88svh - 77px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  padding: clamp(74px, 10vw, 128px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 13% 5% auto auto;
  width: min(38vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(35, 112, 100, 0.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 112, 100, 0.12), transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto clamp(20px, 5vw, 72px) 0;
  height: 1px;
  background: var(--line);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  animation: rise-in 720ms ease both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(62px, 13vw, 148px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.08;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(19px, 2.1vw, 25px);
}

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

.primary-action,
.secondary-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 850;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.primary-action {
  padding: 0 22px;
  border: 0;
  background: var(--ink);
  color: var(--panel);
}

.secondary-action {
  padding: 0 20px;
  border: 1px solid rgba(17, 19, 20, 0.16);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.primary-action:hover,
.primary-action.dark {
  background: var(--accent-dark);
  color: var(--panel);
}

.secondary-action:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.hero-board {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(17, 19, 20, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  animation: rise-in 820ms 120ms ease both;
}

.board-top,
.board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px;
  border-radius: 6px;
}

.board-top {
  background: var(--ink);
  color: var(--panel);
}

.board-row {
  border: 1px solid var(--line);
  background: rgba(246, 246, 241, 0.82);
}

.board-top span,
.board-row span {
  color: inherit;
  opacity: 0.74;
  font-size: 14px;
  font-weight: 720;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  display: grid;
  gap: 6px;
  padding: 28px 28px 28px 0;
}

.metrics div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.metrics strong {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.95;
}

.metrics span {
  color: var(--muted);
  font-weight: 720;
}

.intro,
.services,
.details,
.process,
.pricing,
.driving,
.contact {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.88fr);
  gap: clamp(32px, 8vw, 116px);
  border-bottom: 1px solid var(--line);
}

.intro > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 30px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(42px, 7vw, 80px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-list article {
  min-height: 285px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 30px clamp(18px, 3vw, 34px) 34px 0;
  border-bottom: 1px solid var(--line);
  color: var(--accent-dark);
}

.service-list article + article {
  padding-left: clamp(18px, 3vw, 34px);
  border-left: 1px solid var(--line);
}

.service-list h3,
.service-list p {
  color: var(--ink);
}

.service-list p,
.details p,
.contact p,
.process p {
  color: var(--muted);
  font-size: 18px;
}

.details {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 0.95fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
  background: var(--panel);
}

.details-text {
  max-width: 720px;
}

.details-text p {
  max-width: 560px;
  margin-top: 24px;
}

.benefit-list {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.benefit-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 8px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.benefit-list span,
.process-list span {
  color: var(--accent);
  font-weight: 900;
}

.benefit-list h3,
.benefit-list p {
  margin: 0;
}

.benefit-list p {
  grid-column: 2;
  max-width: 560px;
  line-height: 1.55;
}

.process {
  border-bottom: 1px solid var(--line);
}

.process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list li {
  display: grid;
  grid-template-columns: 80px minmax(0, 760px);
  gap: clamp(20px, 5vw, 76px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.process-list h3,
.process-list p {
  margin: 0;
}

.process-list p {
  margin-top: 8px;
}

.pricing {
  background: #f1f3f7;
  border-bottom: 1px solid var(--line);
}

.pricing-heading,
.driving-heading,
.feature-heading {
  max-width: 820px;
  margin: 0 auto clamp(42px, 6vw, 72px);
  text-align: center;
}

.pricing-heading p:not(.section-kicker) {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: clamp(24px, 8vw, 110px);
  max-width: 1100px;
  margin: 0 auto;
}

.price-card {
  display: grid;
  align-content: start;
  gap: 26px;
  min-height: 590px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(17, 19, 20, 0.11);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(17, 19, 20, 0.05);
}

.price-card.featured {
  border-color: rgba(35, 112, 100, 0.26);
}

.plan-label {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card h3 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 40px);
}

.price-card p:not(.plan-label) {
  margin-bottom: 0;
  color: var(--muted);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.price strong {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 780;
}

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

.check-list li,
.drive-points li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 680;
}

.check-list li::before,
.drive-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 18px;
  height: 18px;
  border: 2px solid #20c87a;
  border-radius: 50%;
}

.check-list li::after,
.drive-points li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.48em;
  width: 6px;
  height: 10px;
  border: solid #20c87a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.driving {
  background: #eef1f7;
  border-bottom: 1px solid var(--line);
}

.driving-top {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 420px);
  align-items: center;
  gap: clamp(34px, 10vw, 140px);
  max-width: 1060px;
  margin: 0 auto clamp(70px, 9vw, 118px);
}

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

.device-visual {
  display: grid;
  min-height: 220px;
  place-items: center;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(17, 19, 20, 0.09);
}

.device-box {
  position: relative;
  width: 142px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 2px solid #1f2b2d;
  border-radius: 16px;
  background:
    linear-gradient(135deg, #48585d, #20292d);
  color: var(--panel);
  box-shadow:
    inset 0 0 0 8px rgba(255, 255, 255, 0.06),
    0 18px 34px rgba(17, 19, 20, 0.18);
  transform: rotate(-6deg);
}

.device-box span {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #111314;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.device-box span:nth-child(1) {
  top: 13px;
  left: 13px;
}

.device-box span:nth-child(2) {
  top: 13px;
  right: 13px;
}

.device-box span:nth-child(3) {
  bottom: 13px;
  left: 13px;
}

.device-box span:nth-child(4) {
  right: 13px;
  bottom: 13px;
}

.device-box strong {
  padding: 12px 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.feature-heading {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.feature-heading h2 {
  max-width: 780px;
  margin-inline: auto;
  font-size: clamp(30px, 4.2vw, 54px);
}

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

.feature-grid article {
  min-height: 160px;
  padding: 22px;
  border: 1px solid rgba(17, 19, 20, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-dark);
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.feature-grid article:hover {
  transform: translateY(-3px);
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(17, 19, 20, 0.07);
}

.feature-grid h3 {
  margin: 12px 0 8px;
  color: var(--ink);
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
  background: var(--soft);
}

.contact-copy p {
  max-width: 600px;
  margin: 22px 0 30px;
}

.contact-methods {
  display: grid;
  align-items: start;
}

.contact-methods a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--accent-dark);
  font-weight: 850;
}

.contact-form,
.login-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(17, 19, 20, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.contact-form,
.login-form {
  display: grid;
  gap: 12px;
}

.contact-form label,
.login-form label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.login-form input {
  width: 100%;
  min-height: 52px;
  margin-bottom: 8px;
  padding: 0 14px;
  border: 1px solid rgba(17, 19, 20, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.contact-form textarea {
  min-height: 132px;
  padding-top: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.login-form input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(35, 112, 100, 0.18);
}

.contact-form button,
.login-form button {
  margin-top: 6px;
  cursor: pointer;
}

.login-page {
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(17, 19, 20, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}

.login-main {
  min-height: calc(100svh - 77px);
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 44px clamp(20px, 5vw, 72px) 80px;
}

.login-panel {
  width: min(100%, 460px);
}

.login-panel h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(48px, 8vw, 82px);
  line-height: 0.94;
}

.login-panel p {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero,
  .intro,
  .details,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

  .service-list article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .site-header,
  .login-header {
    align-items: flex-start;
  }

  .site-nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }

  .metrics,
  .service-list,
  .pricing-grid,
  .driving-top,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .metrics div,
  .metrics div + div,
  .service-list article,
  .service-list article + article {
    min-height: auto;
    padding: 24px 0;
    border-left: 0;
  }

  .benefit-list article,
  .process-list li {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
