/* Ensky — dark editorial theme (full redesign) */
:root {
  --void: #07080c;
  --bg: #0e1018;
  --surface: #161a24;
  --surface-2: #1e2432;
  --elevated: #222836;
  --ink: #f1f3f7;
  --ink-2: #b8c0d0;
  --muted: #7d89a1;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(124, 58, 237, 0.35);
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --glow: rgba(139, 92, 246, 0.22);
  --radius: 6px;
  --radius-lg: 14px;
  --container: 1140px;
  --header-h: 76px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-display: "Syne", var(--font-sans);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background-color: var(--void);
  background-image:
    linear-gradient(165deg, rgba(139, 92, 246, 0.07) 0%, transparent 42%),
    linear-gradient(225deg, rgba(34, 211, 238, 0.05) 0%, transparent 38%),
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 92, 246, 0.12), transparent),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(255, 255, 255, 0.015) 80px,
      rgba(255, 255, 255, 0.015) 81px
    );
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* Top ribbon */
.top-tag {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.15), rgba(34, 211, 238, 0.08), rgba(244, 114, 182, 0.1));
  border-bottom: 1px solid var(--line);
}
.top-tag .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(14, 16, 24, 0.78);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(139, 92, 246, 0.12);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
  color: var(--ink);
  background: linear-gradient(135deg, var(--surface-2), var(--elevated));
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 24px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.brand-name strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-name span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  padding: 11px 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}
.btn:hover {
  border-color: rgba(139, 92, 246, 0.45);
  background: var(--surface-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 48%, #0891b2 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover {
  border-color: transparent;
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.45);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--ink-2);
}
.btn-ghost:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.25);
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 36px 0 16px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  opacity: 0.4;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.hero-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(22, 26, 36, 0.92) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-main {
  padding: 36px 32px 32px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.kicker {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.12;
  margin: 0 0 18px;
  max-width: 18ch;
}

.lead {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 22px;
  font-weight: 450;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.pill {
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(139, 92, 246, 0.06);
  color: var(--ink-2);
}
.pill strong {
  color: var(--accent-2);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}

.hero-note {
  font-size: 11px;
  color: var(--muted);
  max-width: 32ch;
}

.hero-side {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.06), transparent 55%), var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}

.media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--void);
}
.media img {
  border-radius: 0;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.side-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 18px;
}
.side-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.side-card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ink-2);
}

.side-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

/* Sections */
.section {
  padding: 32px 0;
  position: relative;
}
.section-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}
.section-sub {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 14px;
}

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

.card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px 20px 20px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.2s;
}
.card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-2px);
}
.card:hover::before {
  opacity: 1;
}
.card .meta {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-3);
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.callout {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(244, 114, 182, 0.25);
  background: linear-gradient(145deg, rgba(244, 114, 182, 0.08), rgba(139, 92, 246, 0.06));
  padding: 22px;
}
.callout p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}
.callout strong {
  color: var(--accent-3);
}

/* Accordion */
details {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px 18px 14px;
}
details + details {
  margin-top: 10px;
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 650;
  color: var(--ink);
  font-size: 15px;
}
summary::-webkit-details-marker {
  display: none;
}
summary .hint {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 5px 10px;
  border-radius: var(--radius);
  flex-shrink: 0;
}
details .answer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--ink-2);
  font-size: 14px;
}

/* Legal / inner pages */
.content {
  padding: 28px 0 40px;
  flex: 1;
  width: 100%;
}
.paper {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px 36px 32px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.paper h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, var(--accent), var(--accent-2)) 1;
}
.paper h2 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
  color: var(--ink);
}
.paper p,
.paper li {
  color: var(--ink-2);
  font-size: 14px;
}
.paper a {
  color: var(--accent-2);
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
}
.paper a:hover {
  border-bottom-color: var(--accent-2);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #05060a;
  border-top: 1px solid var(--line);
}
.site-footer .container {
  padding-top: 28px;
  padding-bottom: 24px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.footer-contact-label {
  font-weight: 700;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.footer-contact-body {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.footer-contact-body a {
  color: var(--accent-2);
  border-bottom: 1px solid rgba(34, 211, 238, 0.25);
}
.footer-contact-body a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent-2);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 600;
}
.footer-links a {
  color: var(--ink-2);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.footer-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer-disclosures {
  padding-top: 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.footer-disclosures p {
  margin: 8px 0;
}
.footer-disclosures strong {
  color: var(--ink-2);
}

.footer-bottom {
  padding-top: 20px;
  font-size: 11px;
  color: rgba(125, 137, 161, 0.65);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* Offer strip */
.offer-strip .hero-card {
  clip-path: none;
  padding: 26px;
}
.offer-strip .split {
  align-items: center;
}
.offer-strip .side-card {
  padding: 22px;
}
.offer-strip .kicker {
  margin-bottom: 8px;
}
.offer-strip .section-title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}
.offer-strip .section-sub {
  margin-bottom: 12px;
}
.offer-strip .hero-cta {
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-main {
    clip-path: none;
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }
  .site-header {
    height: auto;
  }
  .site-header .container {
    flex-direction: column;
    align-items: stretch;
    padding-top: 14px;
    padding-bottom: 14px;
    height: auto;
  }
  .header-actions {
    justify-content: stretch;
  }
  .header-actions .btn {
    flex: 1;
    min-width: 0;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .paper {
    padding: 24px 20px;
  }
  .section {
    padding: 24px 0;
  }
}
