/* Home page, version 2 (9 Nov 2026): the Assistente's stage, the live tool tiles and the door's "try it".
   Each piece shows its finished state without the script, and with reduced motion. */
@keyframes hm-draw { to { stroke-dashoffset: 0; } }
@keyframes hm-blink { 50% { opacity: 0; } }
@keyframes hm-dot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
@keyframes hm-pulse { 0% { box-shadow: 0 0 0 0 rgba(6,125,77,.45); } 100% { box-shadow: 0 0 0 7px rgba(6,125,77,0); } }
@keyframes hm-fill { from { transform: scaleX(0); } to { transform: none; } }
@keyframes hm-flash { from { background-color: var(--sol-wash); } to { background-color: transparent; } }
.p-index .hm-live i { animation: hm-pulse 1.8s ease-out infinite; }

/* ---------- the closing: the opening's scene again, at dusk (the script lowers its sun as the page ends) ---------- */
.p-index .h-dusk { margin-top: 0; min-height: 0; padding-top: 128px; }
.p-index .h-dusk .ha-h1 { margin-top: 0; max-width: 780px; font-size: 56px; line-height: 60px; letter-spacing: -.025em; }
/* after dusk, night: the home's footer is dark */
.site[data-page="index"] .ft { --site-ink: #fff; --site-ink-2: var(--stage-ink-2); --site-ink-3: var(--stage-ink-3); --site-line: var(--stage-line); --logo-ink: #fff; --focus: #fff; background: #050A1A; border-top-color: transparent; color: #fff; }

/* a headline's second sentence starts on its own line, so no word is left alone at the end of the first */
.p-index .t-h2 > span, .p-index .t-statement > span { display: block; }

/* ---------- the Assistente ---------- */
.p-index .hm-ai-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; align-items: center; }
.p-index .hm-ai-copy { display: grid; gap: 16px; align-content: start; min-width: 0; }
.p-index .hm-ai-copy .t-h2 span { color: var(--site-ink-2); }
.p-index .hm-ai-lede { font-size: 18px; line-height: 28px; max-width: 460px; }
.p-index .hm-ai-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--site-line); }
.p-index .hm-ai-list li { border-bottom: 1px solid var(--site-line); }
.p-index .hm-ai-pick { position: relative; width: 100%; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 8px 18px 24px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--site-ink-2); transition: color .2s var(--ease); }
.p-index .hm-ai-pick::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--site-ink); transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s var(--ease); }
.p-index .hm-ai-pick.is-on::before { transform: none; }
/* while the scenes play by themselves, a thin line under the current one shows how long it stays */
.p-index .hm-ai-pick::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--site-ink); transform: scaleX(0); transform-origin: 0 50%; }
.p-index .hm-ai-pick.is-timing::after { animation: hm-fill var(--dur, 5s) linear forwards; }
.p-index .hm-ai-pick:hover, .p-index .hm-ai-pick.is-on { color: var(--site-ink); }
.p-index .hm-ai-pick:focus-visible { outline-offset: -2px; }
.p-index .hm-ai-num { font: 400 12px/26px var(--f-mono); letter-spacing: .08em; color: var(--site-ink-3); }
.p-index .hm-ai-pick b { display: block; font: 600 18px/26px var(--f-sans); letter-spacing: -.01em; }
.p-index .hm-ai-pick i { display: block; margin-top: 2px; font: 400 15px/22px var(--f-sans); font-style: normal; color: var(--site-ink-3); transition: color .2s var(--ease); }
.p-index .hm-ai-pick.is-on i { color: var(--site-ink-2); }

.p-index .hm-ai-well { position: relative; min-width: 0; padding: 40px; border-radius: var(--r-lg); background: radial-gradient(70% 55% at 28% 108%, rgba(255,190,26,.16), transparent 70%), var(--site-panel); box-shadow: inset 0 0 0 1px rgba(14,26,58,.04); }
.p-index .hm-ai-win { height: 452px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; background: var(--site-bg); border: 1px solid rgba(14,26,58,.08); border-radius: 14px; box-shadow: 0 1px 2px rgba(14,26,58,.05), 0 24px 56px -24px rgba(14,26,58,.28); }
.p-index .hm-ai-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--site-line); font: 600 14px/20px var(--f-sans); }
.p-index .hm-ai-bar::before { content: ""; flex: none; width: 16px; height: 8px; border-radius: 8px 8px 0 0; background: var(--sol); }
.p-index .hm-ai-bar small { font: 400 13px/20px var(--f-sans); color: var(--site-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.p-index .hm-ai-bar .exemplo { margin-left: auto; flex: none; }
.p-index .hm-ai-thread { min-height: 0; overflow: hidden; padding: 20px 18px 8px; display: flex; flex-direction: column; gap: 12px; }
.p-index .hm-ai-msg { font: 400 15px/23px var(--f-sans); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.p-index .hm-ai-msg.is-pre { opacity: 0; transform: translateY(8px); }
.p-index .hm-ai-me { align-self: flex-end; max-width: 86%; padding: 9px 14px; border-radius: 16px 16px 4px 16px; background: var(--site-panel); box-shadow: inset 0 0 0 1px var(--site-line); }
.p-index .hm-ai-you { display: grid; gap: 12px; }
.p-index .hm-ai-you p { margin: 0; }
.p-index .hm-ai-think { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; font: 400 14px/23px var(--f-sans); color: var(--site-ink-3); }
.p-index .hm-ai-think i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; animation: hm-dot 1.1s var(--ease) infinite; }
.p-index .hm-ai-think i:first-of-type { margin-left: 3px; }
.p-index .hm-ai-think i:nth-of-type(2) { animation-delay: .15s; }
.p-index .hm-ai-think i:nth-of-type(3) { animation-delay: .3s; }

.p-index .hm-ai-card { display: grid; gap: 12px; padding: 14px 16px 16px; background: var(--site-bg); border: 1px solid var(--site-line); border-radius: 12px; box-shadow: 0 10px 24px -18px rgba(14,26,58,.25); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.p-index .hm-ai-card.is-pre { opacity: 0; transform: translateY(10px) scale(.985); }
.p-index .hm-ai-card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 600 14px/20px var(--f-sans); }
.p-index .hm-ai-card-h small { font: 400 12px/16px var(--f-mono); color: var(--site-ink-3); font-variant-numeric: tabular-nums; }
.p-index .hm-ai-rows { display: grid; gap: 9px; }
.p-index .hm-ai-row { display: grid; grid-template-columns: 132px minmax(0, 1fr) 44px; gap: 12px; align-items: center; font: 400 13px/18px var(--f-sans); color: var(--site-ink-2); }
.p-index .hm-ai-row > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-index .hm-ai-track { display: block; height: 8px; border-radius: 4px; background: var(--site-line); overflow: hidden; }
.p-index .hm-ai-track i { display: block; height: 100%; width: var(--v, 0%); min-width: 3px; border-radius: 4px; background: var(--chart-bar); box-shadow: inset 0 0 0 1px rgba(14,26,58,.12); transform-origin: 0 50%; transition: transform .9s var(--ease), width .6s var(--ease); }
.p-index .hm-ai-card.is-pre .hm-ai-track i { transform: scaleX(0); }
.p-index .hm-ai-row b { font: 400 13px/18px var(--f-mono); text-align: right; color: var(--site-ink); font-variant-numeric: tabular-nums; }
.p-index .hm-ai-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.p-index .hm-ai-dl div { display: grid; gap: 1px; min-width: 0; }
.p-index .hm-ai-dl dt { font: 400 12px/16px var(--f-sans); color: var(--site-ink-3); }
.p-index .hm-ai-dl dd { margin: 0; font: 500 14px/20px var(--f-sans); }
.p-index .hm-ai-dl .mono { font-family: var(--f-mono); font-weight: 400; letter-spacing: .02em; }
.p-index .hm-ai-act { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.p-index .hm-ai-btn { height: 36px; padding: 0 16px; border-radius: 9px; background: var(--site-ink); color: #fff; font: 500 14px/36px var(--f-sans); transition: transform .12s var(--ease); }
.p-index .hm-ai-btn.is-ghost { background: none; color: var(--site-ink-2); box-shadow: inset 0 0 0 1px var(--site-line-strong); }
.p-index .hm-ai-btn.is-down { transform: scale(.95); }
.p-index .hm-ai-done { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/20px var(--f-sans); color: var(--success); }
.p-index .hm-ai-done svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; animation: hm-draw .45s .1s var(--ease) forwards; }
.p-index .hm-ai-done span { margin-left: 8px; font-weight: 400; color: var(--site-ink-3); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* While the Assistente thinks, a thin ring of the dawn turns around the chat bar, as in the product's own Assistente
   (assistente.css, .as-box): Sol, Coral and Ametista, each fading into the next, with a faint glow under it. */
@property --hm-turn { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes hm-turn { to { --hm-turn: 360deg; } }
@keyframes hm-dawn { 0%, 100% { box-shadow: 0 8px 26px -10px rgba(255,190,26,.4); } 33% { box-shadow: 0 8px 26px -10px rgba(228,87,63,.3); } 66% { box-shadow: 0 8px 26px -10px rgba(155,91,212,.28); } }
.p-index .hm-ai-glow { position: relative; margin: 8px 14px 14px; border-radius: 12px; }
.p-index .hm-ai-glow::before { content: ""; position: absolute; z-index: 2; inset: -.5px; padding: 1.5px; border-radius: 12.5px; pointer-events: none;
  background: conic-gradient(from var(--hm-turn), var(--sol) 0deg, var(--sol) 70deg, var(--chart-3) 150deg, var(--chart-4) 210deg, var(--chart-3) 270deg, var(--sol) 330deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .5s var(--ease); }
.p-index .hm-ai-glow.is-thinking { animation: hm-dawn 4.8s ease-in-out infinite; }
.p-index .hm-ai-glow.is-thinking::before { opacity: .9; animation: hm-turn 3s linear infinite; }
.p-index .hm-ai-glow.is-thinking .hm-ai-comp { border-color: transparent; }
.p-index .hm-ai-comp { position: relative; z-index: 1; background: var(--site-bg); min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border: 1px solid var(--site-line-strong); border-radius: 12px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.p-index .hm-ai-comp.is-typing { border-color: var(--site-ink); box-shadow: 0 0 0 3px rgba(14,26,58,.08); }
.p-index .hm-ai-input { flex: 1; min-width: 0; font: 400 15px/22px var(--f-sans); }
.p-index .hm-ai-input.is-ph { color: var(--site-ink-3); }
.p-index .hm-ai-caret { display: inline-block; width: 1.5px; height: 18px; margin-left: 1px; vertical-align: -3px; background: var(--site-ink); animation: hm-blink 1s steps(1) infinite; }
.p-index .hm-ai-send { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--site-line-strong); color: #fff; transition: background-color .2s var(--ease), transform .12s var(--ease); }
.p-index .hm-ai-comp.is-typing .hm-ai-send { background: var(--site-ink); }
.p-index .hm-ai-send.is-down { transform: scale(.88); }
.p-index .hm-ai-send svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the tools: eight live tiles ---------- */
.p-index .hm-tools { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.p-index .tl { grid-column: span 4; position: relative; min-width: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; gap: 24px; padding: 28px 28px 0; background: var(--site-bg); border: 1px solid var(--site-line); border-radius: var(--r-lg); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.p-index .tl:hover { border-color: var(--site-line-strong); box-shadow: 0 18px 40px -28px rgba(14,26,58,.25); }
.p-index .tl-7 { grid-column: span 7; }
.p-index .tl-5 { grid-column: span 5; }
.p-index .tl-row { grid-column: span 12; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto; column-gap: 56px; align-items: center; }
.p-index .tl-row .tl-txt { padding-bottom: 28px; max-width: 420px; }
.p-index .tl-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px 24px; }
.p-index .tl-txt { display: grid; gap: 8px; align-content: start; min-width: 0; flex: 1 1 240px; }
.p-index .tl-demo { align-self: end; position: relative; height: 204px; overflow: hidden; border-radius: 12px 12px 0 0; background: var(--site-panel); }
.p-index .tl-big .tl-demo { height: 320px; }
.p-index .tl-demo.is-pad { padding: 20px 20px 0; }
.p-index .tl-demo.is-fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: linear-gradient(to bottom, rgba(247,248,250,0), var(--site-panel)); pointer-events: none; }
.p-index .tl:hover .hm-fcard { transform: translateY(-4px); }
.p-index .tl-cap { display: block; margin: 0 0 10px; font: 400 11px/16px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--site-ink-3); }
.p-index .tl-mini { flex: none; height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--site-line-strong); background: var(--site-bg); color: var(--site-ink); font: 500 14px/32px var(--f-sans); cursor: pointer; transition: background-color .2s var(--ease), transform .12s var(--ease); }
.p-index .tl-mini:hover { background: var(--site-panel); }
.p-index .tl-mini:active { transform: scale(.96); }
.p-index .hm-tools-more { margin: 40px 0 0; font: 400 16px/24px var(--f-sans); color: var(--site-ink-2); }

/* 1: the event page, three styles */
.p-index .tl-seg { position: relative; flex: none; display: inline-grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 3px; border-radius: 10px; background: var(--site-panel); box-shadow: inset 0 0 0 1px var(--site-line); }
.p-index .tl-seg::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 8px; background: var(--site-bg); box-shadow: 0 1px 2px rgba(14,26,58,.12), 0 0 0 1px rgba(14,26,58,.05); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .4s var(--ease); }
.p-index .tl-seg button { position: relative; height: 32px; padding: 0 14px; border: 0; border-radius: 8px; background: none; color: var(--site-ink-2); font: 500 14px/32px var(--f-sans); cursor: pointer; transition: color .2s var(--ease); }
.p-index .tl-seg button:hover, .p-index .tl-seg button[aria-pressed="true"] { color: var(--site-ink); }
.p-index .tl-pg { background: radial-gradient(70% 60% at 72% 112%, rgba(255,190,26,.14), transparent 70%), var(--site-panel); }
.p-index .tl-pg-win { position: absolute; left: 32px; right: 32px; top: 32px; aspect-ratio: 2000 / 1320; overflow: hidden; border-radius: 12px; background: #fff; border: 1px solid rgba(14,26,58,.09); box-shadow: 0 1px 2px rgba(14,26,58,.05), 0 24px 48px -24px rgba(14,26,58,.3); }
.p-index .tl-pg-win img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0; opacity: 0; transform: scale(1.02); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.p-index .tl-pg-win img.is-on { opacity: 1; transform: none; }

/* 2: the badge is the desk's real label: 62 x 76 mm, black on white, as the thermal printer makes it */
.p-index .tl-bd-slot { position: absolute; z-index: 2; top: 26px; left: 50%; width: 232px; height: 12px; margin-left: -116px; border-radius: 6px; background: var(--site-ink); box-shadow: 0 8px 16px -8px rgba(14,26,58,.55); }
.p-index .tl-bd-slot::after { content: ""; position: absolute; left: 14px; right: 14px; top: 5px; height: 2px; border-radius: 1px; background: rgba(255,255,255,.22); }
.p-index .tl-bd-clip { position: absolute; top: 33px; bottom: 0; left: 50%; width: 224px; margin-left: -112px; overflow: hidden; padding: 0 22px; }
.p-index .tl-lb { width: 180px; background: #fff; color: #000; border-radius: 2px 2px 5px 5px; overflow: hidden; box-shadow: 0 1px 2px rgba(14,26,58,.1), 0 16px 28px -16px rgba(14,26,58,.4); transform: translateY(8px); transition: transform 1.5s cubic-bezier(.33,.08,.2,1), opacity .3s var(--ease); }
.p-index .tl-lb-type { background: #000; color: #fff; padding: 4px 6px; text-align: center; font: 800 9.5px/12px var(--f-sans); letter-spacing: .12em; text-transform: uppercase; }
.p-index .tl-lb-in { padding: 9px 11px 10px; display: grid; }
.p-index .tl-lb-ev { padding-bottom: 5px; border-bottom: 1.5px solid #000; font: 600 8px/10px var(--f-sans); }
.p-index .tl-lb-name { margin-top: 7px; font: 800 15.5px/18px var(--f-sans); letter-spacing: -.015em; }
.p-index .tl-lb-co { margin-top: 2px; font: 600 10px/13px var(--f-sans); }
.p-index .tl-lb svg { justify-self: center; width: 94px; height: 94px; margin-top: 9px; fill: #000; }
.p-index .tl-lb-code { margin-top: 6px; text-align: center; font: 400 12.5px/14px var(--f-mono); letter-spacing: .22em; }
.p-index .tl-bd.is-up .tl-lb, .p-index .tl.is-wait .tl-bd .tl-lb { transform: translateY(-106%); }
.p-index .tl-bd.is-gone .tl-lb { transform: translateY(70%); opacity: 0; transition: transform .42s var(--ease), opacity .3s var(--ease); }
.p-index .tl-bd.is-jump .tl-lb { transition: none; }
.p-index .tl-bd-ok { position: absolute; z-index: 3; left: 50%; bottom: 10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--site-bg); border: 1px solid var(--site-line); box-shadow: 0 10px 24px -14px rgba(14,26,58,.35); font: 400 12px/16px var(--f-sans); color: var(--site-ink-2); white-space: nowrap; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.p-index .tl-bd-ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-wash); }
.p-index .tl-bd.is-quiet .tl-bd-ok, .p-index .tl.is-wait .tl-bd-ok { opacity: 0; transform: translate(-50%, 6px); }

/* 3: the form's questions are switches you can flip */
.p-index button.hm-frow { width: 100%; border: 0; border-bottom: 1px solid var(--site-line); background: none; text-align: left; cursor: pointer; color: inherit; transition: background-color .2s var(--ease); }
.p-index button.hm-frow:hover { background: var(--site-panel); }
.p-index button.hm-frow:focus-visible { outline-offset: -2px; }
.p-index .hm-tog { transition: background-color .25s var(--ease); }
.p-index .hm-tog::after { transition: left .25s var(--ease); }
.p-index button.hm-frow[aria-checked="true"] .hm-tog { background: var(--site-ink); }
.p-index button.hm-frow[aria-checked="true"] .hm-tog::after { left: 14px; }

/* 4: partners: the meters fill when the tile comes in */
.p-index .tl .hm-lot-t small { flex: none; white-space: nowrap; }
.p-index .tl .hm-meter i { transform-origin: 0 50%; transition: transform 1s var(--ease), width .6s var(--ease); }
.p-index .tl.is-wait .hm-meter i { transform: scaleX(0); }

/* 5 to 7: real screens of the product: the survey's results, the panels, the certificate */
.p-index .tl-card-img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--site-line), 0 10px 24px -18px rgba(14,26,58,.25); transition: transform .35s var(--ease); }
.p-index .tl:hover .tl-card-img { transform: translateY(-4px); }
.p-index .tl-shot { position: absolute; left: 32px; right: 32px; top: 32px; bottom: 0; overflow: hidden; border-radius: 12px 12px 0 0; background: #F7F8FA; border: 1px solid rgba(14,26,58,.09); border-bottom: 0; box-shadow: 0 1px 2px rgba(14,26,58,.05), 0 24px 48px -24px rgba(14,26,58,.3); }
.p-index .tl-shot img { display: block; width: 130%; max-width: none; height: auto; margin: -22% 0 0 -26%; }
.p-index .tl-ct { display: grid; place-items: center; padding: 28px 32px; background: radial-gradient(70% 60% at 30% 112%, rgba(255,190,26,.14), transparent 70%), var(--site-panel); }
.p-index .tl-ct img { display: block; width: 100%; max-width: 420px; height: auto; border-radius: 3px; box-shadow: 0 1px 2px rgba(14,26,58,.08), 0 22px 44px -22px rgba(14,26,58,.38); transition: transform .5s var(--ease); }
.p-index .tl:hover .tl-ct img { transform: translateY(-4px) rotate(-.6deg); }

/* 8: the audit log: new lines come in on top */
.p-index .hm-log div.is-new { animation: hm-flash 1.6s var(--ease); }

/* ---------- narrow computer and tablet: the tiles go two by two ---------- */
@container site (max-width: 1199px) {
  .p-index .tl, .p-index .tl-5 { grid-column: span 6; }
  .p-index .tl-7 { grid-column: span 12; }
  .p-index .tl-row { grid-column: span 6; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: stretch; }
  .p-index .tl-row .tl-txt { padding-bottom: 0; }
  .p-index .tl:not(.tl-big) .tl-demo { align-self: stretch; height: auto; min-height: 204px; }
  .p-index .tl-pg.tl-demo { height: auto; aspect-ratio: 2 / 1; }
  .p-index .tl-5.tl-big .tl-demo { height: 320px; }
}

/* ---------- tablet ---------- */
@container site (max-width: 1023px) {
  .p-index .h-dusk { padding-top: 104px; }
  .p-index .h-dusk .ha-h1 { font-size: 46px; line-height: 50px; }
  .p-index .hm-ai-grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .p-index .hm-ai-lede { max-width: 620px; }
}

/* ---------- phone ---------- */
@container site (max-width: 719px) {
  .p-index .h-dusk { margin-top: 0; padding-top: 80px; }
  .p-index .h-dusk .ha-h1 { font-size: 34px; line-height: 38px; letter-spacing: -.02em; }
  .p-index .hm-ai-grid { row-gap: 24px; }
  .p-index .hm-ai-list { margin-top: 8px; border-top: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .p-index .hm-ai-list li { border-bottom: 0; }
  .p-index .hm-ai-pick { display: block; width: auto; padding: 0 14px; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--site-line-strong); transition: color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
  .p-index .hm-ai-pick::before, .p-index .hm-ai-pick::after, .p-index .hm-ai-num, .p-index .hm-ai-pick i { display: none; }
  .p-index .hm-ai-pick b { font: 500 15px/40px var(--f-sans); letter-spacing: 0; }
  .p-index .hm-ai-pick.is-on { background: var(--site-ink); color: #fff; box-shadow: none; }
  .p-index .hm-ai-pick:focus-visible { outline-offset: 3px; }
  .p-index .hm-ai-well { margin-inline: calc(var(--gutter) * -1); padding: 24px var(--gutter); border-radius: 0; }
  .p-index .hm-ai-win { height: 500px; }
  .p-index .hm-ai-row { grid-template-columns: 112px minmax(0, 1fr) 40px; gap: 8px; }
  .p-index .hm-tools { gap: 16px; }
  .p-index .tl, .p-index .tl-5, .p-index .tl-7, .p-index .tl-row { grid-column: span 12; padding: 24px 20px 0; }
  .p-index .tl-big .tl-demo { height: 300px; }
  .p-index .tl-pg.tl-demo { height: 232px; aspect-ratio: auto; }
  .p-index .tl-pg-win, .p-index .tl-shot { left: 16px; right: 16px; top: 20px; }
  .p-index .tl-5.tl-big .tl-ct { height: auto; padding: 24px 20px; }
  .p-index .tl-shot img { width: 250%; margin: -42% 0 0 -50%; }
  .p-index .tl-seg { width: 100%; }
  .p-index .tl-mini { width: 100%; }
  .p-index .hm-tools-more { margin-top: 28px; }
}
/* links from the home to each tool's own page */
.p-index .hm-ai-more { justify-self: start; margin-top: 4px; font-size: 15px; line-height: 22px; }
.p-index .tl h3 a { color: inherit; text-decoration: none; }
.p-index .tl h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.p-index .tl-go { display: inline-block; width: 14px; height: 14px; margin-left: 6px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .38; transition: opacity .15s var(--ease), transform .15s var(--ease); }
.p-index .tl h3 a:hover .tl-go, .p-index .tl h3 a:focus-visible .tl-go { opacity: 1; transform: translateX(3px); }
