/* Fonts */
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("fonts/cinzel-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

:root {
  --bg: #170B1F;          /* page background, deep aubergine */
  --panel: #1F1029;       /* card background */
  --text: #F3ECF7;        /* main text */
  --muted: #D9CDE3;       /* body copy */
  --soft: #C9B8D6;        /* small labels */
  --line: #4B3460;        /* dividers and card borders */
  --violet: #A66BFF;      /* grid lines, bright borders */
  --light: #E3C8FF;       /* logo light purple */
  --accent: #C6F432;      /* lime green */
  --accent-hover: #E4FF8A;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

/* Cursors */
body {
  cursor: url("cursor.png") 3 3, auto;
  cursor: image-set(url("cursor.png") 1x, url("cursor@2x.png") 2x) 3 3, auto;
}
a, button, select, summary {
  cursor: url("cursor-link.png") 3 3, pointer;
  cursor: image-set(url("cursor-link.png") 1x, url("cursor-link@2x.png") 2x) 3 3, pointer;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  max-width: 1440px; margin: 0 auto; padding: 16px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 40px;
}
.brand {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: Cinzel, serif; font-weight: 900; font-size: 20px; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; color: var(--light);
}
.brand:hover { color: var(--text); }
.brand img { display: block; height: 40px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--text); text-decoration: none; padding: 12px 0; }
.site-nav a:hover { color: var(--accent); }

/* Hero */
.hero { overflow: hidden; }
.hero-inner {
  max-width: 1440px; margin: 0 auto; padding: 48px 24px 0;
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.hero-logo { margin: 0; width: 100%; }
.hero-logo svg { display: block; width: 100%; height: auto; }
.tagline {
  margin: 0 0 15px; font-size: 15px; font-weight: 500;
  letter-spacing: 4.5px; text-transform: uppercase; color: var(--soft);
}
@media (max-width: 480px) {
  .tagline { font-size: 13px; letter-spacing: 2.5px; }
}
.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
  border-radius: 999px; font-weight: 600; text-decoration: none;
}
.button-primary { background: var(--accent); color: var(--bg); }
.button-primary:hover { background: var(--accent-hover); color: var(--bg); }
.hero-scene { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 380; min-height: 380px; margin-top: 32px; }

/* Sections */
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line); }
.eyebrow {
  margin: 0 0 12px; font-size: 14px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
h1, h2, h3 { font-family: Cinzel, serif; margin: 0; }
.section-title { font-weight: 700; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.2; }
.lead { margin: 20px 0 0; color: var(--muted); max-width: 640px; }

/* App card */
.app-card {
  margin-top: 32px; padding: clamp(20px, 4vw, 40px);
  border: 2px solid var(--violet); border-radius: 20px; background: var(--panel);
  display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center;
}
.app-shot {
  display: block; flex: 0 1 220px; min-width: 0; max-width: 220px; height: auto;
  border: 2px solid var(--violet); border-radius: 28px;
}
.app-body { flex: 999 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.app-status { margin: 0; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.app-name { font-weight: 900; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; color: var(--light); }
.app-desc { margin: 0; color: var(--muted); max-width: 520px; font-size: 19px; }
.app-links { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; font-weight: 600; }
.app-links a { padding: 10px 0; }

/* Contact and privacy cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  border: 2px solid var(--line); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.card h2 { font-weight: 700; font-size: 24px; }
.card p { margin: 0; color: var(--muted); }
.card-link { margin-top: auto; padding: 12px 0; font-weight: 600; }

.site-nav a[aria-current="page"] { color: var(--accent); }

/* Contact page */
.contact-layout { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.contact-form { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.contact-aside { flex: 1 1 280px; min-width: 0; }
@media (min-width: 796px) {
  .contact-aside { margin-top: 32px; }
}
.field { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; color: var(--text); background: var(--panel);
  border: 2px solid var(--line); border-radius: 12px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
button.button { border: 0; font: inherit; font-weight: 600; }

/* Privacy policy page */
.prose { max-width: 760px; }
.prose h2 { font-weight: 700; font-size: 24px; line-height: 1.25; margin: 48px 0 12px; }
.prose p { margin: 0 0 16px; color: var(--muted); }
.prose p strong { color: var(--text); font-weight: 600; }
.prose .eyebrow { color: var(--accent); margin-bottom: 12px; }
.prose .policy-meta { margin: 24px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  padding-top: 28px; padding-bottom: 28px;
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
  font-size: 14px; color: var(--soft);
}
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-x { display: inline-flex; align-items: center; padding: 6px; margin: -6px; }
.footer-x img { display: block; width: 16px; height: 16px; }
.footer-x:hover img { opacity: 0.7; }
