/* ============ BORING MEDIUM ============ */
:root {
  /* brand palette — sampled from the logo */
  --navy: #184068;
  --navy-deep: #0a1b30;
  --red: #e23a3a;
  --gold: #f2c230;

  --bg: #0a1626;         /* deep brand navy */
  --ink: #f4f6f8;
  --muted: #9fb0c4;      /* muted blue-gray */
  --accent: var(--red);
  --accent-2: var(--gold);
  --accent-3: #5b8fd4;   /* lighter brand blue */
  --card: rgba(10, 22, 40, 0.68);
  --border: rgba(255, 255, 255, 0.13);
  --radius: 18px;
  --font: "Operator Mono", ui-monospace, "SF Mono", Menlo, Monaco, monospace;
}

* { box-sizing: border-box; }

/* screen-reader-only text (keeps the brand keyword in the h1 without altering the design) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: hidden;
}

/* three.js canvas sits behind everything */
canvas {
  position: fixed !important;
  inset: 0;
  z-index: 0;
  cursor: pointer;
}

/* dimming scrim over the tree so text stays readable */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(10,22,38,.40), rgba(6,14,26,.74));
}

/* ============ SPLASH ============ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #122844, var(--navy-deep) 70%);
  transition: opacity .7s ease, visibility .7s ease;
}
.splash.hide { opacity: 0; visibility: hidden; }

.splash-inner { text-align: center; animation: pop .6s ease both; }

.splash-logo {
  width: clamp(220px, 60vw, 380px); height: auto; display: block; margin: 0 auto 8px;
  animation: bounce 1.6s infinite ease-in-out;
}

.splash-sub { color: var(--muted); margin: 10px 0 26px; font-size: .95rem; }

.splash-bar {
  width: 220px; max-width: 70vw; height: 6px; margin: 0 auto;
  background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden;
}
.splash-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  border-radius: 99px; animation: load 1.8s ease forwards;
}

@keyframes load { to { width: 100%; } }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }


/* ============ SITE ============ */
.site {
  position: relative; z-index: 10;
  opacity: 0; transition: opacity .6s ease .1s;
  text-shadow: 0 2px 10px rgba(0,0,0,.85), 0 1px 2px rgba(0,0,0,.9);
}
.site.show { opacity: 1; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 5vw, 48px);
  backdrop-filter: blur(10px);
  background: rgba(5,5,5,.45);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex; align-items: center; text-decoration: none;
}
.brand-logo {
  height: 34px; width: auto; display: block;
  transition: transform .2s ease;
}
.brand:hover .brand-logo { transform: scale(1.04); }
@media (max-width: 560px) { .brand-logo { height: 28px; } }

.nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 26px); }
.nav a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta {
  color: #050505; background: var(--accent-2);
  padding: 8px 14px; border-radius: 99px; font-weight: 700;
  text-shadow: none;
}
.nav .nav-cta:hover { color: #050505; transform: translateY(-1px); }
@media (max-width: 560px) { .nav a:not(.nav-cta) { display: none; } }

main { max-width: 920px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 32px); }

/* HERO */
.hero { padding: clamp(70px, 14vh, 150px) 0 90px; text-align: center; }
.kicker {
  display: inline-block; color: #e4e4e7; font-size: .9rem;
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 99px;
  margin: 0 0 26px; background: var(--card); backdrop-filter: blur(8px);
}
.hero-title {
  margin: 0; font-size: clamp(2.3rem, 8vw, 5rem); line-height: 1.05;
  letter-spacing: -2.5px; font-weight: 700;
}
.strike { position: relative; color: var(--muted); }
.strike::after {
  content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 4px;
  background: var(--accent); transform: rotate(-3deg); border-radius: 4px;
}
.wiggle { color: var(--accent); display: inline-block; animation: wiggle 2.5s ease-in-out infinite; }
@keyframes wiggle { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

.hero-lead {
  max-width: 560px; margin: 26px auto 0; color: #d4d4d8; font-size: clamp(1rem, 2.6vw, 1.2rem);
}
.tag {
  color: #050505; padding: 1px 9px; border-radius: 7px; font-weight: 700; white-space: nowrap;
  text-shadow: none;
}
.tag:nth-of-type(1) { background: var(--accent-3); }
.tag:nth-of-type(2) { background: var(--accent); }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-hint { margin-top: 28px; color: var(--muted); font-size: .82rem; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; font-weight: 700; font-size: .98rem;
  padding: 13px 22px; border-radius: 99px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
  text-shadow: none;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #052e16; background: #25D366;
  box-shadow: 0 8px 30px rgba(37,211,102,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(37,211,102,.5); }
.btn-ghost { color: var(--ink); border-color: var(--border); background: var(--card); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .wa { font-size: 1.1rem; }
.btn.big { padding: 17px 30px; font-size: 1.05rem; }

/* SECTIONS */
.section-title {
  font-size: clamp(1.5rem, 5vw, 2.3rem); letter-spacing: -1px; margin: 0 0 36px;
}
.section-title span { color: var(--muted); font-weight: 400; font-size: .6em; display: block; margin-top: 6px; }

.work, .why, .cta, .faq { padding: 70px 0; }

.section-lead {
  max-width: 620px; margin: -18px 0 36px; color: #c7d2de; font-size: 1.05rem;
}

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--card); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 1.08rem; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent-2); font-size: 1.4rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: #c7d2de; margin: 14px 0 2px; }
.faq-item a { color: var(--accent-2); }

/* CARDS */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--card); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-emoji { font-size: 2.4rem; margin-bottom: 12px; }
.card h4 { margin: 0 0 10px; font-size: 1.35rem; }
.card p { color: #d4d4d8; margin: 0 0 16px; }
.card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.card li {
  font-size: .82rem; color: var(--muted);
  padding: 4px 11px; border: 1px solid var(--border); border-radius: 99px;
}

/* WHY */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
}
.why-item span { color: var(--accent); font-weight: 700; font-size: 1.3rem; }
.why-item p { margin: 0; color: #d4d4d8; }

/* CTA */
.cta {
  text-align: center; margin: 40px auto; max-width: 720px;
  background: var(--card); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 26px;
  padding: 56px 28px;
}
.cta h3 { font-size: clamp(1.7rem, 6vw, 2.8rem); letter-spacing: -1.5px; margin: 0 0 12px; }
.cta p { color: #d4d4d8; margin: 0 0 28px; }

/* FOOTER */
.footer {
  position: relative; z-index: 10;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  max-width: 920px; margin: 40px auto 0; padding: 30px clamp(16px,5vw,32px);
  border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem;
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 26px; width: auto; opacity: .9; }
