/* sharectl.com: the shared design for every page. Light and quiet, in the spirit of elevenlabs.io. */

:root {
  --bg: #fdfcfb;
  --paper: #ffffff;
  --mist: #f4f3f1;
  --line: #e7e5e2;
  --ink: #0b0b0c;
  --muted: #5d5d63;
  --soft: #8b8b91;
  --signal: #47e5b5;
  --violet: #191736;
  --link: #0066cc;
  --radius: 28px;
  --wrap: min(1200px, calc(100% - 32px));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img, svg { display: block; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Buttons: black pill and white pill, like Sign up and Contact sales. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; white-space: nowrap;
  background: var(--ink); color: #fff; font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.btn:hover { background: #2a2a2d; }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-light:hover { background: var(--mist); }
.btn-lg { min-height: 48px; padding: 0 24px; font-size: 16px; }

/* Banner and nav */
.banner { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 9px 16px; background: var(--ink); color: #fff; font-size: 14px; text-align: center; }
.banner b { font-weight: 600; }
.banner a { color: var(--signal); text-decoration: none; font-weight: 500; }
.banner a:hover { text-decoration: underline; }
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; letter-spacing: -.045em; text-decoration: none; }
.logo svg { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 6px 16px -6px rgba(58, 47, 143, .55); transition: transform .3s var(--ease); }
.logo b { font-weight: 600; color: #22c995; }  /* "ctl" in the green of the logo's eyes, a shade deeper so it reads on white */
.logo:hover svg { transform: rotate(-6deg) scale(1.05); }
.lg-eyes { transform-box: fill-box; transform-origin: center; animation: blink 7s infinite; }
.logo:hover .lg-eyes { animation: blinkNow .35s; }
@keyframes blinkNow { 50% { transform: scaleY(.1); } }
.nav-links { display: flex; gap: 22px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-end .login { padding: 0 12px; font-size: 15px; text-decoration: none; }
@media (max-width: 860px) { .nav-links, .nav-end .login { display: none; } }
@media (max-width: 480px) { .nav-end .btn-light { display: none; } }
/* Right side of the bar: For business as a quiet link, language as a globe, login as a light pill. Both move into the menu panel on narrow screens. */
.nav-lang, .nav-biz, .nav-login { display: inline-flex; align-items: center; gap: 7px; height: 38px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.nav-lang, .nav-biz { padding: 0 12px; color: var(--muted); }
.nav-lang:hover, .nav-biz:hover, .nav-biz[aria-current] { color: var(--ink); background: var(--mist); }
.nav-login { padding: 0 16px 0 13px; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.nav-login:hover { background: var(--mist); }
.nav-lang svg, .nav-login svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .nav-lang, .nav-biz, .nav-login { display: none; } }
/* The menu button and its panel, only on narrow screens. Login and language sit in the panel there. */
.nav-menu { display: none; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); cursor: pointer; }
.nav-menu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nav-menu .x, .nav-open .nav-menu .bars { display: none; }
.nav-open .nav-menu .x { display: block; }
.nav-links .nav-extra { display: none; }
@media (max-width: 860px) {
  .nav-menu { display: inline-grid; }
  .nav.nav-open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 4px 24px 12px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -24px rgba(25, 23, 54, .3); }
  .nav.nav-open .nav-links a { display: block; padding: 14px 0; font-size: 17px; color: var(--ink); }
  .nav.nav-open .nav-links a + a { border-top: 1px solid var(--line); }
  .nav.nav-open .nav-links .nav-extra { color: var(--muted); }
}

/* Type */
.eyebrow { font-size: 14px; color: var(--soft); }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--mist); font-size: 13px; font-weight: 500; }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(71, 229, 181, .25); }
.display { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; font-weight: 500; letter-spacing: -.045em; text-wrap: balance; }
.h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; font-weight: 500; letter-spacing: -.04em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* Hero: headline left, text right */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.hero .tag { margin-bottom: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; align-items: start; } }
/* Two short sentences as the headline: full width, one sentence per line, the text below. */
.hero-wide { grid-template-columns: 1fr; align-items: start; gap: 28px; }
.hero-wide .display span { display: block; }
.hero-wide > div:last-child { display: grid; grid-template-columns: minmax(0, 36em) auto; gap: 24px 48px; align-items: end; }
.hero-wide .hero-ctas { margin-top: 0; }
@media (max-width: 860px) { .hero-wide > div:last-child { grid-template-columns: 1fr; } }

/* The product card with tabs and the soft orbs */
.studio { border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); padding: 8px; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tab {
  display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 12px;
  border: 0; border-radius: 20px; background: transparent; color: var(--muted); font: 500 15px var(--sans); cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.tab i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 0 0 1px var(--line); }
.stage { position: relative; overflow: hidden; margin-top: 8px; min-height: 520px; border-radius: 22px; background: var(--paper); }
.panel { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding: clamp(24px, 4vw, 56px); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.panel.is-on { position: relative; opacity: 1; visibility: visible; }
.panel-copy h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
.panel-copy p { margin-top: 14px; color: var(--muted); }
.panel-copy .checks { margin-top: 20px; }
.orb {
  position: absolute; z-index: 0; width: 520px; aspect-ratio: 1; border-radius: 50%; filter: blur(46px); opacity: .55; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, var(--o1), transparent 60%), radial-gradient(circle at 70% 65%, var(--o2), transparent 62%);
  animation: drift 16s ease-in-out infinite alternate;
}
.panel > :not(.orb) { position: relative; z-index: 1; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.08); } }
@media (max-width: 860px) {
  .tabs { grid-template-columns: 1fr; }
  .stage { min-height: 0; }
  .panel { grid-template-columns: 1fr; }
  .panel:not(.is-on) { display: none; }
}

/* Cards inside the panels: transcript, chat, message, connector */
.card { border-radius: 22px; background: rgba(255, 255, 255, .86); box-shadow: 0 0 0 1px var(--line), 0 18px 50px -24px rgba(25, 23, 54, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.card-bar b { color: var(--ink); font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--ink); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: pulse 1.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, .45); } 100% { box-shadow: 0 0 0 8px rgba(255, 59, 48, 0); } }
.lines { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.ln { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; }
.ln b { display: block; margin-bottom: 1px; font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--soft); }
.ln-ai { align-self: flex-start; border-bottom-left-radius: 6px; background: var(--mist); }
.ln-them { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--ink); color: #fff; }
.ln-them b { color: rgba(255, 255, 255, .6); }
.ln-tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font: 500 13px ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); }
.ln-tool svg { width: 16px; height: 16px; }
.ln-calling { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.ln-calling::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #30d158; animation: pulseg 1.2s ease-out infinite; }
@keyframes pulseg { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, .5); } 100% { box-shadow: 0 0 0 8px rgba(48, 209, 88, 0); } }
.chip { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: rgba(48, 209, 88, .14); color: #1d7f49; font-size: 12px; font-weight: 600; }
.chip-amber { background: rgba(255, 159, 10, .16); color: #a35a00; }
.msg { margin: 0 18px 18px; padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); }
.msg-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--soft); }
.msg h4 { margin: 6px 0 4px; font-size: 16px; font-weight: 600; }
.msg p { font-size: 14px; color: var(--muted); }
.msg .chips { display: flex; gap: 6px; margin-top: 10px; }
.code { margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); font: 13px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); white-space: pre-wrap; word-break: break-all; }
.code span { color: var(--soft); }
.clients { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px; }
.clients li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--mist); font-weight: 500; font-size: 15px; }
.clients li::after { content: "Connected"; margin-left: auto; font-size: 12px; font-weight: 600; color: #1d7f49; }

/* Lines appear one by one when the panel is shown */
@media (prefers-reduced-motion: no-preference) {
  .panel .step-in, .reveal .step-in { opacity: 0; transform: translateY(8px); }
  .panel.is-on .step-in, .reveal.is-on .step-in { animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * .55s + .15s); }
  .reveal.step-in.is-on { animation: rise .5s var(--ease) both; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* Works with */
.works { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 30px 0; border-block: 1px solid var(--line); margin-top: clamp(48px, 6vw, 72px); }
.works p { font-size: 14px; color: var(--soft); }
.works ul { display: flex; flex-wrap: wrap; gap: 14px 34px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: #3a3a3f; }

/* Sections */
.sec { padding: clamp(80px, 10vw, 140px) 0; }
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head .btn { margin-top: 24px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; align-items: start; } }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.duo-card { position: relative; overflow: hidden; min-height: 420px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--mist); display: flex; flex-direction: column; }
.duo-card .orb { width: 380px; right: -120px; bottom: -160px; }
.duo-card > :not(.orb) { position: relative; z-index: 1; }
.duo-card h3 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.duo-card > p { margin-top: 10px; max-width: 30em; color: var(--muted); }
.duo-card .checks { margin-top: auto; padding-top: 28px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo-card { min-height: 0; } }

.checks { display: grid; gap: 10px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 16px; height: 16px; transform: translateY(3px); background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%230b0b0c'/%3E%3Cpath d='M4.6 8.2l2.2 2.2 4.6-4.8' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Three steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.step { padding: 28px; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.step .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.step h3 { margin-top: 22px; font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.step code { padding: 2px 6px; border-radius: 6px; background: var(--mist); font: 13px ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Feature grid with thin lines between, like the logo wall */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid4 li { padding: 28px 24px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid4 svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.grid4 h3 { margin-top: 18px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.grid4 p { margin-top: 6px; font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } }

/* Pricing */
.price-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.price { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--ink); color: #fff; }
.price .orb { width: 420px; right: -140px; top: -160px; opacity: .5; }
.price > :not(.orb) { position: relative; z-index: 1; }
.price .tag { background: rgba(255, 255, 255, .12); color: #fff; }
.price .amount { margin-top: 26px; font-size: clamp(56px, 7vw, 88px); line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.price .amount span { font-size: 18px; letter-spacing: 0; color: rgba(255, 255, 255, .6); }
.price .checks { margin-top: 28px; }
.price .checks li::before { filter: invert(1); }
.price .btn { margin-top: 32px; background: #fff; color: var(--ink); }
.price .btn:hover { background: #e9e9ea; }
.price-side { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--mist); }
.price-side h3 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.price-side p { margin-top: 10px; color: var(--muted); }
.price-side .btn { margin-top: 24px; }
@media (max-width: 860px) { .price-wrap { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 80px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--soft); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 42em; color: var(--muted); }
.faq a { color: var(--link); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Closing */
.closing { position: relative; overflow: hidden; margin: 0 auto clamp(64px, 8vw, 96px); padding: clamp(56px, 8vw, 110px) clamp(24px, 5vw, 64px); border-radius: var(--radius); background: var(--ink); color: #fff; text-align: center; }
.closing .orb { width: 640px; left: 50%; top: 40%; margin-left: -320px; opacity: .45; }
.closing > :not(.orb) { position: relative; z-index: 1; }
.closing .lead { max-width: 32em; margin: 18px auto 0; color: rgba(255, 255, 255, .7); }
.closing .hero-ctas { justify-content: center; }
.closing .btn { background: #fff; color: var(--ink); }
.closing .btn-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }

/* Footer */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.foot-grid p { margin-top: 12px; max-width: 26em; }
.foot h3 { margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
.foot li + li { margin-top: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Join dialog */
.join { width: min(520px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35); }
.join::backdrop { background: rgba(11, 11, 12, .45); backdrop-filter: blur(4px); }
.join form, .join-done { position: relative; display: grid; gap: 14px; padding: 32px; }
.join h2 { font-size: 30px; font-weight: 500; letter-spacing: -.03em; }
.join .lead { font-size: 15px; }
.join label { font-size: 14px; font-weight: 500; }
.join .opt { color: var(--soft); font-weight: 400; }
.join [hidden] { display: none; }
.join input, .join textarea { width: 100%; margin-top: 6px; padding: 11px 14px; border: 0; border-radius: 12px; background: var(--mist); color: var(--ink); font: 15px var(--sans); }
.join input:focus, .join textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.join .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.join .trap { position: absolute; left: -9999px; }
.join .fine { font-size: 13px; color: var(--soft); }
.join .fine a { color: var(--link); }
.join .status { min-height: 1em; font-size: 14px; color: #c0392b; }
.join .x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--mist); font-size: 20px; line-height: 1; cursor: pointer; }
.join-done { justify-items: start; }
@media (max-width: 480px) { .join .pair { grid-template-columns: 1fr; } }
/* The service choice in the Swedish sign-up form. */
.join .pick { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.join .pick legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 500; }
.join .pick label { display: flex; gap: 12px; align-items: flex-start; padding: 11px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 400; color: var(--muted); cursor: pointer; }
.join .pick label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.join .pick input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; padding: 0; accent-color: var(--ink); }
.join .pick b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }

/* The hero scene: two stages side by side, stacked on phones. */
.hscene { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(8px, 2vw, 24px); }
.hs-half { position: relative; overflow: hidden; padding: 18px 18px 6px; border-radius: var(--radius); background: var(--mist); }
.hs-half::before { content: ""; position: absolute; width: 420px; aspect-ratio: 1; border-radius: 50%; filter: blur(60px); opacity: .45; top: -180px; right: -120px; background: radial-gradient(circle, var(--o, #47e5b5), transparent 65%); }
.hs-out::before { --o: #7c5cff; left: -120px; right: auto; }
.hs-half svg { position: relative; width: 100%; height: auto; overflow: visible; }
.hs-cap { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 500; }
.hs-cap i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.hs-t-say { font: 500 20px var(--sans); fill: var(--ink); letter-spacing: -.01em; }
.hs-t-screen { font: 600 15px var(--sans); fill: #fff; }
.hs-t-small { font: 500 13px var(--sans); fill: rgba(255, 255, 255, .7); }
.hs-t-green { font: 600 15px var(--sans); fill: #47e5b5; }
.hs-t-sign { font: 600 30px var(--sans); fill: var(--ink); letter-spacing: -.03em; }
.hs-t-tent { font: 600 14px var(--sans); fill: var(--ink); }
@media (max-width: 860px) { .hscene { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: no-preference) {
  .hs-belt { animation: belt 1s linear infinite; }
  .hs-roll { animation: roll 1.2s linear infinite; }
  .hs-eq { transform-box: fill-box; transform-origin: center; animation: eq .8s ease-in-out infinite; }
  .hs-eq.e2 { animation-delay: .1s; } .hs-eq.e3 { animation-delay: .2s; } .hs-eq.e4 { animation-delay: .3s; }
  .hs-steam { animation: steam 2s ease-in-out infinite; }
  /* Left, 4 s: the phone buzzes, the message is pushed to the sign, the sign hops. */
  .hs-buzz { transform-box: fill-box; transform-origin: 50% 90%; animation: buzz 4s ease-in-out infinite; }
  .hs-ring { animation: ringfade 4s ease-out infinite; }
  .hs-pushgroup { animation: push 4s cubic-bezier(.45, 0, .3, 1) infinite; }
  .hs-sign-in { animation: hop 4s var(--ease) infinite; }
  .hs-spark { transform-box: fill-box; transform-origin: center; animation: spark 4s ease-out infinite; }
  .hs-a { animation: sayA 4s infinite; } .hs-b { animation: sayB 4s infinite; }
  /* Right, 9 s: calling, connected, stamped, Booked! */
  .hs-dots circle { animation: dots 9s infinite; } .hs-dots .d2 { animation-name: dots2; } .hs-dots .d3 { animation-name: dots3; }
  .hs-conn { animation: conn 9s infinite; }
  .hs-stamp { transform-box: fill-box; transform-origin: center; animation: stamp 9s var(--ease) infinite; }
  .hs-sign-out { animation: hop9 9s var(--ease) infinite; }
  .hs-confetti use { transform-box: fill-box; transform-origin: center; animation: confetti 9s ease-out infinite; }
  .hs-confetti use:nth-child(2) { animation-delay: .1s; } .hs-confetti use:nth-child(3) { animation-delay: .2s; }
  .hs-q { animation: sayQ 9s infinite; } .hs-ok { animation: sayOk 9s infinite; }
}
@media (prefers-reduced-motion: reduce) { .hs-b, .hs-q, .hs-dots { opacity: 0; } }
@keyframes belt { to { stroke-dashoffset: -20; } }
@keyframes roll { to { transform: rotate(360deg); } }
@keyframes steam { 0%, 100% { opacity: 0; transform: translateY(2px); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes buzz { 0%, 30%, 100% { transform: none; } 4%, 12%, 20% { transform: rotate(-2.5deg); } 8%, 16%, 24% { transform: rotate(2.5deg); } }
@keyframes ringfade { 0%, 28% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes push { 0%, 8% { transform: none; opacity: 1; } 62% { transform: translateX(22px); opacity: 1; } 86% { transform: translateX(22px); opacity: 1; } 94% { transform: translateX(22px); opacity: 0; } 95% { transform: none; opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes hop { 0%, 60%, 76%, 100% { transform: none; } 66% { transform: translateY(-14px); } 71% { transform: translateY(2px); } }
@keyframes spark { 0%, 62% { opacity: 0; transform: scale(.2); } 70% { opacity: 1; transform: scale(1.2) rotate(30deg); } 86%, 100% { opacity: 0; transform: scale(.6) rotate(60deg); } }
@keyframes sayA { 0%, 46% { opacity: 1; } 50%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sayB { 0%, 46% { opacity: 0; } 50%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes dots { 0%, 40% { opacity: 1; transform: none; } 4%, 16%, 28% { opacity: .25; } 44%, 100% { opacity: 0; } }
@keyframes dots2 { 0%, 40% { opacity: 1; } 8%, 20%, 32% { opacity: .25; } 44%, 100% { opacity: 0; } }
@keyframes dots3 { 0%, 40% { opacity: 1; } 12%, 24%, 36% { opacity: .25; } 44%, 100% { opacity: 0; } }
@keyframes conn { 0%, 42% { opacity: 0; } 46%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes stamp { 0%, 52% { opacity: 0; transform: scale(2); } 56%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hop9 { 0%, 60%, 70%, 100% { transform: none; } 63% { transform: translateY(-14px); } 66% { transform: translateY(2px); } }
@keyframes confetti { 0%, 60% { opacity: 0; transform: translateY(10px) scale(.3); } 66% { opacity: 1; transform: translateY(-6px) scale(1.1) rotate(25deg); } 84%, 100% { opacity: 0; transform: translateY(-14px) scale(.7) rotate(60deg); } }
@keyframes sayQ { 0%, 50% { opacity: 1; } 54%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sayOk { 0%, 50% { opacity: 0; } 54%, 97% { opacity: 1; } 100% { opacity: 0; } }

/* Voices (the Swedish page): ten buttons, one plays at a time. */
.voices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: clamp(40px, 5vw, 64px); }
.voice { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center; width: 100%; padding: 12px 14px 12px 12px; border: 0; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: box-shadow .2s, transform .2s var(--ease); }
.voices li { display: flex; }  /* buttons in a row get the same height */
.voice:hover { box-shadow: inset 0 0 0 1px var(--ink); transform: translateY(-2px); }
.voice-play { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); }
.voice-play::before { content: ""; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.voice.is-playing .voice-play { background: #7c5cff; }
.voice.is-playing .voice-play::before { width: 11px; height: 13px; margin: 0; border: 0; border-inline: 4px solid #fff; }
.voice b { font-size: 16px; font-weight: 600; }
.voice span:last-child { font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) { .voices { grid-template-columns: repeat(2, 1fr); } }
.sec-head .lead a { color: var(--link); }
.plan-list { margin-top: 18px; border-top: 1px solid var(--line); }
.plan-list li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.plan-list b { font-weight: 600; }
.plan-list span { grid-column: 1; font-size: 14px; color: var(--muted); }
.plan-list strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 600; }
.price-side > p:last-child { margin-top: 18px; font-size: 15px; }
.price-side a { color: var(--link); }

/* The Swedish page's extra sections */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.flow::before { content: ""; position: absolute; left: 12%; right: 12%; top: 78px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.flow::after { content: ""; position: absolute; top: 73px; left: 12%; width: 12px; height: 12px; border-radius: 50%; background: #7c5cff; box-shadow: 0 0 0 6px rgba(124, 92, 255, .18); animation: packet 6s ease-in-out infinite; }
@keyframes packet { 0% { left: 12%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 86%; opacity: 0; } }
.station { position: relative; z-index: 1; padding: 24px; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.st-art { display: grid; place-items: center; height: 112px; margin: -8px -8px 14px; border-radius: 20px; background: var(--mist); }
.st-art svg { width: 104px; height: 104px; overflow: visible; }
.st-art .bot { width: 84px; }
.st-t { font: 600 10px var(--sans); fill: #fff; }
.st-chips { display: flex; gap: 6px; align-content: center; flex-wrap: wrap; justify-content: center; padding: 0 12px; }
.st-chips span { padding: 6px 12px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
.st-chips .on { background: var(--ink); color: #fff; box-shadow: none; animation: chipOn 3s ease-in-out infinite; }
@keyframes chipOn { 50% { background: #7c5cff; } }
.station .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.station h3 { margin-top: 14px; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.station p { margin-top: 6px; font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, 1fr); } .flow::before, .flow::after { display: none; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.two-flip .two-copy { order: 2; }
.two-copy .lead { margin-top: 18px; }
.two-copy .eyebrow { margin-bottom: 14px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } .two-flip .two-copy { order: 0; } }
.list-card .rows { padding: 8px; }
.rows li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 12px; border-radius: 16px; }
.rows li + li { border-top: 1px solid var(--line); border-radius: 0; }
.rows .av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--a); font-weight: 600; }
.row-top { display: flex; justify-content: space-between; gap: 10px; }
.row-top b { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.row-top > span { font-size: 13px; color: var(--soft); }
.rows li p:last-child { font-size: 15px; color: var(--muted); }
.card .note { padding: 0 18px 16px; font-size: 13px; color: var(--soft); }

.duo-card.ex { min-height: 0; gap: 0; }
.duo-card.ex h3 { margin-bottom: 18px; }
.duo-card.ex .lines { padding: 0; }
.duo-card.ex .ln-ai { background: var(--paper); }
.duo-card.ex .msg { margin: 14px 0 0; }
.msg s { color: var(--soft); font-weight: 400; }

.never { margin-top: 16px; padding: 28px; border-radius: var(--radius); background: var(--mist); }
.never h3 { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.never ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 28px; margin-top: 16px; font-size: 15px; color: var(--muted); }
.never li { display: flex; gap: 10px; align-items: baseline; }
.never li::before { content: "×"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #ffe2dc; color: #c0392b; font-size: 13px; font-weight: 700; line-height: 1; }
@media (max-width: 860px) { .never ul { grid-template-columns: 1fr; } }

.compare { margin-top: clamp(40px, 5vw, 64px); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); }
.compare > div { display: grid; grid-template-columns: 1fr 1fr; }
.compare span { padding: 18px 24px; font-size: 16px; }
.compare > div + div { border-top: 1px solid var(--line); }
.compare span:first-child { color: var(--soft); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.compare span:last-child { font-weight: 500; background: linear-gradient(90deg, rgba(71, 229, 181, .08), transparent); }
.compare .cmp-head span { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--muted); background: var(--mist); }
@media (max-width: 560px) { .compare span { padding: 14px 16px; font-size: 14px; } }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.cases li { position: relative; padding: 28px; border-radius: var(--radius); background: var(--mist); }
.cases .bot { position: absolute; right: 20px; top: -36px; width: 76px; }
.cases .who { font-size: 13px; color: var(--soft); }
.cases h3 { margin-top: 10px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.cases li > p:last-child { margin-top: 10px; font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; gap: 48px; } }

.voice-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.voice-wrap .voices { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.demo-call .lines { padding: 18px; }
@media (max-width: 860px) { .voice-wrap { grid-template-columns: 1fr; } }

/* Business page */
.kb-hero { padding: clamp(16px, 3vw, 36px); border-radius: var(--radius); background: var(--mist); }
.kb-scene { display: block; width: 100%; height: auto; overflow: visible; }
.kt-tag { font: 600 13px var(--sans); fill: #fff; }
.kt-src { font: 600 20px var(--sans); fill: var(--ink); }
.kt-kb { font: 600 20px var(--sans); fill: #fff; }
.kt-say { font: 500 15px var(--sans); fill: var(--ink); }
.kt-chip { font: 600 16px var(--sans); fill: var(--ink); }
.kb-scene .flowlines path { animation: belt 1s linear infinite; }
@media (prefers-reduced-motion: no-preference) {
  .kb-scene .src, .kb-scene .ls, .kb-scene .fchip { animation: rise .6s var(--ease) both; }
  .kb-scene .s2 { animation-delay: .2s; } .kb-scene .s3 { animation-delay: .4s; }
  .kb-scene .l1 { animation-delay: 1s; } .kb-scene .l2 { animation-delay: 1.4s; } .kb-scene .l3 { animation-delay: 1.8s; }
  .kb-scene .fchip { animation-delay: calc(var(--i) * .15s + 2.2s); }
}
.kb-body { display: grid; gap: 12px; padding: 18px; }
.drop { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 120px; padding: 18px; border: 2px dashed var(--line); border-radius: 18px; color: var(--muted); font-size: 15px; text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop svg { width: 24px; height: 24px; flex: none; }
.drop b { color: var(--ink); font-weight: 600; }
.drop:hover, .drop.is-over { border-color: #7c5cff; background: rgba(124, 92, 255, .05); }
.url-row { display: flex; gap: 8px; }
.url-row input { flex: 1; min-width: 0; padding: 11px 14px; border: 0; border-radius: 999px; background: var(--mist); font: 15px var(--sans); color: var(--ink); }
.url-row input:focus { outline: 2px solid var(--ink); }
.kb-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--line); font-size: 15px; }
.kb-list b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft { padding: 4px 9px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 600; }
.ft-pdf { background: #ff453a; } .ft-doc { background: #0a84ff; } .ft-xls { background: #30d158; } .ft-web { background: #7c5cff; } .ft-txt { background: #8b8b91; }
.st-ok { font-size: 13px; font-weight: 600; color: #1d7f49; }
.st-busy { font-size: 13px; color: var(--soft); }
.rules li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 16px; }
.toggle { position: relative; flex: none; width: 48px; height: 28px; border: 0; border-radius: 999px; background: #d9d8dc; cursor: pointer; transition: background-color .2s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.toggle[aria-checked="true"] { background: #30d158; }
.toggle[aria-checked="true"]::after { transform: translateX(20px); }
.lp li { display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; row-gap: 8px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.lp b { font-weight: 500; }
.lp .dir { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.lp .in { background: rgba(48, 209, 88, .14); color: #1d7f49; } .lp .out { background: rgba(124, 92, 255, .14); color: #5b3ff0; }
.lp .t { font: 500 13px ui-monospace, "SF Mono", Menlo, monospace; color: var(--soft); }
.lp .bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--mist); overflow: hidden; }
.lp .bar i { display: block; width: var(--w); height: 100%; border-radius: 2px; background: linear-gradient(90deg, #47e5b5, #7c5cff); }
.rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.rec { padding: 22px; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.rec.is-playing { box-shadow: inset 0 0 0 2px #7c5cff; }
.rec-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rec-kind { font-size: 13px; color: var(--soft); }
.rec h3 { margin-top: 4px; font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.rec-play { position: relative; display: grid; place-items: center; flex: none; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.rec-play .voice-play { width: 44px; height: 44px; }
.rec.is-playing .voice-play { background: #7c5cff; }
.rec.is-playing .voice-play::before { width: 11px; height: 13px; margin: 0; border: 0; border-inline: 4px solid #fff; }
.rec-bar { position: absolute; left: 4px; right: 4px; bottom: -6px; height: 3px; border-radius: 2px; background: var(--mist); overflow: hidden; }
.rec-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: #7c5cff; }
.rec-lines { display: grid; gap: 10px; margin-top: 18px; }
.rec-lines li { padding: 10px 14px; border-radius: 16px; background: var(--mist); font-size: 15px; line-height: 1.45; transition: background-color .2s, color .2s; }
.rec-lines li b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--soft); }
.rec-lines li.on { background: var(--ink); color: #fff; }
.rec-lines li.on b { color: rgba(255, 255, 255, .6); }
@media (max-width: 1000px) { .rec-grid { grid-template-columns: 1fr; } }
.grid3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }
.facts { margin-top: 24px; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { color: var(--muted); }
.plans3 { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: stretch; margin-top: clamp(40px, 5vw, 64px); }
.plans3 > article { display: flex; flex-direction: column; }
.plans3 .checks { margin: 22px 0 28px; }
.plans3 .btn { margin-top: auto; align-self: flex-start; }
.plans3 .price h3 { margin-top: 18px; font-size: 30px; font-weight: 500; letter-spacing: -.03em; }
.plans3 .price > p:not(.tag) { margin-top: 8px; color: rgba(255, 255, 255, .7); }
@media (max-width: 1000px) { .plans3 { grid-template-columns: 1fr; } }
.fineprint { margin-top: 24px; max-width: 60em; font-size: 13px; line-height: 1.55; color: var(--soft); }
.fineprint a { color: var(--link); }

/* Legal pages: villkor, integritetspolicy, biträdesavtal, kakor, ångerformulär */
.legal-nav { display: flex; gap: 18px; overflow-x: auto; font-size: 14px; scrollbar-width: none; }
.legal-nav::-webkit-scrollbar { display: none; }
.legal-nav a { flex: none; color: var(--muted); text-decoration: none; }
.legal-nav a:hover, .legal-nav a[aria-current] { color: var(--ink); }
.legal-nav a[aria-current] { font-weight: 600; }
@media (max-width: 860px) { .nav-inner.legal-bar { flex-wrap: wrap; row-gap: 4px; padding-bottom: 10px; } .legal-bar .legal-nav { order: 3; width: 100%; } }
.legal-shell { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(64px, 8vw, 110px); }
.legal-heading { max-width: 860px; }
.legal-heading > a { font-size: 14px; color: var(--muted); text-decoration: none; }
.legal-heading > a:hover { color: var(--ink); }
.legal-eyebrow { margin: 28px 0 14px; font-size: 14px; color: var(--soft); }
.legal-heading h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; font-weight: 500; letter-spacing: -.04em; text-wrap: balance; overflow-wrap: break-word; }
.legal-lead { margin-top: 16px; max-width: 46em; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.legal-notice { margin: 28px 0; padding: 18px 22px; border-radius: 20px; background: #fff6db; box-shadow: inset 0 0 0 1px #f3d98a; font-size: 15px; }
.legal-notice p { margin-top: 6px; max-width: 95ch; font-size: 14px; color: #6b5310; }
.legal-summary { margin: 28px 0 40px; padding: 24px 26px; border-radius: var(--radius); background: var(--mist); }
.legal-summary h2 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.legal-summary ul { margin-top: 12px; padding-left: 20px; list-style: disc; }
.legal-summary li { margin: 6px 0; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 88px; padding: 20px; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.legal-toc h2 { font-size: 14px; font-weight: 600; }
.legal-toc li { margin: 10px 0; font-size: 13px; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); }
.legal-body { min-width: 0; font-size: 16px; line-height: 1.7; }
.legal-body section { scroll-margin-top: 88px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-body h2 { margin-bottom: 14px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.legal-body p { margin: 0 0 14px; }
.legal-body a { color: var(--link); overflow-wrap: anywhere; }
.legal-body ul, .legal-body ol { margin: 0 0 14px; padding-left: 24px; }
.legal-body ul { list-style: disc; } .legal-body ol { list-style: decimal; }
.legal-body li { margin: 5px 0; }
.legal-part { margin: 40px 0 22px; padding-top: 16px; border-top: 2px solid var(--ink); font-size: clamp(24px, 3vw, 32px); font-weight: 500; letter-spacing: -.03em; scroll-margin-top: 88px; }
.legal-body > .legal-part:first-child { margin-top: 0; }
.legal-table { overflow-x: auto; margin: 18px 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.legal-table table { width: 100%; min-width: 550px; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--mist); font-weight: 600; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-version { font-size: 13px; color: var(--soft); }
.legal-single { max-width: 760px; }
.legal-form { list-style: none !important; padding-left: 0 !important; }
.legal-form li { margin: 14px 0; }
.legal-line { display: inline-block; min-width: 260px; height: 1.1em; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
mark.ph { padding: 0 4px; border-radius: 4px; background: #ffe9a8; color: inherit; font-weight: 600; outline: 1px dashed #d49a00; }
.foot .legal-company { margin-top: 12px; font-size: 13px; color: var(--soft); }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; gap: 28px; } .legal-toc { position: static; } .legal-toc ol { columns: 2; column-gap: 20px; } .legal-toc li { break-inside: avoid; } }
@media (max-width: 450px) { .legal-toc ol { columns: 1; } .legal-summary, .legal-notice { padding: 16px; } }
@media print { .nav, .foot, .legal-toc, .skip { display: none; } .legal-layout { display: block; } .legal-body { font-size: 10pt; } .legal-table table { min-width: 0; } mark.ph { outline: 1px dashed #000; } }

/* Partner page */
.partner-film .studio { padding: 8px; }
.film { overflow: hidden; border-radius: 22px; background: #000; aspect-ratio: 16 / 9; }
.film video { display: block; width: 100%; height: 100%; }
.partner-cards { margin-top: clamp(64px, 7vw, 96px); }

/* 404 */
.lost { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 48px 0 80px; text-align: center; }
.lost-inner { display: grid; justify-items: center; }
.lost-art { position: relative; width: 220px; margin-bottom: 28px; }
.lost-art .orb { width: 520px; opacity: .4; }
.lost-art .bot { position: relative; width: 150px; margin: 0 auto; }
.lost-art .r-eyes { animation: look 4s ease-in-out infinite; }
@keyframes look { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-3px); } 60% { transform: translateX(3px); } }
.lost-bubble { position: absolute; top: -6px; left: 150px; white-space: nowrap; padding: 10px 16px; border-radius: 18px 18px 18px 6px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px rgba(25, 23, 54, .35); font-size: 15px; font-weight: 500; }
.lost .tag { margin-bottom: 18px; }
.lost .lead { max-width: 30em; margin-top: 18px; }
.lost .hero-ctas { justify-content: center; }
.lost-en { margin-top: 36px; font-size: 14px; color: var(--soft); }
.lost-en a { color: var(--link); text-decoration: none; }
@media (max-width: 560px) { .lost-bubble { left: 50%; top: -44px; transform: translateX(-30%); } .lost-art { margin-top: 40px; } }

/* The robots */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.bot { display: block; overflow: visible; }
.bot-shadow { fill: #0b0b0c; opacity: .12; }
.bot-float { animation: float 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.r-eyes { transform-box: fill-box; transform-origin: center; animation: blink 6s infinite; animation-delay: var(--d, 0s); }
.r-wave { transform-box: view-box; transform-origin: 78px 66px; animation: wave 2.4s ease-in-out infinite; }
.r-eq { transform-box: fill-box; transform-origin: center; animation: eq 1s ease-in-out infinite; }
.r-eq.q2 { animation-delay: .15s; } .r-eq.q3 { animation-delay: .3s; } .r-eq.q4 { animation-delay: .45s; }
@keyframes float { 50% { transform: translateY(-4px); } }
@keyframes blink { 0%, 46%, 50%, 100% { transform: none; } 48% { transform: scaleY(.1); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-16deg); } 60% { transform: rotate(8deg); } }
@keyframes eq { 50% { transform: scaleY(.45); } }

/* Standing on the product card's top edge, in front of it. */
.studio-wrap { position: relative; margin-top: clamp(96px, 10vw, 128px); }
.studio-wrap .studio { position: relative; z-index: 1; }
.bot-perch { position: absolute; z-index: 2; right: clamp(24px, 6vw, 72px); top: -112px; width: 112px; }
.duo-card .bot-card { position: absolute; right: 28px; bottom: 24px; width: 104px; z-index: 1; }
.duo-card .checks { padding-right: 120px; }
.price .bot-price { position: absolute; right: clamp(20px, 4vw, 44px); top: clamp(20px, 4vw, 40px); width: 110px; }
.price .bot-shadow { fill: #000; opacity: .5; }
.crowd { display: flex; justify-content: center; gap: clamp(8px, 3vw, 28px); margin: clamp(40px, 6vw, 64px) auto calc(-1 * clamp(56px, 8vw, 110px) + 28px); }  /* hela robotarna, en bit ovanför kanten */
.bot-crowd { width: clamp(64px, 10vw, 112px); }
.closing .bot-shadow { fill: #000; opacity: .55; }
@media (max-width: 860px) { .bot-perch { width: 88px; top: -88px; } }
@media (max-width: 560px) {
  .duo-card .checks { padding-right: 0; padding-bottom: 96px; }
  .duo-card .bot-card { width: 84px; right: 20px; bottom: 16px; }
  .price .bot-price { width: 84px; }
}

/* Business page in beta: what works today and what is coming. */
.list-label { margin: 26px 0 12px; font-size: 13px; font-weight: 600; color: var(--soft); }
.checks-soon li { color: var(--muted); }
.checks-soon li::before { background: none; border: 1.5px dashed var(--soft); border-radius: 50%; width: 13px; height: 13px; }
.price-side .checks-soon li::before { border-color: var(--muted); }
.pill { display: inline-block; vertical-align: middle; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.pill-beta { background: rgba(48, 209, 88, .14); color: #1d7f49; }
.pill-soon { background: var(--mist); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.grid4 h3 .pill { margin-left: 6px; }
.instr { padding: 18px; display: grid; gap: 14px; font-size: 15px; }
.instr p { padding: 12px 14px; border-radius: 14px; background: var(--mist); }
.instr small { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--soft); }
.route li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.route li span:last-child { font-size: 13px; font-weight: 600; }
.route .to-ai { color: #5b3ff0; }
.route .to-staff { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { .orb, .bot-float, .r-eyes, .r-wave, .r-eq { animation: none; } html { scroll-behavior: auto; } }

/* Sajtchatten (chatt.js): a pill bottom right that opens a small box. Only there when /api/chatt says it is open. */
.chat-open {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; font: 500 15px/1 var(--sans); cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.chat-open:hover { background: #2a2a2d; }
.chat-box {
  position: fixed; right: 16px; bottom: 16px; z-index: 41; display: flex; flex-direction: column;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100dvh - 32px));
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.18); overflow: hidden;
}
.chat-box[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head h2 { font: 600 16px/1.3 var(--sans); }
.chat-x { width: 32px; height: 32px; border: 0; border-radius: 999px; background: var(--mist); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-ai { align-self: flex-start; background: var(--mist); border-bottom-left-radius: 6px; }
.chat-you { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.chat-wait { color: var(--muted); }
.chat-join { align-self: flex-start; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form textarea {
  flex: 1; min-height: 40px; max-height: 120px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--bg); color: var(--ink); font: 400 15px/1.4 var(--sans); resize: none;
}
.chat-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
@media print { .chat-open, .chat-box { display: none; } }

/* Kakbannern (statistik.js): bottom left, above the chat pill, until the visitor says yes or no. Both answers look the same. */
.consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 45; width: min(440px, calc(100vw - 32px)); padding: 20px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.consent h2 { margin: 0 0 6px; font: 600 17px/1.3 var(--sans); }
.consent p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.consent-more { color: var(--link); }
.consent-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.consent-row .btn { min-height: 44px; }
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.foot .link-btn { text-decoration: none; }
.foot .link-btn:hover { color: var(--ink); }
@media print { .consent { display: none; } }
