:root {
  color-scheme: dark;
  --ink: #17132f;
  --ink-2: #211b55;
  --violet: #8b7fe8;
  --violet-deep: #5c4fd6;
  --magenta: #e85d9e;
  --gold: #ffd9a0;
  --gold-2: #f4a261;
  --sky: #bfe3f2;
  --meadow: #7fb069;
  --forest: #3a7d44;
  --cream: #fff4d8;
  --muted: #d8ddf6;
  --panel: rgba(18, 18, 42, 0.82);
  --line: rgba(255, 217, 160, 0.24);
  --shadow: 0 18px 70px rgba(17, 13, 45, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(23, 19, 47, 0.2), #17132f 68%),
    #17132f;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 99;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: linear-gradient(180deg, rgba(12, 11, 30, 0.8), rgba(12, 11, 30, 0.2));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(232, 93, 158, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  font-size: 0.94rem;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 72px) 76px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 12, 38, 0.88), rgba(16, 12, 38, 0.35) 48%, rgba(16, 12, 38, 0.92)),
    linear-gradient(180deg, rgba(16, 12, 38, 0.1), #17132f 98%),
    url("assets/title_bg.png") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 19, 47, 0), #17132f);
}

.hero-content {
  width: min(760px, 100%);
}

.logo-art {
  width: min(440px, 72vw);
  margin: 0 0 18px -18px;
  filter: drop-shadow(0 0 22px rgba(255, 217, 160, 0.35));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  width: min(660px, 100%);
  color: #eef3ff;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 217, 160, 0.55);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(244, 162, 97, 0.25);
}

.button.secondary {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.band {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.band.alt {
  background:
    radial-gradient(circle at 16% 10%, rgba(127, 176, 105, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
}

.section-head {
  width: min(820px, 100%);
  margin-bottom: 30px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p,
.text-page p,
.text-page li {
  color: var(--muted);
  line-height: 1.72;
}

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

.feature-card,
.support-card {
  min-height: 186px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card h3,
.support-card h3 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.15rem;
}

.feature-card p,
.support-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.showcase-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d1222;
  box-shadow: var(--shadow);
}

.showcase-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.phone-frame {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 12px 40px rgba(5, 8, 20, 0.45);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.legal-links a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cream);
  text-decoration: none;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #bec5e4;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #100d25;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #edf0ff;
  text-decoration: none;
}

.text-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 128px clamp(20px, 5vw, 42px) 76px;
}

.text-page h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
}

.text-page h2 {
  margin-top: 42px;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.text-page .meta {
  color: var(--gold);
  font-weight: 800;
}

.text-panel {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 18, 42, 0.72);
}

.text-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  color: var(--muted);
}

.text-page th,
.text-page td {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  vertical-align: top;
}

.text-page th {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 840px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 88svh;
    padding-top: 138px;
  }

  .feature-grid,
  .showcase,
  .phone-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .brand span {
    display: none;
  }

  .nav {
    gap: 10px;
  }

  .hero {
    padding-bottom: 44px;
  }

  .phone-row {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
