/* SMSLab about page */
:root {
  --ink: #10142a;
  --ink-soft: #3a4158;
  --muted: #5a6178;
  --muted2: #8b92a8;
  --line: rgba(24, 31, 71, 0.1);
  --line2: rgba(24, 31, 71, 0.16);
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-tint: #eef0ff;
  --purple: #4954e6;
  --purple-2: #7b4dff;
  --purple-soft: rgba(73, 84, 230, 0.1);
  --shadow: 0 14px 40px rgba(16, 20, 42, 0.08);
  --font: "Inter", system-ui, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.sms-page-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.about-page .wrap {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
  background:
    radial-gradient(ellipse 55% 70% at 100% 10%, rgba(73, 84, 230, 0.14), transparent 58%),
    radial-gradient(ellipse 45% 50% at 0% 90%, rgba(123, 77, 255, 0.09), transparent 55%),
    linear-gradient(180deg, #f8f9ff 0%, #ffffff 72%);
  border-bottom: 1px solid var(--line);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 36px 48px;
  align-items: center;
}

.about-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.about-hero h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.about-hero h1 .grad {
  background: linear-gradient(120deg, var(--purple), var(--purple-2) 55%, #4f8cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-hero .lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  max-width: 54ch;
}

.about-hero .lead + .lead {
  margin-bottom: 22px;
}

.about-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(73, 84, 230, 0.16);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.about-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 0 0 3px rgba(73, 84, 230, 0.12);
  animation: about-dot-pulse 2.4s ease-in-out infinite;
}

.about-pill:nth-child(2) i { animation-delay: 0.4s; }
.about-pill:nth-child(3) i { animation-delay: 0.8s; }

.about-hero-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.about-orbit {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
}

.about-orbit-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.about-orbit-ring {
  fill: none;
  stroke: rgba(73, 84, 230, 0.18);
  stroke-width: 1.2;
  stroke-dasharray: 6 10;
  animation: about-ring-spin 28s linear infinite;
  transform-origin: 210px 210px;
}

.about-orbit-ring.r2 {
  stroke: rgba(123, 77, 255, 0.16);
  stroke-dasharray: 3 12;
  animation-duration: 38s;
  animation-direction: reverse;
}

.about-core {
  transform-origin: 210px 210px;
  animation: about-core-breathe 4.8s ease-in-out infinite;
}

.about-core-glow {
  fill: url(#aboutCoreGlow);
  opacity: 0.9;
}

.about-node {
  transform-origin: center;
  animation: about-node-float 5.5s ease-in-out infinite;
}

.about-node.n2 { animation-delay: -1.2s; }
.about-node.n3 { animation-delay: -2.4s; }
.about-node.n4 { animation-delay: -3.1s; }

.about-beam {
  stroke: url(#aboutBeam);
  stroke-width: 1.4;
  stroke-linecap: round;
  fill: none;
  opacity: 0.55;
  stroke-dasharray: 4 8;
  animation: about-beam-flow 3.2s linear infinite;
}

.about-caption {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 20, 42, 0.86);
  color: #f4f6ff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(16, 20, 42, 0.22);
  animation: about-caption-rise 1s ease both 0.35s;
}

.about-hero-copy > * {
  animation: about-rise 0.7s ease both;
}
.about-hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.about-hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.about-hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
.about-hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
.about-hero-copy > *:nth-child(5) { animation-delay: 0.36s; }
.about-hero-copy > *:nth-child(6) { animation-delay: 0.44s; }

@keyframes about-ring-spin {
  to { transform: rotate(360deg); }
}
@keyframes about-core-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
@keyframes about-node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes about-beam-flow {
  to { stroke-dashoffset: -36; }
}
@keyframes about-dot-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(73, 84, 230, 0.12); }
  50% { transform: scale(1.25); box-shadow: 0 0 0 5px rgba(73, 84, 230, 0.08); }
}
@keyframes about-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes about-caption-rise {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .about-orbit-ring,
  .about-core,
  .about-node,
  .about-beam,
  .about-pill i,
  .about-hero-copy > *,
  .about-caption {
    animation: none !important;
  }
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.about-btn,
.about-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.about-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  border: none;
  box-shadow: 0 10px 24px rgba(73, 84, 230, 0.28);
}

.about-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(73, 84, 230, 0.34);
}

.about-btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line2);
}

.about-btn-ghost:hover {
  border-color: rgba(73, 84, 230, 0.35);
  color: var(--purple);
}

.about-section {
  padding: 56px 0;
}

.about-section.is-soft {
  background: var(--bg-soft);
}

.about-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px 36px;
  align-items: end;
  margin-bottom: 28px;
}

.about-section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.about-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 42ch;
}

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

.about-card {
  padding: 22px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 20, 42, 0.03);
}

.about-card .idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.about-founder {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 240px;
  gap: 28px 36px;
  align-items: center;
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(73, 84, 230, 0.14);
  box-shadow: var(--shadow);
}

.about-founder-copy h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
}

.about-founder-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 54ch;
}

.about-founder-photo {
  width: 240px;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  background: #10142a;
  box-shadow: 0 16px 40px rgba(16, 20, 42, 0.16);
  justify-self: end;
}

.about-cta-band {
  padding: 56px 0 64px;
  background: linear-gradient(160deg, #141933 0%, #1b2144 55%, #2a1f5a 100%);
  color: #f4f6ff;
}

.about-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.about-cta-band .about-eyebrow {
  color: #b7bfff;
}

.about-cta-band h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.03em;
  color: #fff;
}

.about-cta-band p {
  margin: 0;
  color: rgba(244, 246, 255, 0.72);
  max-width: 48ch;
  line-height: 1.6;
}

.about-cta-band .about-btn {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
  .about-hero-grid,
  .about-section-head,
  .about-grid,
  .about-founder,
  .about-cta-inner {
    grid-template-columns: 1fr;
  }

  .about-hero-visual {
    order: -1;
    min-height: 280px;
  }

  .about-orbit {
    width: min(100%, 340px);
  }

  .about-founder-photo {
    justify-self: start;
    width: 180px;
    height: 230px;
  }
}

@media (max-width: 640px) {
  .about-page .wrap {
    width: min(1100px, calc(100% - 28px));
  }

  .about-hero {
    padding: 28px 0 24px;
  }

  .about-hero-visual {
    min-height: 240px;
  }

  .about-section,
  .about-cta-band {
    padding: 44px 0;
  }

  .about-founder {
    padding: 20px;
  }

  .about-founder-photo {
    width: 150px;
    height: 200px;
  }
}
