/* ============================================================
   PointMeOut — site design system
   Dark, athletic, mint-accent. Rebuilt 2026-07.
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #060a09;
  --bg-elev: #0a100e;
  --card: #0d1513;
  --card-strong: #111a17;
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f7f4;
  --muted: rgba(242, 247, 244, 0.64);
  --faint: rgba(242, 247, 244, 0.4);
  --mint: #4ce0a1;
  --teal: #2cc9d6;
  --grad: linear-gradient(115deg, #4ce0a1 10%, #2cc9d6 90%);
  --glow-mint: rgba(76, 224, 161, 0.14);
  --glow-teal: rgba(44, 201, 214, 0.12);
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --font-display: "Archivo", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --max-width: 1140px;
  --max-width-wide: 1320px;
  --gutter: clamp(20px, 4vw, 44px);
  --section-pad: clamp(56px, 7.5vw, 96px);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
[role="button"] {
  cursor: pointer;
}

button,
input,
textarea {
  font-family: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

p {
  margin: 0;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: #ffffff;
  color: #000000;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
}

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

.container {
  width: min(calc(100% - (2 * var(--gutter))), var(--max-width));
  margin: 0 auto;
}

.container-wide {
  width: min(calc(100% - (2 * var(--gutter))), var(--max-width-wide));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 24px;
}

/* ---------- shared type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mint);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  color: var(--muted);
  line-height: 1.62;
  text-wrap: pretty;
}

.muted {
  color: var(--muted);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
  margin-bottom: clamp(28px, 4.5vw, 48px);
}

.section-head.center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  min-height: 46px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn-primary {
  background: var(--grad);
  border: 0;
  color: #04120c;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(76, 224, 161, 0.22);
}

.btn-primary:hover {
  background: var(--grad);
  box-shadow: 0 14px 38px rgba(76, 224, 161, 0.32);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* App Store style badge */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 18px;
  min-height: 54px;
  border-radius: 15px;
  background: #f4f7f5;
  color: #0a0f0d;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.store-btn-text small {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}

.store-btn-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- reveal animation ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER (translucent bar, follows scroll)
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6, 10, 9, 0.66);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--stroke);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 12px var(--gutter);
}

.header-menu {
  position: relative;
  flex: 0 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img,
.logo svg {
  width: 96px;
  height: auto;
  display: block;
}

.menu-toggle {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1;
  width: min(92vw, 300px);
  padding: 10px 16px 20px;
  background: rgba(5, 9, 8, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
}

.mobile-menu.is-open {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu a:not(.store-btn) {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 11px 4px;
  border-bottom: 1px solid var(--stroke);
}

.mobile-menu .store-btn {
  margin-top: 16px;
  align-self: stretch;
  justify-content: center;
}

/* keep header above the open menu overlay */
.site-header.menu-open {
  z-index: 210;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--stroke);
  background: #050908;
  padding: clamp(40px, 5.5vw, 64px) 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(110px, 148px) repeat(2, minmax(0, 1fr)) auto;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  padding-bottom: clamp(30px, 4.5vw, 48px);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  width: 96px;
  height: auto;
  display: block;
}

.footer-social {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
}

.footer-social-btn:hover {
  color: var(--text);
  border-color: rgba(76, 224, 161, 0.35);
  background: rgba(76, 224, 161, 0.08);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
}

.footer-bottom small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-legal a:hover {
  color: var(--text);
}

/* ============================================================
   SUBPAGES
   ============================================================ */

.page-hero {
  position: relative;
  padding: clamp(48px, 7.5vw, 96px) 0 clamp(28px, 4.5vw, 56px);
  overflow: clip;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48% 60% at 18% 10%, var(--glow-mint), transparent 70%),
    radial-gradient(40% 50% at 85% 0%, var(--glow-teal), transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  max-width: 16ch;
}

.page-hero .lead {
  max-width: 58ch;
}

.legal-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-wrap: normal;
}

.legal-meta-line {
  white-space: nowrap;
}

.page-body {
  padding: clamp(16px, 3vw, 36px) 0 var(--section-pad);
}

/* prose (legal / long-form) */

.prose {
  max-width: 760px;
  display: grid;
  gap: 18px;
}

.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-top: 24px;
}

.prose h3 {
  font-size: 1.12rem;
  margin-top: 8px;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.72;
}

.prose ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.prose a {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-color: rgba(76, 224, 161, 0.45);
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--text);
}

/* contact cards */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
}

.contact-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--card);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(76, 224, 161, 0.35);
}

.contact-card h3 {
  font-size: 1.04rem;
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-card a {
  margin-top: auto;
  font-weight: 600;
  color: var(--mint);
  font-size: 0.94rem;
}

.contact-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 188px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.faq-nav {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.faq-nav-label {
  margin: 0 0 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mint);
}

.faq-nav a {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.faq-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
  min-width: 0;
}

.faq-section {
  scroll-margin-top: 88px;
}

.faq-section-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.25s ease;
  scroll-margin-top: 88px;
}

.faq-item[open] {
  border-color: rgba(76, 224, 161, 0.35);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-right: 4px;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--muted);
}

.faq-answer p {
  max-width: 70ch;
  line-height: 1.68;
}

.faq-answer a {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-color: rgba(76, 224, 161, 0.45);
  text-underline-offset: 3px;
}

.faq-cta {
  margin-top: 8px;
  padding: clamp(24px, 3.5vw, 32px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(76, 224, 161, 0.1), transparent 58%),
    var(--card);
}

.faq-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  max-width: 18ch;
}

.faq-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.62;
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

/* about page */

.about-story {
  max-width: 720px;
  display: grid;
  gap: 16px;
}

.about-story p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.about-founders {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--stroke);
}

.about-founders-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 680px);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.about-founders-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 42ch;
}

.about-founders-intro h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  max-width: 16ch;
}

.about-founders-intro .lead {
  max-width: none;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.founder-profile .crew-photo {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(80% 80% at 50% 18%, rgba(76, 224, 161, 0.1), transparent 70%),
    var(--card-strong);
}

.founder-profile .crew-photo img {
  object-fit: contain;
  object-position: bottom center;
  padding: 0 8% 2%;
}

.founder-profile .crew-photo::after {
  background: linear-gradient(185deg, transparent 38%, rgba(6, 10, 9, 0.94) 88%);
}

.founder-profile .crew-photo .crew-card-label {
  bottom: 14px;
}

.crew-card-label {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.crew-card-label strong {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.crew-card-label span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ambassadors page grid */

.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.crew-profile {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 24px;
}

.crew-profile .crew-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.crew-profile .crew-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.crew-profile .crew-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, transparent 62%, rgba(6, 10, 9, 0.9) 96%);
}

.crew-profile .crew-photo .crew-card-label {
  bottom: 14px;
}

.crew-profile-body {
  padding: 18px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crew-profile-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

.crew-photo-ph {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 80% at 50% 20%, rgba(76, 224, 161, 0.08), transparent 70%),
    var(--card-strong);
  color: var(--faint);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}

.crew-photo-ph .crew-card-label {
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
}

/* 404 */

.error-hero {
  min-height: 68vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
  position: relative;
  overflow: clip;
}

.error-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 55% at 50% 40%, var(--glow-mint), transparent 72%);
  pointer-events: none;
}

.error-hero .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 14vw, 8.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
