/* Wakzuno - wakzuno.com
   One stylesheet, no framework, nothing loaded from anywhere else. */

:root {
  --navy: #041034;
  --navy-soft: #0b1c4a;
  --amber: #ffc24b;
  --orange: #ff7a45;

  --bg: #fbfbfe;
  --bg-raised: #ffffff;
  --border: #e2e4f0;
  --text: #14162e;
  --text-muted: #4c5170;
  --accent-text: #8a3a12;
  --shadow: 0 1px 2px rgba(4, 16, 52, 0.06), 0 8px 24px rgba(4, 16, 52, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06081a;
    --bg-raised: #0d1130;
    --border: #1e2450;
    --text: #eef0fa;
    --text-muted: #a7adcd;
    --accent-text: #ffc24b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 50;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  font-size: 1.0625rem;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a,
.site-nav .current {
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--bg-raised);
}

/* The page you are on is text, not a link to itself. */
.site-nav .current {
  color: var(--text);
  font-weight: 650;
  background: var(--bg-raised);
  box-shadow: inset 0 0 0 1px var(--border);
}

.lang {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 0.35rem;
}

.lang a,
.lang .current {
  padding: 0.3rem 0.7rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 0;
}

.lang .current {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
}

@media (prefers-color-scheme: dark) {
  .lang .current {
    background: var(--amber);
    color: var(--navy);
  }
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 56rem) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 0.9rem;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 800;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 34em;
  text-wrap: pretty;
}

.hero-art {
  display: grid;
  place-items: center;
}

.hero-art img {
  width: min(260px, 60vw);
  height: auto;
  border-radius: 24%;
  box-shadow: 0 24px 60px rgba(4, 16, 52, 0.28);
}

/* ---------- buttons ---------- */

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #2a1400;
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--bg-raised);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
}

.btn[aria-disabled="true"] {
  cursor: default;
  opacity: 0.95;
}

.note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.85rem 0 0;
}

/* ---------- sections ---------- */

section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--border);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 750;
  text-wrap: balance;
}

h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-lede {
  color: var(--text-muted);
  max-width: 46em;
  margin: 0 0 2rem;
  text-wrap: pretty;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.975rem;
}

.card .ic {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #2a1400;
  font-weight: 800;
  font-size: 1.05rem;
}

/* ---------- promise callout ---------- */

.promise {
  background: var(--navy);
  color: #f4f6ff;
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background-image: radial-gradient(
    120% 140% at 100% 0%,
    rgba(255, 122, 69, 0.22),
    transparent 60%
  );
}

.promise h2 {
  color: #fff;
}

.promise p {
  color: #c9d0ee;
  max-width: 44em;
  margin: 0;
}

.promise p + p {
  margin-top: 0.9rem;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}

details {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.25rem 1.15rem;
}

summary {
  cursor: pointer;
  font-weight: 650;
  padding: 0.9rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-muted);
}

details[open] summary::after {
  content: "\2212";
}

details > p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

/* ---------- prose (privacy) ---------- */

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2.5rem;
}

.prose h3 {
  margin-top: 1.75rem;
  font-size: 1.05rem;
}

.prose ul {
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose p {
  color: var(--text-muted);
}

.prose strong {
  color: var(--text);
}

.updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  border-left: 3px solid var(--orange);
  padding-left: 0.9rem;
  margin: 0 0 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1rem 0 1.5rem;
}

.table-scroll {
  overflow-x: auto;
}

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

th {
  font-weight: 700;
  white-space: nowrap;
}

td {
  color: var(--text-muted);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3.5rem;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer a {
  color: var(--text-muted);
}

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