/* Promisk Website — Soft (H) theme. Static CSS, no build, no JS framework. */

:root {
  --bg: #1d1f2a;
  --bg-deep: #14151c;
  --bg-elev: #252836;
  --surface: #252836;
  --surface-alt: #2c3041;
  --surface-hi: #363a4e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);

  --primary: #ff4ea0;
  --primary-deep: #b8366d;
  --primary-soft: rgba(255, 78, 160, 0.14);
  --cyan: #6fdcef;
  --cyan-soft: rgba(111, 220, 239, 0.14);
  --gold: #ffd75c;
  --mint: #7df7c7;

  --text: #f4f4f8;
  --text-dim: #b8b9c5;
  --text-mute: #7a7c8a;

  --sans: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 18px;

  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s, color .15s;
}
a:hover { border-bottom-color: var(--cyan); }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem); letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--text-dim); }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow.cyan { color: var(--cyan); }
.eyebrow.mute { color: var(--text-mute); }

.mono { font-family: var(--mono); }

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

/* ─── Header / nav ─────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(29, 31, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  border: none;
}
.brand:hover { border: none; color: var(--text); }
.brand-mark {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  transform: rotate(192deg);
}
.brand-mark svg { width: 100%; height: 100%; }
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: var(--text-dim);
  font-size: .9rem;
  font-weight: 500;
  border: none;
  font-family: var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--text); border: none; }
.nav-links a.active { color: var(--primary); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ─── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-lg);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s, box-shadow .15s, background .15s;
  text-decoration: none;
}
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--primary);
  color: #1d1f2a;
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(255, 78, 160, 0.30);
}
.btn-primary:hover { background: #ff5fac; border-color: #ff5fac; border-bottom-color: #ff5fac; }
.btn-cyan {
  background: var(--cyan);
  color: #02232a;
  border-color: var(--cyan);
  box-shadow: 0 6px 24px rgba(111, 220, 239, 0.30);
}
.btn-cyan:hover { background: #84e4f3; }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--text-dim); }
.btn-ghost a, .btn a { color: inherit; border: none; }

/* ─── Tags ────────────────────────────────────────────────── */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--r-sm);
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tag.cyan { background: var(--cyan-soft); color: var(--cyan); }
.tag.gold { background: rgba(255,215,92,0.14); color: var(--gold); }
.tag.mint { background: rgba(125,247,199,0.14); color: var(--mint); }
.tag.solid { background: var(--primary); color: #1d1f2a; }
.tag.solid.cyan { background: var(--cyan); color: #02232a; }

/* ─── Hero ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(255, 78, 160, 0.18), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(111, 220, 239, 0.10), transparent 55%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-visual { display: none; }
@media (min-width: 880px) {
  .hero-visual { display: block; }
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; }
}
.hero-eyebrow { margin-bottom: 18px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--primary); }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero pineapple visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin: 0 auto;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 78, 160, 0.30) 0%, transparent 70%);
  filter: blur(20px);
}
.hero-visual .pineapple-icon {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 25%;
  background: radial-gradient(circle at 30% 25%, #5a4458 0%, #363a4e 55%, #1d1f2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,120,180,0.20);
  overflow: hidden;
}
.hero-visual .pineapple-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,120,180,0.30), transparent 55%);
}
.hero-visual .pineapple-icon svg {
  width: 60%; height: 60%;
  position: relative;
  transform: rotate(192deg);
  filter: drop-shadow(0 0 18px rgba(255, 78, 160, 0.45));
}

/* ─── Section / cards ─────────────────────────────────────── */

section { padding: 64px 0; }
.section-head { margin-bottom: 40px; max-width: 760px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { font-size: 1.05rem; max-width: 640px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 24px;
}
.card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text);
}
.card .icon-wrap {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  color: var(--primary);
}
.card.cyan .icon-wrap { background: var(--cyan-soft); color: var(--cyan); }
.card.gold .icon-wrap { background: rgba(255,215,92,0.14); color: var(--gold); }
.card.mint .icon-wrap { background: rgba(125,247,199,0.14); color: var(--mint); }
.card p { margin-bottom: 0; font-size: .95rem; }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* ─── List with checkmarks ───────────────────────────────── */

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-dim);
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(125,247,199,0.10);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4 4 10-10' fill='none' stroke='%231d1f2a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
}
.check-list li strong { display: block; color: var(--text); margin-bottom: 2px; }

/* ─── Stats row ───────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  text-align: left;
}
@media (min-width: 540px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats .stat {
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.stats .stat .label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
}
.stats .stat .value {
  font-family: var(--sans);
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 4px;
  color: var(--text);
}

/* ─── Long-form (legal pages) ────────────────────────────── */

.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 { margin-top: 2.4em; }
.prose h3 { margin-top: 1.8em; color: var(--primary); font-size: 1.05rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.prose p, .prose li { font-size: .98rem; line-height: 1.7; }
.prose ul { padding-left: 22px; color: var(--text-dim); }
.prose li { margin-bottom: 8px; }

/* ─── Footer ─────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 32px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr; } }
.footer-grid h4 {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 14px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-grid a {
  color: var(--text-dim);
  font-size: .9rem;
  border: none;
}
.footer-grid a:hover { color: var(--text); border: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-mute);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* ─── Reset / form page ──────────────────────────────────── */

.center-card {
  max-width: 540px;
  margin: 0 auto;
}
.status-row[hidden] { display: none; }
.status-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.status-row .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
  color: var(--gold);
}
.status-row.ok .dot { color: var(--mint); background: var(--mint); }
.status-row.err .dot { color: var(--primary); background: var(--primary); }
.status-row .text { flex: 1; }
.status-row .text strong { display: block; }
.status-row .text span { display: block; color: var(--text-dim); font-size: .85rem; margin-top: 2px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn-row .btn { flex: 1; min-width: 140px; }

.code-pill {
  display: inline-block;
  padding: 2px 8px;
  background: var(--surface-hi);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: .85em;
  color: var(--cyan);
}

.code-input-wrap {
  max-width: 220px;
  margin: 0 auto;
}
.code-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  background: var(--surface-hi);
  color: var(--text);
  font-family: var(--mono);
  font-size: 1.1rem;
  letter-spacing: .15em;
  text-align: center;
}
.code-input::placeholder { color: var(--text-mute); }
.code-input:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-color: var(--cyan);
}

/* ─── Cookie banner ──────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--surface);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.35);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 24px;
}
.cookie-banner p {
  margin: 0;
  font-size: .85rem;
  color: var(--text-dim);
  max-width: 640px;
}
.cookie-banner .btn { flex-shrink: 0; }

/* ─── A11y skip link ─────────────────────────────────────── */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #1d1f2a;
  padding: 12px 18px;
  border-radius: 0 0 var(--r-md) 0;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
  border: none;
}

/* ─── Utilities ──────────────────────────────────────────── */

.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
