/* ============================================================
   Awazon Market clearnet portal
   Dark, blocky, cinematic. Fonts: Oswald (display), Geologica (body).
   ============================================================ */

:root {
  --bg: #05070c;
  --bg-2: #090d15;
  --panel: #0c111c;
  --panel-2: #101725;
  --line: #1a2334;
  --line-2: #263349;
  --text: #e9edf5;
  --soft: #c6cede;
  --muted: #93a0b8;
  --blue: #2f81f7;
  --blue-2: #0066cc;
  --green: #2ecc71;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --font-body: "Geologica", "Segoe UI", sans-serif;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
}

@import url("/assets/fonts/fonts.css");

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

::selection {
  background: rgba(47, 129, 247, 0.35);
  color: #fff;
}

/* ---------- layout ---------- */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.main {
  padding-top: 64px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- topbar ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 64px;
  background: rgba(5, 7, 12, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  flex-shrink: 0;
}

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

.brand__mark {
  width: 30px;
  height: 30px;
}

.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.08em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__text small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--muted);
}

.mainnav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.mainnav__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid transparent;
  padding: 9px 14px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.mainnav__link:hover {
  color: var(--text);
  border-color: var(--line-2);
}

.mainnav__link.is-active {
  color: #fff;
  background: var(--blue-2);
  border-color: var(--blue-2);
}

.topbar__cta {
  padding: 10px 20px;
  font-size: 12px;
  flex-shrink: 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn:hover {
  border-color: var(--blue);
  color: #fff;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--blue-2);
  border-color: var(--blue-2);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* ---------- burger / mobile menu ---------- */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobilemenu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(5, 7, 12, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobilemenu[hidden] {
  display: none;
}

.mobilemenu__inner {
  padding: 96px 24px 40px;
  display: flex;
  flex-direction: column;
}

.mobilemenu__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.mobilemenu__link:hover {
  color: var(--blue);
}

.mobilemenu__cta {
  margin-top: 28px;
}

/* ---------- dot nav (home, desktop) ---------- */

.dotnav {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dotnav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.dotnav__item i {
  width: 8px;
  height: 8px;
  border: 1px solid var(--line-2);
  transform: rotate(45deg);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
  flex-shrink: 0;
}

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

.dotnav__item.is-active {
  color: var(--text);
}

.dotnav__item.is-active i {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 12px rgba(47, 129, 247, 0.7);
}

/* ---------- breadcrumbs ---------- */

.crumbs {
  padding: 20px 0 0;
}

.crumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.crumbs__item a {
  color: var(--muted);
  transition: color 0.2s;
}

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

.crumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--line-2);
}

.crumbs__item.is-current {
  color: var(--soft);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(0, 102, 204, 0.22), transparent 65%),
    radial-gradient(700px 420px at 85% 110%, rgba(47, 129, 247, 0.10), transparent 60%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(38, 51, 73, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 51, 73, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  animation: gridDrift 24s linear infinite;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  width: 100%;
  padding: 72px 0 96px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-2);
  background: rgba(12, 17, 28, 0.7);
  padding: 8px 18px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.badge i {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2.2s ease-out infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 11vw, 8rem);
  letter-spacing: 0.035em;
  line-height: 0.95;
  margin: 26px 0 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero__swoosh {
  width: clamp(190px, 30vw, 330px);
  margin: 10px auto 0;
}

.hero__sub {
  max-width: 620px;
  margin: 26px auto 0;
  font-weight: 300;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero .mirrorpanel {
  margin-top: 36px;
}

.hero__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.scrollhint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--line-2);
  animation: bounce 2.4s ease-in-out infinite;
}

.scrollhint i {
  width: 10px;
  height: 10px;
  border: 1px solid var(--line-2);
  transform: rotate(45deg);
}

.scrollhint svg {
  width: 18px;
  height: 10px;
}

/* ---------- mirror panel ---------- */

.mirrorpanel {
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: rgba(12, 17, 28, 0.75);
  text-align: left;
}

.mirror {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.mirror:last-of-type {
  border-bottom: 0;
}

.mirror__addr {
  flex: 1;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}

.mirror__copy {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 1px solid var(--line-2);
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.mirror__copy:hover {
  color: #fff;
  border-color: var(--blue);
}

.mirror__copy.is-done {
  color: var(--green);
  border-color: var(--green);
}

.mirror__meta {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

/* ---------- ticker ---------- */

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 12px 0;
}

.ticker__track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 46s linear infinite;
}

.ticker__item {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.ticker__item::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--line-2);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

/* ---------- sections ---------- */

.section {
  padding: 88px 0;
}

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

.section__head {
  margin-bottom: 40px;
  max-width: 720px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--blue);
  transform: rotate(45deg);
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}

.section__lead {
  color: var(--muted);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* ---------- cards / grids ---------- */

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 28px 26px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  background: var(--panel-2);
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  margin: 0 0 12px;
}

.card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

.card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--blue);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 18px;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px 24px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}

.step:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}

.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--line-2);
  margin-bottom: 14px;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.step p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

/* ---------- prose (inner pages) ---------- */

.prose {
  max-width: 780px;
}

.prose h2 {
  font-size: 1.55rem;
  margin: 44px 0 16px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--soft);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.75;
}

.prose li {
  margin-bottom: 10px;
}

.prose li::marker {
  color: var(--blue);
}

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

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page {
  padding: 40px 0 80px;
}

.page__head {
  margin-bottom: 36px;
  max-width: 780px;
}

.page__head p {
  color: var(--muted);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* ---------- faq ---------- */

.faq {
  max-width: 780px;
}

.faq details {
  border: 1px solid var(--line);
  background: var(--panel);
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.faq details[open] {
  border-color: var(--line-2);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.2s;
}

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

.faq summary:hover {
  color: var(--blue);
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 22px;
  color: var(--muted);
  transition: transform 0.25s, color 0.25s;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--blue);
}

.faq__a {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq__a p {
  margin: 0 0 12px;
}

.faq__a p:last-child {
  margin-bottom: 0;
}

/* ---------- reviews ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 980px;
}

.review {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px 24px;
  transition: border-color 0.25s, transform 0.25s;
}

.review:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

.review__text {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.review__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.review__name {
  color: var(--text);
  font-weight: 600;
}

.review__flag {
  width: 6px;
  height: 6px;
  background: var(--blue);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- journal / posts ---------- */

.postlist {
  border-top: 1px solid var(--line);
}

.post {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

.post:hover {
  background: rgba(12, 17, 28, 0.5);
}

.post__date {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding-top: 4px;
}

.post__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin: 0 0 8px;
  transition: color 0.2s;
}

.post:hover .post__title {
  color: var(--blue);
}

.post__excerpt {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- article ---------- */

.article {
  max-width: 780px;
}

.article__meta {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 0 0 34px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article__meta i {
  width: 6px;
  height: 6px;
  background: var(--blue);
  transform: rotate(45deg);
}

.article h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin: 44px 0 16px;
}

.article p {
  color: var(--soft);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.article__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 6px;
}

.article__back:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.article__related {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.article__related h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: var(--muted);
}

/* ---------- status ---------- */

.statusline {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px 26px;
  max-width: 620px;
  margin-bottom: 40px;
}

.pulse {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2.2s ease-out infinite;
  flex-shrink: 0;
}

.statusline__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.statusline__sub {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 400;
  margin-top: 4px;
}

/* ---------- 404 ---------- */

.nf {
  text-align: center;
  padding: 110px 0 90px;
}

.nf__code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  color: var(--line-2);
  margin: 0;
}

.nf h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  margin: 18px 0 14px;
}

.nf p {
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 32px;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  margin-top: auto;
}

.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__note {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  margin: 18px 0 0;
  max-width: 300px;
}

.footer__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__col a {
  color: var(--soft);
  font-size: 14px;
  transition: color 0.2s;
  width: fit-content;
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

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

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

/* ---------- animations ---------- */

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes gridDrift {
  to { background-position: 44px 44px, 44px 44px; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

.anim {
  animation: fadeUp 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.anim-1 { animation-delay: 0.05s; }
.anim-2 { animation-delay: 0.15s; }
.anim-3 { animation-delay: 0.25s; }
.anim-4 { animation-delay: 0.35s; }
.anim-5 { animation-delay: 0.45s; }
.anim-6 { animation-delay: 0.55s; }

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- responsive ---------- */

@media (max-width: 1200px) {
  .dotnav {
    display: none;
  }
}

@media (max-width: 1024px) {
  .grid-3,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .mainnav,
  .topbar__cta {
    display: none;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }

  .section {
    padding: 64px 0;
  }
}

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

  .topbar__inner {
    padding: 0 18px;
  }

  .grid-3,
  .grid-2,
  .steps,
  .reviews {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    padding: 56px 0 88px;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .mirror {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .mirror__copy {
    align-self: flex-start;
  }

  .post {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .post__date {
    padding-top: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

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

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

  .anim,
  html.js .reveal,
  .ticker__track,
  .scrollhint,
  .badge i,
  .pulse,
  .hero::before {
    animation: none !important;
  }

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

  * {
    transition-duration: 0.01ms !important;
  }
}
