:root {
  --ink: #111827;
  --muted: #647084;
  --soft: #fff7f2;
  --paper: #ffffff;
  --line: rgba(17, 24, 39, 0.09);
  --orange: #f35a2d;
  --orange-dark: #d9431c;
  --blue: #356dff;
  --shadow: 0 24px 70px rgba(37, 44, 64, 0.14);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #fffaf7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.section-shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  width: min(1120px, calc(100% - 48px));
  min-height: 66px;
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 16px 44px rgba(31, 38, 56, 0.09);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(31, 38, 56, 0.13);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 1.35rem;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 10px 22px rgba(243, 90, 45, 0.2);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  color: #273044;
  font-size: 0.94rem;
  font-weight: 800;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--orange);
}

.header-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  font-weight: 900;
}

.header-action,
.primary-action {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 14px 30px rgba(243, 90, 45, 0.22);
}

.header-action {
  padding: 0 18px;
  font-size: 0.94rem;
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  min-height: min(760px, calc(100vh - 96px));
  padding: 58px 0 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1 {
  max-width: 560px;
  font-size: clamp(3.2rem, 5.6vw, 5.7rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 4.1rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

h3 {
  font-size: 1.16rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 500px;
  margin-top: 24px;
  color: #4b5871;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.65;
  font-weight: 650;
}

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

.primary-action,
.secondary-action {
  min-width: 148px;
  padding: 0 22px;
}

.secondary-action {
  border: 1px solid var(--line);
  color: #1e293b;
  background: rgba(255, 255, 255, 0.76);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
  margin-top: 42px;
}

.hero-stats div {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  font-size: 1.35rem;
  font-weight: 950;
}

.hero-stats dd {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-product {
  position: relative;
  display: grid;
  min-height: 590px;
  place-items: center;
}

.hero-product::before {
  position: absolute;
  inset: 10% 2% 8% 10%;
  border-radius: 56px;
  background:
    linear-gradient(135deg, rgba(243, 90, 45, 0.11), rgba(53, 109, 255, 0.11)),
    #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.05), var(--shadow);
  content: "";
}

.phone-stack {
  position: relative;
  width: min(560px, 100%);
  height: 560px;
}

.phone {
  position: absolute;
  width: 248px;
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(18, 24, 38, 0.22);
}

.phone-back {
  top: 78px;
  left: 38px;
  opacity: 0.76;
  transform: rotate(-7deg);
}

.phone-front {
  top: 26px;
  right: 54px;
  z-index: 2;
  width: 270px;
  transform: rotate(2deg);
}

.mood-card {
  position: absolute;
  right: 6px;
  bottom: 46px;
  z-index: 3;
  width: 158px;
  border-radius: 26px;
  filter: drop-shadow(0 22px 40px rgba(23, 31, 49, 0.22));
}

.product-note {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 5px;
  max-width: 230px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(31, 38, 56, 0.13);
  backdrop-filter: blur(14px);
}

.product-note b {
  font-size: 0.92rem;
}

.product-note span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.note-top {
  top: 74px;
  left: 0;
}

.note-bottom {
  right: 8px;
  bottom: 30px;
}

.features,
.moods {
  padding: 80px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.feature-grid article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 18px 46px rgba(34, 42, 64, 0.07);
}

.feature-grid span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 36px;
  place-items: center;
  border-radius: 15px;
  color: var(--orange-dark);
  background: #fff0e8;
  font-weight: 950;
}

.feature-grid p,
.steps p,
.download p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 650;
}

.showcase {
  padding: 86px 0;
  background: #111827;
  color: #fff;
}

.showcase-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 72px;
}

.showcase .eyebrow {
  color: #ff9b7b;
}

.showcase h2 {
  max-width: 690px;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.steps article {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.steps img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  background: #fff;
}

.showcase-phone {
  justify-self: center;
}

.showcase-phone img {
  width: 320px;
  border-radius: 34px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
  transform: rotate(3deg);
}

.mood-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.mood-row article {
  display: grid;
  gap: 14px;
  justify-items: center;
  min-height: 176px;
  padding: 20px 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(34, 42, 64, 0.06);
  text-align: center;
}

.mood-row img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  align-items: center;
  gap: 34px;
  margin-bottom: 70px;
  padding: 44px;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(243, 90, 45, 0.98), rgba(232, 73, 31, 0.95)),
    var(--orange);
  box-shadow: 0 26px 70px rgba(243, 90, 45, 0.23);
}

.download .eyebrow,
.download p {
  color: rgba(255, 255, 255, 0.82);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.store-badge {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 146px;
  min-height: 54px;
  padding: 8px 14px 8px 48px;
  border-radius: 12px;
  color: #fff;
  background: #080b12;
  box-shadow: 0 12px 28px rgba(13, 17, 28, 0.22);
}

.store-badge::before {
  position: absolute;
  top: 50%;
  left: 16px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  content: "▶";
  transform: translateY(-50%);
}

.store-badge.apple::before {
  content: "A";
  font-weight: 950;
}

.store-badge.huawei::before {
  color: #ff4354;
  content: "◆";
}

.store-badge small {
  font-size: 0.55rem;
  font-weight: 850;
  opacity: 0.8;
}

.store-badge b {
  font-size: 1.02rem;
  line-height: 1.05;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
  color: #4b5871;
  font-size: 0.92rem;
  font-weight: 750;
}

.site-footer .brand {
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

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

@media (max-width: 980px) {
  .section-shell {
    width: min(100% - 32px, 720px);
  }

  .site-header {
    grid-template-columns: auto auto;
    width: min(100% - 32px, 720px);
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 14px;
    background: #111827;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
  }

  .main-nav,
  .header-action {
    display: none;
  }

  .site-header.is-open .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .main-nav a {
    padding: 13px 12px;
    border-radius: 12px;
  }

  .site-header.is-open .main-nav a:hover {
    background: #fff1ea;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
    padding: 58px 0 68px;
  }

  .hero-product {
    min-height: 560px;
  }

  .feature-grid,
  .showcase-inner,
  .download {
    grid-template-columns: 1fr;
  }

  .showcase-inner {
    gap: 42px;
  }

  .download {
    padding: 32px;
  }

  .store-row {
    justify-content: flex-start;
  }

  .mood-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    display: grid;
    justify-items: start;
  }
}

@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 24px, 460px);
  }

  .site-header {
    top: 10px;
    width: min(100% - 24px, 460px);
    border-radius: 18px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: 470px;
  }

  .hero-product::before {
    inset: 8% 0 6%;
    border-radius: 34px;
  }

  .phone-stack {
    height: 450px;
  }

  .phone {
    width: 206px;
    border-radius: 24px;
  }

  .phone-back {
    top: 74px;
    left: 8px;
  }

  .phone-front {
    top: 30px;
    right: 8px;
    width: 220px;
  }

  .mood-card {
    right: 8px;
    bottom: 28px;
    width: 128px;
    border-radius: 20px;
  }

  .product-note {
    max-width: 190px;
    padding: 12px;
  }

  .note-top {
    top: 10px;
    left: 4px;
  }

  .note-bottom {
    right: 4px;
    bottom: 8px;
  }

  .features,
  .moods,
  .showcase {
    padding: 58px 0;
  }

  .feature-grid article {
    min-height: 0;
    padding: 22px;
  }

  .feature-grid span {
    margin-bottom: 26px;
  }

  .steps article {
    grid-template-columns: 60px 1fr;
  }

  .steps img {
    width: 60px;
    height: 60px;
  }

  .showcase-phone img {
    width: min(280px, 92vw);
  }

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

  .download {
    margin-bottom: 44px;
    padding: 26px;
    border-radius: 24px;
  }

  .store-badge {
    width: 100%;
  }
}
