/* ============================================
   Radikal Studios — Design System
   ============================================ */

:root {
  /* Color */
  --blue: #1F4EB6;
  --ink: #16357A;
  --gold: #FABF22;
  --bg: #FAFAF8;
  --text: #3A3F4B;
  --border: #E4E7ED;
  --white: #FFFFFF;

  /* Type */
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --content-width: 1120px;
  --content-padding: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

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

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { max-width: 640px; }

/* ---------- Header ---------- */

.site-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header .logo svg { height: 34px; width: auto; }

.site-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
}

.site-nav a {
  color: var(--text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.site-nav .beta-tag {
  font-size: 11px;
  font-weight: 700;
  background: var(--gold);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------- Bolt divider — structural device, not decoration ---------- */

.bolt-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 40px 0;
}

.bolt-divider svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.bolt-divider .rule {
  height: 1px;
  background: var(--border);
  flex: 1;
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 28px;
}

.hero .lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text);
  max-width: 52ch;
  margin-bottom: 36px;
}

.hero-bolt-bg {
  position: absolute;
  right: -60px;
  top: -40px;
  width: 480px;
  height: 640px;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(22, 53, 122, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

/* ---------- Section shell ---------- */

section {
  padding: 80px 0;
}

section.alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 48px;
}

.section-head p {
  font-size: 18px;
  color: var(--text);
}

/* ---------- What we do — asymmetric list, not identical cards ---------- */

.approach-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.approach-item {
  padding: 36px 32px 36px 0;
  border-bottom: 1px solid var(--border);
}

.approach-item:nth-child(odd) {
  border-right: 1px solid var(--border);
  padding-right: 32px;
}

.approach-item:nth-child(even) {
  padding-left: 32px;
}

.approach-item h3 {
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.approach-item h3 svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.approach-item p {
  font-size: 15.5px;
  color: var(--text);
}

/* ---------- Featured app ---------- */

.app-feature {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.app-feature-icon {
  width: 220px;
  height: 220px;
  border-radius: 44px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.app-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(250, 191, 34, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.app-feature h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.app-feature p {
  font-size: 16px;
  margin-bottom: 20px;
}

.app-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.app-tags span {
  font-size: 12.5px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-top .logo svg { height: 28px; margin-bottom: 14px; }

.footer-top p {
  font-size: 14.5px;
  color: var(--text);
  max-width: 340px;
}

.footer-cols {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 10px;
}

.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #8A8F9B;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--content-padding) 4px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

.mobile-nav a {
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-nav.open { display: flex; }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .approach-list { grid-template-columns: 1fr; }
  .approach-item:nth-child(odd) { border-right: none; padding-right: 0; }
  .approach-item:nth-child(even) { padding-left: 0; }
  .app-feature { grid-template-columns: 1fr; }
  .app-feature-icon { width: 120px; height: 120px; border-radius: 28px; font-size: 24px; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 40px; }
}
