/* ============================================================
   Variables & Reset
   ============================================================ */
:root {
  --maxw: 1920px;
  --paper: #fff5eb;
  --muted: #ccb8b5;
  --gold: #f6b83f;
  --divider: rgba(255, 255, 255, 0.09);
  --dark: #0b090a;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--paper);
  overflow-x: hidden;
  font-variation-settings: "wdth" 100;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

/* Smooth scroll for iOS */
@supports (-webkit-touch-callout: none) {
  body {
    -webkit-overflow-scrolling: touch;
  }
}

/* Prevent text size adjustment on orientation change */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Optimize for mobile rendering */
img {
  width: 100%;
  display: block;
}

/* ============================================================
   Fixed Navigation
   ============================================================ */
.brand-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.185vw, 22.756px);
  padding: clamp(20px, 2.292vw, 44px) clamp(24px, 15.630vw, 300.09px) clamp(16px, 1.875vw, 36px);
  width: 100%;
  max-width: var(--maxw);
  background-color: transparent;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.brand-nav.scrolled {
  background-color: rgba(11, 9, 10, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.brand-appicon {
  width: clamp(40px, 3.333vw, 64px);
  height: clamp(40px, 3.333vw, 64px);
  border-radius: 12px;
  flex-shrink: 0;
}

.brand-name {
  font-size: clamp(20px, 1.927vw, 36.978px);
  font-weight: 700;
  line-height: clamp(24px, 2.222vw, 42.667px);
  color: var(--paper);
  width: clamp(140px, 24.444vw, 469.333px);
}

.brand-line {
  position: absolute;
  left: clamp(24px, 15.625vw, 300px);
  bottom: 0;
  width: clamp(120px, 38.021vw, 730px);
  height: 1px;
  background: var(--divider);
  z-index: 9999;
}

/* ============================================================
   Typography
   ============================================================ */
.hero-headline {
  font-size: clamp(40px, 4.815vw, 92.444px);
  font-weight: 700;
  line-height: clamp(46px, 5.556vw, 106.667px);
  color: var(--paper);
  margin: 0;
  width: clamp(280px, 38.148vw, 732.444px);
}

.hero-desc {
  font-size: clamp(16px, 1.704vw, 32.711px);
  font-weight: 400;
  line-height: clamp(22px, 1.927vw, 36.978px);
  color: var(--muted);
  margin-top: clamp(24px, 3.229vw, 62px);
  width: clamp(260px, 35.704vw, 685.511px);
}

.benefit p {
  font-size: clamp(22px, 2.296vw, 44.089px);
  font-weight: 700;
  line-height: clamp(28px, 2.667vw, 51.2px);
  color: var(--paper);
  margin: 0;
  width: clamp(240px, 33.778vw, 648.533px);
}

.benefit-3 p {
  font-size: clamp(20px, 2.148vw, 41.244px);
  line-height: clamp(24px, 2.444vw, 46.933px);
}

.feature-headline {
  font-size: clamp(30px, 3.130vw, 60.089px);
  font-weight: 700;
  line-height: clamp(34px, 3.556vw, 68.267px);
  color: var(--paper);
  margin: clamp(18px, 1.875vw, 36px) 0 clamp(24px, 2.396vw, 46px);
}

.feature-body {
  font-size: clamp(16px, 1.778vw, 34.133px);
  font-weight: 400;
  line-height: clamp(22px, 2.074vw, 39.822px);
  color: var(--muted);
  margin: 0;
}

.brand-cta {
  font-size: clamp(34px, 4.167vw, 80px);
  font-weight: 700;
  line-height: clamp(48px, 5.852vw, 112.356px);
  color: var(--paper);
  margin: 0;
  text-align: center;
  width: clamp(280px, 67.396vw, 1294px);
}

/* ============================================================
   Block base — flow layout
   ============================================================ */
.page {
  display: block;
  padding-top: 0;
}

.block {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero */
.block-hero {
  background-image: url('images/bg-hero.webp');
  background-position: right center;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 clamp(20px, 7.240vw, 139px) 0 clamp(20px, 15.625vw, 300px);
}

.block-hero .block-inner {
  padding-top: clamp(120px, 11.458vw, 220px);
}

.hero-phone {
  width: clamp(280px, 41.979vw, 806px);
}

/* Benefits */
.block-benefits {
  background-image: url('images/bg-benefits.webp');
  background-position: left center;
  padding: clamp(60px, 5.885vw, 113px) clamp(20px, 10.417vw, 200px) clamp(30px, 3.281vw, 63px) clamp(20px, 18.646vw, 358px);
  justify-content: space-between;
  gap: clamp(30px, 14.271vw, 274px);
}

.block-benefits .block-phone {
  width: clamp(180px, 17.083vw, 328px);
}

.block-benefits .block-inner {
  justify-content: space-between;
}

.block-benefits .block-inner li {
  list-style: circle;
}

.block-benefits .benefit {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.875vw, 36px);
  padding: clamp(20px, 2.083vw, 40px) 0 clamp(30px, 3.125vw, 60px);
  border-bottom: 1px solid rgba(246, 184, 63, 0.16);
}

.block-benefits .benefit:last-child {
  border-bottom: 0;
}

.block-benefits .benefit .dot {
  width: clamp(10px, 0.741vw, 14.222px);
  height: clamp(10px, 0.741vw, 14.222px);
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Feature */
.block-feature {
  background-image: url('images/bg-feature.webp');
  background-position: right center;
  padding: clamp(32px, 3.333vw, 64px) clamp(20px, 21.927vw, 421px) clamp(40px, 4.271vw, 82px) clamp(20px, 15.625vw, 300px);
  justify-content: space-between;
  gap: clamp(30px, 8.958vw, 172px);
}

.block-feature .block-phone {
  width: clamp(180px, 17.188vw, 330px);
}

.block-feature .block-inner {
  width: clamp(280px, 36.250vw, 696px);
}

.feature-accent {
  width: clamp(48px, 4.815vw, 92.444px);
  height: clamp(3px, 0.222vw, 4.267px);
  background: var(--gold);
  border-radius: 2px;
}

/* Brand */
.block-brand {
  background-image: url('images/bg-brand.webp');
  background-position: center center;
  padding: clamp(80px, 8.906vw, 171px) 0 clamp(80px, 9.740vw, 187px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-brand .block-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 2.083vw, 40px);
}

.brand-final-icon {
  width: clamp(140px, 12.500vw, 240px);
  height: clamp(140px, 12.500vw, 240px);
  border-radius: clamp(26px, 2.708vw, 52px);
}

/* ============================================================
   Responsive — Tablet adaptation (1024px and below)
   ============================================================ */
@media (max-width: 1024px) {
  .block-hero {
    padding: 0 clamp(20px, 6vw, 80px) 0 clamp(20px, 8vw, 120px);
  }
  .hero-phone {
    width: clamp(240px, 36vw, 520px);
  }

  .block-benefits {
    padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 60px) clamp(32px, 4vw, 50px) clamp(20px, 10vw, 180px);
    gap: clamp(30px, 6vw, 80px);
  }
  .block-benefits .block-phone {
    width: clamp(160px, 22vw, 280px);
  }

  .block-feature {
    padding: clamp(40px, 5vw, 64px) clamp(20px, 10vw, 200px) clamp(40px, 5vw, 64px) clamp(20px, 8vw, 120px);
    gap: clamp(30px, 5vw, 100px);
  }
  .block-feature .block-phone {
    width: clamp(160px, 22vw, 280px);
  }
}

/* ============================================================
   Responsive — Mobile (768px and below)
   ============================================================ */
@media (max-width: 768px) {
  /* Nav */
  .brand-nav {
    padding: 14px 20px;
    gap: 12px;
  }
  .brand-appicon {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 20px;
    line-height: 1.3;
    width: auto;
  }
  .brand-line {
    display: none;
  }

  /* All blocks: stack vertically */
  .block {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 36px;
    padding: 56px 20px;
    text-align: center;
  }

  /* Hero */
  .block-hero {
    padding: 88px 20px 48px;
    align-items: center;
  }
  .block-hero .block-inner {
    padding-top: 0;
    width: 100%;
  }
  .hero-headline {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.15;
    width: auto;
    text-align: center;
  }
  .hero-desc {
    font-size: clamp(15px, 3.8vw, 18px);
    line-height: 1.5;
    width: auto;
    margin-top: 20px;
    text-align: center;
  }
  .hero-phone {
    width: clamp(200px, 58vw, 300px);
  }

  /* Benefits */
  .block-benefits {
    padding: 56px 20px;
  }
  .block-benefits .block-inner {
    width: 100%;
    justify-content: flex-start;
  }
  .block-benefits .benefit {
    padding: 20px 0;
    gap: 14px;
    justify-content: flex-start;
  }
  .benefit p {
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.4;
    width: auto;
    text-align: left;
  }
  .benefit-3 p {
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.4;
  }
  .block-benefits .benefit .dot {
    width: 9px;
    height: 9px;
  }
  .block-benefits .block-phone {
    width: clamp(190px, 52vw, 260px);
  }

  /* Feature */
  .block-feature {
    padding: 56px 20px;
  }
  .block-feature .block-inner {
    width: 100%;
  }
  .feature-accent {
    width: 52px;
    height: 4px;
  }
  .feature-headline {
    font-size: clamp(22px, 5.6vw, 30px);
    line-height: 1.25;
    margin: 18px 0 22px;
    text-align: center;
  }
  .feature-body {
    font-size: clamp(15px, 3.8vw, 18px);
    line-height: 1.5;
    text-align: center;
  }
  .block-feature .block-phone {
    width: clamp(190px, 52vw, 260px);
  }

  /* Brand */
  .block-brand {
    padding: 72px 20px;
  }
  .block-brand .block-inner {
    gap: 28px;
  }
  .brand-final-icon {
    width: 128px;
    height: 128px;
    border-radius: 28px;
  }
  .brand-cta {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.2;
    width: auto;
  }
}

/* ============================================================
   Responsive — Small phones (480px and below)
   ============================================================ */
@media (max-width: 480px) {
  .block {
    padding: 44px 16px;
    gap: 28px;
  }
  .block-hero {
    padding: 76px 16px 36px;
  }
  .block-benefits,
  .block-feature {
    padding: 44px 16px;
  }
  .block-brand {
    padding: 56px 16px;
  }

  .hero-headline {
    font-size: 26px;
  }
  .hero-phone {
    width: 70vw;
  }
  .benefit p,
  .benefit-3 p {
    font-size: 16px;
  }
  .block-benefits .block-phone,
  .block-feature .block-phone {
    width: 58vw;
  }
  .feature-headline {
    font-size: 21px;
  }
  .brand-cta {
    font-size: 28px;
  }
  .brand-final-icon {
    width: 112px;
    height: 112px;
    border-radius: 24px;
  }
}

/* ============================================================
   Responsive — Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .brand-nav {
    transition: none;
  }
}
