:root {
  --ink: #10141f;
  --muted: #616b7c;
  --paper: #f8faf7;
  --white: #ffffff;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --coral: #f06543;
  --amber: #f4b84a;
  --line: rgba(16, 20, 31, 0.12);
  --shadow: 0 24px 70px rgba(16, 20, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: fixed;
  inset: 18px 20px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(16, 20, 31, 0.08);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(16, 20, 31, 0.12);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
  overflow: visible;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(16, 20, 31, 0.12);
}

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

.brand-logo {
  width: clamp(118px, 12vw, 146px);
  height: auto;
  object-fit: contain;
}

.site-footer .brand-logo {
  width: 122px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.site-nav .nav-link {
  padding: 10px 12px;
  border: 0;
  border-radius: 7px;
  color: inherit;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav .nav-link:hover {
  background: rgba(16, 20, 31, 0.07);
}

.site-nav .nav-link:focus {
  outline: 0;
}

.site-nav a:focus-visible,
.site-nav .nav-link:focus-visible {
  outline: 0;
  background: rgba(16, 20, 31, 0.07);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav .nav-link:hover {
  background: rgba(16, 20, 31, 0.07);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-link svg {
  width: 16px;
  height: 16px;
}

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  gap: 4px;
  width: 260px;
  padding: 10px;
  border: 1px solid rgba(16, 20, 31, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(16, 20, 31, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.submenu::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}

.submenu p {
  margin: 4px 10px 6px;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.submenu a {
  display: block;
  color: var(--ink);
  white-space: nowrap;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 7px;
  color: inherit;
  background: rgba(16, 20, 31, 0.07);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-compact {
  min-height: 460px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 15, 24, 0.92) 0%, rgba(11, 15, 24, 0.68) 42%, rgba(11, 15, 24, 0.22) 100%),
    linear-gradient(0deg, rgba(11, 15, 24, 0.32), rgba(11, 15, 24, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 108px 42px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(1.55rem, 2.35vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 430px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.52;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--amber);
  box-shadow: 0 16px 38px rgba(244, 184, 74, 0.25);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 94px 0;
}

.section-alt {
  background: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
  text-align: center;
}

.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow),
.contact-layout p {
  color: var(--muted);
  line-height: 1.7;
}

.build-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.build-copy h2 {
  max-width: 620px;
}

.build-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}

.build-copy .button {
  margin-top: 22px;
}

.build-steps {
  display: grid;
  gap: 14px;
}

.build-steps article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 20, 31, 0.05);
}

.build-steps span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.build-steps p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.home-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 20, 31, 0.05);
}

.home-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  color: var(--teal-dark);
}

.home-card p {
  color: var(--muted);
  line-height: 1.65;
}

.website-section {
  background: var(--paper);
}

.home-delivery-callout {
  align-items: center;
}

.home-delivery-callout .button {
  margin-top: 22px;
}

.home-phone {
  width: min(100%, 480px);
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #f4f1ec;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(16, 20, 31, 0.12);
}

.offers-grid,
.process-grid {
  display: grid;
  gap: 16px;
}

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

.offers-grid-single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.delivery-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 22px;
  padding: 30px;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.09), rgba(244, 184, 74, 0.1));
}

.delivery-info h3 {
  max-width: 620px;
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  line-height: 1.14;
}

.delivery-info p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  line-height: 1.65;
}

.delivery-info ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.delivery-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 20, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.delivery-info svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--teal-dark);
}

.app-preview {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 48px rgba(16, 20, 31, 0.08);
}

.app-preview-copy h3 {
  max-width: 440px;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  line-height: 1.12;
}

.app-preview-copy p:not(.eyebrow) {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.65;
}

.app-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.app-preview-reverse {
  margin-bottom: 0;
}

.preview-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.preview-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-weight: 700;
}

.preview-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 20, 31, 0.05);
}

.offer-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal-dark);
}

.process-step p,
.case-item p {
  color: var(--muted);
  line-height: 1.65;
}

.offer-button {
  margin-top: 28px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 58px;
  align-items: start;
}

.case-list {
  display: grid;
  gap: 14px;
}

.case-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.case-item span,
.process-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 800;
  background: var(--teal-dark);
}

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

.section-app-image {
  display: block;
  width: min(100%, 260px);
  margin-top: 28px;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: 50% 50%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(16, 20, 31, 0.1);
}

.feature-item {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-item svg {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: var(--teal-dark);
}

.feature-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.segment-section {
  padding-top: 72px;
}

.segment-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.segment-list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(13, 148, 136, 0.08);
  font-weight: 800;
}

.process-step span {
  margin-bottom: 34px;
  background: var(--coral);
}

.contact-section {
  padding: 92px 0;
  color: var(--white);
  background: linear-gradient(135deg, #10141f 0%, #17202d 48%, #183a3a 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 54px;
  align-items: start;
}

.contact-layout h2 {
  max-width: 620px;
}

.contact-layout p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--amber);
}

.contact-form ::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.contact-form select option {
  color: var(--ink);
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-weight: 700;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: var(--ink);
  background: var(--amber);
  box-shadow: 0 18px 45px rgba(16, 20, 31, 0.24);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.92);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.back-to-top:hover {
  background: #ffd36c;
  box-shadow: 0 22px 52px rgba(16, 20, 31, 0.32);
  transform: translateY(8px) scale(1);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

.site-footer {
  padding: 30px 0;
  color: var(--muted);
  background: var(--white) !important;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(340px, calc(100vw - 28px));
    padding: 8px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a:hover {
    background: rgba(16, 20, 31, 0.07);
  }

  .nav-item,
  .nav-link {
    width: 100%;
  }

  .nav-item {
    display: block;
  }

  .nav-link {
    justify-content: space-between;
  }

  .submenu {
    position: static;
    display: grid;
    min-width: 0;
    width: 100%;
    margin: 4px 0 6px;
    padding: 8px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: rgba(16, 20, 31, 0.04);
  }

  .submenu::before {
    display: none;
  }

  .submenu a {
    white-space: normal;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .offers-grid,
  .delivery-info,
  .app-preview,
  .build-section,
  .home-grid,
  .process-grid,
  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .offers-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .site-header {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    inset: 12px 14px auto;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding-block: 104px 42px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(11, 15, 24, 0.9), rgba(11, 15, 24, 0.54));
  }

  .offers-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-section {
    padding: 68px 0;
  }

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

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}
