/* Strix landing: numbered rows, mocks inside rows, bursts, tiles, FAQ, final CTA, footer, consent. */
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 56px);
  position: relative; margin-top: clamp(80px, 9vw, 120px); padding-top: clamp(56px, 7vw, 88px);
}
/* Section rules line up with the content, not the page padding. */
.row::before, .footer::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: var(--line); }
.row-head h2 .num { margin-right: 12px; color: var(--muted); }
.row-copy { display: flex; flex-direction: column; gap: 36px; align-items: flex-start; }
.row-copy p { max-width: 34em; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.55; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; margin: 0; padding: 0; list-style: none; color: var(--text); font-size: clamp(18px, 1.6vw, 22px); }
.logos li { opacity: 0.85; }

/* Partners and supported rails */
.supports { display: flex; flex-direction: column; gap: 14px; }
.support-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.support-logos img { height: 26px; width: auto; }
.with-tag { display: inline-flex; align-items: center; gap: 10px; }
.with-tag img { height: 22px; }
.soon { padding: 1px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--dim); font: 11px var(--mono); }
.partners { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.partner { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 170px; padding: 28px; background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.05); transition: background-color 0.3s; }
.partner:hover { background: #161616; }
.partner img { height: 22px; width: auto; max-width: 70%; object-fit: contain; object-position: left; opacity: 0.92; }
.partner p { font-size: 13px; }

/* Mock pieces inside rows */
.code { margin: 0; padding: 12px; border-radius: 8px; background: #0b0b0b; color: var(--text); font: 11px/1.7 var(--mono); white-space: pre-wrap; word-break: break-all; }
.checks-sm { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; color: var(--text); font-size: 12px; }
.checks-sm li::before { content: "✓"; margin-right: 8px; color: var(--muted); }
.term { min-height: 180px; font-family: var(--mono); }
.typed { color: var(--text); font: 12px/1.7 var(--mono); }
.typed::before { content: "> "; color: var(--muted); }
.typed::after { content: "▍"; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.rule { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; color: var(--text); }
.rule b { font-size: 14px; }
.rule small { display: block; }
.meter { height: 3px; border-radius: 3px; background: #262626; overflow: hidden; }
.meter i { display: block; height: 100%; background: #fff; transform-origin: left; animation: grow 1.6s ease-out both; }
@keyframes grow { from { transform: scaleX(0); } }
.muted { color: var(--muted); }

/* Agent console (shopping) */
.console .panel { gap: 14px; }
.ask { padding: 10px 12px; border-radius: 8px; background: #1c1c1c; color: var(--text); font-size: 13px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font: 12px/1.5 var(--mono); }
.steps li { display: flex; gap: 10px; color: var(--muted); opacity: 0.35; transition: opacity 0.4s, color 0.4s; }
.steps li::before { content: "·"; width: 10px; }
.steps li.active { opacity: 1; color: var(--text); }
.steps li.active::before { content: "◌"; display: inline-block; animation: spin 1s linear infinite; }
.steps li.done { opacity: 1; color: var(--text); }
.steps li.done::before { content: "✓"; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.console-foot { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); font: 11px var(--mono); color: var(--muted); }
#status.ok { color: var(--text); }

/* Three animated bursts */
.bursts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.bursts canvas { width: 100%; aspect-ratio: 1; display: block; margin-bottom: 18px; background: var(--surface); }
.bursts h4 { margin-bottom: 6px; }
.bursts p { font-size: 13px; }

/* Security tiles with corner brackets */
.tiles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.tile {
  position: relative; aspect-ratio: 1; padding: 14px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    linear-gradient(#555, #555) top left / 8px 1px no-repeat, linear-gradient(#555, #555) top left / 1px 8px no-repeat,
    linear-gradient(#555, #555) top right / 8px 1px no-repeat, linear-gradient(#555, #555) top right / 1px 8px no-repeat,
    linear-gradient(#555, #555) bottom left / 8px 1px no-repeat, linear-gradient(#555, #555) bottom left / 1px 8px no-repeat,
    linear-gradient(#555, #555) bottom right / 8px 1px no-repeat, linear-gradient(#555, #555) bottom right / 1px 8px no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.05); transition: background-color 0.3s;
}
.tile:hover { background-color: #111; }
.tile span { font: 11px var(--mono); color: var(--muted); }
.tile svg { width: 44%; align-self: center; fill: none; stroke: #d4d4d4; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.tile p { color: var(--text); font-size: 13px; }

/* FAQ */
.faq { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--text); font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; max-width: 40em; }

/* Final CTA with the swirling letters */
.final { position: relative; display: grid; justify-items: center; gap: 28px; margin-top: clamp(80px, 9vw, 120px); padding-top: clamp(40px, 5vw, 64px); padding-bottom: 96px; text-align: center; }
.final .swirl { width: min(560px, 100%); aspect-ratio: 1.15; }
.final h2 { font-size: clamp(26px, 2.8vw, 34px); }

/* Footer */
.footer { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; font-size: 13px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.foot-brand .logo span { font-size: 22px; }
.underline { color: var(--text); border-bottom: 1px solid #555; padding-bottom: 2px; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot-cols div { display: flex; flex-direction: column; gap: 8px; }
.foot-cols a, .foot-cols .link { color: var(--text); }
.foot-cols a:hover, .foot-cols .link:hover { color: var(--dim); }
.copy { color: var(--muted); }
.disclosure { grid-column: 1 / -1; max-width: 60em; color: var(--muted); font-size: 12px; }

/* Cookie consent */
.consent {
  position: fixed; left: 50%; bottom: 20px; z-index: 20; transform: translateX(-50%);
  width: min(640px, calc(100% - 32px)); padding: 16px 18px; border-radius: 14px;
  display: flex; align-items: center; gap: 18px; background: #141414; border: 1px solid var(--line);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.9); font-size: 13px;
}
.consent[hidden] { display: none; }
.consent-actions { display: flex; gap: 8px; }

/* Reveal on scroll (landing.js adds .in) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bursts, .partners { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer, .foot-cols { grid-template-columns: 1fr; }
  .consent { flex-direction: column; align-items: stretch; }
}
