/* Code Axolot — site styles (2b: neo-brutal in logo colors)
   Palette comes from the logo: gills teal + outline navy. */

:root {
  --ink: #1E2F4F;
  --ink-soft: #3A4A63;
  --teal: #2A86A0;
  --teal-dark: #1F6E86;
  --teal-light: #7CC7DB;
  --tint: #CDE8EF;
  --bg: #EAF5F8;
  --paper: #FFFFFF;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius: 20px;
  --font: 'Bricolage Grotesque', system-ui, sans-serif;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { margin: 0; line-height: 1; letter-spacing: -0.03em; font-weight: 800; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 16px; border: var(--line); border-radius: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(40px, 5vw, 64px); }
.section-head p { max-width: 460px; color: var(--ink-soft); font-size: 19px; }
.eyebrow { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 28px;
  border: var(--line); border-radius: 16px; box-shadow: var(--shadow);
  font: inherit; font-weight: 800; font-size: 19px; text-decoration: none; cursor: pointer;
  background: var(--paper); color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Nav */
.site-header { padding: 24px 0 0; position: sticky; top: 0; z-index: 50; }
/* Fade behind the sticky nav so content doesn't run into it while scrolling */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 55%, rgba(234, 245, 248, 0) 100%);
}
.nav {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--paper); border: var(--line); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--ink); padding: 10px 12px 10px 16px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 12px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 17px; }
.nav-links a { text-decoration: none; }
.nav-cta { background: var(--ink); color: #fff !important; padding: 12px 22px; border-radius: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-cta:hover { background: var(--teal-dark); }
.menu-toggle { display: none; }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 580px; gap: 56px; align-items: center; }
.pill { display: inline-block; background: var(--tint); border: var(--line); border-radius: 999px; padding: 6px 18px; font-weight: 700; font-size: 16px; }
.hero h1 { font-size: clamp(56px, 7.4vw, 104px); line-height: 0.95; letter-spacing: -0.04em; margin: 28px 0; }
.hero h1 .mark { display: inline-block; background: var(--teal); color: #fff; border: var(--line); border-radius: 18px; padding: 0 16px 6px; transform: rotate(-2deg); }
.hero .lead { font-size: 22px; color: var(--ink-soft); max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.proof { display: flex; flex-direction: column; gap: 28px; }
.case-card {
  display: flex; align-items: center; gap: 22px; text-decoration: none;
  background: var(--ink); color: #fff; border: var(--line); border-radius: 24px;
  padding: 22px 24px; box-shadow: 8px 8px 0 var(--teal);
}
.case-card:hover { color: #fff; }
.case-card img { width: 96px; height: 96px; border: 3px solid #fff; border-radius: 24px; flex-shrink: 0; }
.case-card .label { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: #B9CBDD; }
.case-card .big { font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -0.03em; color: var(--teal-light); margin: 4px 0; }

/* App icons */
.icon-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 16px; }
.app { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; text-align: center; }
.app-icon { position: relative; width: 84px; height: 84px; }
.app-icon img { width: 84px; height: 84px; border: var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); background: var(--paper); transition: transform .12s ease, box-shadow .12s ease; }
.app:hover .app-icon img { transform: translate(-2px, -2px) rotate(-3deg); box-shadow: 6px 6px 0 var(--ink); }
.app-name { font-size: 14px; font-weight: 700; line-height: 1.15; }
.badge-ours { position: absolute; top: -8px; right: -10px; background: var(--teal); color: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 800; }

.trust { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 56px; }
.trust span { background: var(--paper); border: var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 16px; }

/* Work section */
.work { background: var(--paper); border-top: var(--line); border-bottom: var(--line); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.work-card {
  display: flex; flex-direction: column; gap: 14px; text-decoration: none;
  background: var(--bg); border: var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow);
}
.work-card:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.work-card img { width: 72px; height: 72px; border: var(--line); border-radius: 18px; }
.work-card h3 { font-size: 30px; }
.work-card .tag { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.work-card p { color: var(--ink-soft); font-size: 17px; }
.work-card .store { margin-top: auto; font-weight: 700; font-size: 16px; color: var(--teal-dark); }
.work-card.dark { background: var(--ink); color: #fff; box-shadow: 8px 8px 0 var(--teal); }
.work-card.dark .tag, .work-card.dark p { color: #B9CBDD; }
.work-card.dark .store { color: var(--teal-light); }
.work-card.dark img { border-color: #fff; }

/* Conversion */
.conv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.conv-card { background: var(--paper); border: var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.conv-card p { color: var(--ink-soft); font-size: 17px; }
.conv-big { grid-column: span 2; background: var(--ink); color: #fff; box-shadow: 8px 8px 0 var(--teal); }
.conv-big p { color: #D6E2EC; font-size: 19px; max-width: 560px; }
.conv-label { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.conv-big .conv-label { color: #B9CBDD; }
.conv-nums { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.conv-before { font-size: 56px; color: var(--ink-soft); text-decoration: line-through; text-decoration-thickness: 4px; opacity: .75; }
.conv-big .conv-before { color: #B9CBDD; }
.conv-arrow { font-size: 44px; }
.conv-after { font-size: 88px; color: var(--teal); }
.conv-big .conv-after { color: var(--teal-light); }
.conv-stat { font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -0.04em; color: var(--teal); }
.conv-wide { grid-column: span 2; }
.conv-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.conv-split p { margin-top: 8px; }
.conv-head { display: flex; align-items: center; gap: 14px; }
.conv-head img { width: 56px; height: 56px; border: var(--line); border-radius: 15px; flex-shrink: 0; }
.conv-note { font-size: 14px; color: var(--ink-soft); margin-top: auto; }
.conv-source { font-size: 14px; color: #B9CBDD; margin-top: auto; }
.conv-slot { border-style: dashed; box-shadow: none; background: transparent; }
.conv-slot .conv-before { font-size: 40px; }
.conv-slot .conv-after { font-size: 56px; }
.todo { align-self: flex-start; margin-top: auto; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; background: #FFE58F; color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; padding: 2px 8px; }

.practices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.practice { border: var(--line); border-radius: 24px; padding: 32px; }
.practice h3 { font-size: 30px; display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.practice ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.practice li { font-size: 18px; padding-left: 28px; position: relative; }
.practice.bad { background: var(--paper); }
.practice.bad li { color: var(--ink-soft); }
.practice.bad li::before { content: "✕"; position: absolute; left: 0; font-weight: 800; color: var(--ink-soft); }
.practice.good { background: var(--tint); box-shadow: var(--shadow); }
.practice.good li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--teal-dark); }
.mark-x, .mark-check { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: var(--line); border-radius: 12px; font-size: 22px; flex-shrink: 0; }
.mark-x { background: var(--bg); }
.mark-check { background: var(--teal); color: #fff; }

/* How we work */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { background: var(--paper); border: var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: var(--line); border-radius: 12px; background: var(--tint); font-weight: 800; font-size: 20px; }
.step h3 { font-size: 24px; letter-spacing: -0.02em; }
.step p { color: var(--ink-soft); font-size: 17px; }

/* Contact */
.contact { background: var(--ink); color: #fff; border-top: var(--line); }
.contact .eyebrow { color: #B9CBDD; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(44px, 5.4vw, 72px); margin-bottom: 24px; }
.contact .lead { color: #D6E2EC; font-size: 20px; margin-bottom: 28px; }
.contact a { color: var(--teal-light); }
.contact-facts { display: flex; flex-direction: column; gap: 10px; font-size: 18px; color: #D6E2EC; }
.form { background: var(--paper); color: var(--ink); border: var(--line); border-radius: 24px; padding: 32px; box-shadow: 8px 8px 0 var(--teal); display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 16px; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--bg);
  border: var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px;
  width: 100%; min-width: 0; max-width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field .error { color: #B42318; font-size: 15px; font-weight: 600; }
.form .note { font-size: 14px; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; }
.alert { border: var(--line); border-radius: 16px; padding: 16px 20px; font-weight: 700; background: var(--tint); color: var(--ink); }

/* Footer */
.footer { background: var(--ink); color: #B9CBDD; padding: 32px 0 48px; font-size: 15px; border-top: 1px solid #33466B; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer a { color: #fff; }

/* Count-up numbers */
[data-count] { font-variant-numeric: tabular-nums; }
.counted { animation: count-pop .35s ease-out; }
@keyframes count-pop { 0% { transform: scale(1); } 45% { transform: scale(1.08); } 100% { transform: scale(1); } }
.conv-before.counted { animation: none; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .proof { max-width: 620px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .conv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .site-header { padding-top: 12px; }
  .site-header::before { bottom: -28px; }
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 4px; background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav { position: relative; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; }
  .brand { font-size: 19px; }
  .brand img { width: 40px; height: 40px; }
  .hero { padding: 40px 0 64px; }
  .hero .lead { font-size: 19px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .case-card { padding: 18px; gap: 16px; }
  .case-card img { width: 72px; height: 72px; border-radius: 18px; }
  .case-card .big { font-size: 38px; }
  .icon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 8px; }
  .app-icon, .app-icon img { width: 64px; height: 64px; border-radius: 17px; }
  .app-name { font-size: 12px; }
  .steps, .work-grid, .contact-grid, .conv-grid, .practices { grid-template-columns: minmax(0, 1fr); }
  .conv-big, .conv-wide { grid-column: auto; }
  .conv-split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .conv-after { font-size: 64px; }
  .conv-before { font-size: 40px; }
  .practice { padding: 24px; }
  .practice h3 { font-size: 24px; }
  .contact-grid { gap: 40px; }
  .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .app-icon img, .work-card { transition: none; }
  .counted { animation: none; }
}
