:root {
  color-scheme: dark;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: #f7f9ff;
  background: #050d24;
  --ink: #f8fbff;
  --muted: rgba(222, 233, 255, .74);
  --muted-strong: rgba(235, 242, 255, .86);
  --line: rgba(170, 201, 255, .14);
  --line-strong: rgba(113, 222, 255, .28);
  --surface: rgba(7, 20, 58, .76);
  --cyan: #74def4;
  --indigo: #6270ee;
  --gold: #ffd86b;
  --shadow: 0 30px 86px rgba(0, 5, 27, .32);
  --shadow-soft: 0 18px 50px rgba(0, 6, 34, .22);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 6%, rgba(53, 204, 235, .12), transparent 27rem),
    radial-gradient(circle at 90% 34%, rgba(91, 82, 218, .17), transparent 36rem),
    radial-gradient(circle at 54% 92%, rgba(29, 84, 197, .12), transparent 32rem),
    linear-gradient(145deg, rgba(3, 9, 29, .99), rgba(11, 27, 79, .96) 50%, rgba(20, 52, 143, .9)),
    url("/assets/assets/education_network_background.jpg") center / cover fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  opacity: .25;
  background-image:
    linear-gradient(rgba(133, 203, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 203, 255, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  top: -18rem;
  left: -14rem;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: .18;
  background: radial-gradient(circle, rgba(78, 217, 240, .32), rgba(75, 94, 220, .09) 45%, transparent 70%);
  filter: blur(18px);
  animation: aurora-float 30s var(--ease) infinite alternate;
}
::selection { color: #07112d; background: var(--cyan); }
a { color: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.wrap { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* Navigation */
.site-header {
  position: sticky;
  z-index: 50;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 14px;
  padding: 11px 13px 11px 16px;
  border: 1px solid rgba(164, 206, 255, .17);
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(6, 17, 49, .9), rgba(14, 34, 89, .76));
  box-shadow: 0 18px 50px rgba(0, 7, 32, .25), inset 0 1px rgba(255, 255, 255, .055);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  animation: reveal-down .8s var(--ease) both;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 25%, rgba(103, 232, 249, .075), transparent 72%);
  background-size: 220% 100%;
  opacity: .62;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; color: #fff; font-size: 16px; font-weight: 900; letter-spacing: -.2px; text-decoration: none; }
.brand img {
  width: 49px;
  height: 49px;
  border: 1px solid rgba(255, 216, 107, .6);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(1, 6, 27, .35), 0 0 0 4px rgba(255, 216, 107, .065);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.brand:hover img { transform: translateY(-2px) rotate(-3deg) scale(1.035); box-shadow: 0 14px 34px rgba(1, 6, 27, .4), 0 0 0 5px rgba(255, 216, 107, .11); }
.nav, .header-links { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.nav a, .header-links a {
  position: relative;
  padding: 11px 14px;
  border-radius: 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .3s ease, background-color .3s ease, transform .3s var(--ease);
}
.nav a::after, .header-links .guide-link::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transition: width .35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"], .header-links .guide-link:hover { color: #fff; background: rgba(255, 255, 255, .075); }
.nav a:hover::after, .nav a[aria-current="page"]::after, .header-links .guide-link:hover::after { width: calc(100% - 28px); }
.nav .app-link, .header-links .open-app {
  overflow: hidden;
  border: 1px solid rgba(123, 231, 255, .25);
  color: #fff;
  background: linear-gradient(135deg, rgba(75, 92, 255, .92), rgba(34, 180, 226, .78));
  box-shadow: 0 10px 28px rgba(52, 91, 238, .24);
}
.nav .app-link::before, .header-links .open-app::before, .button.primary::before, .stores a::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -40%;
  width: 32%;
  height: 260%;
  transform: rotate(24deg);
  background: rgba(255, 255, 255, .28);
  transition: left .7s var(--ease);
}
.nav .app-link:hover, .header-links .open-app:hover { transform: translateY(-2px); }
.nav .app-link:hover::before, .header-links .open-app:hover::before, .button.primary:hover::before, .stores a:hover::before { left: 125%; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 28px 4px 0; color: rgba(224, 235, 255, .58); font-size: 13px; animation: reveal-up .65s .12s var(--ease) both; }
.breadcrumbs a { padding: 6px 5px; border-radius: 8px; text-decoration: none; transition: color .25s ease, background-color .25s ease; }
.breadcrumbs a:hover { color: var(--cyan); background: rgba(255, 255, 255, .05); }
.breadcrumbs span { margin-inline: 5px; color: var(--gold); opacity: .75; }

/* Hero */
main { position: relative; }
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(76px, 10vw, 132px) clamp(4px, 3vw, 38px) clamp(78px, 8vw, 110px);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 11%;
  left: 2%;
  width: clamp(210px, 34vw, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(111, 233, 255, .12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89, 104, 255, .22), transparent 55%), conic-gradient(from 45deg, transparent, rgba(108, 234, 255, .14), transparent 32%, rgba(255, 216, 107, .1), transparent 72%);
  box-shadow: inset 0 0 80px rgba(93, 203, 255, .08), 0 0 90px rgba(61, 100, 255, .08);
  animation: orbital-turn 52s linear infinite;
}
.hero::after { content: ""; position: absolute; z-index: -1; left: 8%; bottom: 22%; width: 68px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 14px rgba(255, 216, 107, .72); animation: pulse-line 6s ease-in-out infinite; }
.eyebrow, .tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(109, 234, 255, .22);
  border-radius: 999px;
  color: #c8f9ff;
  background: linear-gradient(115deg, rgba(42, 211, 238, .09), rgba(255, 255, 255, .04));
  box-shadow: inset 0 1px rgba(255, 255, 255, .055);
  font-size: 14px;
  font-weight: 800;
  animation: reveal-up .7s .16s var(--ease) both;
}
.eyebrow::before, .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(255, 216, 107, .08), 0 0 14px rgba(255, 216, 107, .48); animation: status-pulse 4.8s ease-out infinite; }
.hero h1 {
  max-width: 930px;
  margin: 22px 0 17px;
  color: #fff;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 950;
  line-height: 1.14;
  letter-spacing: -2px;
  text-wrap: balance;
  text-shadow: 0 18px 45px rgba(0, 7, 36, .34);
  animation: reveal-up .78s .24s var(--ease) both;
}
@supports (-webkit-background-clip: text) {
  .hero h1 { color: transparent; background: linear-gradient(110deg, #fff 8%, #dbe9ff 52%, #9ce7f5 82%, #fff 96%); -webkit-background-clip: text; background-clip: text; animation: reveal-up .78s .24s var(--ease) both; }
}
.hero .lead { max-width: 890px; margin: 0; color: var(--muted-strong); font-size: clamp(17px, 2.05vw, 21px); line-height: 2; text-wrap: pretty; animation: reveal-up .78s .34s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; animation: reveal-up .78s .43s var(--ease) both; }
.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 21px;
  border: 1px solid rgba(171, 207, 255, .19);
  border-radius: 15px;
  color: #f3f7ff;
  background: rgba(255, 255, 255, .075);
  box-shadow: inset 0 1px rgba(255, 255, 255, .055);
  font-weight: 850;
  text-decoration: none;
  transition: transform .3s var(--ease), border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(109, 234, 255, .34); background: rgba(255, 255, 255, .095); box-shadow: 0 13px 31px rgba(0, 7, 35, .2), inset 0 1px rgba(255, 255, 255, .08); }
.button.primary { color: #071539; background: linear-gradient(135deg, #fff, #dff8ff 54%, #bceeff); box-shadow: 0 16px 40px rgba(49, 191, 240, .2), inset 0 1px #fff; }

/* Cards and sections */
.section { padding: 32px 0 84px; }
.section-head { position: relative; max-width: 850px; margin-bottom: 30px; padding-right: 19px; }
.section-head::before { content: ""; position: absolute; top: 5px; right: 0; width: 4px; height: 48px; border-radius: 999px; background: linear-gradient(var(--gold), var(--cyan)); box-shadow: 0 0 20px rgba(109, 234, 255, .25); }
.section-head h2 { margin: 0 0 12px; color: #fff; font-size: clamp(29px, 4vw, 44px); line-height: 1.3; text-wrap: balance; }
.section-head p { margin: 0; color: var(--muted); line-height: 1.95; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card, .feature {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), transparent 42%), var(--surface);
  box-shadow: var(--shadow-soft), inset 0 1px rgba(255, 255, 255, .055);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  transition: transform .45s var(--ease), border-color .45s ease, box-shadow .45s ease, background-color .45s ease;
  animation: card-enter .72s var(--ease) backwards;
}
.card:nth-child(2), .feature:nth-child(2) { animation-delay: .09s; }
.card:nth-child(3), .feature:nth-child(3) { animation-delay: .18s; }
.card:nth-child(4), .feature:nth-child(4) { animation-delay: .27s; }
.card::before, .feature::before { content: ""; position: absolute; top: -80px; left: -90px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(94, 229, 255, .18), transparent 68%); opacity: .65; transition: transform .6s var(--ease), opacity .4s ease; }
.card::after, .feature::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(120deg, transparent 28%, rgba(255, 255, 255, .075), transparent 54%); transform: translateX(120%); transition: transform .75s var(--ease); }
.card:hover, .feature:hover { transform: translateY(-5px); border-color: var(--line-strong); background-color: rgba(9, 24, 68, .86); box-shadow: 0 27px 65px rgba(0, 7, 33, .32), 0 0 0 1px rgba(109, 234, 255, .045) inset; }
.card:hover::before, .feature:hover::before { transform: translate(30px, 24px) scale(1.18); opacity: .95; }
.card:hover::after, .feature:hover::after { transform: translateX(-120%); }
.card .number, .feature span { position: relative; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255, 216, 107, .38); border-radius: 14px; color: #fff2bb; background: linear-gradient(145deg, rgba(255, 216, 107, .19), rgba(255, 216, 107, .08)); box-shadow: 0 12px 26px rgba(0, 8, 35, .24), inset 0 1px rgba(255, 255, 255, .1); font-weight: 950; }
.card h2, .card h3, .feature h2 { position: relative; margin: 20px 0 10px; color: #fff; line-height: 1.45; }
.card p, .card li, .feature p { position: relative; color: var(--muted); line-height: 1.9; }
.card ul { margin: 12px 0 0; padding-right: 19px; }
.card-link { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: #bdf7ff; font-weight: 850; text-decoration: none; transition: color .25s ease, transform .3s var(--ease); }
.card-link:hover { color: var(--gold); transform: translateX(-4px); }

/* Long-form guides */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 26px; padding: 28px 0 86px; }
.article {
  position: relative;
  overflow: hidden;
  padding: clamp(27px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 95% 0, rgba(88, 104, 255, .1), transparent 28rem), rgba(6, 16, 49, .82);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .045);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: reveal-up .8s .12s var(--ease) both;
}
.article::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), var(--indigo), var(--gold), transparent); opacity: .8; }
.article > h1 { margin: 22px 0 18px; color: #fff; font-size: clamp(34px, 5vw, 58px); line-height: 1.3; text-wrap: balance; }
.article h2 { position: relative; margin: 52px 0 16px; padding-right: 18px; color: #fff; font-size: clamp(25px, 3vw, 35px); line-height: 1.45; text-wrap: balance; }
.article h2::before { content: ""; position: absolute; top: .35em; right: 0; width: 5px; height: 1.25em; border-radius: 999px; background: linear-gradient(var(--gold), var(--cyan)); box-shadow: 0 0 16px rgba(109, 234, 255, .25); }
.article h2:first-child { margin-top: 0; }
.article h3 { margin: 31px 0 10px; color: #fff; font-size: 22px; }
.article p, .article li { color: var(--muted-strong); font-size: 16.5px; line-height: 2.05; }
.article li { padding-right: 4px; margin-bottom: 6px; }
.article li::marker { color: var(--cyan); font-weight: 900; }
.article ul, .article ol { padding-right: 25px; }
.note { position: relative; overflow: hidden; margin: 28px 0; padding: 20px 23px; border: 1px solid rgba(109, 234, 255, .17); border-right: 4px solid var(--cyan); border-radius: 16px; color: #ebfcff; background: linear-gradient(110deg, rgba(52, 200, 238, .14), rgba(89, 104, 255, .075)); box-shadow: inset 0 1px rgba(255, 255, 255, .045); line-height: 1.95; }
.note::after { content: ""; position: absolute; top: -45px; left: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(109, 234, 255, .08); filter: blur(3px); }
.toc {
  position: sticky;
  top: 106px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(10, 24, 71, .86), rgba(6, 15, 47, .8));
  box-shadow: var(--shadow-soft), inset 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: reveal-left .8s .24s var(--ease) both;
}
.toc::before { content: ""; position: absolute; top: 0; right: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--cyan), transparent); }
.toc strong { display: block; margin-bottom: 13px; color: #fff; font-size: 16px; }
.toc a { position: relative; display: block; padding: 9px 14px 9px 7px; border-radius: 10px; color: var(--muted); font-size: 14px; text-decoration: none; transition: color .25s ease, background-color .25s ease, transform .25s var(--ease); }
.toc a::before { content: ""; position: absolute; top: 50%; right: 2px; width: 5px; height: 5px; border-radius: 50%; background: rgba(109, 234, 255, .42); transform: translateY(-50%); transition: background-color .25s ease, box-shadow .25s ease; }
.toc a:hover { color: #fff; background: rgba(255, 255, 255, .055); transform: translateX(-3px); }
.toc a:hover::before { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.faq details { overflow: hidden; margin-top: 12px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255, 255, 255, .045); transition: border-color .3s ease, background-color .3s ease, transform .3s var(--ease); }
.faq details:hover { border-color: rgba(109, 234, 255, .25); transform: translateY(-1px); }
.faq details[open] { border-color: rgba(109, 234, 255, .3); background: rgba(65, 105, 215, .09); }
.faq summary { position: relative; cursor: pointer; padding: 19px 20px 19px 48px; color: #f8fbff; font-weight: 850; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 50%; left: 18px; display: grid; width: 23px; height: 23px; place-items: center; border-radius: 8px; color: var(--cyan); background: rgba(109, 234, 255, .08); transform: translateY(-50%); transition: transform .35s var(--ease), color .3s ease, background-color .3s ease; }
.faq details[open] summary::after { color: #071539; background: var(--gold); transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 20px; }

/* Calls to action */
.cta, .download {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 28px 0 76px;
  padding: clamp(34px, 6vw, 62px);
  border: 1px solid rgba(143, 213, 255, .2);
  border-radius: var(--radius-xl);
  text-align: center;
  background: radial-gradient(circle at 16% 20%, rgba(109, 234, 255, .18), transparent 17rem), radial-gradient(circle at 90% 90%, rgba(255, 216, 107, .11), transparent 18rem), linear-gradient(135deg, rgba(73, 89, 243, .36), rgba(7, 19, 61, .92));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .06);
  animation: reveal-up .8s var(--ease) both;
}
.cta::before, .download::before { content: ""; position: absolute; z-index: -1; top: -9rem; left: -7rem; width: 22rem; height: 22rem; border: 1px solid rgba(109, 234, 255, .13); border-radius: 50%; box-shadow: 0 0 0 32px rgba(109, 234, 255, .02), 0 0 0 68px rgba(109, 234, 255, .014); }
.cta h2, .download h2 { margin: 0 0 12px; color: #fff; font-size: clamp(29px, 4.5vw, 46px); line-height: 1.35; text-wrap: balance; }
.cta p, .download p { max-width: 760px; margin: 0 auto 25px; color: var(--muted-strong); line-height: 1.9; }
.site-footer { padding: 32px 0 42px; border-top: 1px solid var(--line); color: rgba(225, 235, 255, .58); text-align: center; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px 18px; margin-bottom: 14px; }
.footer-links a { position: relative; color: rgba(228, 238, 255, .72); text-decoration: none; transition: color .25s ease; }
.footer-links a:hover { color: var(--cyan); }

/* About page */
.about-page .hero { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(260px, .84fr); align-items: center; gap: clamp(38px, 7vw, 90px); }
.about-page .hero > div:first-child { position: relative; z-index: 2; }
.hero-logo {
  position: relative;
  justify-self: center;
  display: grid;
  width: min(328px, 72vw);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(152, 218, 255, .17);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 80, 255, .24), rgba(24, 61, 156, .12) 45%, rgba(255, 255, 255, .025) 64%), conic-gradient(from 15deg, transparent 0 12%, rgba(109, 234, 255, .24) 17%, transparent 24% 59%, rgba(255, 216, 107, .2) 66%, transparent 73%);
  box-shadow: inset 0 0 80px rgba(97, 226, 246, .09), 0 36px 90px rgba(0, 7, 38, .38);
  animation: logo-float 9s ease-in-out infinite;
}
.hero-logo::before, .hero-logo::after { content: ""; position: absolute; border: 1px solid rgba(169, 221, 255, .12); border-radius: 50%; animation: orbital-turn 42s linear infinite; }
.hero-logo::before { inset: 25px; border-style: dashed; }
.hero-logo::after { inset: 56px; border-color: rgba(255, 216, 107, .2); animation-direction: reverse; animation-duration: 34s; }
.hero-logo img { position: relative; z-index: 1; width: 132px; height: 132px; border: 1px solid rgba(255, 216, 107, .44); border-radius: 37px; background: #080812; box-shadow: 0 26px 68px rgba(0, 0, 0, .4), 0 0 0 9px rgba(255, 255, 255, .035), 0 0 65px rgba(91, 119, 255, .22); }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 10px 0 86px; }
.feature { min-height: 224px; }
.feature h2 { font-size: 20px; }
.feature p { margin-bottom: 0; }
.stores { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.stores a {
  position: relative;
  overflow: hidden;
  min-width: 190px;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 15px;
  color: #0a1739;
  background: linear-gradient(135deg, #fff, #e9f7ff);
  box-shadow: 0 14px 38px rgba(0, 7, 35, .28);
  font-weight: 900;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.stores a:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(0, 7, 35, .34); }

@supports (animation-timeline: view()) {
  .section-head, .section .grid, .cta, .download, .features { animation: scroll-reveal linear both; animation-timeline: view(); animation-range: entry 6% cover 27%; }
}

@keyframes reveal-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal-down { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal-left { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }
@keyframes card-enter { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes scroll-reveal { from { opacity: 0; transform: translateY(38px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes aurora-float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(8rem, 5rem, 0) scale(1.15); } }
@keyframes orbital-turn { to { transform: rotate(360deg); } }
@keyframes pulse-line { 0%, 100% { opacity: .35; transform: scaleX(.7); } 50% { opacity: 1; transform: scaleX(1.35); } }
@keyframes status-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 216, 107, .28), 0 0 16px rgba(255, 216, 107, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 216, 107, 0), 0 0 18px rgba(255, 216, 107, .35); } }
@keyframes logo-float { 0%, 100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-8px) rotate(.5deg); } }

@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: relative; top: 0; grid-row: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc strong { grid-column: 1 / -1; }
  .features { grid-template-columns: 1fr 1fr; }
  .about-page .hero { grid-template-columns: minmax(0, 1fr) minmax(220px, .65fr); gap: 28px; }
  .hero-logo { width: min(260px, 64vw); }
}
@media (max-width: 720px) {
  body { background-attachment: scroll; }
  .wrap { width: min(100% - 28px, 1200px); }
  .site-header { top: 8px; margin-top: 8px; padding: 9px 10px 9px 12px; border-radius: 18px; }
  .brand img { width: 43px; height: 43px; border-radius: 13px; }
  .nav a, .header-links a { padding: 10px 11px; font-size: 13px; }
  .nav a:not(.app-link), .header-links .guide-link { display: none; }
  .hero { min-height: auto; padding-top: 66px; padding-bottom: 70px; }
  .hero h1 { letter-spacing: -1px; }
  .hero::before { top: 6%; left: -22%; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .card, .feature { padding: 23px; }
  .toc { grid-template-columns: minmax(0, 1fr); }
  .toc strong { grid-column: auto; }
  .article { border-radius: 25px; }
  .about-page .hero { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .about-page .hero > div:first-child { display: flex; flex-direction: column; align-items: center; }
  .about-page .hero-logo { grid-row: 1; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .feature { min-height: 0; }
}
@media (max-width: 470px) {
  .brand span { display: none; }
  .hero h1 { font-size: clamp(37px, 12vw, 53px); }
  .hero .lead { font-size: 16px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .section { padding-bottom: 58px; }
  .article { padding: 24px 20px; }
  .article h2 { padding-right: 15px; }
  .cta, .download { margin-bottom: 58px; padding: 32px 21px; border-radius: 25px; }
  .stores, .stores a { width: 100%; }
  .hero-logo { width: min(220px, 70vw); }
  .hero-logo img { width: 105px; height: 105px; border-radius: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .card:hover, .feature:hover, .button:hover, .stores a:hover { transform: none; }
}
