/* ================= SHARED SECTION TYPE ================= */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(72px, 11vw, 140px) 24px 0; }
.kicker {
  margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.kicker span {
  display: inline-grid; place-items: center; height: 22px; padding: 0 9px; border-radius: 99px;
  background: var(--ink); color: #fff; letter-spacing: .06em; font-size: 10.5px;
}
.title {
  margin: 0; font-weight: 500; font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1; letter-spacing: -.05em;
}
.title .line { display: block; }
.title .muted { color: var(--muted); }
/* second line: words light up from grey to ink after the blur-in */
.in .title .muted .w {
  animation: wordIn 1s var(--ease) forwards, inkIn .7s var(--ease) forwards;
  animation-delay: calc(var(--i) * 70ms + 120ms), calc(var(--i) * 120ms + 700ms);
}
@keyframes inkIn { to { color: var(--ink); } }
.final .in .title .muted .w, .final.in .title .muted .w { animation-name: wordIn, inkInLight; }
@keyframes inkInLight { to { color: #fff; } }
.section-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.section-lede { margin: 0 0 6px; max-width: 400px; justify-self: end; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.center-head { text-align: center; margin-bottom: 48px; }
.center-head .kicker { justify-content: center; }

/* ================= LIFECYCLE STRIP ================= */
.lifecycle {
  max-width: 1180px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.lifecycle p { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.lifecycle ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.lifecycle li {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 8px;
  border-radius: 99px; background: #fff; border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; color: var(--ink);
}
.lifecycle i {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--c); color: var(--on, #fff); font-style: normal; font-size: 12px;
}

/* ================= DEMO ================= */
.demo { display: grid; grid-template-columns: 340px 1fr; gap: 18px; align-items: stretch; }

.data-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.panel-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.tag { padding: 4px 9px; border-radius: 99px; background: var(--bg); color: var(--ink-2); letter-spacing: .1em; font-size: 9.5px; }

.picker { display: grid; gap: 6px; }
.picker button {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 8px 10px 8px 8px; border-radius: 16px; border: 1px solid transparent;
  background: var(--bg); font: inherit; text-align: left; cursor: pointer; color: var(--ink);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.picker button:hover { transform: translateX(3px); }
.picker button[aria-pressed="true"] { background: #fff; border-color: var(--ink); }
.picker img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; object-position: 50% 15%; }
.picker span { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.picker small { font-size: 12px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.picker .try {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%) rotate(-4deg);
  padding: 5px 10px 6px; border-radius: 12px 12px 12px 3px;
  background: #01327b; color: #fff; font-size: 11px; font-weight: 500;
  animation: nudge 2.4s var(--ease) infinite;
}
@keyframes nudge { 0%, 70%, 100% { transform: translateY(-50%) rotate(-4deg); } 80% { transform: translateY(-62%) rotate(-8deg); } 90% { transform: translateY(-50%) rotate(-2deg); } }

.rows { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.rows div { display: grid; grid-template-columns: 112px 1fr; border-top: 1px solid var(--line); }
.rows div:first-child { border-top: 0; }
.rows dt, .rows dd { margin: 0; padding: 10px 12px; font-size: 12.5px; }
.rows dt { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--ink-2); background: #fafaf8; border-right: 1px solid var(--line); font-size: 11.5px; }
.rows dd { font-weight: 500; letter-spacing: -.01em; display: flex; align-items: center; gap: 7px; }
.rows dd.swap { animation: wordIn .6s var(--ease) both; }
.rows dd.swap { opacity: 0; filter: blur(8px); }
.rows dd.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.12em; background: currentColor; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #12a05c; box-shadow: 0 0 0 4px rgba(18,160,92,.15); }

.auto-note { margin-top: auto; display: flex; gap: 12px; align-items: center; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.auto-note strong { color: var(--ink); font-weight: 600; }
.spark { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* player */
.player {
  --c: #e3590c; --on: #fff;
  position: relative; overflow: hidden; min-height: 470px;
  border-radius: 24px; background: var(--c); color: var(--on);
  transition: background .7s var(--ease), color .5s;
  isolation: isolate;
}
.player-portrait {
  position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: 62%;
  object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%);
          mask-image: linear-gradient(90deg, transparent 0, #000 28%);
  transition: opacity .5s var(--ease), transform .9s var(--ease);
  z-index: -1;
}
.player.switching .player-portrait { opacity: 0; transform: translateX(30px) scale(1.03); }

.player-top {
  position: absolute; top: 18px; left: 20px; right: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.made-for { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.player[style*="--on:#111"] .made-for, .player.light .made-for { background: rgba(0,0,0,.08); }
.made-for i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.sound { opacity: .7; }

.player-copy {
  position: absolute; left: 32px; top: 50%; transform: translateY(-56%);
  width: min(48%, 380px); display: flex; flex-direction: column; align-items: flex-start;
}
.scene-k { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.scene-h { margin: 12px 0 0; font-size: clamp(28px, 3.3vw, 44px); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.scene-s { margin: 14px 0 0; font-size: 14.5px; line-height: 1.45; opacity: .85; max-width: 300px; }
.scene-s:empty { display: none; }
.scene-cta {
  margin-top: 20px; display: none; align-items: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 99px; background: #fff; color: #111;
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  box-shadow: 0 14px 24px -14px rgba(0,0,0,.5);
}
.player[data-scene="2"] .scene-cta { display: inline-flex; animation: wordIn .7s var(--ease) both .25s; opacity: 0; filter: blur(8px); }
.player.light .scene-cta { background: #111; color: #fff; }
.scene-fade { animation: wordIn .7s var(--ease) both; opacity: 0; filter: blur(10px); }

.mock-ui {
  position: absolute; right: 7%; bottom: 76px; width: 232px;
  padding: 14px; border-radius: 16px; background: #fff; color: #111;
  box-shadow: 0 30px 50px -24px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(24px) scale(.94) rotate(2deg);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.player[data-scene="1"] .mock-ui { opacity: 1; transform: none; }
.mock-brand { font-weight: 600; font-size: 13px; letter-spacing: -.03em; margin-bottom: 10px; }
.mock-ui small { display: block; font-size: 10px; color: var(--ink-2); margin-bottom: 4px; }
.mock-field { padding: 9px 10px; border-radius: 9px; background: var(--bg); font-size: 12.5px; font-weight: 500; }
.mock-btn {
  margin-top: 10px; padding: 10px; border-radius: 99px; text-align: center;
  background: var(--c); color: var(--on); font-size: 12.5px; font-weight: 600;
  transition: transform .15s, filter .2s;
}
.mock-btn.pressed { transform: scale(.95); filter: brightness(.9); }
.cursor { position: absolute; left: 0; top: 0; transform: translate(var(--cx, 200px), var(--cy, 150px)); pointer-events: none; }

.player-controls {
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px 8px 8px; border-radius: 99px;
  background: rgba(255,255,255,.9); color: #111; backdrop-filter: blur(10px);
}
.player-controls button {
  width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer;
  background: #111; color: #fff; font-size: 9px; letter-spacing: -1px; display: grid; place-items: center;
}
.segments { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.segments span { height: 4px; border-radius: 4px; background: #e2e2dc; overflow: hidden; }
.segments i { display: block; height: 100%; width: 0; background: #111; }
.time { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.why article { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.why-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--ink); font-size: 14px; margin-bottom: 26px;
}
.why h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.why p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

.section-foot { margin: 16px 0 0; font-size: 12px; color: var(--muted); letter-spacing: .02em; }

/* ================= USE CASES ================= */
.uses { padding-bottom: 120px; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.use { display: flex; flex-direction: column; }
.use-visual {
  position: relative; overflow: hidden; aspect-ratio: 4 / 4.4;
  border-radius: 24px; background: var(--c);
}
.use-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 0; transform: scale(1.12) translateX(16%); transform-origin: 50% 0;
  transition: transform 1.1s var(--ease);
}
.use:hover .use-visual img { transform: scale(1.17) translateX(14%); }
.use-ui {
  position: absolute; left: 16px; bottom: 16px; width: min(64%, 230px);
  padding: 14px; border-radius: 16px; background: rgba(255,255,255,.96); color: var(--ink);
  box-shadow: 0 24px 40px -22px rgba(0,0,0,.55);
  transition: transform .7s var(--ease);
}
.use:hover .use-ui { transform: translateY(-8px) rotate(-1.5deg); }
.ui-label { display: block; font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.use-ui strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 10px; }
.ui-video { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 11px; background: var(--bg); font-size: 11px; color: var(--ink-2); line-height: 1.3; }
.ui-video b { display: block; color: var(--ink); font-size: 12px; font-weight: 600; }
.ui-play { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--c); color: #fff; font-size: 10px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 500; padding: 5px 0; color: var(--ink-2); }
.check b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); font-size: 10px; color: var(--ink-2); }
.check.done b { background: #12a05c; border-color: #12a05c; color: #fff; }
.check.now { color: var(--ink); font-weight: 600; }
.check.now b { background: var(--ink); border-color: var(--ink); color: #fff; }
.check:last-of-type { margin-bottom: 8px; }
.tpl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.tpl span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px; border-radius: 10px; background: var(--bg); font-size: 15px; }
.tpl small { font-size: 9.5px; color: var(--ink-2); text-align: center; line-height: 1.15; }
.ui-link { font-size: 12px; font-weight: 600; }

.bubble {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 12px 7px; border-radius: 14px 14px 14px 4px;
  background: var(--hc); color: #fff; font-size: 12.5px; font-weight: 500;
  transform: rotate(-5deg);
  box-shadow: 0 10px 20px -10px rgba(0,0,0,.45);
}
.use-meta { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 10px; }
.use-num { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 12px; font-weight: 500; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.use h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.use p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); max-width: 340px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .section-lede { justify-self: start; }
  .demo { grid-template-columns: 1fr; }
  .data-card { order: 2; }
  .use-grid { grid-template-columns: 1fr 1fr; }
  .use:last-child { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 640px) {
  .section { padding-left: 16px; padding-right: 16px; }
  .lifecycle { padding: 18px 16px; }
  .lifecycle ul { gap: 14px 20px; }
  .player { min-height: 560px; }
  .player-portrait { max-width: none; width: 100%; height: 62%; object-fit: cover; object-position: 50% 10%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%); mask-image: linear-gradient(180deg, transparent 0, #000 30%); }
  .player-copy { top: 64px; left: 20px; right: 20px; width: auto; transform: none; }
  .scene-h { font-size: 32px; }
  .mock-ui { right: 16px; left: auto; bottom: 74px; width: 200px; }
  .why, .use-grid { grid-template-columns: 1fr; }
  .use:last-child { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .spark, .try, .made-for i { animation: none !important; }
  .rows dd.swap, .scene-fade, .player[data-scene="2"] .scene-cta { animation: none; opacity: 1; filter: none; }
}

/* ================= FOUNDER ================= */
.founder-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.fp { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: #ff6a1a; box-shadow: var(--card-shadow); max-width: 460px; width: 100%; justify-self: end; }
.fp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.fp-tag { top: 18px; left: 18px; }
.fp-foot { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); }
.fp-foot small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.fp-foot strong { display: block; margin-top: 3px; font-size: 17px; font-weight: 600; letter-spacing: -.03em; }

.fc { max-width: 500px; }
.fc .title { margin-top: 14px; }
.fc-lede { margin: 20px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.fc-more { margin-top: 14px; }
.fc-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
.fc-more summary::-webkit-details-marker { display: none; }
.fc-more summary i { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); }
.fc-more summary i::before, .fc-more summary i::after { content: ""; position: absolute; left: 5px; top: 8.25px; width: 8px; height: 1.5px; background: #fff; transition: transform .3s var(--ease); }
.fc-more summary i::after { transform: rotate(90deg); }
.fc-more[open] summary i::after { transform: rotate(0); }
.fc-story p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.fc-link { margin-top: 26px; }

.fq { margin-top: clamp(40px, 6vw, 64px); }
.fq-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.fq-head a { letter-spacing: .02em; text-transform: none; font-size: 13px; color: var(--ink); }
.fq-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote { margin: 0; padding: 20px 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); display: flex; flex-direction: column; }
.quote blockquote { margin: 0; font-size: 14.5px; line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; font-size: 12px; color: var(--ink-2); line-height: 1.3; }
.quote figcaption i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); font-style: normal; font-weight: 600; font-size: 11px; color: var(--ink); }
.quote figcaption img { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: 13px; }

@media (max-width: 860px) {
  .founder-wrap { grid-template-columns: 1fr; }
  .fp { justify-self: start; max-width: 380px; }
  .fq-row { grid-template-columns: 1fr; }
}
