:root {
  color-scheme: dark;
  --ink: #090b0f;
  --ink-soft: #10131a;
  --panel: #15181f;
  --panel-strong: #1f232b;
  --text: #fff8ef;
  --muted: #b8b4aa;
  --coral: #ff7a59;
  --gold: #f7c76b;
  --mint: #88dfc0;
  --line: rgba(255, 248, 239, .16);
  --shadow: 0 24px 80px rgba(0, 0, 0, .46);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(247, 199, 107, .18), transparent 30rem),
    radial-gradient(circle at 8% 8%, rgba(255, 122, 89, .18), transparent 28rem),
    linear-gradient(180deg, #07090d 0%, var(--ink) 44%, #10110f 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 24px clamp(20px, 5vw, 72px) 72px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(9, 11, 15, .98) 0%, rgba(9, 11, 15, .78) 47%, rgba(9, 11, 15, .38) 100%),
    linear-gradient(180deg, rgba(9, 11, 15, .22) 0%, rgba(9, 11, 15, .92) 100%);
}

.topbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand,
.nav-links {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  font-weight: 760;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff4dc, #f5c35e 50%, #ff7a59);
  box-shadow: 0 10px 26px rgba(255, 122, 89, .28);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  border-radius: 5px;
  background: rgba(11, 13, 18, .88);
}

.brand-mark::before {
  width: 17px;
  height: 21px;
  left: 8px;
  top: 7px;
  transform: rotate(-9deg);
}

.brand-mark::after {
  width: 15px;
  height: 18px;
  right: 6px;
  bottom: 6px;
  transform: rotate(12deg);
  background: rgba(136, 223, 192, .9);
}

.brand-mark span {
  width: 12px;
  height: 7px;
  left: 11px;
  top: 13px;
  background: var(--gold);
}

.nav-links {
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 20, 26, .54);
  backdrop-filter: blur(18px);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255, 248, 239, .78);
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 248, 239, .1);
  color: var(--text);
}

.photo-wall {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  opacity: .86;
}

.photo-wall::before,
.photo-wall::after {
  content: "";
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(115deg, rgba(255, 248, 239, .08), transparent 38%),
    linear-gradient(rgba(255, 248, 239, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 248, 239, .04) 1px, transparent 1px);
  background-size: auto, 92px 92px, 92px 92px;
  transform: rotate(-8deg) scale(1.15);
}

.photo-wall::after {
  background:
    radial-gradient(circle at 80% 24%, rgba(255, 122, 89, .28), transparent 20rem),
    radial-gradient(circle at 66% 72%, rgba(136, 223, 192, .2), transparent 24rem);
  transform: none;
}

.tile {
  position: absolute;
  border: 1px solid rgba(255, 248, 239, .16);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(255, 248, 239, .14), rgba(255, 248, 239, .02)),
    linear-gradient(160deg, rgba(247, 199, 107, .32), rgba(255, 122, 89, .12) 45%, rgba(136, 223, 192, .08));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .34);
}

.tile::before {
  content: "";
  position: absolute;
  inset: auto 12px 12px 12px;
  height: 34%;
  border-radius: 6px;
  background:
    linear-gradient(140deg, rgba(136, 223, 192, .72), transparent 58%),
    linear-gradient(35deg, rgba(255, 248, 239, .22), transparent 50%);
  clip-path: polygon(0 100%, 32% 34%, 52% 74%, 70% 30%, 100% 100%);
}

.tile-a { width: 150px; height: 210px; top: 14%; right: 24%; transform: rotate(-10deg); }
.tile-b { width: 190px; height: 132px; top: 20%; right: 4%; transform: rotate(8deg); }
.tile-c { width: 135px; height: 185px; bottom: 14%; right: 17%; transform: rotate(13deg); }
.tile-d { width: 118px; height: 160px; bottom: 29%; right: 38%; transform: rotate(-15deg); }
.tile-e { width: 170px; height: 120px; top: 55%; right: -2%; transform: rotate(-8deg); }
.tile-f { width: 116px; height: 156px; top: 8%; right: 47%; transform: rotate(14deg); }
.tile-g { width: 142px; height: 104px; bottom: 8%; right: 44%; transform: rotate(7deg); }
.tile-h { width: 104px; height: 142px; top: 39%; right: 28%; transform: rotate(4deg); }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  max-width: 1180px;
  min-height: calc(100svh - 92px);
  margin: 0 auto;
  padding: 52px 0 10px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(58px, 9vw, 112px);
  line-height: .95;
  font-weight: 860;
}

.subtitle {
  margin: 22px 0 0;
  color: var(--mint);
  font-size: clamp(25px, 3vw, 39px);
  font-weight: 760;
  line-height: 1.18;
}

.hero-body {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 248, 239, .83);
  font-size: clamp(17px, 1.7vw, 22px);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 34px;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(255, 248, 239, .34);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--coral), #ff9a5f 48%, var(--gold));
  color: #191006;
  font-weight: 820;
  box-shadow: 0 16px 34px rgba(255, 122, 89, .28);
}

.app-store-button:hover,
.app-store-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(255, 122, 89, .34);
}

.store-icon {
  width: 19px;
  height: 23px;
  border-radius: 9px 9px 5px 5px;
  background: #191006;
  position: relative;
}

.store-icon::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  right: -1px;
  top: -5px;
  border-radius: 999px 999px 999px 0;
  background: #191006;
  transform: rotate(-25deg);
}

.placeholder-note {
  max-width: 230px;
  color: rgba(255, 248, 239, .64);
  font-size: 14px;
  line-height: 1.35;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-points span,
.photo-chip,
.export-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 239, .08);
  color: rgba(255, 248, 239, .76);
  font-size: 13px;
  white-space: nowrap;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.phone-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(247, 199, 107, .48), rgba(255, 122, 89, .16) 46%, transparent 70%);
  filter: blur(16px);
}

.phone {
  position: relative;
  width: min(350px, 76vw);
  aspect-ratio: 9 / 18.8;
  padding: 12px;
  border: 1px solid rgba(255, 248, 239, .2);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 248, 239, .18), rgba(255, 248, 239, .03)),
    #090a0d;
  box-shadow: var(--shadow);
}

.phone-speaker {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 3;
  width: 76px;
  height: 20px;
  border-radius: 999px;
  background: #08090c;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 48px 18px 18px;
  border-radius: 25px;
  background:
    radial-gradient(circle at 74% 12%, rgba(247, 199, 107, .24), transparent 12rem),
    linear-gradient(180deg, #171a20 0%, #0f1116 100%);
}

.app-header,
.decision-row,
.export-row,
.score-row {
  display: flex;
  align-items: center;
}

.app-header,
.decision-row {
  justify-content: space-between;
}

.app-header {
  color: rgba(255, 248, 239, .7);
  font-size: 14px;
}

.app-header strong {
  color: var(--text);
}

.review-card {
  margin-top: 22px;
  padding: 12px;
  border: 1px solid rgba(255, 248, 239, .18);
  border-radius: 8px;
  background: rgba(255, 248, 239, .09);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.mock-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5.15;
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 122, 89, .72), rgba(247, 199, 107, .18) 44%, rgba(12, 16, 22, .96) 100%);
}

.mock-photo::before,
.mock-photo::after {
  content: "";
  position: absolute;
  inset: auto -12% -13% -12%;
  height: 42%;
  border-radius: 50% 50% 0 0;
  background: rgba(13, 16, 21, .86);
}

.mock-photo::after {
  inset: auto -24% -25% 16%;
  height: 52%;
  background: rgba(136, 223, 192, .28);
}

.sun {
  position: absolute;
  right: 20%;
  top: 16%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffe2a2;
  box-shadow: 0 0 48px rgba(247, 199, 107, .78);
}

.ridge {
  position: absolute;
  left: 11%;
  bottom: 22%;
  width: 58%;
  height: 18%;
  border-radius: 999px 999px 0 0;
  background: rgba(255, 248, 239, .24);
  transform: rotate(-8deg);
}

.ridge-two {
  left: 35%;
  bottom: 16%;
  width: 52%;
  background: rgba(255, 122, 89, .34);
  transform: rotate(7deg);
}

.score-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.photo-chip.mint {
  color: #0d1c18;
  background: var(--mint);
  border-color: rgba(136, 223, 192, .64);
}

.decision-row {
  gap: 10px;
  margin-top: 14px;
}

.decision-row span {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 760;
}

.decision-row span:first-child {
  background: rgba(136, 223, 192, .18);
  color: var(--mint);
}

.decision-row span:last-child {
  background: rgba(255, 122, 89, .18);
  color: #ffb09b;
}

.export-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px clamp(20px, 5vw, 72px);
}

.intro {
  max-width: 920px;
  text-align: center;
}

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

.section h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 4.7vw, 60px);
  line-height: 1.05;
}

.section p {
  color: rgba(255, 248, 239, .73);
  font-size: 17px;
}

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

.feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-grid article,
.steps article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 248, 239, .08), rgba(255, 248, 239, .035)),
    rgba(17, 19, 25, .84);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
}

.feature-grid article {
  padding: 20px;
}

.feature-grid h3,
.steps h3,
.policy h3 {
  margin: 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.3;
}

.feature-grid p,
.steps p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.58;
}

.feature-icon {
  display: block;
  position: relative;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 122, 89, .9), rgba(247, 199, 107, .9));
}

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

.local::before {
  inset: 9px;
  border: 2px solid #12151b;
  border-radius: 50%;
}

.calendar::before {
  inset: 10px 7px 7px;
  border: 2px solid #12151b;
  border-radius: 4px;
}

.calendar::after {
  left: 8px;
  right: 8px;
  top: 14px;
  height: 2px;
  background: #12151b;
}

.card::before {
  width: 18px;
  height: 22px;
  left: 8px;
  top: 7px;
  border-radius: 4px;
  background: #12151b;
  transform: rotate(-8deg);
}

.split-icon::before,
.split-icon::after {
  top: 8px;
  width: 8px;
  height: 18px;
  border-radius: 999px;
  background: #12151b;
}

.split-icon::before {
  left: 8px;
}

.split-icon::after {
  right: 8px;
}

.export::before {
  left: 10px;
  top: 7px;
  width: 14px;
  height: 18px;
  border: 2px solid #12151b;
  border-top: 0;
}

.export::after {
  left: 13px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #12151b;
  border-right: 2px solid #12151b;
  transform: rotate(-45deg);
}

.workflow {
  padding-top: 28px;
}

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

.steps article {
  padding: 24px;
}

.steps span {
  display: block;
  margin-bottom: 24px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 820;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(136, 223, 192, .42);
  border-radius: var(--radius);
  background: rgba(136, 223, 192, .12);
  color: var(--mint);
  font-weight: 760;
  white-space: nowrap;
}

.policy {
  max-width: 900px;
  padding-bottom: 110px;
}

.policy h2 {
  margin-bottom: 24px;
}

.policy h3 {
  margin-top: 28px;
}

.policy a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-bottom: 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .phone-stage {
    min-height: 470px;
  }

  .tile-a,
  .tile-d,
  .tile-f {
    display: none;
  }

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

@media (max-width: 640px) {
  .hero {
    padding: 16px 18px 46px;
  }

  .topbar {
    align-items: flex-start;
  }

  .nav-links {
    max-width: 196px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    border-radius: 8px;
    background: rgba(18, 20, 26, .72);
  }

  .nav-links a {
    min-height: 30px;
    padding: 0 9px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(50px, 17vw, 72px);
  }

  .subtitle {
    font-size: 25px;
  }

  .hero-body {
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-store-button {
    width: 100%;
  }

  .placeholder-note {
    max-width: none;
  }

  .phone-stage {
    min-height: 410px;
  }

  .phone {
    width: min(305px, 90vw);
  }

  .section {
    padding: 58px 18px;
  }

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

  .feature-grid article,
  .steps article {
    padding: 18px;
  }

  .policy {
    padding-bottom: 76px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .app-store-button,
  .nav-links a,
  .support-link {
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  }
}
