/* About page (owner-approved sample, 2026-10-25). Visuals are deliberately
   general shapes, icons and flags, not copies of app screens, so the page
   stays true when the app's UI changes. Motion is CSS only and switches off
   for people who ask the system to reduce motion. */
.about-page {
  --about-ink: #0f172a;
  --about-body: #334155;
  --about-muted: #536471;
  --about-line: #e5e7eb;
  --about-blue: #0a7fe8;
  --about-cyan: #1bbaf8;
  --about-tint: #f6fafe;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
  color: var(--about-ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.about-page h1,
.about-page h2,
.about-page p {
  margin: 0;
}

.about-kicker {
  font-size: 15px;
  font-weight: 700;
  color: var(--about-blue);
  letter-spacing: 0.02em;
}

.about-h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Hero ------------------------------------------------------------------ */
.about-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: 18px;
  background:
    radial-gradient(560px 380px at 80% 45%, rgba(27, 186, 248, 0.14), transparent 70%),
    linear-gradient(145deg, #eff6ff 0%, #ffffff 58%, #ecfdf5 100%);
}

.about-hero-copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-title {
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.about-title-grad {
  background: linear-gradient(120deg, #3fd6fb, #1bbaf8 45%, #0a7fe8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-lead {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--about-body);
}

/* Shared stage: absolutely placed art that collapses to a column on phones. */
.about-stage {
  position: relative;
  min-width: 0;
  margin: 0;
}

.about-abs,
.about-deco {
  position: absolute;
}

.about-hero-stage {
  flex: 1 1 440px;
  height: 440px;
}

.about-ring {
  left: 50%;
  top: 54%;
  border-radius: 50%;
  border: 1.5px solid rgba(27, 186, 248, 0.26);
  animation: about-ring 5s ease-in-out infinite;
}

.about-ring--outer { width: 380px; height: 380px; margin: -190px 0 0 -190px; }
.about-ring--inner { width: 260px; height: 260px; margin: -130px 0 0 -130px; animation-delay: -2s; }

.about-hero-lines {
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-hero-lines path,
.about-globe-routes path {
  fill: none;
  stroke: var(--about-cyan);
  stroke-linecap: round;
}

.about-hero-lines path {
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.about-flow {
  stroke-dasharray: 4 9;
  animation: about-flow 1.6s linear infinite;
}

.about-hero-pills {
  left: 50%;
  top: 3%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.about-icon-pill {
  width: 44px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--about-line);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-icon-pill svg,
.about-card-icon,
.about-space-icon svg,
.about-space-tile-icon svg,
.about-safety-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-icon-pill svg { width: 18px; height: 18px; color: var(--about-ink); }
.about-icon-pill--on { background: var(--about-ink); border-color: var(--about-ink); }
.about-icon-pill--on svg { color: #ffffff; }

.about-hero-post {
  left: 50%;
  top: 54%;
  width: 240px;
  margin: -96px 0 0 -120px;
  padding: 18px;
  border: 1px solid var(--about-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 44px -18px rgba(15, 23, 42, 0.28);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.about-dot {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.about-dot--brand { width: 34px; height: 34px; background: linear-gradient(135deg, #3fd6fb, #0a7fe8); }
.about-dot--sm { width: 22px; height: 22px; background: var(--about-cyan); }
.about-dot--green { background: #d1fae5; }
.about-dot--amber { background: #fde68a; }
.about-dot--sky { background: #dbeafe; }

.about-bars {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-bar { display: block; height: 7px; border-radius: 4px; background: #e2e8f0; }
.about-bar--name { width: 60%; height: 9px; background: var(--about-ink); }
.about-bar--meta { width: 42%; height: 6px; background: #cbd5e1; }
.about-bar--title { width: 80%; height: 9px; background: var(--about-body); }
.about-bar--short { width: 65%; }

.about-post-actions { display: flex; gap: 8px; padding-top: 2px; }
.about-post-actions span { width: 30px; height: 22px; border-radius: 999px; border: 1px solid var(--about-line); }
.about-post-actions .about-post-share { width: 22px; margin-left: auto; border-radius: 50%; }

.about-flag-bubble {
  left: var(--x);
  top: var(--y);
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  overflow: hidden;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.35);
  animation-delay: var(--d);
}

.about-flag-bubble img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-float-a { animation: about-float 7s ease-in-out infinite; }
.about-float-c { animation: about-float-pills 6.5s ease-in-out -4s infinite; }
.about-glow { animation: about-glow 3.2s ease-in-out infinite; }
.about-pop { animation: about-pop 5s ease-out infinite; animation-delay: var(--d, 0s); }

/* Who it's for ----------------------------------------------------------- */
.about-for {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.about-card {
  padding: 24px;
  border: 1px solid var(--about-line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-card-top { display: flex; align-items: center; justify-content: space-between; }
.about-num { font-size: 13px; font-weight: 700; color: var(--about-blue); }
.about-card-icon { width: 24px; height: 24px; color: var(--about-ink); }
.about-card h2 { font-size: 20px; }
.about-card p { font-size: 15px; line-height: 1.55; color: var(--about-muted); }

/* Reach ------------------------------------------------------------------ */
.about-reach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: 18px;
  background: var(--about-tint);
}

.about-reach-copy {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-reach-copy p:not(.about-kicker) { font-size: 18px; line-height: 1.6; color: var(--about-body); }

.about-globe {
  flex: 1 1 460px;
  aspect-ratio: 520 / 420;
}

.about-globe-art { inset: 0; width: 100%; height: 100%; }
.about-globe-fill { fill: #eaf6fd; }
.about-globe-grid { fill: none; stroke: #cfe8f7; stroke-width: 1.5; }
.about-globe-routes path { stroke-width: 2.5; }

.about-globe-post {
  left: 50%;
  top: 50%;
  width: 150px;
  margin: -38px 0 0 -75px;
  padding: 12px;
  border: 1px solid #cfe8f7;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 30px -16px rgba(10, 127, 232, 0.45);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.about-globe-post .about-post-head { gap: 7px; font-weight: 700; }

.about-place {
  padding: 8px 12px;
  border: 1px solid var(--about-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px -14px rgba(15, 23, 42, 0.3);
  display: flex;
  align-items: center;
  gap: 9px;
}

.about-place img { width: 26px; height: 19px; border-radius: 3px; box-shadow: 0 0 0 1px var(--about-line); }
.about-place span { display: flex; flex-direction: column; }
.about-place strong { font-size: 14px; }
.about-place small { font-size: 11px; color: #64748b; }

/* Spaces ----------------------------------------------------------------- */
.about-spaces { display: flex; flex-direction: column; gap: 28px; }

.about-section-head {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-section-head p:not(.about-kicker) { font-size: 18px; line-height: 1.6; color: var(--about-body); }

.about-spaces-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-steps {
  flex: 1 1 320px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-steps li { display: flex; gap: 14px; }
.about-steps li > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.about-steps strong { font-size: 17px; }
.about-steps li > span:last-child > span { font-size: 15px; line-height: 1.5; color: var(--about-muted); }

.about-step-num,
.about-marker {
  flex: none;
  border-radius: 50%;
  background: var(--about-blue);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-step-num { width: 32px; height: 32px; font-size: 14px; }
.about-marker { width: 24px; height: 24px; font-size: 12px; }

.about-space-art {
  flex: 1 1 440px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--about-line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 50px -28px rgba(15, 23, 42, 0.3);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-space-head { display: flex; align-items: center; gap: 14px; }
.about-space-head .about-bar--name { width: 55%; height: 11px; }

.about-space-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3fd6fb, #0a7fe8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-space-icon svg { width: 24px; height: 24px; }
.about-space-join { flex: none; width: 64px; height: 30px; border-radius: 999px; background: #1da1f2; }

.about-space-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: var(--about-tint);
}

.about-space-filters .about-icon-pill { width: 46px; }
.about-space-filters .about-marker { margin-left: auto; }

.about-space-posts { display: flex; flex-direction: column; gap: 14px; }
.about-space-post { display: flex; align-items: center; gap: 12px; }

.about-space-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.about-space-tile {
  padding: 18px;
  border: 1px solid var(--about-line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--about-ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-space-tile > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.about-space-tile strong { font-size: 15px; }
.about-space-tile small { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #64748b; }
.about-space-tile small img { width: 16px; height: 12px; border-radius: 2px; }

.about-space-tile-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e8f7fd;
  color: var(--about-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-space-tile-icon svg { width: 22px; height: 22px; }

.about-space-tile--request { border: 1.5px dashed #9cc9ec; background: var(--about-tint); }
.about-space-tile--request:hover { border-color: var(--about-blue); }

.about-space-tile-plus {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1da1f2;
  color: #ffffff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-note { font-size: 14px; color: var(--about-muted); }

/* Safety, story, apps line ------------------------------------------------ */
.about-safety {
  padding: 28px;
  border: 1px solid var(--about-line);
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.about-safety > div { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.about-safety h2 { font-size: 22px; }
.about-safety p { font-size: 16px; line-height: 1.55; color: var(--about-muted); }

.about-safety-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-safety-icon svg { width: 28px; height: 28px; }

.about-story {
  padding: clamp(28px, 4.5vw, 52px);
  border-radius: 18px;
  background: linear-gradient(145deg, #eff6ff, #ffffff);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

.about-story-logo img,
.about-story-logo span {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  display: block;
}

.about-story-logo span {
  background: linear-gradient(135deg, #3fd6fb, #0a7fe8);
  color: #ffffff;
  font-size: 56px;
  font-weight: 800;
  line-height: 120px;
  text-align: center;
}

.about-story-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.about-story-copy h2 { font-size: 32px; letter-spacing: -0.02em; }
.about-story-copy p:not(.about-kicker) { font-size: 16px; line-height: 1.6; color: var(--about-body); }
.about-story-copy strong { font-size: 16px; }

.about-apps-line {
  text-align: center;
  font-size: 17px;
  color: var(--about-body);
}

.about-apps-line a { color: var(--about-blue); font-weight: 700; text-decoration: none; }
.about-apps-line a:hover { color: #0f6fa8; }

/* Scroll-in: runs on browsers with scroll timelines; elsewhere the content
   simply shows (zero-length animation ends on its visible frame). */
.about-rise {
  animation: about-rise linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 55%;
}

@keyframes about-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes about-float-pills { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }
@keyframes about-ring { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.04); opacity: 0.55; } }
@keyframes about-flow { to { stroke-dashoffset: -26; } }
@keyframes about-pop {
  0% { opacity: 0; transform: translateY(8px) scale(0.92); }
  12%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes about-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(27, 186, 248, 0); } 50% { box-shadow: 0 0 0 6px rgba(27, 186, 248, 0.22); } }
@keyframes about-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .simple-main.public-main--about { padding: 24px 16px 36px; }
  .about-page { gap: 40px; }
  .about-lead,
  .about-reach-copy p:not(.about-kicker),
  .about-section-head p:not(.about-kicker) { font-size: 16px; }

  /* Phones: the art becomes a simple stacked column; decorations hide. */
  .about-stage { height: auto; aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .about-stage .about-deco { display: none; }
  .about-stage .about-abs { position: static; margin: 0; transform: none; }
  .about-hero-post, .about-globe-post { width: min(260px, 100%); }
  .about-float-a, .about-float-c { animation: none; }
  .about-globe { align-items: stretch; }
  .about-globe .about-globe-post { width: auto; }
  .about-place { animation: none; }
  .about-story-copy h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-page *,
  .about-page *::before,
  .about-page *::after {
    animation: none !important;
  }
}
