:root {
  color-scheme: dark;
  --background: #0b1030;
  --background-deep: #070b22;
  --background-soft: #0f1533;
  --surface: #131a38;
  --surface-raised: #182142;
  --surface-soft: #20294d;
  --border: #29345c;
  --border-bright: #414e7a;
  --text: #f4f1fa;
  --text-soft: #dadcec;
  --muted: #9da7c5;
  --muted-dark: #7480a5;
  --primary: #a394ff;
  --primary-bright: #c3b9ff;
  --primary-soft: #2b285b;
  --blue: #89bde6;
  --success: #79d6ad;
  --danger: #ff91a5;
  --shadow: 0 24px 80px rgba(3, 5, 26, 0.28);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --content: 1180px;
  --reading: 780px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--background-deep);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(163, 148, 255, 0.11), transparent 31rem),
    radial-gradient(circle at 12% 38%, rgba(137, 189, 230, 0.06), transparent 27rem),
    linear-gradient(180deg, var(--background) 0%, var(--background-deep) 72%, #06091c 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

a {
  color: var(--primary-bright);
  text-underline-offset: 0.18em;
}

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

::selection {
  color: var(--background-deep);
  background: var(--primary-bright);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.75rem, 8vw, 5.9rem);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
  line-height: 1.3;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--background-deep);
  background: var(--text);
  border-radius: var(--radius-sm);
  font-weight: 800;
  transform: translateY(-160%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.shell {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
}

.reading-width {
  width: min(100%, var(--reading));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(65, 78, 122, 0.42);
  background: rgba(7, 11, 34, 0.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 9px 18px rgba(163, 148, 255, 0.2));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.desktop-nav a,
.mobile-nav a {
  padding: 0.55rem 0.8rem;
  color: var(--muted);
  border-radius: 10px;
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(163, 148, 255, 0.11);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
}

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

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px;
  height: 1.5px;
  content: "";
  background: var(--text);
  border-radius: 999px;
}

.menu-lines {
  position: relative;
}

.menu-lines::before {
  position: absolute;
  top: -6px;
}

.menu-lines::after {
  position: absolute;
  top: 6px;
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  display: grid;
  width: min(250px, calc(100vw - 2.5rem));
  gap: 0.35rem;
  padding: 0.65rem;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.mobile-nav-panel a {
  padding: 0.75rem 0.8rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  content: "";
  background: currentColor;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.72;
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.15rem;
  color: #090d29;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(135deg, #b0a2ff, #8c7ef0);
  box-shadow: 0 14px 34px rgba(140, 126, 240, 0.2);
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  color: #090d29;
  box-shadow: 0 18px 42px rgba(140, 126, 240, 0.3);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--text);
  border-color: var(--border-bright);
  background: var(--surface-raised);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--text);
  box-shadow: 0 14px 34px rgba(3, 5, 26, 0.2);
}

.hero {
  display: grid;
  min-height: min(820px, calc(100vh - 76px));
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  padding-block: clamp(5rem, 10vw, 8rem);
}

.hero-copy {
  max-width: 760px;
}

.hero h1 span {
  color: var(--primary-bright);
}

.hero .lead {
  max-width: 680px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-note {
  max-width: 290px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.8rem;
  line-height: 1.5;
}

.dream-emblem {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 0.82;
  justify-self: end;
}

.dream-emblem::before,
.dream-emblem::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  filter: blur(1px);
}

.dream-emblem::before {
  inset: 12% -9% 23% 6%;
  background: radial-gradient(circle at 45% 45%, rgba(163, 148, 255, 0.22), rgba(137, 189, 230, 0.04) 55%, transparent 72%);
}

.dream-emblem::after {
  right: 7%;
  bottom: 9%;
  width: 54%;
  height: 18%;
  background: rgba(3, 5, 26, 0.75);
  filter: blur(28px);
}

.emblem-frame {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 45% 45% var(--radius-xl) var(--radius-xl);
  background:
    radial-gradient(circle at 50% 22%, rgba(195, 185, 255, 0.15), transparent 45%),
    linear-gradient(160deg, rgba(43, 40, 91, 0.88), rgba(19, 26, 56, 0.9) 56%, rgba(15, 21, 51, 0.98));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.07);
}

.emblem-frame::before {
  position: absolute;
  inset: 9%;
  content: "";
  border: 1px solid rgba(195, 185, 255, 0.14);
  border-radius: 45% 45% 28px 28px;
}

.emblem-frame img {
  position: relative;
  z-index: 1;
  width: 72%;
  height: auto;
  filter: drop-shadow(0 26px 40px rgba(3, 5, 26, 0.35));
}

.emblem-caption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(65, 78, 122, 0.75);
  border-radius: 15px;
  background: rgba(11, 16, 48, 0.74);
  backdrop-filter: blur(12px);
}

.emblem-caption span:first-child {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.emblem-caption span:last-child {
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 800;
}

.section {
  padding-block: clamp(5rem, 9vw, 8rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

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

.feature-card {
  min-height: 260px;
  padding: 1.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(24, 33, 66, 0.93), rgba(15, 21, 51, 0.94));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.feature-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3.4rem;
  color: var(--primary-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.73rem;
  letter-spacing: 0.11em;
}

.feature-number::after {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(163, 148, 255, 0.1);
}

.feature-card h3 {
  color: var(--text);
  font-size: 1.24rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.privacy-statement {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 8vw, 7rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 5% 20%, rgba(121, 214, 173, 0.08), transparent 20rem),
    linear-gradient(140deg, rgba(24, 33, 66, 0.96), rgba(19, 26, 56, 0.84));
  box-shadow: var(--shadow);
}

.privacy-mark {
  display: grid;
  width: min(100%, 250px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(121, 214, 173, 0.24);
  border-radius: 50%;
  background: rgba(121, 214, 173, 0.04);
}

.privacy-mark::before {
  width: 38%;
  height: 46%;
  content: "";
  border: 3px solid var(--success);
  border-top-width: 7px;
  border-radius: 50% 50% 45% 45%;
  clip-path: polygon(0 0, 100% 0, 100% 77%, 50% 100%, 0 77%);
  filter: drop-shadow(0 10px 22px rgba(121, 214, 173, 0.2));
}

.privacy-statement .lead {
  margin-bottom: 1.5rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "→";
}

.page-hero {
  padding-block: clamp(5.5rem, 11vw, 9rem) clamp(4rem, 8vw, 6rem);
  border-bottom: 1px solid rgba(65, 78, 122, 0.35);
}

.page-hero h1 {
  max-width: 950px;
  font-size: clamp(2.8rem, 8vw, 5.3rem);
}

.page-hero .lead {
  max-width: 780px;
  margin-bottom: 0;
}

.page-meta {
  margin-top: 1.8rem;
  color: var(--muted-dark);
  font-size: 0.83rem;
  font-weight: 700;
}

.support-grid {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  align-items: start;
  gap: clamp(2rem, 7vw, 6rem);
}

.support-aside {
  position: sticky;
  top: 110px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.support-aside h2 {
  margin-bottom: 0.7rem;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

.support-aside p {
  color: var(--muted);
  font-size: 0.92rem;
}

.support-aside .button {
  width: 100%;
  margin-top: 0.4rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(19, 26, 56, 0.78);
}

.faq-item[open] {
  border-color: var(--border-bright);
  background: var(--surface-raised);
}

.faq-item summary {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  padding: 1.2rem 3.5rem 1.2rem 1.25rem;
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  right: 1.25rem;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  content: "+";
  color: var(--primary-bright);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-content {
  padding: 0 1.25rem 1.35rem;
  color: var(--muted);
}

.faq-content p:last-child,
.faq-content ul:last-child {
  margin-bottom: 0;
}

.faq-content strong {
  color: var(--text-soft);
}

.contact-card {
  margin-top: 3rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-soft), var(--surface));
}

.contact-card h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.contact-card p {
  max-width: 680px;
  color: var(--text-soft);
}

.contact-link,
.configuration-placeholder {
  display: inline-flex;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(195, 185, 255, 0.34);
  border-radius: 10px;
  background: rgba(7, 11, 34, 0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.87rem;
}

.configuration-placeholder {
  color: var(--danger);
}

.contact-tip {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, var(--reading));
  justify-content: space-between;
  align-items: start;
  gap: clamp(2rem, 7vw, 6rem);
}

.legal-nav {
  position: sticky;
  top: 110px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(19, 26, 56, 0.72);
}

.legal-nav strong {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-nav a {
  display: block;
  padding: 0.35rem 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

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

.legal-content {
  min-width: 0;
}

.legal-summary {
  margin-bottom: 3rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid rgba(121, 214, 173, 0.25);
  border-radius: var(--radius-lg);
  background: rgba(121, 214, 173, 0.055);
}

.legal-summary h2 {
  font-size: 1.55rem;
}

.legal-summary p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.legal-section {
  scroll-margin-top: 110px;
  padding-block: 0.5rem 3.5rem;
  border-bottom: 1px solid rgba(65, 78, 122, 0.35);
}

.legal-section + .legal-section {
  padding-top: 3.5rem;
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  letter-spacing: -0.035em;
}

.legal-section h3 {
  margin-top: 2rem;
  color: var(--text-soft);
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  text-wrap: pretty;
}

.legal-section strong {
  color: var(--text-soft);
}

.legal-section ul,
.legal-section ol {
  padding-left: 1.25rem;
}

.legal-section li + li {
  margin-top: 0.55rem;
}

.data-table-wrap {
  overflow-x: auto;
  margin-block: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.data-table-wrap:focus-visible {
  outline-offset: 3px;
}

.data-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  background: rgba(19, 26, 56, 0.62);
}

.data-table th,
.data-table td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table th {
  color: var(--text);
  background: rgba(32, 41, 77, 0.85);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-table td {
  color: var(--muted);
  font-size: 0.88rem;
}

.note {
  margin-block: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(163, 148, 255, 0.07);
}

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

.site-footer {
  margin-top: clamp(3rem, 8vw, 7rem);
  border-top: 1px solid rgba(65, 78, 122, 0.42);
  background: rgba(6, 9, 28, 0.68);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  padding-block: 3rem;
}

.footer-brand {
  margin-bottom: 0.55rem;
}

.footer-tagline {
  max-width: 430px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.86rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.4rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(65, 78, 122, 0.26);
  color: var(--muted-dark);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 800px;
  }

  .dream-emblem {
    width: min(78vw, 430px);
    justify-self: center;
  }

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

  .privacy-statement {
    grid-template-columns: 1fr;
  }

  .privacy-mark {
    width: min(60vw, 230px);
  }

  .support-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .support-aside,
  .legal-nav {
    position: static;
  }

  .legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 1rem;
  }

  .legal-nav strong {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 2rem), var(--content));
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  h1 {
    letter-spacing: -0.052em;
  }

  .hero {
    padding-block: 4rem 5.5rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .feature-card {
    min-height: 230px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    padding-block: 1rem;
  }
}

@media (max-width: 390px) {
  .shell {
    width: min(calc(100% - 1.5rem), var(--content));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand {
    font-size: 1.16rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .dream-emblem {
    width: 100%;
  }

  .emblem-caption {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 0.75rem;
  }

  .privacy-statement,
  .contact-card {
    border-radius: var(--radius-lg);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
