/* Blend of Check-In Signal and Walkingout:
   Check-In forest #021610 and lime #d6ff4a,
   Walkingout charcoal #0d0f11 and chartreuse #cfff3d,
   Bricolage Grotesque for text, Barlow Condensed for display. */

:root {
  --forest: #10140f;
  --forest-mid: #1a3328;
  --deep: #141a14;
  --ink: #121a16;
  --muted: #24312a;
  --mint: #e7f3ea;
  --lime: #d2ff44;
  --lime-deep: #14180c;
  --page: #f3f7f2;
  --line: #8aab96;
  --emerald: #0b6e53;
  --white: #ffffff;
  --header: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Bricolage Grotesque", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--lime-deep);
}

::selection {
  background: var(--lime);
  color: var(--lime-deep);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 80;
  transform: translateY(-200%);
  background: var(--lime);
  color: var(--lime-deep);
  font-weight: 700;
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.skip:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--forest);
  color: var(--mint);
  min-height: var(--header);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(72rem, calc(100% - 2.5rem));
  min-height: var(--header);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.menu-btn {
  display: none;
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(214, 255, 74, 0.45);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle:checked + .menu-btn span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle:checked + .menu-btn span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:checked + .menu-btn span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
}

.nav ul a {
  color: var(--mint);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav ul a:hover {
  color: var(--lime);
}

.nav-cta {
  flex-shrink: 0;
}

/* Hero */

.hero {
  background-color: #10140f;
  background-image:
    radial-gradient(ellipse 52% 62% at 8% 12%, rgba(150, 255, 214, 0.18), transparent 56%),
    radial-gradient(ellipse 42% 48% at 96% 4%, rgba(207, 255, 61, 0.2), transparent 52%),
    radial-gradient(ellipse 48% 42% at 78% 100%, rgba(14, 168, 122, 0.32), transparent 58%),
    linear-gradient(165deg, #0c100e 0%, #163028 48%, #10140c 100%);
  background-size: 150% 150%, 130% 130%, 140% 140%, 100% 100%;
  color: var(--white);
}

.hero-inner {
  padding: 4.5rem 0 5rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-wrap: balance;
  line-height: 1.35;
}

.kicker-solid {
  background: transparent;
  color: var(--emerald);
  padding: 0;
  letter-spacing: 0.16em;
}

.kicker-on-dark {
  background: rgba(214, 255, 74, 0.12);
}

.display {
  max-width: 16ch;
  font-family: "Barlow Condensed", "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
  font-size: clamp(3.1rem, 8vw, 6.4rem);
}

.display-accent {
  display: block;
  max-width: 18ch;
  margin-top: 0.85rem;
  color: var(--lime);
  font-size: clamp(1.55rem, 3.1vw, 2.55rem);
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.lede {
  max-width: 38rem;
  margin-top: 1.4rem;
  color: var(--mint);
  font-size: 1.08rem;
  line-height: 1.6;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
}

.btn-lime {
  background: var(--lime);
  color: var(--lime-deep);
}

.btn-lime:hover {
  background: #e4ff86;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(214, 255, 74, 0.7);
}

.btn-ghost:hover {
  background: rgba(214, 255, 74, 0.12);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--emerald);
}

.btn-line:hover {
  background: #e7fff3;
}

.text-link {
  display: inline-flex;
  margin-top: 1.15rem;
  color: var(--lime);
  font-weight: 700;
  font-size: 0.95rem;
}

.text-link-ink {
  color: var(--emerald);
}

/* Marquee */

.marquee {
  background: var(--lime);
  color: var(--lime-deep);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  padding: 0.85rem 0;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--lime-deep);
  flex-shrink: 0;
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section h2,
.band h2,
.contact-band h2 {
  max-width: 16ch;
  font-size: clamp(2.15rem, 4.4vw, 3.6rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.sub {
  max-width: 38rem;
  margin-top: 0.9rem;
  color: var(--muted);
}

.band {
  background: var(--deep);
  color: var(--mint);
  padding: 5rem 0;
}

.band h2 {
  color: var(--white);
}

.band .sub {
  color: var(--mint);
}

.split {
  display: grid;
  gap: 2rem;
}

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.points li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  color: var(--white);
  font-size: 0.98rem;
}

.points svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  color: var(--lime);
}

.fine {
  margin-top: 1rem;
  color: var(--mint);
  font-size: 0.92rem;
}

.fine a,
.doc a,
.site-footer a {
  text-underline-offset: 0.18em;
}

.fine a {
  color: var(--lime);
  font-weight: 700;
}

.grid-2,
.grid-3,
.team-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.card h3 {
  margin-top: 0.9rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.card p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.card-dark {
  background: var(--deep);
  border-color: #0c3d2c;
  color: var(--mint);
}

.card-dark p {
  color: var(--mint);
}

.card-dark h3 {
  color: var(--white);
}

.card-lime {
  background: var(--lime);
  border-color: #b6e06a;
  color: var(--lime-deep);
}

.card-lime p,
.card-lime h3 {
  color: var(--lime-deep);
}

.icon {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--emerald);
}

.card-dark .icon {
  color: var(--lime);
}

.card-lime .icon {
  color: var(--lime-deep);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.chips li {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
}

.section-quiet {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.flush-top {
  padding-top: 0;
}

.section-quiet h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.phase {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #e7fff3;
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phase-now {
  background: var(--lime);
  color: var(--lime-deep);
}

.team-card {
  text-align: left;
  padding: 1.6rem;
}

.founders-note {
  margin: 1.35rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
}

.section h2,
.band h2,
.contact-band h2 {
  font-family: "Barlow Condensed", "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.app-card {
  display: grid;
  gap: 1.1rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  overflow: hidden;
}

.app-shot {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  object-position: top center;
  background: #10140f;
}

.app-body {
  padding: 0 1.35rem 1.4rem;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.8rem;
}

.app-brand h3 {
  font-family: "Barlow Condensed", "Bricolage Grotesque", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.app-body p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.pill {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

.service-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.1rem 1.2rem;
}

.service-list h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.service-list p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.where {
  margin-top: 0.35rem;
  color: var(--emerald);
  font-weight: 650;
}

.address-label-ink {
  color: var(--emerald);
}

.address-label {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

.app-body .fine,
#services .fine {
  color: var(--muted);
}

.app-body .fine a,
#services .fine a,
#services .sub a {
  color: var(--emerald);
  font-weight: 700;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--lime);
  color: var(--lime);
}

.socials svg {
  width: 1.15rem;
  height: 1.15rem;
}

#services .socials a,
.section .socials a {
  color: var(--lime-deep);
  background: var(--lime);
  border-color: var(--lime);
}

.to-top {
  position: fixed;
  z-index: 45;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-deep);
  box-shadow: 0 8px 24px rgba(16, 20, 12, 0.28);
  cursor: pointer;
}

.to-top[hidden] {
  display: none;
}

.to-top svg {
  width: 1.35rem;
  height: 1.35rem;
}

.site-footer {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
}

.avatar {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--deep);
  color: var(--lime);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.avatar-photo {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lime);
}

.role {
  margin-top: 0.35rem;
  color: var(--emerald);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-band {
  background:
    radial-gradient(ellipse 40% 80% at 100% 0%, rgba(214, 255, 74, 0.16), transparent 55%),
    var(--forest);
  color: var(--white);
  padding: 5rem 0;
}

.contact-band p {
  max-width: 36rem;
  margin-top: 0.9rem;
  color: var(--mint);
}

.contact-band .btn {
  margin-top: 1.5rem;
}

.contact-band a:not(.btn) {
  color: var(--lime);
  font-weight: 700;
}

.card-dark .feature-icon {
  color: var(--lime);
}

.card-lime .feature-icon {
  color: var(--lime-deep);
}

.sub a {
  color: var(--emerald);
  font-weight: 700;
}

/* Footer */

.site-footer {
  background: var(--forest);
  color: var(--mint);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.site-footer p,
.site-footer li {
  color: var(--mint);
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-footer a {
  color: var(--lime);
  font-weight: 650;
}

.footer-base-plain {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(231, 246, 239, 0.16);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Check-In page */

.feature-icon {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--emerald);
}

.note {
  margin-top: 0;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: #e7fff3;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.98rem;
}

.note a {
  color: var(--emerald);
  font-weight: 700;
}

.doc {
  max-width: 44rem;
  margin: 1.25rem auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem 1.4rem 2.2rem;
}

.doc h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.doc .meta {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.doc h3 {
  margin-top: 1.6rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.doc p,
.doc li {
  color: var(--muted);
  font-size: 1rem;
}

.doc p {
  margin-top: 0.75rem;
}

.doc ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.doc li {
  margin-top: 0.35rem;
}

.doc li::marker {
  color: var(--emerald);
}

.doc strong {
  color: var(--ink);
}

.doc a {
  color: var(--emerald);
  font-weight: 650;
}

.callout {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: #e7fff3;
  border: 1px solid #b6e06a;
  color: var(--ink);
}

.page-end {
  padding-bottom: 4rem;
}

/* Layout breakpoints */

@media (min-width: 720px) {
  .grid-2,
  .team-grid,
  .app-grid,
  .service-list {
    grid-template-columns: 1fr 1fr;
  }

  .app-shot {
    height: 26rem;
  }

  .split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
  }

  .doc {
    padding: 2.4rem 2.4rem 2.6rem;
  }
}

@media (min-width: 980px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (max-width: 979px) {
  .menu-btn {
    display: flex;
  }

  .nav-panel {
    display: none;
    position: absolute;
    left: 50%;
    right: auto;
    top: 100%;
    transform: translateX(-50%);
    width: 100vw;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    margin: 0;
    padding: 0.4rem 1.25rem 1.2rem;
    background: var(--forest);
    border-top: 1px solid rgba(231, 246, 239, 0.12);
  }

  .menu-toggle:checked ~ .nav-panel {
    display: flex;
  }

  .menu-toggle:focus-visible + .menu-btn {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav ul a,
  .nav-panel .nav-cta {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
  }

  .nav-panel .nav-cta {
    margin-top: 0.4rem;
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(72rem, calc(100% - 2rem));
  }

  .hero-inner {
    padding: 3rem 0 3.4rem;
  }

  .section,
  .band,
  .contact-band {
    padding: 3.25rem 0;
  }

  .btn-row .btn {
    flex: 1 1 100%;
  }

  .display {
    max-width: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero {
    animation: drift 18s ease-in-out infinite alternate;
  }

  .marquee-track {
    animation: ticker 36s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .marquee-track,
  .menu-btn span {
    animation: none;
    transition: none;
  }

  .marquee {
    mask-image: none;
  }

  .marquee-copy {
    display: none;
  }

  .marquee-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: 1rem;
  }
}

@keyframes drift {
  from {
    background-position: 0% 0%, 100% 0%, 80% 100%, 0 0;
  }
  to {
    background-position: 18% 12%, 68% 22%, 58% 78%, 0 0;
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
