/* Zwip website shared styles */
:root {
  --navy-1: #0b1e3f;
  --navy-2: #16305c;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --text: #eef3fb;
  --text-dim: rgba(238, 243, 251, 0.72);
  --text-faint: rgba(238, 243, 251, 0.5);
  --red: #ff5a5f;
  --green: #34c759;
  --yellow: #ffcc00;
  --cyan: #32ade6;
  --radius: 18px;
  --maxw: 960px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, var(--navy-1) 0%, var(--navy-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 30, 63, 0.7);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand svg { display: block; }
.nav a {
  color: var(--text-dim);
  margin-left: 22px;
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  text-align: center;
  padding: 84px 0 64px;
}
.hero .arrows {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(40px, 8vw, 68px);
  line-height: 1.05;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.hero .subtitle {
  font-size: clamp(18px, 3.5vw, 24px);
  color: var(--text-dim);
  margin: 0 0 18px;
  font-weight: 500;
}
.hero .lead {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--text-dim);
  font-size: 17px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--navy-1);
  font-weight: 700;
  font-size: 17px;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn small { display: block; font-weight: 500; font-size: 11px; opacity: 0.65; }
.btn-note {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-faint);
}

/* Sections */
.section { padding: 56px 0; }
.section h2 {
  font-size: clamp(26px, 4.5vw, 34px);
  margin: 0 0 8px;
  text-align: center;
}
.section .section-sub {
  text-align: center;
  color: var(--text-dim);
  margin: 0 auto 40px;
  max-width: 560px;
}

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy-1);
  font-weight: 700;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* Legal / content pages */
.page {
  padding: 56px 0 40px;
}
.page h1 {
  font-size: clamp(30px, 6vw, 44px);
  margin: 0 0 6px;
}
.page .updated {
  color: var(--text-faint);
  font-size: 14px;
  margin: 0 0 34px;
}
.prose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px clamp(20px, 4vw, 40px);
}
.prose h2 {
  font-size: 21px;
  margin: 30px 0 10px;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-dim); font-size: 16px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { font-weight: 500; }

/* FAQ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--cyan);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 0 0 16px;
  color: var(--text-dim);
  font-size: 15px;
}

/* Contact box */
.contact-box {
  text-align: center;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 24px;
  margin-top: 24px;
}
.contact-box .email {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  margin: 10px 0 6px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 32px 0 44px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.site-footer .foot-links a {
  color: var(--text-dim);
  margin-right: 20px;
  font-size: 14px;
}
.site-footer .foot-links a:hover { color: var(--text); }
.site-footer .copy { color: var(--text-faint); font-size: 13px; }

@media (max-width: 560px) {
  .nav a { margin-left: 14px; font-size: 14px; }
  .hero { padding: 56px 0 44px; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
}
