:root {
  --color-bg: #FDF6F2;
  --color-bg-white: #FFFFFF;
  --color-primary: #E8633A;
  --color-primary-dark: #C94F2A;
  --color-accent: #E8633A;
  --color-accent-soft: #F5A06E;
  --color-text: #1A1A2E;
  --color-muted: #4A4A6A;
  --color-border: #E1E7DD;
  --color-soft-green: #FFF0E8;
  --color-soft-blue: #EEF6F8;
  --shadow-soft: 0 16px 42px rgba(23, 32, 51, 0.08);
  --shadow-card: 0 10px 26px rgba(23, 32, 51, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(245, 160, 110, 0.18), rgba(245, 160, 110, 0) 30%),
    linear-gradient(180deg, #ffffff 0%, var(--color-bg) 72%);
  color: var(--color-text);
  font-family: "Segoe UI", Arial, sans-serif;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

a {
  color: inherit;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(225, 231, 221, 0.92);
  backdrop-filter: blur(14px);
}

.home-header__inner,
.home-footer__inner {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
}

.home-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.home-logo,
.home-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.home-logo__image {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  flex: 0 0 30px;
}

.home-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-store-button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.header-store-button {
  background: var(--color-bg-white);
  box-shadow: 0 8px 18px rgba(23, 32, 51, 0.04);
}

.header-store-button--primary,
.cta-button--primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.cta-button--secondary {
  background: var(--color-bg-white);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.header-store-button:hover,
.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(23, 32, 51, 0.08);
}

.header-store-button--primary:hover,
.cta-button--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.header-store-button:not(.header-store-button--primary):hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.cta-button--secondary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.home-main {
  overflow: hidden;
}

.home-shell {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  align-items: center;
  gap: 56px;
  min-height: auto;
  max-height: 680px;
  padding: 72px 0 32px;
  overflow: hidden;
}

.home-hero__content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding: 0;
  transform: translateY(-30px);
}

.eyebrow,
.section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-heading__eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--color-accent);
}

.home-hero__title {
  margin-top: 14px;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.home-hero__title span {
  display: block;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.home-hero__title-brand {
  color: var(--color-text);
}

.home-hero__title-secondary {
  margin-top: 10px;
  font-size: clamp(28px, 3.2vw, 48px);
  color: #253245;
}

.home-hero__title-tertiary {
  margin-top: 4px;
  font-size: clamp(28px, 3vw, 42px);
  color: var(--color-text);
}

.hero__underline {
  width: 96px;
  height: 6px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), rgba(232, 99, 58, 0.35));
}

.home-hero__lead {
  margin-top: 22px;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.68;
}

.hero__lead-accent {
  color: var(--color-primary);
  font-weight: 700;
}

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

.cta-button {
  min-height: 52px;
  padding: 0 22px;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
}

.hero-benefits li {
  position: relative;
  padding-left: 18px;
}

.hero-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.hero-phones,
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 660px;
  height: 520px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  overflow: visible;
  z-index: 2;
}

.hero__shape,
.hero__blob {
  position: absolute;
  width: 500px;
  height: 360px;
  right: 12px;
  top: 84px;
  border-radius: 45% 55% 60% 40% / 48% 42% 58% 52%;
  background:
    radial-gradient(circle at top left, rgba(245, 160, 110, 0.24), rgba(245, 160, 110, 0) 34%),
    linear-gradient(135deg, #F5A06E 0%, #E8633A 100%);
  border: 1px solid rgba(225, 231, 221, 0.8);
  z-index: 0;
}

.phone-mockup,
.phone {
  position: absolute;
  z-index: 1;
  filter: drop-shadow(0 24px 44px rgba(23, 32, 51, 0.18));
}

.phone-mockup--map,
.phone--map {
  left: 68px;
  top: 18px;
  width: 245px;
  height: 490px;
  z-index: 3;
  transform: rotate(-5deg);
}

.phone-mockup--list,
.phone--list {
  right: 46px;
  top: 86px;
  width: 215px;
  height: 430px;
  z-index: 2;
  transform: rotate(5deg);
}

.phone-mockup__frame,
.phone__frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #101513;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 22px 50px rgba(23, 32, 51, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.phone-mockup__notch,
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 118px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
  z-index: 5;
}

.phone-mockup__screen,
.phone__screen {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
  object-position: top center;
  background: #ffffff;
}

.feature-strip,
.features-strip {
  position: relative;
  z-index: 4;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(23, 32, 51, 0.07);
  overflow: hidden;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 26px;
}

.feature-item + .feature-item {
  border-left: 1px solid rgba(232, 99, 58, 0.10);
}

.feature-item__icon,
.about-card__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: var(--color-soft-green);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.feature-item h2,
.about-card h3,
.step-card h3 {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.feature-item p,
.section-heading p,
.about-card p,
.step-card p,
.home-footer__links a {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.35;
}

.feature-item h2 {
  margin-bottom: 4px;
}

.about-section,
.steps-section {
  margin-top: 28px;
  padding: 34px;
  border: 1px solid rgba(225, 231, 221, 0.95);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: 36px;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin-top: 14px;
  font-size: 16px;
}

.section-heading--compact {
  max-width: none;
  text-align: center;
}

.section-heading--compact .section-heading__eyebrow {
  justify-content: center;
}

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

.about-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 240, 232, 0.68));
}

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

.step-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 240, 232, 0.78), rgba(255, 255, 255, 0.98));
  border: 1px solid var(--color-border);
}

.step-card__number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.home-footer {
  margin-top: 28px;
  border-top: 1px solid rgba(225, 231, 221, 0.92);
  background: rgba(255, 255, 255, 0.84);
}

.home-footer__inner {
  padding: 22px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.home-footer__brand {
  font-size: 24px;
}

.home-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.home-footer__links a {
  text-decoration: none;
}

.home-footer__links a:hover {
  color: var(--color-primary);
}

@media (max-width: 1180px) {
  .home-hero {
    grid-template-columns: 1fr;
    max-height: none;
    gap: 32px;
  }

  .home-hero__content {
    max-width: 700px;
    transform: translateY(-18px);
  }

  .hero-phones,
  .hero__visual {
    height: 520px;
    min-height: 520px;
    max-width: 100%;
  }

  .phone-mockup--map,
  .phone--map {
    left: 72px;
    width: 245px;
    height: 490px;
  }

  .phone-mockup--list,
  .phone--list {
    right: 54px;
    top: 88px;
    width: 215px;
    height: 430px;
  }

  .feature-strip,
  .features-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 32px;
  }

  .feature-item:nth-child(4) {
    border-left: none;
  }
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0 24px;
    overflow: visible;
  }

  .home-hero__content {
    transform: none;
  }

  .home-shell,
  .home-header__inner,
  .home-footer__inner {
    width: min(100% - 32px, 1360px);
  }

  .home-header__inner {
    min-height: 64px;
  }

  .home-header__actions {
    gap: 10px;
  }

  .hero-phones,
  .hero__visual {
    height: auto;
    min-height: 0;
    max-width: 320px;
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__shape,
  .hero__blob {
    width: 300px;
    height: 300px;
    top: 80px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .phone-mockup--map,
  .phone--map {
    position: relative;
    left: auto;
    top: auto;
    width: 250px;
    height: 500px;
    margin: 0 auto;
    transform: none;
  }

  .phone-mockup--list,
  .phone--list {
    display: none;
  }

  .about-grid,
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-strip,
  .features-strip {
    display: flex;
    margin-top: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .feature-strip {
    margin-top: 28px;
  }
}

@media (max-width: 680px) {
  .home-header__inner {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .home-header__actions,
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .header-store-button,
  .cta-button {
    width: 100%;
  }

  .home-shell {
    padding-top: 20px;
  }

  .home-hero__title {
    font-size: 36px;
  }

  .home-hero__title-secondary,
  .home-hero__title-tertiary {
    font-size: 24px;
  }

  .hero-benefits {
    gap: 10px 16px;
  }

  .hero-phones,
  .hero__visual {
    padding-top: 8px;
  }

  .phone-mockup,
  .phone {
    position: relative;
  }

  .phone-mockup__screen,
  .phone__screen {
    max-height: none;
  }

  .phone-mockup__frame,
  .phone__frame {
    width: 100%;
  }

  .feature-item {
    min-width: 240px;
    flex: 0 0 240px;
    scroll-snap-align: start;
  }

  .feature-item + .feature-item {
    border-left: 1px solid rgba(232, 99, 58, 0.10);
  }

  .feature-item:nth-child(4) {
    border-left: 1px solid rgba(232, 99, 58, 0.10);
  }

  .about-section,
  .steps-section {
    padding: 24px 18px;
  }

  .about-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .home-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
