/* Sulyara product page: HTML recreation of the SulyaraV2 graphite overlay + page layout.
   Overlay sizes are in em off a container-scaled font-size, so every demo scales cleanly. */

/* ---------- Overlay (mirrors SulyaraV2 renderer/styles.css "Graphite theme") ---------- */
.sy {
  --sy-panel: rgb(30 31 34 / .92); --sy-tx: rgb(245 245 247 / .96); --sy-tx2: rgb(245 245 247 / .86); --sy-mut: rgb(245 245 247 / .46);
  --sy-hair: rgb(255 255 255 / .10); --sy-tint: rgb(255 255 255 / .07); --sy-tint-bd: rgb(255 255 255 / .16); --sy-live: #22c55e;
  display: grid; gap: .7em; width: 100%; color: var(--sy-tx);
  font: 400 1em/1.45 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif; letter-spacing: -.005em;
}
.sy svg { width: 1.05em; height: 1.05em; flex: none; }
.sy-toolbar {
  display: flex; align-items: center; gap: .35em; justify-self: center; padding: .35em .45em; border: 1px solid rgb(255 255 255 / .12); border-radius: 999px;
  background: var(--sy-panel); box-shadow: inset 0 1px 0 rgb(255 255 255 / .10), 0 .6em 1.8em rgb(0 0 0 / .35); font-size: .82em; white-space: nowrap;
}
.sy-tb { display: inline-flex; align-items: center; gap: .4em; height: 2em; padding: 0 .7em; border-radius: 999px; color: var(--sy-tx); font-weight: 500; }
.sy-tb.drag { background: rgb(255 255 255 / .06); }
.sy-tb.icon { width: 2em; justify-content: center; padding: 0; }
.sy-tb .live { width: .5em; height: .5em; border-radius: 50%; background: var(--sy-live); box-shadow: 0 0 0 .2em rgb(34 197 94 / .25); }
.sy-tb.recording { color: #ff6b6b; }
.sy-tb.pressed { background: rgb(255 255 255 / .14); }
.sy-div { width: 1px; height: 1.2em; background: rgb(255 255 255 / .14); }
.sy-panel {
  position: relative; display: grid; gap: .85em; padding: 1.25em 1.35em; border: 1px solid var(--sy-hair); border-radius: 1.4em;
  background: var(--sy-panel); box-shadow: inset 0 1px 0 rgb(255 255 255 / .10), 0 1.1em 3.2em rgb(0 0 0 / .45);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.sy-status { position: absolute; top: .55em; left: 1.35em; color: var(--sy-mut); font-size: .62em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sy-status.on { color: rgb(134 239 172 / .85); }
.sy-msgs { display: grid; align-content: start; gap: .6em; min-height: 9.5em; padding-top: .8em; }
.sy-user {
  justify-self: end; max-width: 85%; padding: .45em .85em; border-radius: 1em; background: #f5f5f7; color: #111214;
  box-shadow: 0 .15em .6em rgb(0 0 0 / .3); font-size: .9em;
}
.sy-cat { justify-self: start; padding: .15em .65em; border: 1px solid var(--sy-tint-bd); border-radius: 999px; background: var(--sy-tint); color: var(--sy-tx2); font-size: .66em; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.sy-answer { color: var(--sy-tx); font-size: 1.06em; line-height: 1.5; }
.sy-answer .caret { display: inline-block; width: .45em; height: 1em; margin-left: .1em; border-radius: 1px; background: rgb(245 245 247 / .85); vertical-align: -.12em; }
.sy-chip { display: inline-flex; align-items: center; gap: .4em; justify-self: start; padding: .2em .65em; border-radius: 999px; background: var(--sy-tint); color: var(--sy-tx2); font-size: .72em; }
.sy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45em; font-size: .86em; }
.sy-act { display: inline-flex; align-items: center; gap: .4em; padding: .38em .7em; border: 1px solid transparent; border-radius: .7em; color: var(--sy-tx2); transition: background-color .2s, transform .2s, border-color .2s; }
.sy-act.primary { border-color: var(--sy-tint-bd); background: var(--sy-tint); color: var(--sy-tx); font-weight: 600; }
.sy-act.pressed { border-color: rgb(255 255 255 / .45); background: rgb(255 255 255 / .16); transform: scale(.96); }
.sy-act small { color: var(--sy-mut); font-size: .78em; font-weight: 500; }
.sy-sep { color: var(--sy-mut); }
.sy-composer { display: grid; gap: .7em; padding: .8em .9em; border: 1px solid rgb(255 255 255 / .09); border-radius: 1em; background: rgb(255 255 255 / .035); transition: border-color .3s, box-shadow .3s; }
.sy-composer.listening { border-color: rgb(34 197 94 / .35); box-shadow: 0 0 0 .2em rgb(34 197 94 / .08); }
.sy-ph { color: var(--sy-mut); font-size: .88em; }
.sy-ph.typed { color: var(--sy-tx); }
.sy-key { display: inline-grid; min-width: 1.6em; height: 1.45em; place-items: center; padding: 0 .3em; border: 1px solid rgb(255 255 255 / .14); border-radius: .35em; background: rgb(255 255 255 / .08); color: var(--sy-tx2); font-size: .82em; font-weight: 600; transition: background-color .15s, transform .15s; }
.sy-key.down { background: rgb(255 255 255 / .3); transform: translateY(1px); }
.sy-cbot { display: flex; align-items: center; gap: .5em; font-size: .8em; }
.sy-pill { display: inline-flex; align-items: center; gap: .35em; padding: .3em .7em; border: 1px solid rgb(255 255 255 / .12); border-radius: 999px; color: var(--sy-tx2); }
.sy-send { display: grid; width: 2.1em; height: 2.1em; margin-left: auto; place-items: center; border-radius: 50%; background: #f5f5f7; color: #111214; }
.sy-send svg { width: .9em; height: .9em; }

/* transcript (history sidebar style) */
.sy-ts { display: grid; gap: .55em; min-height: 12.5em; align-content: start; }
.sy-line { display: grid; gap: .1em; padding: .55em .7em; border-radius: .7em; background: rgb(255 255 255 / .04); font-size: .9em; }
.sy-line b { color: var(--sy-mut); font-size: .72em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.sy-line.them b { color: rgb(134 239 172 / .8); }
.sy-wave { display: flex; align-items: center; gap: .18em; height: 1.4em; }
.sy-wave i { width: .2em; height: 30%; border-radius: 1px; background: var(--sy-live); opacity: .8; }
.sy-wave.on i { animation: syWave 1s ease-in-out infinite; animation-delay: calc(var(--n) * -110ms); }
@keyframes syWave { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* notes */
.sy-notes { display: grid; gap: .8em; min-height: 13em; align-content: start; }
.sy-notes h4 { color: var(--sy-mut); font-size: .7em; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.sy-notes ul { display: grid; gap: .3em; margin-top: .3em; padding-left: 1.1em; font-size: .92em; }
.sy-notes p { font-size: .92em; }

/* code shown "on screen" for Smart assist */
.sy-code {
  overflow: hidden; margin: 0; padding: .9em 1em; border: 1px solid var(--sy-hair); border-radius: .9em; background: #121316;
  color: #c9ccd3; font: 400 .82em/1.65 var(--mono); white-space: pre;
}
.sy-code .ln { display: inline-block; width: 1.6em; color: rgb(245 245 247 / .28); }
.sy-code .ln.hl { color: var(--accent); }

/* reveal helper used by the scene engine */
[data-in] { opacity: 0; transform: translateY(.4em); transition: opacity .35s var(--ease), transform .45s var(--ease); }
[data-in].in { opacity: 1; transform: none; }

/* ---------- Meeting window (hero backdrop) ---------- */
.stage { position: relative; container-type: inline-size; }
.meet { position: relative; }
.meet {
  overflow: hidden; border: 1px solid var(--line-2); border-radius: 18px; background: #101114;
  box-shadow: 0 40px 90px -40px rgb(0 0 0 / .85), inset 0 1px 0 rgb(255 255 255 / .04);
}
.meet-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--dim); font: 500 .75rem/1 var(--mono); }
.meet-bar .lights { display: flex; gap: 6px; }
.meet-bar .lights i { width: 10px; height: 10px; border-radius: 50%; background: #2c3036; }
.meet-bar .rec { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.meet-bar .rec::before { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; content: ''; }
.meet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; aspect-ratio: 16 / 7.4; }
.tile { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: radial-gradient(120% 90% at 30% 20%, #2a2f37, #15171b 70%); }
.tile.them { background: radial-gradient(120% 90% at 70% 20%, #3a2a24, #17151a 70%); }
.tile .avatar { display: grid; width: 22cqi; max-width: 120px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .06); color: rgb(255 255 255 / .55); font: 600 clamp(.9rem, 3cqi, 1.6rem)/1 var(--sans); }
.tile .name { position: absolute; top: 10px; left: 12px; padding: 3px 8px; border-radius: 6px; background: rgb(0 0 0 / .45); color: #e8eaed; font-size: .75rem; }
.tile.speaking { box-shadow: inset 0 0 0 2px rgb(91 214 138 / .7); }
.caption { position: absolute; right: 8px; bottom: 8px; left: 8px; min-height: 2.6em; padding: 10px 14px; border-radius: 10px; background: rgb(0 0 0 / .55); color: #f1f2f4; font-size: clamp(.75rem, 1.5cqi, .95rem); opacity: 0; transition: opacity .3s; }
.caption.in { opacity: 1; }
.caption b { margin-right: 6px; color: var(--ok); font-weight: 600; }
.stage .overlay { position: absolute; top: 9%; right: 4%; width: 46%; font-size: max(8px, 1.45cqi); }

/* ---------- Page layout ---------- */
.p-hero { padding-block: clamp(48px, 8vw, 96px) 0; }
.p-hero-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.p-hero h1 { margin-top: 20px; font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.05em; line-height: .98; }
.p-hero .lede { margin-top: 0; }
.p-hero .hero-actions { margin-top: 24px; }
.p-hero .stage { margin-top: clamp(36px, 5vw, 56px); }
.demo-note { margin-top: 14px; color: var(--dim); font-size: .8125rem; }
.product-mark { width: 56px; height: 56px; border-radius: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 20px; color: var(--dim); font-size: .875rem; }

.steps { display: grid; gap: clamp(56px, 8vw, 104px); }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.step:nth-child(even) .step-copy { order: 2; }
.step-copy .num { color: var(--accent); font: 500 .8125rem/1 var(--mono); }
.step-copy h3 { margin-top: 14px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.step-copy p { max-width: 46ch; margin-top: 14px; color: var(--muted); }
.step-copy .fine { margin-top: 12px; color: var(--dim); font-size: .875rem; }
.demo-card {
  container-type: inline-size; padding: clamp(18px, 4cqi, 32px); border: 1px solid var(--line); border-radius: 20px;
  background: radial-gradient(120% 120% at 100% 0%, rgb(255 106 61 / .07), transparent 55%), var(--bg-2);
}
.demo-card .sy { font-size: max(9px, 2.6cqi); }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento > * { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.bento h3 { font-size: 1.25rem; }
.bento p { margin-top: 10px; color: var(--muted); font-size: .9375rem; }
.b-wide { grid-column: span 4; }
.b-narrow { grid-column: span 2; }
.b-half { grid-column: span 3; }
.b-shot { overflow: hidden; margin: 20px -24px -24px; border-top: 1px solid var(--line); }
.b-shot img { width: 100%; height: auto; }
.share-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; container-type: inline-size; }
.share-split figure { margin: 0; }
.share-split figcaption { margin-top: 8px; color: var(--dim); font: 500 .6875rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.share-screen { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line-2); border-radius: 10px; background: linear-gradient(160deg, #1d2026, #121418); }
.share-screen .doc { position: absolute; inset: 14% 10% auto; display: grid; gap: 7px; }
.share-screen .doc i { height: 6px; border-radius: 3px; background: rgb(255 255 255 / .08); }
.share-screen .doc i:nth-child(2) { width: 80%; } .share-screen .doc i:nth-child(3) { width: 64%; }
.share-screen .mini { position: absolute; right: 8%; bottom: 10%; width: 44%; height: 42%; border: 1px solid rgb(255 255 255 / .14); border-radius: 8px; background: rgb(30 31 34 / .95); box-shadow: 0 8px 20px rgb(0 0 0 / .4); }
.share-screen .mini::before { position: absolute; inset: 22% 12% auto; height: 5px; border-radius: 3px; background: rgb(255 255 255 / .3); box-shadow: 0 10px 0 rgb(255 255 255 / .18), 0 20px 0 rgb(255 255 255 / .18); content: ''; }
.share-split .them .mini { display: none; }
.providers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.providers span { padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: .8125rem; }
.privacy-list { display: grid; gap: 10px; margin-top: 18px; padding: 0; list-style: none; font-size: .9375rem; }
.privacy-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--muted); }
.privacy-list svg { width: 16px; height: 16px; margin-top: 3px; color: var(--ok); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 1.0625rem; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); content: ''; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.faq details p { max-width: 70ch; padding: 0 0 20px; color: var(--muted); }

.cta-band { padding: clamp(32px, 6vw, 64px); border: 1px solid var(--accent-line); border-radius: 24px; background: radial-gradient(90% 140% at 0% 0%, rgb(255 106 61 / .14), transparent 60%), var(--bg-2); }
.cta-band h2 { max-width: 18ch; }
.cta-band p { max-width: 52ch; margin-top: 16px; color: var(--muted); }

@media (max-width: 900px) {
  .p-hero-head, .step { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(even) .step-copy { order: 0; }
  .b-wide, .b-narrow, .b-half { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .stage .overlay { position: relative; top: auto; right: auto; width: 100%; margin-top: -30%; padding-inline: 6%; font-size: max(9px, 2.9cqi); }
  .meet-grid { aspect-ratio: 16 / 10; }
  .caption { top: 46px; bottom: auto; font-size: .75rem; }
  .meet-bar > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tile .name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-in] { opacity: 1; transform: none; }
  .sy-wave.on i { animation: none; height: 60%; }
}

/* ---------- Download + BYOK ---------- */
.btn .win-ic, .btn svg[viewBox="0 0 16 16"][fill="currentColor"] { transform: none !important; }
.src-link { color: #000; /* black by the owner's choice, matches .facts-note */ font-size: .6875rem; text-decoration: underline; text-underline-offset: 2px; }
.src-link:hover { color: var(--muted); }
.dl-fine { margin-top: 14px; color: var(--dim); font-size: .8125rem; }
.dl-fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.dl-fine a:hover { color: var(--text); }
.byok { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(100% 120% at 100% 0%, rgb(91 214 138 / .06), transparent 55%), var(--bg-2); }
.byok h2 { margin-top: 18px; max-width: 16ch; }
.byok .lede { margin-top: 18px; font-size: 1rem; }
.byok-fine { margin-top: 14px; color: var(--dim); font-size: .875rem; }
.setup { display: grid; gap: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.setup li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.setup .num { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--accent-line); border-radius: 8px; color: var(--accent); font: 500 .8125rem/1 var(--mono); }
.setup strong { display: block; font-weight: 600; }
.setup span:not(.num):not(.kbd) { display: block; margin-top: 3px; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .byok { grid-template-columns: minmax(0, 1fr); } }
.src-line { margin-top: 6px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 920px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); }
.plan-featured { border-color: var(--accent-line); background: radial-gradient(100% 120% at 100% 0%, rgb(255 106 61 / .09), transparent 55%), var(--bg-2); }
.plan h3 { font-size: 1.25rem; }
.plan-tag { position: absolute; top: 20px; right: 20px; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .75rem; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font: 600 2.6rem/1 var(--sans); letter-spacing: -.04em; }
.price span { color: var(--dim); font-size: .875rem; }
.plan-list { display: grid; gap: 8px; padding: 0; list-style: none; color: var(--muted); font-size: .9375rem; }
.plan-list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; }
.plan-list li::before { width: 6px; height: 6px; margin-top: .55em; border-radius: 50%; background: var(--ok); content: ''; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-fine { margin-top: 18px; color: var(--dim); font-size: .8125rem; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }
