/* GraSnoW marketing — photographic, dark, restrained */

:root {
  --bg: #08110e;
  --bg-quiet: #0b1511;
  --fg: #f3f6f4;
  --muted: rgba(243, 246, 244, 0.62);
  --line: rgba(255, 255, 255, 0.09);
  --emerald: #1db885;
  --emerald-deep: #0c8f66;
  --cyan: #7ec8e3;
  --max: 72rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Mona Sans", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: rgba(29, 184, 133, 0.35); color: #fff; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--emerald);
  color: #042116;
  border-radius: 0.4rem;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid rgba(29, 184, 133, 0.7); outline-offset: 3px; }
.btn-sm { height: 2.5rem; padding: 0 1rem; font-size: 0.8125rem; min-width: 44px; }
.btn-lg { height: 3.25rem; padding: 0 1.5rem; font-size: 1rem; min-width: 11rem; }
.btn-primary {
  background: var(--emerald);
  color: #042116;
  box-shadow: 0 10px 28px -12px rgba(29, 184, 133, 0.55);
}
.btn-primary:hover { background: #24c790; }
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.14);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.14);
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

/* Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(8, 17, 14, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: var(--max);
  margin: 0 auto;
  height: 4rem;
  padding: 0 1.25rem;
}
@media (min-width: 1024px) {
  .navbar-inner { height: 4.75rem; padding: 0 2rem; }
}
.logo {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 16rem;
}
.logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 1.45rem;
  object-fit: contain;
  object-position: left center;
}
@media (min-width: 860px) {
  .navbar-inner > .logo {
    flex: 0 1 auto;
    max-width: 16rem;
  }
  .logo-img {
    max-height: 1.75rem;
    max-width: min(15.5rem, 36vw);
  }
}
.footer-brand .logo {
  flex: 0 1 auto;
  max-width: 18rem;
}
.footer-brand .logo-img {
  max-height: 1.9rem;
  max-width: min(16rem, 88vw);
}
.nav-right { display: flex; align-items: center; flex: 0 0 auto; }
.nav-links { display: none; gap: 1.75rem; }
.nav-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.58);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #fff; }
.navbar-actions { display: flex; gap: 0.5rem; flex: 0 0 auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 860px) {
  .nav-right { flex: 1; justify-content: center; }
  .nav-menu { display: flex; }
  .nav-links { display: flex; }
  .nav-toggle { display: none !important; }
}
@media (max-width: 859px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: calc(4rem + env(safe-area-inset-top));
    left: 0;
    right: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(8, 17, 14, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s var(--ease);
  }
  .nav-menu.open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links { display: flex; flex-direction: column; gap: 0; }
  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .navbar-cta.btn-ghost { display: none; }
  .navbar-inner {
    gap: 0.45rem;
    padding: 0 0.85rem;
  }
  .navbar-inner > .logo {
    flex: 1 1 0;
    min-width: 0;
    max-width: clamp(7.25rem, 40vw, 11rem);
  }
  .logo-img {
    width: 100%;
    max-width: 100%;
    max-height: 1.25rem;
    height: auto;
  }
}
@media (max-width: 430px) {
  .navbar-inner { gap: 0.35rem; padding: 0 0.7rem; }
  .navbar-actions .btn-sm { padding: 0 0.65rem; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 14, 0.82) 0%, rgba(8, 17, 14, 0.45) 52%, rgba(8, 17, 14, 0.25) 100%),
    linear-gradient(180deg, rgba(8, 17, 14, 0.2) 0%, rgba(8, 17, 14, 0.75) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(6.5rem + env(safe-area-inset-top)) 1.5rem 3.5rem;
  display: grid;
  gap: 2.5rem;
  align-items: end;
}
@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    padding: calc(7rem + env(safe-area-inset-top)) 2rem 4.5rem;
  }
}
.hero-copy h1 {
  margin-top: 0.85rem;
  font-size: clamp(2.4rem, 6vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 14ch;
}
.lede, .section-lede {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 36rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.proof {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
}
.proof--plain { margin-top: 1.25rem; }

/* Phone */
.phone {
  position: relative;
  width: min(260px, 72vw);
  margin: 0 auto;
  border-radius: 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0a0c0b;
  padding: 0.45rem;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.phone--sm { width: min(220px, 64vw); }
.phone--md { width: min(270px, 70vw); }
.phone-notch {
  position: absolute;
  left: 50%;
  top: 0.7rem;
  z-index: 2;
  width: 4.6rem;
  height: 1.2rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.85);
}
.phone img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  border-radius: 1.7rem;
}
.hero-device .phone {
  width: min(250px, 68vw);
  margin-left: auto;
}

/* Sections */
.section { padding: 5.5rem 0; }
@media (min-width: 768px) { .section { padding: 7.5rem 0; } }
.section--quiet { background: var(--bg-quiet); }
.section-head { max-width: 40rem; margin: 0 auto 3.5rem; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2,
.trust-copy h2,
.provider-band h2,
.investor-band h2,
.cta h2,
.careers-title {
  margin-top: 0.75rem;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.steps { list-style: none; display: flex; flex-direction: column; gap: 4rem; }
.step {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  justify-items: center;
}
@media (min-width: 800px) {
  .step { grid-template-columns: 0.9fr 1.1fr; justify-items: start; }
  .step--flip .phone { order: 2; }
}
.step-num {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--emerald);
  margin-bottom: 0.5rem;
}
.step-copy h3,
.product-copy h3 {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.step-copy p,
.product-copy p,
.founder p,
.investor-band p {
  margin-top: 0.65rem;
  color: var(--muted);
  max-width: 32rem;
}

.product-row {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 3.5rem;
}
@media (min-width: 860px) {
  .product-row { grid-template-columns: 1fr 1fr; }
  .product-row--flip .product-copy { order: 2; }
}
.phone-pair {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.seasons {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) { .seasons { grid-template-columns: 1fr 1fr; } }
.season-shot {
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a120f;
}
.season-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.season-shot figcaption { padding: 1.25rem 1.3rem 1.45rem; }
.season-shot strong { display: block; margin: 0.35rem 0 0.35rem; font-size: 1.2rem; }
.season-shot figcaption span:last-child { color: var(--muted); font-size: 0.95rem; }
.season-note {
  margin: 1.75rem auto 0;
  text-align: center;
  color: var(--muted);
  max-width: 38rem;
}

.trust-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 860px) { .trust-grid { grid-template-columns: 1.1fr 0.9fr; } }
.trust-list {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.trust-list li {
  padding-left: 0;
  color: var(--muted);
}
.trust-list strong { display: block; color: #fff; margin-bottom: 0.2rem; }

.provider-band,
.investor-band {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .provider-band, .investor-band { grid-template-columns: 1.2fr auto; }
}
.mock-board {
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  min-width: min(20rem, 100%);
}
.mock-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.mock-title { margin: 0.4rem 0 1rem; font-weight: 600; }
.mock-board ul { list-style: none; }
.mock-board li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.team {
  display: grid;
  gap: 2rem;
}
@media (min-width: 760px) { .team { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.founder {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 520px) {
  .founder { grid-template-columns: 8.5rem 1fr; align-items: center; }
}
.founder img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 26%;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
}
.founder-role {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
}
.founder h3 { margin-top: 0.2rem; font-size: 1.35rem; }

.cta { text-align: center; }
.cta-inner { max-width: 40rem; margin: 0 auto; }
.cta .section-lede { margin-left: auto; margin-right: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 max(2.5rem, env(safe-area-inset-bottom));
  background: #050a08;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; padding: 0 2rem; }
}
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col-title {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0.3rem;
}
.footer-col a { font-size: 0.92rem; color: rgba(255, 255, 255, 0.62); }
.footer-col a:hover { color: #fff; }
.footer-tagline { margin-top: 0.75rem; color: rgba(255, 255, 255, 0.42); max-width: 22rem; font-size: 0.9rem; }
.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.5rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 0.85rem; color: rgba(255, 255, 255, 0.4); }
.social-links { display: flex; gap: 0.65rem; }
.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.55);
}
.social-link:hover { color: #fff; }
.social-link svg { width: 1rem; height: 1rem; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 101;
  width: calc(100% - 2rem);
  max-width: 28rem;
  max-height: 90dvh;
  overflow: auto;
  transform: translate(-50%, -50%) scale(0.97);
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #0d1713;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s var(--ease);
}
.modal.modal-lg { max-width: 42rem; }
.modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal[hidden] { display: none; }
.modal.open[hidden] { display: block; }
.modal-close {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.modal h2 { font-size: 1.15rem; padding-right: 2.5rem; }
.modal-desc { margin-top: 0.4rem; font-size: 0.9rem; color: var(--muted); }
.form-group { margin-top: 1rem; }
.form-group label { display: block; font-size: 0.875rem; margin-bottom: 0.4rem; }
.form-input {
  width: 100%;
  height: 3rem;
  padding: 0 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 16px;
}
.form-input:focus {
  outline: none;
  border-color: rgba(29, 184, 133, 0.5);
  box-shadow: 0 0 0 2px rgba(29, 184, 133, 0.25);
}
.form-consent-label {
  display: flex;
  gap: 0.65rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.form-consent-label input { margin-top: 0.2rem; accent-color: var(--emerald); width: 1rem; height: 1rem; flex-shrink: 0; }
.form-consent-label a { color: var(--emerald); text-decoration: underline; }
.form-message { margin-top: 0.5rem; font-size: 0.875rem; }
.form-message.success { color: var(--emerald); }
.form-message.error { color: #f87171; }
.demo-video { margin-top: 1rem; border-radius: 0.75rem; overflow: hidden; background: #000; }
.demo-player { display: block; width: 100%; aspect-ratio: 16/9; }
body.modal-open { overflow: hidden; position: fixed; width: 100%; }
.spinner { animation: spin 1s linear infinite; width: 1rem; height: 1rem; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 767px) {
  .modal {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    transform: translateY(100%);
    border-radius: 1rem 1rem 0 0;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }
  .modal.open { transform: translateY(0); }
  .hero-actions .btn-lg { width: 100%; max-width: 22rem; }
}

/* Careers + legal */
.careers-page main,
.legal-page main { padding-top: calc(4.75rem + env(safe-area-inset-top)); }
.careers-hero-inner { max-width: 40rem; margin: 0 auto; text-align: center; }
.careers-lead { margin: 1.25rem auto 1.75rem; color: var(--muted); max-width: 36rem; }
.careers-perks-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .careers-perks-grid { grid-template-columns: 1fr 1fr; } }
.perk {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}
.perk h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.perk p { color: var(--muted); font-size: 0.95rem; }
.careers-jobs { list-style: none; margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.careers-job {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}
.careers-job-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 0.5rem;
}
.careers-job-tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
}
.careers-job p { color: var(--muted); margin-bottom: 1rem; }
.careers-apply-banner {
  margin-top: 2rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(29, 184, 133, 0.25);
  border-radius: 0.9rem;
}
.careers-apply-banner p { margin-bottom: 1rem; color: var(--muted); }
.careers-apply-banner a:not(.btn) { color: var(--emerald); }

.legal-doc-inner { max-width: 42rem; margin: 0 auto; }
.legal-doc-title { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.03em; margin-top: 0.4rem; }
.legal-doc-meta { margin-top: 0.6rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.4); }
.legal-prose { margin-top: 2rem; color: rgba(255, 255, 255, 0.74); line-height: 1.7; }
.legal-prose h2 { margin: 2rem 0 0.7rem; font-size: 1.1rem; color: #fff; }
.legal-prose p { margin-bottom: 1rem; }
.legal-prose ul { margin: 0 0 1rem 1.2rem; }
.legal-prose a { color: var(--emerald); text-decoration: underline; }
.legal-doc-nav { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); }
.legal-doc-nav a { color: var(--emerald); }

html.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
html.js-ready .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html.js-ready .reveal { opacity: 1; transform: none; }
}
