:root {
  --bg: #140a08;
  --bg-2: #1e100c;
  --panel: #2a1610;
  --panel-2: #3a2118;
  --gold: #e8b84a;
  --gold-2: #f5d078;
  --gold-dark: #b8862b;
  --cream: #f7e7c7;
  --muted: #c9b59a;
  --line: rgba(232, 184, 74, 0.28);
  --green: #2ecc71;
  --blue: #3b82f6;
  --danger: #e74c3c;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1120px;
  --font: "Sora", system-ui, sans-serif;
  --display: "Cinzel", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--cream);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 184, 74, 0.18), transparent 55%),
    radial-gradient(circle at 90% 20%, rgba(180, 60, 40, 0.18), transparent 35%),
    linear-gradient(180deg, #1a0d09 0%, #0f0705 45%, #160b08 100%);
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-2);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(20, 10, 8, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--gold);
  object-fit: cover;
  box-shadow: 0 0 16px rgba(232, 184, 74, 0.35);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.btn-download-mobile {
  display: inline-flex;
  padding: 0.55rem 0.95rem !important;
  font-size: 0.82rem !important;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-dark));
  color: #1a0d09;
  box-shadow: 0 10px 30px rgba(232, 184, 74, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold-2);
  border: 1px solid var(--gold);
}

.btn-blue {
  background: linear-gradient(135deg, #5aa0ff, #2563eb);
  color: #fff;
}

.hero {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.brand-mark {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 0.85rem;
  background: linear-gradient(90deg, #fff6df, var(--gold), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
  animation: rise 0.8s ease both;
}

.hero h1,
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  color: #fff;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(42, 22, 16, 0.8);
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.phone-frame {
  position: relative;
  border-radius: 28px;
  padding: 0.55rem;
  background: linear-gradient(160deg, rgba(232, 184, 74, 0.55), rgba(80, 40, 20, 0.2));
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.phone-frame img {
  border-radius: 22px;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

.breadcrumb a {
  color: var(--muted);
}

.layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.75rem;
  padding-bottom: 3rem;
}

.article {
  background: linear-gradient(180deg, rgba(42, 22, 16, 0.92), rgba(26, 14, 10, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.article h2 {
  font-family: var(--display);
  color: var(--gold-2);
  font-size: 1.55rem;
  margin: 2rem 0 0.85rem;
  line-height: 1.3;
}

.article h2:first-child {
  margin-top: 0.4rem;
}

.article h3 {
  color: #fff;
  font-size: 1.15rem;
  margin: 1.5rem 0 0.65rem;
}

.article p,
.article li {
  color: #e8d7bf;
  font-size: 1.02rem;
}

.article ul,
.article ol {
  padding-left: 1.2rem;
}

.article li {
  margin-bottom: 0.45rem;
}

.shot {
  margin: 1.4rem 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.shot img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: top;
}

.shot figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.35);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.steps li {
  position: relative;
  padding: 1rem 1rem 1rem 3.4rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-dark));
  color: #1a0d09;
  font-weight: 800;
  font-size: 0.85rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0;
  border-radius: 14px;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: rgba(232, 184, 74, 0.12);
  color: var(--gold-2);
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.7rem;
  background: rgba(0, 0, 0, 0.2);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.side-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
}

.side-card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  color: var(--gold-2);
  font-size: 1.05rem;
}

.side-card ol,
.side-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.side-card a {
  display: block;
  padding: 0.35rem 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.feature,
.mini-card {
  background: linear-gradient(160deg, rgba(58, 33, 24, 0.9), rgba(26, 14, 10, 0.95));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature:hover,
.mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 184, 74, 0.55);
}

.feature h3,
.mini-card h3 {
  margin: 0 0 0.5rem;
  color: var(--gold-2);
  font-size: 1.05rem;
}

.feature p,
.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-band {
  margin: 2.5rem 0;
  padding: 1.6rem;
  border-radius: 18px;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(232, 184, 74, 0.18), rgba(59, 130, 246, 0.12)),
    var(--panel);
  border: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0c0605;
  padding: 2.5rem 0 1.5rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  font-family: var(--display);
  color: var(--gold-2);
  margin: 0 0 0.8rem;
}

.site-footer a,
.site-footer p {
  color: var(--muted);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.copyright {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #8f7c66;
  font-size: 0.9rem;
}

.toc {
  background: rgba(0, 0, 0, 0.22);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.5rem;
}

.toc strong {
  color: var(--gold-2);
}

.toc ol {
  margin: 0.5rem 0 0;
}

.highlight {
  border-left: 3px solid var(--gold);
  padding: 0.85rem 1rem;
  background: rgba(232, 184, 74, 0.08);
  border-radius: 0 12px 12px 0;
  margin: 1.2rem 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .layout,
  .footer-grid,
  .feature-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions {
    display: inline-flex;
  }

  .nav-links .btn.btn-gold {
    display: none;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 0.8rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .phone-frame {
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
