/* ArrowIQ theme: calm, light blue-grey, navy ink, accent blue. Shared by /arrowiq pages. */
:root {
  --bg: #E3E9F2;
  --bg-2: #EDF1F7;
  --card: #FFFFFF;
  --ink: #0B1235;
  --ink-2: #3D4669;
  --muted: #7A84A3;
  --line: #D3DBE8;
  --accent: #2F80E4;
  --accent-soft: #DCE9FB;
  --gold: #F2B92C;
  --bunny-a: #7A4FD6;
  --bunny-b: #E0609B;
  --maze-a: #1D3A78;
  --maze-b: #0D1640;
  --danger: #E5463B;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(11,18,53,.05), 0 10px 30px rgba(11,18,53,.08);
  --shadow-lg: 0 2px 4px rgba(11,18,53,.05), 0 24px 60px rgba(11,18,53,.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.iq { color: var(--accent); }

/* dot grid like the game board */
.dots {
  background-image: radial-gradient(circle, rgba(11,18,53,.13) 1.2px, transparent 1.6px);
  background-size: 26px 26px;
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(227,233,242,.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 30px; flex: none; }
.nav { display: flex; gap: clamp(12px, 3vw, 28px); font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--accent); text-decoration: none; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-play { background: var(--ink); color: #fff; box-shadow: var(--shadow); padding: 11px 24px 11px 18px; }
.btn-play:hover { color: #fff; box-shadow: var(--shadow-lg); }
.btn-play svg { width: 26px; height: 26px; }
.btn-play small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; opacity: .8; line-height: 1.1; }
.btn-play span { display: block; font-size: 18px; line-height: 1.15; }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.btn-ghost:hover { color: var(--ink); }

/* eyebrow / headings */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); margin: 0; }

section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; max-width: 680px; }

/* hero */
.hero { padding: 20px 0; min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); display: flex; align-items: center; }
.hero > .wrap { width: 100%; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-logo { width: clamp(44px, 8vh, 72px); height: clamp(39px, 7vh, 64px); margin-bottom: clamp(6px, 1.5vh, 16px); }
.hero h1 { font-size: clamp(48px, min(9vw, 13vh), 104px); font-weight: 900; letter-spacing: -.04em; line-height: .95; }
.tagline { font-size: clamp(19px, min(2.6vw, 3.6vh), 28px); color: var(--muted); font-weight: 400; margin: clamp(4px, 1.2vh, 14px) 0 clamp(10px, 2.4vh, 22px); }
.hero .lede { max-width: 30em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: clamp(16px, 3.2vh, 30px); }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: clamp(14px, 3vh, 28px); font-size: 14.5px; color: var(--ink-2); }
.hero-meta b { color: var(--ink); font-weight: 800; }
.hero-shot { position: relative; display: flex; justify-content: center; }
.hero-shot::before {
  content: ""; position: absolute; inset: 6% -4% 4%;
  border-radius: 40px; background-color: var(--bg-2);
  background-image: radial-gradient(circle, rgba(11,18,53,.14) 1.2px, transparent 1.6px); background-size: 26px 26px; }
.hero .phone { width: auto; }
.hero .phone img { width: auto; height: calc(100vh - 69px - 90px); height: calc(100svh - 69px - 90px); max-height: 640px; }
@media (max-width: 860px) {
  .hero { min-height: 0; padding: 32px 0 8px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-shot { order: 2; }
  .hero .phone { width: min(100%, 260px); }
  .hero .phone img { width: 100%; height: auto; }
}

/* phone frame */
.phone {
  position: relative; width: min(100%, 300px);
  padding: 9px; border-radius: 38px; background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.phone img { border-radius: 30px; width: 100%; height: auto; }
.tilt-l { transform: rotate(-3deg); }
.tilt-r { transform: rotate(3deg); }

/* campaigns */
.campaigns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 22px; }
.campaign {
  border-radius: 28px; padding: clamp(26px, 4vw, 38px); color: #fff;
  display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.campaign.maze { background: linear-gradient(135deg, var(--maze-a), var(--maze-b)); }
.campaign.bunny { background: linear-gradient(135deg, var(--bunny-a), var(--bunny-b)); }
.campaign .badge {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.16); font-size: 28px;
}
.campaign .badge svg { width: 28px; height: 28px; }
.campaign h3 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; }
.campaign .count { font-size: 15px; opacity: .85; margin-top: -8px; }
.campaign p { margin: 0; opacity: .92; }
.campaign .pill {
  align-self: flex-start; margin-top: 6px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.95); font-weight: 700; font-size: 14px;
}
.campaign.maze .pill { color: var(--maze-b); }
.campaign.bunny .pill { color: var(--bunny-b); }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.feature {
  background: var(--card); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
}
.feature .ico {
  width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft);
  display: grid; place-items: center; color: var(--accent);
}
.feature .ico svg { width: 24px; height: 24px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* how to play */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; counter-reset: s; }
.step { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step p { margin: 6px 0 0; color: var(--ink-2); font-size: 15.5px; }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; justify-items: center; }
.shots figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.shots figcaption { font-size: 14.5px; color: var(--ink-2); text-align: center; max-width: 240px; }

/* calm band */
.calm {
  background: var(--card); border-radius: 32px; padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; align-items: center;
}
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist li::before {
  content: "→"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 14px;
  display: grid; place-items: center; margin-top: 1px;
}

/* final cta */
.cta {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px;
}

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14.5px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); }

/* legal pages */
.legal-head { padding: clamp(40px, 6vw, 72px) 0 28px; }
.legal-head h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 900; letter-spacing: -.03em; margin-top: 10px; }
.legal-head .meta { color: var(--muted); font-size: 15px; margin-top: 10px; }
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; padding-bottom: 96px; }
.toc {
  position: sticky; top: 92px; background: var(--card); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; font-size: 14.5px;
}
.toc a { color: var(--ink-2); }
.toc .eyebrow { font-size: 11px; margin-bottom: 4px; }
.doc {
  background: var(--card); border-radius: 28px; padding: clamp(24px, 4.5vw, 52px);
  box-shadow: var(--shadow); min-width: 0;
}
.doc section { padding: 0; margin-top: 38px; scroll-margin-top: 92px; }
.doc section:first-of-type { margin-top: 28px; }
.doc h2 { font-size: 23px; font-weight: 800; margin-bottom: 10px; }
.doc h3 { font-size: 17px; margin: 18px 0 6px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.doc p { margin: 10px 0 0; }
.doc ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.doc strong { color: var(--ink); }
.summary {
  background: var(--accent-soft); border-radius: 18px; padding: 20px 22px; margin-top: 4px;
}
.summary p { color: var(--ink); margin: 0; }
.summary ul { margin-top: 8px; }
.summary li { color: var(--ink); }
.table-wrap { overflow-x: auto; margin-top: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
th { color: var(--ink); font-weight: 700; background: var(--bg-2); }
.contact-card {
  margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px;
  display: grid; gap: 4px; color: var(--ink-2);
}
.contact-card strong { color: var(--ink); }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; }
}
