:root {
  --bg: #050c08;
  --page: #06110c;
  --panel: #0b1a12;
  --panel-2: #10241a;
  --ink: #f2f7ef;
  --muted: #9aafa1;
  --muted-2: #6c8072;
  --blue: #18b977;
  --blue-bright: #b8f3d6;
  --blue-deep: #0b5a3c;
  --cyan: #f1c75b;
  --line: rgba(120, 220, 170, .16);
  --line-soft: rgba(255, 255, 255, .07);
  --sans: "Segoe UI", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --page-width: 760px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 700px at 50% -10%, rgba(24, 185, 119, .16), transparent 65%),
    radial-gradient(800px 800px at 100% 100%, rgba(13, 143, 92, .14), transparent 60%),
    #030b07;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .22;
  background-image: radial-gradient(rgba(255,255,255,.15) .5px, transparent .5px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; }

::selection { background: var(--blue); color: #050c08; }

:focus-visible { outline: 1px solid var(--blue-bright); outline-offset: 3px; }

.page {
  position: relative;
  z-index: 1;
  width: min(var(--page-width), 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--page);
  border-left: 1px solid rgba(255,255,255,.055);
  border-right: 1px solid rgba(255,255,255,.055);
  box-shadow: 0 0 90px rgba(0, 0, 0, .45);
}

.read-progress {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--page-width), 100%);
  height: 2px;
  z-index: 70;
  background: transparent;
  pointer-events: none;
}
.read-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
  box-shadow: 0 0 10px rgba(24,185,119,.45);
}

/* Sticky offer strip */
.top-strip {
  position: sticky;
  top: 0;
  z-index: 55;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  background: rgba(4, 6, 9, .97);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
}
.strip-offer { display: flex; align-items: center; gap: 9px; min-width: 0; }
.strip-icon {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184,243,214,.35);
  color: var(--blue-bright);
  font-family: var(--serif);
  font-size: 12px;
  background: linear-gradient(150deg, rgba(24,185,119,.18), rgba(7,15,26,.6));
}
.strip-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.strip-copy b {
  font-size: 9px;
  letter-spacing: .07em;
  color: #e9f3ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.strip-copy small { font-size: 6.5px; color: var(--muted-2); letter-spacing: .06em; }
.strip-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  padding: 0 13px;
  background: linear-gradient(110deg, #0b5a3c, #18b977 52%, #0b5a3c);
  color: #f4f9ff;
  border: 1px solid #73b4ff;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: .1em;
  box-shadow: 0 6px 18px rgba(31, 91, 190, .2);
}

/* Header */
.app-header {
  position: sticky;
  top: 56px;
  z-index: 50;
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  background: rgba(8, 11, 17, .92);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  transition: box-shadow .25s, background .25s;
}
.app-header.is-scrolled { background: rgba(6, 9, 14, .97); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-bright); }
.brand-mark { width: 28px; height: 28px; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: .9;
  color: #eaf4ff;
}
.brand-name small {
  font-family: var(--sans);
  font-size: 5.5px;
  letter-spacing: .36em;
  color: rgba(184,243,214,.55);
  margin-top: 5px;
  font-weight: 600;
}
.account-actions { display: flex; gap: 7px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 700;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn-login {
  height: 33px;
  padding: 0 13px;
  background: transparent;
  border-color: rgba(184,243,214,.35);
  color: #cfe8ff;
  font-size: 8px;
  letter-spacing: .06em;
}
.btn-login:hover { background: rgba(24,185,119,.1); border-color: var(--blue-bright); }
.btn-register {
  height: 33px;
  padding: 0 15px;
  background: linear-gradient(110deg, #0d8f5c, #6ee7b0 50%, #0d8f5c);
  border-color: #7fe6b8;
  color: #04120c;
  font-size: 8px;
  letter-spacing: .06em;
}
.btn-register:hover { transform: translateY(-1px); background: linear-gradient(110deg, #18b977, #b8f3d6 50%, #18b977); }

/* Main */
main { padding: 16px 16px 104px; }

/* Hero guide card */
.guide-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 21px 22px;
  border: 1px solid rgba(111, 168, 255, .22);
  border-radius: 17px;
  background:
    radial-gradient(circle at 82% 16%, rgba(24,185,119,.22), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(21,61,131,.26), transparent 52%),
    linear-gradient(150deg, #0e1726 0%, #0a1019 58%, #080c13 100%);
  box-shadow: 0 20px 55px rgba(0,0,0,.28);
}
.guide-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 130px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(111,168,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(24,185,119,.02), 0 0 0 70px rgba(24,185,119,.012);
  pointer-events: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(101,224,255,.32);
  background: rgba(101,224,255,.07);
  color: #9be9ff;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .16em;
  border-radius: 999px;
}
.guide-hero h1 {
  position: relative;
  z-index: 2;
  margin: 15px 0 13px;
  font-size: clamp(31px, 6.2vw, 40px);
  line-height: 1.06;
  letter-spacing: -.03em;
  font-weight: 800;
  color: #f6faff;
}
.hero-lede {
  position: relative;
  z-index: 2;
  max-width: 540px;
  margin: 0 0 20px;
  color: #98a8bc;
  font-size: 11.5px;
  line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 2; }
.btn-primary {
  min-height: 45px;
  padding: 0 17px;
  background: linear-gradient(110deg, #1e58b8, #4e9dff 50%, #1e58b8);
  border-color: #80c4ff;
  color: #f5faff;
  font-size: 9px;
  letter-spacing: .06em;
  box-shadow: 0 10px 28px rgba(31, 91, 190, .25);
}
.btn-primary:hover { transform: translateY(-1px); background: linear-gradient(110deg, #2f6fe0, #7fc4ff 50%, #2f6fe0); }
.btn-secondary {
  min-height: 45px;
  padding: 0 15px;
  background: rgba(8, 13, 20, .45);
  border-color: rgba(255,255,255,.13);
  color: #c9d9ec;
  font-size: 9px;
  letter-spacing: .04em;
}
.btn-secondary:hover { border-color: rgba(184,243,214,.4); background: rgba(24,185,119,.07); }

.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #7f91a6;
  font-size: 6.5px;
  letter-spacing: .12em;
  font-weight: 700;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: #70e3b2; }
.meta-18 { color: #b8f3d6; border-color: rgba(24,185,119,.28) !important; }

/* Phone artwork */
.phone-stage {
  position: relative;
  height: 368px;
  margin: 22px auto 0;
  max-width: 360px;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.phone-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 310px;
  height: 310px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(24,185,119,.3), transparent 66%);
  filter: blur(15px);
}
.phone {
  position: relative;
  width: 206px;
  height: 356px;
  margin-top: 0;
  border: 1px solid rgba(167, 211, 255, .35);
  border-radius: 28px;
  background: linear-gradient(160deg, #111b2c, #060a10);
  box-shadow: 0 28px 60px rgba(0,0,0,.55), inset 0 0 0 5px #05080d;
  transform: rotate(-5deg);
  padding: 8px;
}
.phone-speaker {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 4px;
  border-radius: 99px;
  background: #03060a;
  z-index: 2;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 21px;
  overflow: hidden;
  padding: 18px 9px 9px;
  background:
    radial-gradient(circle at 50% 0%, rgba(24,185,119,.24), transparent 52%),
    linear-gradient(160deg, #0b1422, #060a11);
}
.screen-head { display: flex; align-items: center; justify-content: space-between; padding: 0 3px 10px; }
.screen-logo { font-family: var(--serif); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #dcefff; }
.screen-18 { font-size: 5px; color: #b8f3d6; border: 1px solid rgba(184,243,214,.3); padding: 2px 4px; border-radius: 2px; }
.screen-card {
  margin-bottom: 8px;
  padding: 10px 9px;
  border: 1px solid rgba(24,185,119,.22);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(27,79,168,.35), rgba(9,16,27,.55));
}
.screen-card small { display: block; font-size: 4.5px; letter-spacing: .14em; color: #88a7c9; }
.screen-card b { display: block; margin: 2px 0; font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: .06em; color: #b8dcff; }
.screen-card span { font-size: 4.5px; letter-spacing: .09em; color: #6e87a2; }
.screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.tile {
  position: relative;
  min-height: 63px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 40%, rgba(24,185,119,.16), transparent 62%),
    #0d151f;
}
.tile span { font-family: var(--serif); font-size: 20px; color: #cfe8ff; }
.tile small { font-size: 4.5px; color: #73889e; letter-spacing: .05em; }
.screen-nav {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 7px;
  height: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.screen-nav i { width: 13px; height: 2px; border-radius: 2px; background: #3f5871; }
.screen-nav i:first-child { background: var(--blue); box-shadow: 0 0 8px rgba(24,185,119,.6); }
.phone-chip {
  position: absolute;
  padding: 5px 8px;
  border: 1px solid rgba(184,243,214,.28);
  background: rgba(9, 16, 27, .88);
  color: #a9d7ff;
  font-size: 5.5px;
  font-weight: 800;
  letter-spacing: .1em;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  backdrop-filter: blur(5px);
}
.chip-a { left: 11%; top: 30%; transform: rotate(-5deg); }
.chip-b { right: 8%; top: 18%; transform: rotate(5deg); }
.chip-c { right: 4%; bottom: 17%; transform: rotate(-3deg); color: #cfe8ff; }

/* Contents */
.contents {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: 14px 0 0;
  padding: 2px 1px 8px;
  scrollbar-width: none;
}
.contents::-webkit-scrollbar { display: none; }
.contents a {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  color: #8fa5bc;
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}
.contents a:hover { color: #dcefff; border-color: rgba(24,185,119,.32); background: rgba(24,185,119,.07); }

/* Content blocks */
.block {
  scroll-margin-top: 138px;
  margin-top: 12px;
  padding: 21px 19px 20px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 15px;
  background: linear-gradient(160deg, #0b0f16, #080c12);
}
.block-kicker { display: block; color: #f1c75b; font-size: 6px; font-weight: 800; letter-spacing: .18em; }
.block h2 {
  margin: 8px 0 10px;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: #f0f6ff;
}
.block > p { margin: 0 0 17px; color: #9ab3a5; font-size: 11px; line-height: 1.8; }
.block h3 { margin: 0 0 4px; font-size: 12.5px; color: #e5f0e9; }

.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fact {
  padding: 13px 12px 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  background: rgba(255,255,255,.018);
}
.fact-icon { display: block; color: #7fe6b8; margin-bottom: 10px; }
.fact b { display: block; font-size: 11.5px; color: #e5f0fc; margin-bottom: 5px; }
.fact p { margin: 0; color: #849f92; font-size: 8.5px; line-height: 1.65; }

.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.steps li { display: flex; gap: 13px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.06); }
.steps li:first-child { padding-top: 0; border-top: 0; }
.step-num {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24,185,119,.26);
  border-radius: 50%;
  color: #7fe6b8;
  font-family: var(--serif);
  font-size: 9px;
}
.steps p { margin: 0; color: #849f92; font-size: 9.5px; line-height: 1.7; }

.callout {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 196, 92, .2);
  border-radius: 10px;
  background: rgba(255, 186, 73, .045);
}
.callout-icon {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 196, 92, .13);
  color: #f0c26d;
  font-size: 10px;
  font-weight: 800;
}
.callout b { display: block; margin-bottom: 3px; color: #e7cfaa; font-size: 9px; }
.callout p { margin: 0; color: #9c8f78; font-size: 8.5px; line-height: 1.65; }

.money-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.money-card {
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  background: rgba(255,255,255,.018);
}
.money-label { display: block; font-size: 5.5px; letter-spacing: .16em; color: #f1c75b; font-weight: 800; margin-bottom: 7px; }
.money-card h3 { font-size: 11.5px; line-height: 1.35; margin-bottom: 9px; }
.money-card ul { margin: 0; padding: 0 0 0 13px; color: #849f92; font-size: 8.5px; line-height: 1.7; }
.money-card li { margin-bottom: 4px; }
.fine-print { margin: 13px 0 0 !important; color: #627183 !important; font-size: 7.5px !important; line-height: 1.7 !important; }

.terms-table { border: 1px solid rgba(255,255,255,.07); border-radius: 10px; overflow: hidden; }
.terms-row { display: grid; grid-template-columns: 38% 62%; border-top: 1px solid rgba(255,255,255,.06); }
.terms-row:first-child { border-top: 0; }
.terms-row span { padding: 9px 10px; font-size: 8.5px; line-height: 1.5; }
.terms-row span:first-child { color: #d7e5da; font-weight: 600; background: rgba(255,255,255,.018); }
.terms-row span:last-child { color: #849f92; }
.terms-head { background: rgba(24,185,119,.08); }
.terms-head span { color: #b8f3d6 !important; font-size: 6px !important; letter-spacing: .12em; font-weight: 800 !important; text-transform: uppercase; }

.faq { border-top: 1px solid rgba(255,255,255,.06); }
.faq details { border-bottom: 1px solid rgba(255,255,255,.06); }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  list-style: none;
  cursor: pointer;
  color: #dbe9f8;
  font-size: 10.5px;
  line-height: 1.4;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  color: #7fe6b8;
  font-size: 13px;
  font-weight: 400;
  transition: transform .2s, background .2s;
}
.faq details[open] summary span { transform: rotate(45deg); background: rgba(24,185,119,.1); }
.faq details p { margin: 0 0 14px; color: #849f92; font-size: 9.5px; line-height: 1.75; }

.responsible {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 20px 18px;
  border: 1px solid rgba(255,196,92,.17);
  border-radius: 15px;
  background: linear-gradient(150deg, rgba(50,38,20,.26), rgba(10,14,20,.5));
}
.resp-mark {
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,196,92,.35);
  border-radius: 50%;
  color: #edc57a;
  font-family: var(--serif);
  font-size: 13px;
}
.responsible h2 { margin: 0 0 7px; font-size: 18px; letter-spacing: -.02em; color: #f4e7cf; }
.responsible p { margin: 0 0 6px; color: #9aafa1; font-size: 9px; line-height: 1.7; }
.responsible .resp-small { color: #6f8f7f; font-size: 7.5px; margin: 0; }

/* Footer */
.footer {
  margin-top: 20px;
  padding: 24px 2px 5px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer .brand { margin-bottom: 12px; }
.footer p { margin: 0 0 8px; color: #69798b; font-size: 8px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0; }
.footer-links a { color: #8fa5bc; font-size: 7.5px; letter-spacing: .04em; }
.footer-links a:hover { color: #cfe8ff; }
.footer .copyright { color: #4f5d6c; font-size: 7px; margin-top: 14px; }

/* Bottom bar */
.bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 60;
  width: min(var(--page-width), 100%);
  height: 65px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: rgba(5, 8, 12, .96);
  border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 -12px 30px rgba(0,0,0,.28);
}
.bottom-bar .btn { height: 100%; font-size: 9px; letter-spacing: .06em; }
.bottom-bar .btn-login { background: rgba(255,255,255,.03); }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 82px;
  z-index: 80;
  transform: translate(-50%, 8px);
  max-width: calc(100vw - 36px);
  padding: 9px 15px;
  border: 1px solid rgba(24,185,119,.28);
  border-radius: 4px;
  background: rgba(8, 14, 22, .96);
  color: #b9dcff;
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 560px) {
  .page { border-left: 0; border-right: 0; }
  .top-strip { height: 53px; padding: 0 11px; }
  .strip-copy b { font-size: 8px; }
  .strip-copy small { font-size: 6px; }
  .strip-btn { height: 31px; padding: 0 10px; font-size: 7px; }
  .app-header { top: 53px; height: 61px; padding: 0 12px; }
  .brand-mark { width: 25px; height: 25px; }
  .brand-name { font-size: 14px; }
  .btn-login, .btn-register { height: 31px; padding: 0 10px; font-size: 7px; }
  main { padding: 11px 11px 92px; }
  .guide-hero { padding: 20px 15px 18px; border-radius: 14px; }
  .guide-hero h1 { font-size: 30px; }
  .hero-lede { font-size: 10.5px; }
  .hero-actions { gap: 6px; }
  .btn-primary, .btn-secondary { min-height: 42px; font-size: 8px; padding: 0 12px; }
  .phone-stage { height: 322px; }
  .phone { width: 184px; height: 320px; }
  .phone-chip { font-size: 5px; }
  .chip-a { left: 2%; }
  .chip-b { right: 0; }
  .chip-c { right: 0; }
  .contents { margin-top: 11px; }
  .block { padding: 18px 14px; border-radius: 13px; scroll-margin-top: 126px; }
  .block h2 { font-size: 21px; }
  .facts-grid, .money-grid { grid-template-columns: 1fr; }
  .fact p { font-size: 9px; }
  .footer { margin-bottom: 5px; }
  .bottom-bar { height: auto; min-height: 60px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .bottom-bar .btn { min-height: 45px; }
  .toast { bottom: 75px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}


/* Magic Jili age gate */
body.gate-open { overflow: hidden; }
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 45%, rgba(16, 52, 35, .62), rgba(2, 7, 4, .94) 62%),
    rgba(2, 7, 4, .82);
  backdrop-filter: blur(10px);
  transition: opacity .45s, visibility .45s;
}
.age-gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.age-card {
  width: min(400px, 100%);
  padding: 31px 28px 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #0a2418, #04120d);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  text-align: center;
}
.age-kicker { display: block; color: #f1c75b; font-size: 6px; font-weight: 800; letter-spacing: .2em; }
.age-logo { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 17px 0 15px; color: #f1c75b; }
.age-mark { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(241,199,91,.45); font-family: var(--serif); font-size: 19px; }
.age-word { font-family: var(--serif); font-size: 28px; font-weight: 700; letter-spacing: .05em; }
.age-card h2 { margin: 0 0 10px; font-family: var(--serif); font-size: 27px; font-weight: 500; color: #f2f7ef; }
.age-card p { margin: 0 0 19px; color: #9aafa1; font-size: 9.5px; line-height: 1.75; }
.age-actions { display: flex; flex-direction: column; gap: 7px; }
.age-actions .btn { width: 100%; }
.age-card small { display: block; margin-top: 16px; color: rgba(154,175,161,.62); font-size: 6.5px; line-height: 1.6; }
.age-card.is-denied .age-actions { display: none; }


/* Magic Jili visual refinements: green primary + gold accents */
.badge {
  border-color: rgba(241,199,91,.32);
  background: rgba(241,199,91,.07);
  color: #f6d98a;
}
.guide-hero {
  border-color: rgba(120,220,170,.2);
  background:
    radial-gradient(circle at 82% 16%, rgba(24,185,119,.24), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(11,90,60,.28), transparent 52%),
    linear-gradient(150deg, #0c2017 0%, #08150f 58%, #050e0a 100%);
}
.guide-hero::after { border-color: rgba(120,220,170,.16); }
.btn-primary {
  background: linear-gradient(110deg, #0b5a3c, #18b977 50%, #0b5a3c);
  border-color: #7fe6b8;
  color: #f4f9f4;
  box-shadow: 0 10px 28px rgba(24,185,119,.22);
}
.btn-primary:hover {
  background: linear-gradient(110deg, #0d8f5c, #6ee7b0 50%, #0d8f5c);
}
.phone {
  border-color: rgba(127,230,184,.35);
  background: linear-gradient(160deg, #0d1d14, #040b07);
  box-shadow: 0 28px 60px rgba(0,0,0,.55), inset 0 0 0 5px #040b07;
}
.phone-screen {
  background:
    radial-gradient(circle at 50% 0%, rgba(24,185,119,.24), transparent 52%),
    linear-gradient(160deg, #0a1d14, #040c08);
}
.screen-card {
  background: linear-gradient(120deg, rgba(11,90,60,.4), rgba(4,12,8,.62));
}
.screen-card b { color: #b8f3d6; }
.screen-card small { color: #8ab6a0; }
.screen-card span { color: #6e8f7e; }
.screen-logo { color: #e2f3e8; }
.age-actions .btn-ghost {
  min-height: 45px;
  border: 1px solid rgba(241,199,91,.38);
  background: rgba(241,199,91,.04);
  color: #f1c75b;
  font-size: 9px;
  letter-spacing: .06em;
}
.age-actions .btn-ghost:hover {
  border-color: #f1c75b;
  background: rgba(241,199,91,.1);
}


/* App preview gallery */
.app-preview-block { scroll-margin-top: 132px; }
.app-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  justify-content: center;
  gap: 18px;
  margin: 22px 0 12px;
}
.app-shot {
  display: block;
  border: 1px solid rgba(127, 230, 184, .16);
  background: linear-gradient(160deg, #0a1d14, #040c08);
  padding: 7px;
  border-radius: 22px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.app-shot:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 199, 91, .45);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .32);
}
.app-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #06130e;
}
.app-shot span {
  display: block;
  padding: 10px 6px 5px;
  color: #b8d8c8;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
}
.preview-note {
  margin: 12px 0 0;
  color: #6f8f7e;
  font-size: 7.5px;
  line-height: 1.7;
  text-align: center;
}
.external-note {
  margin: 12px 0 0;
  color: rgba(154, 175, 161, .62);
  font-size: 7px;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .app-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .app-shot { padding: 5px; border-radius: 15px; }
  .app-shot img { border-radius: 11px; }
  .app-shot span { font-size: 6.5px; padding-top: 7px; }
}


/* CMS additions */
.main-nav { display:flex; align-items:center; gap:14px; margin-left:auto; }
.main-nav a { color:#9ab3a5; font-size:8px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:6px 0; border-bottom:1px solid transparent; white-space:nowrap; }
.main-nav a:hover, .main-nav a.is-active { color:#f1c75b; border-bottom-color:rgba(241,199,91,.55); }
.menu-btn { display:none; width:34px; height:33px; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.14); border-radius:6px; background:transparent; color:#f1c75b; font-size:15px; cursor:pointer; }
.hero-shot { position:relative; z-index:2; }
.hero-shot img { display:block; width:100%; height:auto; border-radius:18px; border:1px solid rgba(127,230,184,.22); box-shadow:0 24px 55px rgba(0,0,0,.38); }
@media (min-width: 760px) {
  .guide-hero.has-shot { min-height:560px; padding-right:250px; }
  .guide-hero.has-shot .hero-shot { position:absolute; right:18px; top:22px; width:210px; }
  .guide-hero.has-shot .hero-lede { max-width:390px; }
  .guide-hero.has-shot .hero-actions, .guide-hero.has-shot .hero-meta { max-width:420px; }
}
@media (max-width: 759px) {
  .guide-hero.has-shot .hero-shot { width:min(270px, 78%); margin:22px auto 0; }
  .main-nav { display:none; position:absolute; left:0; right:0; top:100%; padding:10px 16px 14px; background:rgba(4,18,12,.98); border-bottom:1px solid rgba(255,255,255,.1); flex-direction:column; align-items:flex-start; gap:0; z-index:90; }
  .main-nav.is-open { display:flex; }
  .main-nav a { width:100%; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.06); }
  .menu-btn { display:flex; }
  .account-actions .btn-login { display:none; }
  .account-actions { margin-left:auto; }
  .app-header { flex-wrap:wrap; }
}
.features-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.feature { padding:13px 12px; border:1px solid rgba(255,255,255,.07); border-radius:10px; background:rgba(255,255,255,.02); }
.feature h3 { margin:0 0 6px; font-size:11.5px; color:#e5f0e9; }
.feature p { margin:0; color:#849f92; font-size:8.5px; line-height:1.7; }
.cta-band { margin:20px 0 14px; padding:20px 18px; display:flex; align-items:center; justify-content:space-between; gap:16px; border:1px solid rgba(241,199,91,.22); border-radius:14px; background:linear-gradient(120deg, rgba(241,199,91,.08), rgba(4,18,12,.5)); }
.cta-band h2 { margin:7px 0 5px; font-family:var(--serif); font-size:20px; font-weight:500; color:#f4e7cf; }
.cta-band p { margin:0; color:#9ab3a5; font-size:8.5px; line-height:1.7; }
.cta-band .btn { flex:0 0 auto; }
.external-note { color:#6f8f7f !important; font-size:7px !important; line-height:1.7 !important; }
.cookie-bar { position:fixed; left:50%; bottom:12px; z-index:500; transform:translateX(-50%); width:min(700px,calc(100% - 24px)); display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 12px; border:1px solid rgba(241,199,91,.25); border-radius:10px; background:rgba(4,18,12,.97); box-shadow:0 12px 35px rgba(0,0,0,.35); }
.cookie-bar p { margin:0; color:#9ab3a5; font-size:8px; line-height:1.5; }
.cookie-bar .btn { min-height:30px; padding:0 12px; font-size:7px; }
.cookie-bar.is-hidden { display:none; }
@media (max-width:600px) {
  .features-grid { grid-template-columns:1fr; }
  .cta-band { flex-direction:column; align-items:flex-start; }
  .cta-band .btn { width:100%; }
  .cookie-bar { flex-direction:column; align-items:flex-start; gap:8px; }
  .cookie-bar .btn { width:100%; }
}


/* Cookie bar button contrast */
.cookie-bar .btn { background: transparent; border: 1px solid rgba(241,199,91,.45); color: #f1c75b; min-height: 30px; padding: 0 12px; }
.cookie-bar .btn:hover { background: rgba(241,199,91,.1); }
.cookie-bar { bottom: 70px; }

.contact-line { margin-top: 10px !important; }
.contact-line a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* APK download panel */
.download-panel { border-color: rgba(127,230,184,.28); background: radial-gradient(circle at 100% 0%, rgba(24,185,119,.12), transparent 55%), rgba(6,28,19,.65); }
.download-panel h2 { margin-bottom: 12px; }
.apk-warning { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid rgba(241,199,91,.65); background: rgba(241,199,91,.05); color: #b8c9bd; font-size: 10px; line-height: 1.7; }
.apk-steps { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: apk; display: flex; flex-direction: column; gap: 10px; }
.apk-steps li { counter-increment: apk; position: relative; padding-left: 33px; color: #b9cabe; font-size: 10px; line-height: 1.65; }
.apk-steps li::before { content: counter(apk); position: absolute; left: 0; top: -1px; width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid rgba(127,230,184,.45); border-radius: 50%; color: #7fe6b8; font-size: 9px; font-weight: 800; }
.apk-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 25px; border-radius: 999px; background: linear-gradient(110deg, #0b5a3c, #18b977 50%, #0b5a3c); border: 1px solid #7fe6b8; color: #f4f9f4; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 10px 28px rgba(24,185,119,.2); }
.apk-button:hover { background: linear-gradient(110deg, #0d8f5c, #6ee7b0 50%, #0d8f5c); }
.apk-button--disabled { background: #24352b; border-color: #3b5243; color: #8fa69a; cursor: not-allowed; box-shadow: none; }
.apk-meta { margin: 10px 0 0; color: #6f8f7f; font-size: 7.5px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 600px) { .apk-button { width: 100%; padding: 0 15px; min-height: 50px; font-size: 10px; } }
