/* Public landing page. Colours derive from the platform's brand colour (set in the admin panel), so the
   page follows any rebrand: the hero is the brand colour deepened toward ink. Motion is limited to the
   hero conversation, the data-flow line and a one-time reveal, and stops under prefers-reduced-motion. */
.site {
  --hero: var(--dark, #062a24);
  --hero-ink: #f5faf8;
  --tint: var(--ivory, #f5faf8);
  --ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--ivory, #f5faf8); color: var(--ink);
  font-size: 1.05rem;
}
.site-container { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }
.site-skip { position: absolute; z-index: 50; inset-inline-start: 1rem; top: .5rem; background: #fff; padding: .4rem .8rem; border-radius: .5rem; }
.site section[id] { scroll-margin-top: 4.5rem; }

/* ---- header ---- */
.site-top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, #fff 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-nav { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.site-links { display: flex; gap: 1.5rem; margin-inline: auto; }
.site-links a, .site-login, .site-lang { color: #33454d; text-decoration: none; font-weight: 500; }
.site-links a:hover, .site-login:hover { color: var(--brand-ink); }
.site-actions { display: flex; align-items: center; gap: 1rem; }
.site-lang { font-size: .9rem; }
.site-top .brand-mark, .site-actions .btn { white-space: nowrap; }

/* ---- hero ---- */
.site-hero { position: relative; background: var(--hero); color: var(--hero-ink); padding-block: 4.5rem 5rem; overflow: hidden; isolation: isolate; }
.hero-pattern { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; opacity: .05; z-index: -1;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 25% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 25% 50%, #000 20%, transparent 75%); }
[dir="ltr"] .hero-pattern { -webkit-mask-image: radial-gradient(ellipse 70% 90% at 75% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 75% 50%, #000 20%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.hero-copy h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.3; color: #fff; margin-bottom: 1.25rem; max-width: 15ch; }
.hero-lead { font-size: 1.2rem; line-height: 1.9; color: color-mix(in srgb, var(--hero-ink) 82%, transparent); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-cta .btn-light, .site-final .btn-light { color: var(--brand-ink); font-weight: 800; }
.btn-ghost { color: #fff; border: 1px solid color-mix(in srgb, #fff 35%, transparent); font-weight: 700; }
.btn-ghost:hover { color: #fff; background: color-mix(in srgb, #fff 10%, transparent); }
.hero-facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  font-size: .92rem; color: color-mix(in srgb, var(--hero-ink) 75%, transparent); }
.hero-facts li { display: flex; align-items: center; gap: .35rem; }
.hero-facts .check-icon { width: 1rem; height: 1rem; color: #5fe0b8; stroke-width: 2.6; margin: 0; }

/* the demo widget, which is also the hero carousel */
.demo-wrap { justify-self: center; width: 100%; max-width: 26rem; }
.demo { position: relative; background: #fff; color: var(--ink); border-radius: 1.25rem; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.demo-slide[hidden] { display: none; }
.demo-head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.15rem; background: var(--charcoal); color: #fff; }
.demo-head strong { display: block; font-size: 1rem; }
.demo-avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: #fff; flex: none; }
.demo-avatar .industry-art { width: 2.3rem; height: 2.3rem; }
.demo-status { display: flex; align-items: center; gap: .4rem; font-size: .8rem; opacity: .9; }
.demo-status i { width: .5rem; height: .5rem; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.demo-log { padding: 1.15rem; display: flex; flex-direction: column; gap: .7rem; background: #f6f8f8; height: 21rem; }
.msg { margin: 0; padding: .65rem .95rem; border-radius: 1rem; max-width: 86%; line-height: 1.75; font-size: .97rem; }
.msg.me { align-self: flex-end; background: var(--brand); color: var(--on-brand); border-end-end-radius: .3rem; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-end-start-radius: .3rem; }
.msg.bot p { margin: 0; }
.demo-icon { width: 1rem; height: 1rem; flex: none; }
.demo-lookup { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; margin: 0;
  font-size: .82rem; color: var(--brand-ink); background: var(--brand-soft); border-radius: 99px; padding: .25rem .7rem; }
.dots { display: inline-flex; gap: 2px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .35; }
.demo-source { display: flex; align-items: center; gap: .35rem; margin-top: .45rem; padding-top: .45rem; border-top: 1px dashed var(--line);
  font-size: .78rem; color: var(--muted); }
.demo-source .demo-icon { width: .85rem; height: .85rem; }
.demo-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.demo-chips span { border: 1px solid var(--brand); border-radius: 99px; padding: .25rem .75rem; font-size: .82rem; background: #fff; }
.demo-input { display: flex; align-items: center; gap: .6rem; padding: .75rem; border-top: 1px solid var(--line); background: #fff; }
.demo-input span { flex: 1; border: 1px solid #d5dcde; border-radius: .75rem; padding: .5rem .8rem; color: #8a979d; font-size: .9rem; }
.demo-input b { background: var(--brand); color: var(--on-brand); border-radius: .75rem; padding: .5rem 1rem; font-size: .9rem; }
.demo-controls { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1.1rem; }
.demo-dots { display: flex; gap: .35rem; }
.demo-dot { border: 0; background: none; padding: .5rem .2rem; cursor: pointer; }
.demo-dot span { display: block; width: 1.6rem; height: 4px; border-radius: 4px; background: color-mix(in srgb, #fff 28%, transparent); overflow: hidden; }
.demo-dot[aria-selected="true"] span { background: color-mix(in srgb, #fff 40%, transparent); }
.demo-dot[aria-selected="true"] span::after { content: ""; display: block; height: 100%; width: 100%; background: #fff; transform-origin: right; }
[dir="ltr"] .demo-dot[aria-selected="true"] span::after { transform-origin: left; }
.demo-pause { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid color-mix(in srgb, #fff 35%, transparent);
  background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.demo-pause svg { width: .9rem; height: .9rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.demo-pause .i-play { display: none; fill: currentColor; }
.demo-pause[aria-pressed="true"] .i-play { display: block; }
.demo-pause[aria-pressed="true"] .i-pause { display: none; }
.demo-dot:focus-visible, .demo-pause:focus-visible, .rail-btn:focus-visible, .rail:focus-visible { outline: 3px solid #5fe0b8; outline-offset: 2px; }

/* ---- sections ---- */
.site-section { padding-block: 5.5rem; }
.site-tint { background: var(--tint); border-block: 1px solid var(--line); }
.site-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.4; margin-bottom: .75rem; max-width: 24ch; }
.section-lead { color: var(--muted); font-size: 1.1rem; line-height: 1.9; max-width: 40rem; margin-bottom: 2.5rem; }

/* how it works: a real sequence, so it is numbered */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; }
.step-art { position: relative; background: var(--tint); border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.25rem 1rem; margin-bottom: 1.25rem; }
.step-art::before { content: counter(step); position: absolute; top: .75rem; inset-inline-start: .75rem; width: 2rem; height: 2rem;
  border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; color: var(--on-brand); background: var(--brand); }
.steps h3 { font-size: 1.2rem; font-weight: 800; }
.steps p { color: var(--muted); line-height: 1.85; margin: 0; }

/* illustration palette (SVG classes) */
.art { display: block; width: 100%; height: auto; max-height: 9.5rem; }
.a-panel { fill: #fff; stroke: #cfd8da; stroke-width: 1.5; }
.a-brand { fill: var(--brand); }
.a-brand-soft { fill: var(--brand-soft); }
.a-brand-ring { fill: none; stroke: var(--brand); stroke-width: 3; }
.a-brand-stroke { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; }
.a-paper { fill: #fff; }
.a-paper-dim { fill: color-mix(in srgb, #fff 55%, transparent); }
.a-paper-stroke { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.a-paper-thick { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.a-ink-stroke { fill: none; stroke: var(--brand-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.a-line { fill: #c3ccce; }
.a-line.soft { fill: #e2e8e9; }
.a-stroke { fill: none; stroke: #cfd8da; stroke-width: 1.5; }
.a-toggle { fill: var(--brand); }
.a-swatch.s1 { fill: var(--brand); } .a-swatch.s2 { fill: #d89b2b; } .a-swatch.s3 { fill: #5b6b73; }
.a-chip, .a-chat { fill: var(--brand); }
.a-dot { fill: #d5dcde; }
.a-code { fill: #062a24; }
.a-code-mark { fill: none; stroke: #5fe0b8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a-lock { fill: #d89b2b; }
.a-lock-arc { fill: none; stroke: #d89b2b; stroke-width: 3; }
.a-flow { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 7; }
.industry-art { width: 3rem; height: 3rem; flex: none; }

/* industries rail: a horizontal carousel that scrolls by snapping, with buttons */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.rail-nav { display: flex; gap: .5rem; margin-bottom: 2.5rem; }
.rail-btn { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: border-color .15s, color .15s; }
.rail-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
[dir="ltr"] .rail-btn svg { transform: scaleX(-1); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(17.5rem, 21rem); gap: 1.25rem; overflow-x: auto;
  scroll-snap-type: inline mandatory; scroll-padding-inline: max(1.25rem, (100% - 72rem) / 2);
  padding: .25rem max(1.25rem, (100% - 72rem) / 2) 1.5rem; scrollbar-width: none; overscroll-behavior-inline: contain; }
.rail::-webkit-scrollbar { display: none; }
.industry { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.4rem;
  display: flex; flex-direction: column; gap: .75rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.industry:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -24px rgba(8, 22, 26, .45); }
.industry-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .25rem; }
.industry h3 { font-size: 1.05rem; font-weight: 800; margin: 0; }
.industry .msg { font-size: .93rem; }
.industry .msg.bot { background: #f6f8f8; }
.example-source { display: flex; align-items: center; gap: .4rem; margin: auto 0 0; padding-top: .5rem; font-size: .82rem; color: var(--brand-ink); }

/* safety: the path of a question, then the guarantees */
.flow { display: grid; grid-template-columns: 1fr 4.5rem 1.2fr 4.5rem 1fr; align-items: center; margin: 0 0 2.5rem; }
.flow-node { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem; display: grid; gap: .2rem; justify-items: start; }
.flow-node strong { font-size: 1.02rem; }
.flow-node > span:not(.flow-icon):not(.flow-blocked) { color: var(--muted); font-size: .9rem; }
.flow-icon { width: 2.6rem; height: 2.6rem; border-radius: .8rem; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: .4rem; }
.flow-icon .nav-icon { width: 1.35rem; height: 1.35rem; color: inherit; }
.flow-guard { border: 2px solid var(--brand); box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--brand) 70%, transparent); }
.flow-guard .flow-icon { background: var(--brand); color: var(--on-brand); }
.flow-blocked { display: inline-flex; align-items: center; gap: .35rem; margin-top: .6rem; font-size: .82rem; font-weight: 700;
  color: #9a3412; background: #e8f6f0; border: 1px solid #fed7aa; border-radius: 99px; padding: .2rem .7rem; }
.flow-link { height: 3px; position: relative; }
.flow-link i { position: absolute; inset: 0; border-radius: 3px;
  background: repeating-linear-gradient(to left, var(--brand) 0 8px, transparent 8px 16px); }
[dir="ltr"] .flow-link i { background: repeating-linear-gradient(to right, var(--brand) 0 8px, transparent 8px 16px); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.checks li { display: flex; gap: .8rem; padding: .95rem 0; border-bottom: 1px solid var(--line); line-height: 1.8; }
.check-icon { width: 1.25rem; height: 1.25rem; flex: none; color: var(--brand); margin-top: .3rem; stroke-width: 2.4; }

/* ---- plans ---- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.75rem; display: flex; flex-direction: column; }
.plan-featured { border: 2px solid var(--brand); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--brand) 60%, transparent); }
.plan-flag { position: absolute; top: -.8rem; inset-inline-start: 1.5rem; background: var(--brand); color: var(--on-brand); font-size: .78rem; font-weight: 700; border-radius: 99px; padding: .15rem .75rem; }
.plan h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .35rem; }
.plan-desc { color: var(--muted); font-size: .95rem; min-height: 3rem; }
.plan-cost { margin: .5rem 0 0; color: var(--muted); }
.plan-cost strong { font-size: 2.5rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-yearly { font-size: .88rem; color: var(--muted); margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .55rem; flex: 1; align-content: start; }
.plan li { display: flex; gap: .55rem; font-size: .95rem; }
.plan .check-icon { width: 1.05rem; height: 1.05rem; margin-top: .3rem; }

/* ---- FAQ ---- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 800; font-size: 1.3rem; line-height: 1; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); line-height: 1.9; margin: .75rem 0 0; }

.site-final { position: relative; background: var(--hero); color: #fff; padding-block: 4.5rem; text-align: center; overflow: hidden; isolation: isolate; }
.site-final .hero-pattern { -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 50%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 100% at 50% 50%, #000 10%, transparent 70%); }
.site-final h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .6rem; }
.site-final p { color: color-mix(in srgb, #fff 75%, transparent); margin-bottom: 1.75rem; }

.site-footer { padding-block: 2.5rem; border-top: 0; background: #fff; color: var(--muted); font-size: .95rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer-tagline { margin: .4rem 0 0; font-size: .9rem; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: .4rem; }
.footer-links a, .footer-contact a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--brand-ink); }

/* ---- motion (only when the visitor has not asked for less) ---- */
@media (prefers-reduced-motion: no-preference) {
  .play .demo-log > * { animation: demo-in .45s var(--ease) both; }
  .play .demo-log > :nth-child(1) { animation-delay: .25s; }
  .play .demo-log > :nth-child(2) { animation-delay: .9s; }
  .play .demo-log > :nth-child(3) { animation-delay: 2.1s; }
  .play .demo-log > :nth-child(4) { animation-delay: 2.7s; }
  .play .dots i { animation: dot 1.2s infinite both; }
  .play .dots i:nth-child(2) { animation-delay: .15s; } .play .dots i:nth-child(3) { animation-delay: .3s; }
  .play .demo-head .demo-avatar { animation: pop .5s var(--ease) both; }
  .js-carousel .demo-dot[aria-selected="true"] span::after { animation: progress var(--interval, 7s) linear both; }
  .js-carousel.is-paused .demo-dot[aria-selected="true"] span::after { animation-play-state: paused; }

  .js .reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .steps .reveal:nth-child(2) { transition-delay: .12s; } .steps .reveal:nth-child(3) { transition-delay: .24s; }
  .checks .reveal:nth-child(even) { transition-delay: .08s; }
  .in .draw { stroke-dasharray: 700; animation: draw 1.4s var(--ease) both; }
  .in .a-float { animation: float 4s ease-in-out .8s infinite; }
  .in .a-pop { animation: pop .6s var(--ease) .9s both; transform-box: fill-box; transform-origin: center; }
  .in .a-rows rect { animation: demo-in .5s var(--ease) both; }
  .in .a-rows rect:nth-child(2) { animation-delay: .15s; } .in .a-rows rect:nth-child(3) { animation-delay: .3s; } .in .a-rows rect:nth-child(4) { animation-delay: .45s; }
  .a-flow { animation: march 1.1s linear infinite; }
  .flow.in .flow-link i { animation: flow 1s linear infinite; }
  [dir="ltr"] .flow.in .flow-link i { animation-name: flow-ltr; }
}
@keyframes demo-in { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw { from { stroke-dashoffset: 700; } to { stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes march { to { stroke-dashoffset: -18; } }
@keyframes flow { from { background-position: 0 0; } to { background-position: -32px 0; } }
@keyframes flow-ltr { from { background-position: 0 0; } to { background-position: 32px 0; } }

/* ---- small screens ---- */
@media (max-width: 960px) {
  .site-links { display: none; }
  .site-actions { margin-inline-start: auto; }
  .hero-grid, .faq { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr; max-width: 30rem; }
  .checks { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-link { width: 3px; height: 2.25rem; margin-inline: 2.25rem; }
  .flow-link i, [dir="ltr"] .flow-link i { background: repeating-linear-gradient(to bottom, var(--brand) 0 8px, transparent 8px 16px); }
  .flow.in .flow-link i, [dir="ltr"] .flow.in .flow-link i { animation-name: flow-down; }
  .site-section { padding-block: 3.75rem; }
  .site-hero { padding-block: 3rem 3.5rem; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 0; }
  .rail-nav { margin-bottom: 1.25rem; }
}
@keyframes flow-down { from { background-position: 0 0; } to { background-position: 0 32px; } }
@media (max-width: 480px) {
  .site-login { display: none; }
  .site-top .brand-mark { font-size: 1.02rem; }
  .site-actions { gap: .6rem; }
  .site-actions .btn { padding: .4rem .8rem; font-size: .92rem; }
  .demo-log { height: 23rem; }
}

/* ---- 3anak identity additions ---- */
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .3rem .85rem; border-radius: 99px;
  background: color-mix(in srgb, var(--brand) 16%, transparent); color: #8fe0c6; font-weight: 700; font-size: .95rem; }
.hero-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand); }
.site-hero .hero-grid { grid-template-columns: .95fr 1.05fr; }
.hero-cta .btn-light { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.hero-cta .btn-light:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--on-brand); }
.site-final .btn-light { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

/* product showcase carousel (hero) */
.showcase-wrap { max-width: 38rem; }
.showcase { position: relative; }
.shot-slide { margin: 0; }
.browser-frame { background: #fff; border-radius: 1rem; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; direction: ltr; }
.browser-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: #d1d5db; }
.browser-bar i:first-child { background: #087a5c; }
.browser-bar span { margin-inline-start: .8rem; flex: 1; max-width: 16rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 99px;
  font-size: .75rem; color: #6b7280; padding: .1rem .75rem; font-family: system-ui, sans-serif; }
.browser-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 840; object-fit: cover; object-position: top; }
.phone-frame { width: 13.5rem; margin: 0 auto; padding: .55rem; border-radius: 2.2rem; background: #0b0f17;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 2px #2b3341; }
.phone-frame img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; border-radius: 1.75rem; }
.shot-slide figcaption { display: grid; gap: .25rem; margin-top: 1.25rem; min-height: 5.6rem; }
.shot-slide figcaption strong { font-size: 1.2rem; color: #fff; }
.shot-slide figcaption > span:last-child { color: color-mix(in srgb, var(--hero-ink) 75%, transparent); line-height: 1.8; }
.shot-count { justify-self: start; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--brand); font-variant-numeric: tabular-nums; }
.showcase-wrap .demo-controls { justify-content: flex-start; margin-top: .75rem; }
.demo-step { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid color-mix(in srgb, #fff 30%, transparent);
  background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.demo-step:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.demo-step svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
[dir="ltr"] .demo-step svg { transform: scaleX(-1); }
.demo-dot[aria-selected="true"] span::after { background: var(--brand); }
.demo-step:focus-visible { outline: 3px solid #5fe0b8; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .play.shot-slide .browser-frame, .play.shot-slide .phone-frame { animation: shot-in .7s var(--ease) both; }
  .play.shot-slide figcaption > * { animation: demo-in .5s var(--ease) both; }
  .play.shot-slide figcaption > :nth-child(2) { animation-delay: .1s; }
  .play.shot-slide figcaption > :nth-child(3) { animation-delay: .2s; }
}
@keyframes shot-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* about, vision, mission, values */
.about { background: #fff; border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: start; }
.about-kicker { color: var(--brand-ink); font-weight: 800; margin: 0 0 .5rem; }
.about-more { color: var(--muted); line-height: 1.9; }
.about-cards { display: grid; gap: 1rem; }
.about-card { background: var(--beige); border-radius: 1.1rem; padding: 1.5rem 1.6rem; }
.about-card h3 { font-size: 1.15rem; font-weight: 800; margin: .75rem 0 .4rem; }
.about-card p { margin: 0; line-height: 1.85; color: #374151; }
.about-icon, .value-icon { width: 2.6rem; height: 2.6rem; border-radius: .8rem; display: grid; place-items: center; background: var(--charcoal); color: var(--brand); }
.about-icon .nav-icon, .value-icon .nav-icon { width: 1.3rem; height: 1.3rem; color: inherit; }
.values-title { font-size: 1.3rem; font-weight: 800; margin: 3.5rem 0 1.25rem; }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.value { display: grid; gap: .45rem; align-content: start; background: var(--ivory); border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem; }
.value strong { font-size: 1.05rem; }
.value > span:last-child { color: var(--muted); font-size: .93rem; line-height: 1.8; }
.value-icon { width: 2.3rem; height: 2.3rem; background: var(--brand-soft); color: var(--brand-ink); }
@media (max-width: 960px) {
  .site-hero .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } .phone-frame { width: 11.5rem; } }

/* ---- platform assistant (app.support.assistant) */
.helper { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 1040; }
.helper-open { display: inline-flex; align-items: center; gap: .55rem; border: 0; border-radius: 999px; padding: .45rem 1.1rem .45rem .5rem;
  background: var(--dark, #062a24); color: #fff; font-weight: 700; box-shadow: 0 10px 30px rgba(17,24,39,.28); cursor: pointer; }
.helper-open:hover { background: #0b3b32; }
.helper-open img { border-radius: 50%; background: #fff; }
.helper-open[aria-expanded="true"] { display: none; }
.helper-panel { width: 380px; max-width: calc(100vw - 24px); height: 540px; max-height: calc(100vh - 40px); background: #fff; color: var(--ink, #0b3b32);
  border-radius: 18px; box-shadow: 0 18px 50px rgba(17,24,39,.28); display: flex; flex-direction: column; overflow: hidden; }
.helper-panel[hidden] { display: none; }
.helper-head { display: flex; align-items: center; gap: .65rem; background: var(--dark, #062a24); color: #fff; padding: .8rem 1rem; }
.helper-head img { border-radius: 10px; background: #fff; padding: 2px; }
.helper-head div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.helper-head small { color: #c9ced6; font-size: .78rem; }
.helper-close { background: transparent; border: 0; color: inherit; font-size: 1rem; padding: .3rem .45rem; border-radius: 8px; cursor: pointer; }
.helper-close:hover { background: rgba(255,255,255,.12); }
.helper-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--ivory, #f5faf8); }
.helper-msg { max-width: 88%; padding: .55rem .85rem; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; line-height: 1.65; }
.helper-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line, #e5e7eb); }
.helper-msg.me { align-self: flex-end; background: var(--brand, #087a5c); color: var(--on-brand, #0b3b32); }
.helper-msg.err { align-self: center; background: #fef2f2; color: #991b1b; font-size: .85rem; }
.helper-msg.typing { color: var(--muted, #6b7280); }
.helper-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.helper-chip { border: 1px solid var(--brand, #087a5c); background: #fff; color: var(--ink, #0b3b32); border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; cursor: pointer; }
.helper-chip:hover { background: var(--beige, #e3f4ee); }
.helper-form { display: flex; gap: .5rem; padding: .65rem; border-top: 1px solid var(--line, #e5e7eb); }
.helper-form input { flex: 1; min-width: 0; border: 1px solid #d1d5db; border-radius: 12px; padding: .5rem .75rem; }
.helper-note { margin: 0; padding: 0 .75rem .55rem; font-size: .72rem; color: var(--muted, #6b7280); text-align: center; }
@media (max-width: 480px) { .helper { inset-inline-end: 12px; bottom: 12px; } .helper-panel { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; border-radius: 0; } }
