/* =========================================================
   FlashLight Plus — site stylesheet
   Static, no build step. Deploy as-is to Cloudflare Pages.
   ========================================================= */

:root {
  --bg: #030b19;
  --bg-soft: #061020;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef3fc;
  --muted: #96a6c0;
  --muted-2: #6a7c9a;
  --accent: #90c6fe;
  --accent-bright: #cfe7ff;
  --accent-deep: #4c8ee8;
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --shadow-glow: 0 0 60px rgba(144, 198, 254, 0.25);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -8%, rgba(144, 198, 254, 0.12), transparent 55%),
    radial-gradient(circle at 88% 12%, rgba(60, 120, 220, 0.08), transparent 45%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent);
  color: #04101f;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ------------------------------ header ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 8, 12, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--border);
  background: rgba(7, 8, 12, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.brand:hover {
  color: #fff;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 6px 22px rgba(144, 198, 254, 0.28);
}

.brand__plus {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__links a {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__links a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(144, 198, 254, 0.35);
  background: rgba(144, 198, 254, 0.1);
  color: var(--accent-bright);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav__cta:hover {
  background: rgba(144, 198, 254, 0.18);
  border-color: rgba(144, 198, 254, 0.6);
  color: #fff;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
}

.nav__toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav__toggle span::before {
  top: -6px;
}

.nav__toggle span::after {
  top: 6px;
}

.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ------------------------------ hero ------------------------------ */
.hero {
  position: relative;
  padding: 72px 0 84px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(144, 198, 254, 0.9);
  animation: pulse-dot 2.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 5.6vw, 4.15rem);
  letter-spacing: -0.045em;
}

.grad {
  background: linear-gradient(100deg, #eaf5ff 4%, var(--accent) 42%, #6aa6f0 78%, #c86bdc 98%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* keeps descenders from clipping in some engines */
  padding-bottom: 0.06em;
}

.hero__lede {
  margin-top: 22px;
  max-width: 33em;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
}

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

.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.link-quiet:hover {
  color: var(--text);
  gap: 12px;
}

.link-quiet svg {
  transition: transform 0.2s ease;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.86rem;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__trust svg {
  color: var(--accent);
  flex-shrink: 0;
}

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

.store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 20px 10px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  color: var(--text);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease,
    box-shadow 0.22s ease;
}

.store:hover {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(144, 198, 254, 0.5);
  background: linear-gradient(180deg, rgba(144, 198, 254, 0.16), rgba(144, 198, 254, 0.04));
  box-shadow: 0 14px 34px -14px rgba(144, 198, 254, 0.55);
}

.store svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store small {
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.store strong {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

/* ------------------------------ phone mockups ------------------------------ */
.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 470px;
  isolation: isolate;
}

.stage__glow {
  position: absolute;
  inset: 6% -6% 10% -6%;
  background: radial-gradient(circle at 50% 42%, rgba(144, 198, 254, 0.3), rgba(60, 120, 220, 0.10) 42%, transparent 68%);
  filter: blur(18px);
  z-index: -1;
}

.beam {
  position: absolute;
  z-index: -1;
  top: 46%;
  left: 50%;
  width: 130%;
  height: 130%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 200deg at 50% 50%,
    transparent 0deg,
    rgba(170, 212, 255, 0.14) 12deg,
    rgba(144, 198, 254, 0.05) 34deg,
    transparent 60deg
  );
  filter: blur(26px);
  pointer-events: none;
}

.phone {
  position: relative;
  width: 252px;
  /* 9:16 content + 10px bezel on each side */
  aspect-ratio: 252 / 432;
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(155deg, #1b2a44, #060e1c 46%, #16233a);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset,
    0 0 70px -10px rgba(144, 198, 254, 0.28);
}

.phone::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 6px;
  border-radius: 999px;
  background: rgba(8, 14, 26, 0.55);
  z-index: 4;
}

.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
  background: #030b19;
}

.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* floating chips around hero phone */
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(13, 16, 22, 0.86);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.9);
  animation: float 7s ease-in-out infinite;
}

.chip b {
  color: var(--accent);
  font-weight: 700;
}

.chip--a {
  top: 16%;
  left: -2%;
}

.chip--b {
  bottom: 20%;
  right: -1%;
  animation-delay: -2.4s;
}

.chip--c {
  bottom: 6%;
  left: 2%;
  animation-delay: -4.6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* ------------------------------ sections ------------------------------ */
.section {
  padding: 92px 0;
  position: relative;
}

.section--tight {
  padding: 68px 0;
}

.section__head {
  max-width: 620px;
  margin-bottom: 52px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-block;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
}

.section__head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* feature grid */
.grid {
  display: grid;
  gap: 18px;
}

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

.card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.28s ease, transform 0.28s ease, background 0.28s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 120%;
  background: radial-gradient(circle at 30% 0%, rgba(144, 198, 254, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(144, 198, 254, 0.28);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--accent);
  background: rgba(144, 198, 254, 0.12);
  border: 1px solid rgba(144, 198, 254, 0.22);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  margin-bottom: 9px;
}

.card p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* screens showcase */
.screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: end;
  justify-items: center;
}

.screens__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.screens__item .phone {
  width: min(100%, 236px);
  transition: transform 0.4s ease;
}

.screens__item:nth-child(2) .phone {
  transform: translateY(-18px) scale(1.04);
}

.screens__item:hover .phone {
  transform: translateY(-8px);
}

.screens__item:nth-child(2):hover .phone {
  transform: translateY(-26px) scale(1.04);
}

.screens__cap {
  text-align: center;
  max-width: 15em;
}

.screens__cap strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}

.screens__cap span {
  color: var(--muted-2);
  font-size: 0.85rem;
  line-height: 1.55;
  display: block;
}

/* split panel */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.checklist {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.checklist li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.96rem;
}

.checklist li strong {
  color: var(--text);
  font-weight: 600;
}

.check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(144, 198, 254, 0.14);
  border: 1px solid rgba(144, 198, 254, 0.3);
  color: var(--accent);
}

.check svg {
  width: 12px;
  height: 12px;
}

.panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: radial-gradient(circle at 20% 0%, rgba(144, 198, 254, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.025);
  padding: 34px;
}

.specs {
  display: grid;
  gap: 0;
}

.specs__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}

.specs__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.specs__row:first-child {
  padding-top: 0;
}

.specs__row dt {
  color: var(--muted-2);
}

.specs__row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.028);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq details[open] {
  border-color: rgba(144, 198, 254, 0.3);
  background: rgba(144, 198, 254, 0.04);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.99rem;
  letter-spacing: -0.015em;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq__body {
  padding: 0 22px 21px;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq__body p + p {
  margin-top: 10px;
}

/* download band */
.download {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(144, 198, 254, 0.24);
  background: radial-gradient(circle at 50% 0%, rgba(144, 198, 254, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
}

.download::before {
  content: "";
  position: absolute;
  inset: auto 0 -60% 0;
  height: 120%;
  background: radial-gradient(circle at 50% 100%, rgba(252, 55, 199, 0.16), transparent 60%);
  pointer-events: none;
}

.download h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
}

.download p {
  margin: 16px auto 0;
  max-width: 34em;
  color: var(--muted);
}

.download .store-row {
  justify-content: center;
  margin-top: 32px;
}

.download__note {
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.contact-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.contact-card h3 {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-card p,
.contact-card a {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.contact-card a:hover {
  color: var(--accent-bright);
}

/* ------------------------------ footer ------------------------------ */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  padding: 62px 0 34px;
  margin-top: 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
  gap: 48px;
}

.footer__brand p {
  margin-top: 16px;
  max-width: 30em;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.footer__col h4 {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer__col li + li {
  margin-top: 10px;
}

.footer__col a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__col a:hover {
  color: var(--text);
}

.footer__legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.82rem;
  display: grid;
  gap: 8px;
}

.footer__legal address {
  font-style: normal;
  line-height: 1.7;
}

.footer__bottom {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.8rem;
}

/* ------------------------------ legal pages ------------------------------ */
.legal {
  padding: 68px 0 40px;
}

.legal__head {
  max-width: 800px;
  margin-inline: auto;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.legal__head h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.legal__meta {
  color: var(--muted-2);
  font-size: 0.87rem;
}

.legal__body {
  max-width: 800px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.97rem;
  padding-top: 34px;
}

.legal__body h2 {
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  margin: 38px 0 12px;
  color: var(--text);
}

.legal__body h3 {
  font-size: 1rem;
  margin: 24px 0 8px;
  color: var(--text);
}

.legal__body p + p,
.legal__body p + ul,
.legal__body ul + p {
  margin-top: 12px;
}

.legal__body ul {
  list-style: disc;
  padding-left: 22px;
}

.legal__body li {
  margin-top: 7px;
}

.legal__body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.9rem;
}

.legal__body th,
.legal__body td {
  text-align: left;
  padding: 11px 12px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.legal__body th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
}

.legal__body td {
  color: var(--muted);
}

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

.legal__toc {
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
}

.legal__toc ol {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.legal__toc li {
  margin-top: 6px;
}

.legal__toc a {
  color: var(--muted);
}

.legal__toc a:hover {
  color: var(--accent-bright);
}

/* ------------------------------ 404 ------------------------------ */
.error-page {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}

.error-page__code {
  font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  background: linear-gradient(100deg, #eaf5ff, var(--accent) 46%, #c86bdc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page p {
  margin: 18px auto 0;
  max-width: 30em;
  color: var(--muted);
}

.error-page .btn {
  margin-top: 30px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #e4f1ff, var(--accent) 52%, var(--accent-deep));
  color: #04101f;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
  box-shadow: 0 12px 30px -14px rgba(144, 198, 254, 0.8);
}

.btn:hover {
  color: #04101f;
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px -14px rgba(144, 198, 254, 0.9);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: none;
}

.btn--ghost:hover {
  color: #fff;
  background: var(--surface-2);
  box-shadow: none;
}

/* ------------------------------ reveal animation ------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------ responsive ------------------------------ */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero {
    padding-top: 52px;
  }

  .stage {
    min-height: 460px;
  }

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

  .split {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .nav__links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 18px 22px;
    background: rgba(8, 9, 13, 0.98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 13px 12px;
    font-size: 1rem;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .screens {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .screens__item:nth-child(2) .phone {
    transform: none;
  }

  .screens__item:nth-child(2):hover .phone {
    transform: translateY(-8px);
  }

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

@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }

  .section--tight {
    padding: 52px 0;
  }

  .wrap {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
  }

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

  .hero__trust {
    gap: 10px 18px;
    font-size: 0.82rem;
  }

  .stage {
    min-height: 430px;
  }

  /* the floating chips crowd the phone at this width */
  .chip {
    display: none;
  }

  .download {
    padding: 44px 22px;
    border-radius: 20px;
  }

  .panel {
    padding: 24px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .store {
    flex: 1;
    justify-content: center;
    min-width: 160px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .download,
  .hero__actions {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
