/* IsBusiness · page styles on top of the IsUniverse design system (/assets/ds/tokens.css, base.css, intro.css,
   circuit.css). Same palette (ink and gold), type, radii, motion curves and components; only what this page adds.
   1. Brand mark   2. Intro mark   3. Hero and phone   4. Features   5. Steps   6. Sectors, soon, FAQ, contact
   7. Footer and legal   8. Responsive and reduced motion */

/* ===================== 1. Brand mark (the official «Is», #is-glyph) ===================== */
.is-symbol { position: absolute; width: 0; height: 0; overflow: hidden; }
#is-glyph path { fill: inherit; }
/* The SVG «Is» takes exactly the place of the Allura «Is» of the other sites (ds/base.css .brand-is): its ink is
   0.651 × --brand-is tall and goes 0.05 × --brand-is under the baseline of the name, and the name starts where the
   Allura advance ends (0.076 × --brand-is before the end of the ink), as in «IsProfile» or «IsAcademy». */
.brand-mark { width: auto; height: calc(var(--brand-is) * .651); margin: 0 calc(var(--brand-is) * -.076 + 1px) calc(var(--brand-is) * -.05) 0;
  fill: var(--gold); stroke: var(--gold); stroke-width: 10; /* ≈ the .5px text-stroke of the Allura «Is» */ flex: none; transition: transform .3s var(--ease-out); overflow: visible; }
.brand:hover .brand-mark { transform: rotate(-4deg); }
.brand--small { --brand-is: 24px; --brand-name: 13px; color: var(--text-2); }
body.entering .topbar .brand { opacity: 0; }
::selection { background: rgba(200, 149, 63, .28); color: var(--text); }
html { accent-color: var(--gold); scrollbar-color: var(--gold) transparent; caret-color: var(--gold); }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ===================== 2. Intro mark ===================== */
.bsig .is-stroke { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linejoin: round; }
.bsig .is-fill { fill: var(--gold); }
.js .intro .bsig:not(.is-live) :is(.is-stroke, .is-fill, .word, .cursor) { visibility: hidden; }
.intro-flyer .bsig .is-stroke { visibility: hidden; }
.intro-top .btn-sm { min-height: 44px; }

/* ===================== 3. Hero and phone ===================== */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, var(--gold-glow), transparent); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
.hero-title { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.03em; max-width: 14ch; margin: 0 0 22px; }
.hero-title em { font-style: normal; color: var(--gold-text); }   /* emphasis by colour, never gradient text (Impeccable) */
.hero .lead { max-width: 52ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* the phone: a generic small-business site with the WhatsApp booking flow playing in a loop (decorative) */
.device-wrap { position: relative; justify-self: center; }
.device { position: relative; width: 272px; aspect-ratio: 9 / 18.6; padding: 12px; border-radius: 42px; background: linear-gradient(160deg, var(--ink-800), var(--ink-950));
  box-shadow: 0 0 0 1px rgba(226, 178, 92, .35), 0 40px 80px rgba(11, 16, 38, .35), inset 0 0 0 2px rgba(255, 255, 255, .06);
  transform: rotate(-3deg); transition: transform .8s var(--ease-out); z-index: 1; }
.device-wrap:hover .device { transform: rotate(0deg) translateY(-6px); }
.device-notch { position: absolute; top: 18px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 12px; background: var(--ink-950); z-index: 2; }
.device-glow { position: absolute; inset: 18% -12% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(226, 178, 92, .30), transparent); filter: blur(24px); z-index: 0; }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 32px; background: var(--cream-50); color: var(--ink-700); padding: 40px 14px 14px;
  display: flex; flex-direction: column; gap: 12px; font-size: 11px; }
.s-bar { display: flex; align-items: center; gap: 8px; }
.s-logo { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--gold-500), var(--gold-700)); }
.s-name { font-weight: 700; font-size: 12px; letter-spacing: -.01em; flex: 1; }
.s-menu { width: 16px; height: 10px; border-block: 2px solid var(--ink-700); position: relative; }
.s-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: var(--ink-700); }
.s-hero { display: grid; gap: 7px; padding: 14px 12px; border-radius: 16px; background: var(--ink-900); }
.s-h { color: var(--cream-50); font-weight: 700; font-size: 14px; letter-spacing: -.01em; }
.s-p { color: rgba(251, 247, 239, .62); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.s-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: #9fe0b4; font-size: 10px; font-weight: 600; }
.s-open i { width: 7px; height: 7px; border-radius: 50%; background: #5fbf7a; box-shadow: 0 0 0 3px rgba(95, 191, 122, .25); }
.s-card { display: grid; gap: 9px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(122, 82, 18, .12); }
.s-title { margin: 0; font-weight: 700; font-size: 12px; }
.s-row { display: flex; gap: 6px; }
.s-chip, .s-day, .s-hour { flex: 1; display: grid; place-items: center; min-height: 26px; border-radius: 9px; border: 1px solid rgba(28, 37, 71, .14); font-weight: 600; font-size: 10px; color: var(--ink-600); }
.s-day { min-height: 36px; line-height: 1.15; }
.s-day b { font-size: 12px; color: var(--ink-700); }
.s-send { display: grid; place-items: center; min-height: 32px; border-radius: 10px; background: #157a3c; color: #fff; font-weight: 700; font-size: 10.5px; }
.s-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-tile { display: flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 10px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px rgba(122, 82, 18, .10);
  font-weight: 600; font-size: 10.5px; }
.s-ico { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--gold-600); position: relative; }
.s-ico--clock::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 5px; border-left: 2px solid var(--gold-600); border-bottom: 2px solid var(--gold-600); }
.s-ico--pin { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.s-ico--pin::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--gold-600); }
.s-bubble { position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 14px 14px 4px 14px;
  background: #dcf8c6; color: #1c2a1c; font-weight: 600; font-size: 10.5px; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); opacity: 0; transform: translateY(16px) scale(.96); }
.s-check { color: #34b7f1; font-size: 10px; letter-spacing: -2px; }
/* the loop (9 s): service → day → hour → send → the message arrives; final state without motion */
.device .s-chip--a, .device .s-day--a, .device .s-hour--a { border-color: var(--gold-600); background: rgba(200, 149, 63, .16); color: var(--ink-700); }
.device.playing .s-chip--a { animation: pick-a 9s var(--ease-out) infinite; }
.device.playing .s-day--a { animation: pick-b 9s var(--ease-out) infinite; }
.device.playing .s-hour--a { animation: pick-c 9s var(--ease-out) infinite; }
.device.playing .s-send { animation: press 9s var(--ease-out) infinite; }
.device.playing .s-bubble { animation: bubble 9s var(--ease-out) infinite; }
body.intro-open .device * { animation-play-state: paused !important; }
@keyframes pick-a { 0%, 8% { border-color: rgba(28, 37, 71, .14); background: transparent; transform: none; } 12% { transform: scale(1.08); } 16%, 92% { border-color: var(--gold-600); background: rgba(200, 149, 63, .16); transform: none; } 100% { border-color: rgba(28, 37, 71, .14); background: transparent; } }
@keyframes pick-b { 0%, 22% { border-color: rgba(28, 37, 71, .14); background: transparent; transform: none; } 26% { transform: scale(1.08); } 30%, 92% { border-color: var(--gold-600); background: rgba(200, 149, 63, .16); transform: none; } 100% { border-color: rgba(28, 37, 71, .14); background: transparent; } }
@keyframes pick-c { 0%, 36% { border-color: rgba(28, 37, 71, .14); background: transparent; transform: none; } 40% { transform: scale(1.08); } 44%, 92% { border-color: var(--gold-600); background: rgba(200, 149, 63, .16); transform: none; } 100% { border-color: rgba(28, 37, 71, .14); background: transparent; } }
@keyframes press { 0%, 52% { transform: none; filter: none; } 55% { transform: scale(.95); filter: brightness(1.15); } 58%, 100% { transform: none; filter: none; } }
@keyframes bubble { 0%, 58% { opacity: 0; transform: translateY(16px) scale(.96); } 63%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(8px) scale(.98); } }
.device:not(.playing) .s-bubble { opacity: 1; transform: none; }

/* ===================== 4. Features ===================== */
/* an editorial list (Impeccable: no wall of identical cards): two columns, hairlines, the icon beside the words */
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 1px solid var(--line); }
.feature { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; row-gap: 6px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.feature .f-icon { grid-row: span 2; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--text-2); margin: 0; }
.f-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(200, 149, 63, .12); color: var(--gold-text);
  transition: transform .5s var(--ease-out), background .3s ease; }
.f-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature:hover .f-icon { transform: translateY(-2px) rotate(-4deg); background: rgba(200, 149, 63, .2); }
.feature::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); z-index: 1; }
.feature:hover::before { transform: scaleX(1); }

/* ===================== 5. Steps ===================== */
.steps { --track: 34px; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.steps::before, .steps::after { content: ""; position: absolute; top: calc(var(--track) - 1px); left: 28px; right: 28px; height: 2px; border-radius: 2px; background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-in-out) .2s; }
.steps.run::after { transform: scaleX(1); }
.step { position: relative; display: grid; gap: 8px; align-content: start; }
.step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  font-family: var(--font-sans); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 20px; color: var(--text-2); margin-bottom: 8px;
  transition: border-color .4s ease, color .4s ease, box-shadow .4s ease; }
.steps.run .step-n { border-color: var(--gold); color: var(--gold-text); box-shadow: 0 0 0 6px var(--gold-glow); }
.steps.run .step:nth-child(1) .step-n { transition-delay: .2s; }
.steps.run .step:nth-child(2) .step-n { transition-delay: .7s; }
.steps.run .step:nth-child(3) .step-n { transition-delay: 1.2s; }
.steps.run .step:nth-child(4) .step-n { transition-delay: 1.7s; }
.step h3 { font-size: 20px; }
.step p { color: var(--text-2); margin: 0; }

/* ===================== 6. Sectors, soon, FAQ, contact ===================== */
.sectors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sector-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.sector-list li { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--surface); font-weight: 500; transition: border-color .3s ease, transform .3s var(--ease-out); }
.sector-list li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .sector-list li:hover { border-color: rgba(200, 149, 63, .55); transform: translateX(4px); } }

.soon-section { padding-top: 0; }
.soon { display: grid; justify-items: start; gap: 14px; padding: 40px; overflow: hidden;
  background: linear-gradient(120deg, var(--surface), var(--surface) 55%, rgba(200, 149, 63, .12)); }
.soon h2 { margin: 0; }
.soon .lead { margin: 0; max-width: 60ch; }

.faq-wrap h2 { margin-bottom: 28px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .3s ease; }
.faq details[open] { border-color: rgba(200, 149, 63, .5); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 18px; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text);
  transform: rotate(45deg) translateY(-2px); transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--text-2); }

.contact-card { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 56px 24px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(200, 149, 63, .14), transparent 60%), var(--surface); }
.contact-mark { width: auto; height: 64px; fill: var(--gold); margin-bottom: 4px; }
.contact-card h2 { margin: 0; }
.contact-card .lead { max-width: 46ch; margin: 0 0 8px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-note { margin: 8px 0 0; }

/* ===================== 7. Footer and legal ===================== */
.footer-brand { display: inline-flex; align-items: baseline; gap: 10px; }
.footer-year { font-size: 14px; }
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 12px; }
.legal h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 20px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; color: var(--text-2); }
.pending { display: inline-block; padding: 1px 10px; border-radius: 999px; border: 1px dashed var(--gold); color: var(--gold-text); font-size: 13px; font-weight: 600; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound .contact-mark { height: 88px; }
.notfound h1 { font-size: clamp(32px, 4.4vw, 48px); margin: 12px 0; }

/* ===================== 8. Responsive and reduced motion ===================== */
@media (max-width: 1080px) {
  .feature-grid { column-gap: 32px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-title { max-width: 16ch; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .sectors { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { grid-template-columns: auto 1fr; column-gap: 16px; }
  .step-n { grid-row: span 2; width: 56px; height: 56px; font-size: 16px; margin: 0; }
  .sector-list { grid-template-columns: 1fr; }
  .soon { padding: 28px 22px; }
  .contact-card { padding: 40px 18px; }
  .contact-actions .btn { flex: 1 1 100%; }
  .bar-cta { display: none; }
  .device { width: 248px; }
  .device .s-tiles { display: none; }   /* the small phone has no room: the message bubble would cover them */
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}
@media (min-width: 1081px) { .device { width: 300px; } }
:root:not([data-theme="dark"]) .device-glow { opacity: .55; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .device-glow { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .device { transform: none; }
  .steps::after { transition: none; }
  .steps.run .step .step-n { transition-delay: 0s; }
}
