:root {
  --bg: #f5f5fb;
  --white: #ffffff;
  --text: #101114;
  --muted: #586171;
  --brand: #f47c20;
  --brand-dark: #b95711;
  --blue: #ff9d4d;
  --soft-pink: #fff0e1;
  --soft-blue: #edf5ff;
  --border: #e6e6ec;
  --shadow: 0 8px 24px rgba(17, 20, 30, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  min-height: 100vh;
}

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

button {
  font: inherit;
}

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

.app-shell {
  max-width: 768px;
  margin: 0 auto;
  background: var(--white);
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.top-row,
.brand-row,
.content-section,
.categories-section,
.footer-section {
  padding-left: 24px;
  padding-right: 24px;
}

.top-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 18px;
}

.top-row h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.back-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand-wordmark {
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.brand-logo {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-blue {
  color: var(--blue);
}

.brand-pink {
  color: var(--brand);
}

.brand-sub {
  margin-top: 6px;
  color: #222;
  font-size: 0.95rem;
  letter-spacing: 0.55em;
}

.hero-panel {
  background: #fff1e5;
  padding: 56px 24px 0;
  text-align: center;
}

.hero-label {
  margin: 0 0 18px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  color: #2a2b31;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.45;
}

.hero-copy h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 4.6rem;
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 800;
}

.hero-copy h2 span {
  display: block;
}

.hero-subtext {
  margin: 22px auto 30px;
  max-width: 20ch;
  color: #2f3440;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-people {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  min-height: 470px;
  overflow: hidden;
}

.person {
  width: min(78%, 320px);
  height: 470px;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px 28px 0 0;
}

.person.right {
  margin: 0 auto;
}

.content-section {
  padding-top: 34px;
  padding-bottom: 18px;
}

.content-section h3,
.categories-section h3,
.footer-section h3 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.section-copy {
  margin: 0 0 28px;
  color: #2a2b31;
  font-size: 1rem;
  line-height: 1.5;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 28px;
}

.benefit-card h4 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.icon-box {
  width: 100%;
  aspect-ratio: 1 / 0.85;
  margin-bottom: 16px;
  border-radius: 20px;
  background: var(--soft-blue);
  position: relative;
  overflow: hidden;
}

.icon-box::before,
.icon-box::after {
  content: "";
  position: absolute;
}

.money::before {
  inset: 22% 20%;
  background: linear-gradient(180deg, #76d48d, #49b36d);
  border-radius: 12px;
  box-shadow: 0 22px 0 -8px #f6ce59;
}

.clock::before {
  width: 46%;
  height: 46%;
  left: 27%;
  top: 24%;
  border: 7px solid var(--brand);
  border-radius: 50%;
}

.clock::after {
  width: 22%;
  height: 3px;
  left: 50%;
  top: 49%;
  background: #222;
  transform-origin: left center;
  transform: rotate(35deg);
}

.shield::before {
  left: 27%;
  top: 16%;
  width: 46%;
  height: 56%;
  background: linear-gradient(180deg, #ffc55e, #ff9f1f);
  clip-path: polygon(50% 0%, 90% 18%, 82% 75%, 50% 100%, 18% 75%, 10% 18%);
}

.profile::before {
  left: 34%;
  top: 18%;
  width: 32%;
  height: 32%;
  background: #c8d6ef;
  border-radius: 50%;
}

.profile::after {
  left: 28%;
  bottom: 18%;
  width: 44%;
  height: 28%;
  background: #c8d6ef;
  border-radius: 18px 18px 6px 6px;
  box-shadow: 72px 26px 0 -38px #ff5b54;
}

.accident::before {
  inset: 34% 16% 28%;
  background: #6eb6c7;
  border-radius: 16px;
}

.life::before {
  left: 28%;
  top: 18%;
  width: 46%;
  height: 56%;
  background: linear-gradient(180deg, #8ea9ff, #5e7fe8);
  clip-path: polygon(50% 0%, 90% 18%, 82% 75%, 50% 100%, 18% 75%, 10% 18%);
}

.training::before {
  inset: 18% 18%;
  background: linear-gradient(180deg, #ffb0c2, #ff7d9f);
  border-radius: 18px;
}

.support::before {
  left: 26%;
  top: 26%;
  width: 48%;
  height: 24%;
  background: #79d28d;
  border-radius: 6px;
}

.support::after {
  left: 34%;
  top: 52%;
  width: 34%;
  height: 16%;
  background: #ffd46a;
  border-radius: 10px 10px 20px 20px;
}

.steps-card {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 18px;
  background: #edf6ff;
  border-radius: 28px;
  padding: 20px;
}

.steps-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 24px;
  background: #edf6ff;
}

.steps-content h3 {
  margin: 0 0 18px;
  font-size: 1.3rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: #f0b07a;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}

.step-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.timeline-item p {
  margin: 3px 0 0;
  color: #565b66;
  font-size: 0.98rem;
  line-height: 1.35;
}

.inline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 16px 22px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

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

.story-card {
  border-radius: 22px;
  overflow: hidden;
  background: #f7f8fc;
}

.story-card img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
}

.story-meta {
  padding: 12px 12px 14px;
}

.story-meta strong,
.story-meta span {
  display: block;
}

.story-meta strong {
  margin-bottom: 6px;
}

.story-meta span {
  color: var(--muted);
  font-size: 0.92rem;
}

.growth-ladder {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 10px 0 4px;
}

.growth-ladder::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 50%;
  width: 8px;
  transform: translateX(-50%);
  background: rgba(244, 124, 32, 0.08);
}

.growth-item {
  position: relative;
  min-height: 112px;
  border-radius: 28px;
  border: 2px solid #e1e1e7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
  background: #fff;
}

.growth-item.standard {
  background: #fff7ef;
  border-color: #f2d5b8;
}

.growth-item.gold {
  background: #fff4dd;
  border-color: #f2d27d;
}

.growth-item.diamond {
  background: #e8fbff;
  border-color: #9fdde8;
}

.growth-item.platinum {
  background: #efe9ff;
  border-color: #c9b9ff;
}

.growth-item.queen {
  background: #ffe6cf;
  border-color: #f3b374;
}

.crown-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(244, 124, 32, 0.14);
  position: relative;
}

.crown-icon::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 11px;
  width: 22px;
  height: 15px;
  background: #5d5d67;
  clip-path: polygon(0% 100%, 10% 20%, 35% 58%, 50% 12%, 65% 58%, 90% 20%, 100% 100%);
}

.growth-item.standard .crown-icon {
  background: rgba(180, 125, 72, 0.16);
}

.growth-item.standard .crown-icon::before {
  background: #a46b38;
}

.growth-item.gold .crown-icon {
  background: rgba(243, 189, 47, 0.2);
}

.growth-item.gold .crown-icon::before {
  background: #d49b08;
}

.growth-item.diamond .crown-icon {
  background: rgba(58, 199, 219, 0.18);
}

.growth-item.diamond .crown-icon::before {
  background: #24a9bb;
}

.growth-item.platinum .crown-icon {
  background: rgba(135, 116, 233, 0.18);
}

.growth-item.platinum .crown-icon::before {
  background: #745ce0;
}

.growth-item.queen .crown-icon {
  background: rgba(244, 124, 32, 0.18);
}

.growth-item.queen .crown-icon::before {
  background: #f47c20;
}

.categories-section {
  background: #fff6ec;
  padding-top: 34px;
  padding-bottom: 26px;
}

.category-label {
  margin: 0 0 24px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

.category-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  background: #dcebff;
}

.category-card p {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.3;
}

.faq-section {
  padding-bottom: 28px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 22px;
  font-size: 1.05rem;
  font-weight: 500;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "⌄";
  position: absolute;
  right: 22px;
  top: 20px;
  font-size: 1.4rem;
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-section {
  padding-top: 36px;
  padding-bottom: 132px;
  background: #f1f1fa;
}

.about-block span {
  color: var(--brand);
}

.about-block p,
.links-block ul,
.social-block p,
.copyright {
  color: #424752;
}

.links-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  font-size: 1rem;
}

.contact-card {
  margin-top: 26px;
  padding: 24px;
  border-radius: 18px;
  background: #fff0e4;
  display: grid;
  gap: 8px;
  font-size: 1rem;
}

.contact-card strong {
  font-size: 1.1rem;
}

.contact-card a {
  font-size: 1.1rem;
}

.app-block {
  margin-top: 32px;
}

.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-button {
  min-width: 150px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  text-align: center;
  font-weight: 600;
}

.social-block {
  margin-top: 28px;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.copyright {
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid #d7d7e2;
  line-height: 1.5;
}

.sticky-register {
  position: fixed;
  left: 50%;
  width: min(768px, 100%);
  transform: translateX(-50%);
  bottom: 0;
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  z-index: 30;
}

.sticky-register a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .top-row,
  .brand-row,
  .content-section,
  .categories-section,
  .footer-section,
  .sticky-register {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-row h1 {
    font-size: 1.65rem;
  }

  .brand-row {
    align-items: flex-start;
  }

  .brand-wordmark {
    font-size: 2.6rem;
  }

  .brand-logo {
    width: 150px;
  }

  .brand-sub {
    letter-spacing: 0.38em;
    font-size: 0.82rem;
  }

  .hero-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h2 {
    font-size: 2.8rem;
    line-height: 1.02;
  }

  .hero-subtext {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-label {
    max-width: 16ch;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-people {
    min-height: 360px;
  }

  .person {
    height: 360px;
    width: min(84%, 280px);
  }

  .benefits-grid,
  .categories-grid {
    gap: 22px 14px;
  }

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

  .steps-image-wrap img {
    height: 260px;
  }

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

  .category-card p {
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) {
  body {
    padding: 0;
  }

  .app-shell {
    border-radius: 0;
    overflow: visible;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
  }

  .sticky-register {
    border-radius: 0;
  }
}
