The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | /* ============================================================ |
| 2 | Marketing layout primitives. Lean — only the pieces actually |
| 3 | used by the home + product pages remain. Token defs live in |
| 4 | tokens.css; terminal chrome (shared with docs) lives in |
| 5 | terminal.css. |
| 6 | ============================================================ */ |
| 7 | |
| 8 | @import "./terminal.css"; |
| 9 | @import "./text-wrap.css"; |
| 10 | |
| 11 | body.alc-root, |
| 12 | .alc-root { |
| 13 | background: var(--alc-bg); |
| 14 | color: var(--alc-fg-2); |
| 15 | font-family: var(--alc-font-sans); |
| 16 | font-size: 15px; |
| 17 | line-height: 1.6; |
| 18 | -webkit-font-smoothing: antialiased; |
| 19 | -moz-osx-font-smoothing: grayscale; |
| 20 | } |
| 21 | |
| 22 | ::selection { |
| 23 | background: var(--alc-accent-soft); |
| 24 | color: var(--alc-fg-1); |
| 25 | } |
| 26 | |
| 27 | /* Inline "Learn more →" link used at the end of section descriptions. */ |
| 28 | .alc-learn-more { |
| 29 | color: var(--alc-accent-deep); |
| 30 | font-weight: 500; |
| 31 | text-decoration: none; |
| 32 | white-space: nowrap; |
| 33 | margin-left: 4px; |
| 34 | transition: opacity 140ms ease; |
| 35 | } |
| 36 | .alc-learn-more:hover { |
| 37 | opacity: 0.7; |
| 38 | text-decoration: underline; |
| 39 | text-underline-offset: 3px; |
| 40 | } |
| 41 | |
| 42 | /* ============================================================ |
| 43 | Code surfaces on marketing pages: muted and status colors lifted to |
| 44 | ≥7:1 (WCAG AAA) on the walnut code background. |
| 45 | ============================================================ */ |
| 46 | [data-theme="dark"] .alc-root :is(.alc-code-block, .alc-term, .prf-win, .v2-steps__code) { |
| 47 | --alc-code-comment: #ddd0ac; |
| 48 | --alc-code-literal: #ffbea0; |
| 49 | --alc-code-type: #86e3ff; |
| 50 | --alc-accent-bright: #b9d68d; |
| 51 | --alc-success: #b9d68d; |
| 52 | --alc-danger: #ffa48f; |
| 53 | --alc-warn: #f5c97a; |
| 54 | --alc-tui-muted: #d6cfc3; |
| 55 | --alc-tui-brand: #fac2a3; |
| 56 | } |
| 57 | |
| 58 | /* ============================================================ |
| 59 | Code block — terminal-themed wrapper used by static <CodeBlock> |
| 60 | ============================================================ */ |
| 61 | |
| 62 | /* Highlighted lines (CodeBlock's `highlight` prop). */ |
| 63 | .alc-code-block__line { |
| 64 | display: block; |
| 65 | margin: 0 -16px; |
| 66 | padding: 0 16px; |
| 67 | border-left: 2px solid transparent; |
| 68 | } |
| 69 | .alc-code-block__line.is-lit { |
| 70 | border-left-color: #7ee787; |
| 71 | background: rgba(126, 231, 135, 0.07); |
| 72 | } |
| 73 | |
| 74 | .alc-code-block { |
| 75 | background: var(--alc-bg-code); |
| 76 | border: 1px solid var(--alc-hairline); |
| 77 | border-radius: 10px; |
| 78 | overflow: hidden; |
| 79 | box-shadow: var(--alc-shadow-sm); |
| 80 | display: flex; |
| 81 | flex-direction: column; |
| 82 | min-width: 0; |
| 83 | max-width: 100%; |
| 84 | } |
| 85 | .alc-code-block__header { |
| 86 | display: flex; |
| 87 | align-items: center; |
| 88 | gap: 6px; |
| 89 | padding: 10px 14px; |
| 90 | border-bottom: 1px solid rgba(var(--alc-code-edge), 0.08); |
| 91 | background: rgba(var(--alc-code-lift), 0.02); |
| 92 | flex: 0 0 auto; |
| 93 | } |
| 94 | .alc-code-block__filename { |
| 95 | margin-left: 2px; |
| 96 | font-family: var(--alc-font-mono); |
| 97 | font-size: 11px; |
| 98 | color: var(--alc-code-comment); |
| 99 | } |
| 100 | /* Wrapper used when CodeBlock has a caption — keeps the block + the |
| 101 | hand-written caption visually grouped beneath the window chrome. */ |
| 102 | .alc-code-block__wrap { |
| 103 | display: flex; |
| 104 | flex-direction: column; |
| 105 | gap: 8px; |
| 106 | } |
| 107 | .alc-code-block__caption { |
| 108 | font-family: var(--alc-font-hand); |
| 109 | font-size: 20px; |
| 110 | line-height: 1.2; |
| 111 | color: var(--alc-accent-deep); |
| 112 | text-align: center; |
| 113 | letter-spacing: 0.01em; |
| 114 | animation: alc-code-caption-in 320ms ease; |
| 115 | } |
| 116 | @keyframes alc-code-caption-in { |
| 117 | from { |
| 118 | opacity: 0; |
| 119 | transform: translateY(-2px); |
| 120 | } |
| 121 | to { |
| 122 | opacity: 1; |
| 123 | transform: translateY(0); |
| 124 | } |
| 125 | } |
| 126 | @media (prefers-reduced-motion: reduce) { |
| 127 | .alc-code-block__caption { |
| 128 | animation: none; |
| 129 | } |
| 130 | } |
| 131 | .alc-code-block__pre { |
| 132 | margin: 0; |
| 133 | padding: 18px 20px; |
| 134 | font-family: var(--alc-font-mono); |
| 135 | font-size: 13px; |
| 136 | line-height: 1.7; |
| 137 | color: var(--alc-code-var); |
| 138 | overflow-x: auto; |
| 139 | } |
| 140 | .alc-code-block--compact .alc-code-block__pre { |
| 141 | padding: 12px 16px; |
| 142 | font-size: 12px; |
| 143 | } |
| 144 | |
| 145 | /* ============================================================ |
| 146 | Bindings → IAM / EventSource animation (/product/providers/aws) |
| 147 | Code on the left, animated arrows in the middle, resources |
| 148 | on the right, generated IAM policy below. |
| 149 | ============================================================ */ |
| 150 | |
| 151 | .bindings-iam { |
| 152 | display: grid; |
| 153 | grid-template-columns: minmax(0, 1fr) 200px minmax(0, 0.85fr); |
| 154 | grid-template-rows: minmax(280px, auto); |
| 155 | gap: 18px; |
| 156 | align-items: stretch; |
| 157 | max-width: 1180px; |
| 158 | margin: 0 auto; |
| 159 | } |
| 160 | .bindings-iam__code { |
| 161 | grid-column: 1; |
| 162 | grid-row: 1; |
| 163 | min-width: 0; |
| 164 | } |
| 165 | .bindings-iam__arrows { |
| 166 | grid-column: 2; |
| 167 | grid-row: 1; |
| 168 | position: relative; |
| 169 | align-self: stretch; |
| 170 | } |
| 171 | .bindings-iam__arrows svg { |
| 172 | position: absolute; |
| 173 | inset: 0; |
| 174 | width: 100%; |
| 175 | height: 100%; |
| 176 | overflow: visible; |
| 177 | } |
| 178 | .bindings-iam__resources { |
| 179 | grid-column: 3; |
| 180 | grid-row: 1; |
| 181 | display: flex; |
| 182 | flex-direction: column; |
| 183 | justify-content: space-around; |
| 184 | gap: 14px; |
| 185 | min-width: 0; |
| 186 | } |
| 187 | .bindings-iam__resource { |
| 188 | display: flex; |
| 189 | align-items: center; |
| 190 | gap: 10px; |
| 191 | padding: 10px 12px; |
| 192 | background: var(--alc-bg-elev-1); |
| 193 | border: 1px solid var(--alc-hairline); |
| 194 | border-radius: 10px; |
| 195 | } |
| 196 | .bindings-iam__resource-label { |
| 197 | font-family: var(--alc-font-sans); |
| 198 | font-size: 13px; |
| 199 | font-weight: 600; |
| 200 | color: var(--alc-fg-1); |
| 201 | line-height: 1.2; |
| 202 | } |
| 203 | .bindings-iam__resource-sub { |
| 204 | font-family: var(--alc-font-mono); |
| 205 | font-size: 10px; |
| 206 | color: var(--alc-fg-3); |
| 207 | line-height: 1.3; |
| 208 | margin-top: 2px; |
| 209 | } |
| 210 | .bindings-iam__policy { |
| 211 | display: none; |
| 212 | overflow: hidden; |
| 213 | box-shadow: var(--alc-shadow-sm); |
| 214 | } |
| 215 | @media (max-width: 980px) { |
| 216 | .bindings-iam { |
| 217 | grid-template-columns: 1fr; |
| 218 | grid-template-rows: auto auto auto auto; |
| 219 | } |
| 220 | .bindings-iam__code, |
| 221 | .bindings-iam__arrows, |
| 222 | .bindings-iam__resources, |
| 223 | .bindings-iam__policy { |
| 224 | grid-column: 1; |
| 225 | grid-row: auto; |
| 226 | } |
| 227 | .bindings-iam__arrows { |
| 228 | display: none; |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | /* ============================================================ |
| 233 | Stack → DeployTerminal diagram (/product/iac) |
| 234 | ============================================================ */ |
| 235 | |
| 236 | .stack-deploy-diagram { |
| 237 | display: grid; |
| 238 | grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); |
| 239 | align-items: stretch; |
| 240 | gap: 16px; |
| 241 | max-width: 1180px; |
| 242 | margin: 0 auto; |
| 243 | } |
| 244 | .stack-deploy-diagram__col { |
| 245 | min-width: 0; |
| 246 | display: flex; |
| 247 | flex-direction: column; |
| 248 | gap: 12px; |
| 249 | } |
| 250 | /* Lock both panels to the same fixed height so the captions align and |
| 251 | the right terminal's animated content can't push it taller than the |
| 252 | left code block (or vice versa). The terminal is rendered inside an |
| 253 | <astro-island> hydration wrapper, so the selectors must be descendant |
| 254 | (not direct-child) and the wrapper itself must stretch. */ |
| 255 | .stack-deploy-diagram__col, |
| 256 | .stack-deploy-diagram__col > astro-island { |
| 257 | display: flex; |
| 258 | flex-direction: column; |
| 259 | } |
| 260 | .stack-deploy-diagram__col > astro-island { |
| 261 | flex: 0 0 auto; |
| 262 | } |
| 263 | .stack-deploy-diagram__col .alc-code-block, |
| 264 | .stack-deploy-diagram__col .alc-term { |
| 265 | flex: 0 0 auto; |
| 266 | height: 360px; |
| 267 | min-height: 360px; |
| 268 | max-height: 360px; |
| 269 | box-sizing: border-box; |
| 270 | } |
| 271 | .stack-deploy-diagram__col .alc-code-block .alc-code-block__pre, |
| 272 | .stack-deploy-diagram__col .alc-term .alc-term__body { |
| 273 | flex: 1; |
| 274 | min-height: 0; |
| 275 | } |
| 276 | /* Static code snippet fits the fixed-height card already; allowing |
| 277 | `overflow: auto` here causes a few-pixel scroll region that |
| 278 | hijacks page wheel events. Clip instead. */ |
| 279 | .stack-deploy-diagram__col .alc-code-block .alc-code-block__pre { |
| 280 | overflow: hidden; |
| 281 | } |
| 282 | /* The animated deploy terminal grows as resources stream in, so it |
| 283 | genuinely needs to scroll. */ |
| 284 | .stack-deploy-diagram__col .alc-term .alc-term__body { |
| 285 | overflow: auto; |
| 286 | } |
| 287 | .stack-deploy-diagram__caption { |
| 288 | display: flex; |
| 289 | flex-direction: column; |
| 290 | align-items: center; |
| 291 | text-align: center; |
| 292 | gap: 2px; |
| 293 | } |
| 294 | .stack-deploy-diagram__caption span { |
| 295 | font-family: var(--alc-font-mono); |
| 296 | font-size: 11px; |
| 297 | letter-spacing: 0.08em; |
| 298 | text-transform: uppercase; |
| 299 | color: var(--alc-fg-3); |
| 300 | } |
| 301 | .stack-deploy-diagram__arrow { |
| 302 | display: flex; |
| 303 | flex-direction: column; |
| 304 | align-items: center; |
| 305 | justify-content: center; |
| 306 | align-self: center; |
| 307 | gap: 4px; |
| 308 | color: var(--alc-accent-deep); |
| 309 | font-family: var(--alc-font-hand); |
| 310 | font-size: 16px; |
| 311 | } |
| 312 | |
| 313 | /* ============================================================ |
| 314 | Effect-pilled showcase (home page section 2) |
| 315 | One terminal-chromed card with two tabs (IAM bindings / Event |
| 316 | sources). Each panel is code on the left and a stylized |
| 317 | "generated artifact" panel on the right. On narrow screens the |
| 318 | split collapses into a vertical stack with a "↓ generates" cue |
| 319 | between code and artifact, so nothing depends on SVG arrows that |
| 320 | break on mobile. |
| 321 | ============================================================ */ |
| 322 | |
| 323 | .eff-showcase { |
| 324 | display: flex; |
| 325 | flex-direction: column; |
| 326 | gap: 8px; |
| 327 | max-width: 1080px; |
| 328 | margin: 0 auto; |
| 329 | } |
| 330 | .eff-showcase__chrome { |
| 331 | background: var(--alc-bg-code); |
| 332 | border: 1px solid var(--alc-hairline); |
| 333 | border-radius: 10px; |
| 334 | overflow: hidden; |
| 335 | box-shadow: var(--alc-shadow-sm); |
| 336 | display: flex; |
| 337 | flex-direction: column; |
| 338 | } |
| 339 | .eff-showcase__header { |
| 340 | display: flex; |
| 341 | align-items: center; |
| 342 | gap: 6px; |
| 343 | padding: 8px 12px; |
| 344 | border-bottom: 1px solid rgba(var(--alc-code-edge), 0.08); |
| 345 | background: rgba(var(--alc-code-lift), 0.02); |
| 346 | } |
| 347 | .eff-showcase__tabs { |
| 348 | display: flex; |
| 349 | gap: 4px; |
| 350 | margin-left: 12px; |
| 351 | flex: 1; |
| 352 | min-width: 0; |
| 353 | overflow-x: auto; |
| 354 | scrollbar-width: none; |
| 355 | } |
| 356 | .eff-showcase__tabs::-webkit-scrollbar { |
| 357 | display: none; |
| 358 | } |
| 359 | .eff-showcase__tab { |
| 360 | flex: 0 0 auto; |
| 361 | appearance: none; |
| 362 | background: transparent; |
| 363 | border: 1px solid transparent; |
| 364 | color: var(--alc-code-comment); |
| 365 | font-family: var(--alc-font-mono); |
| 366 | font-size: 11px; |
| 367 | padding: 4px 10px; |
| 368 | border-radius: 5px; |
| 369 | cursor: pointer; |
| 370 | transition: |
| 371 | color 160ms ease, |
| 372 | background 160ms ease, |
| 373 | border-color 160ms ease; |
| 374 | } |
| 375 | .eff-showcase__tab:hover { |
| 376 | color: var(--alc-fg-invert); |
| 377 | } |
| 378 | .eff-showcase__tab[data-active="true"] { |
| 379 | color: var(--alc-fg-invert); |
| 380 | background: rgba(var(--alc-code-lift), 0.05); |
| 381 | border-color: rgba(var(--alc-code-edge), 0.12); |
| 382 | } |
| 383 | .eff-showcase__body { |
| 384 | position: relative; |
| 385 | display: flex; |
| 386 | flex-direction: column; |
| 387 | } |
| 388 | .eff-showcase__panel { |
| 389 | display: flex; |
| 390 | flex-direction: column; |
| 391 | } |
| 392 | .eff-showcase__panel[hidden] { |
| 393 | display: none; |
| 394 | } |
| 395 | .eff-showcase__split { |
| 396 | display: grid; |
| 397 | grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); |
| 398 | gap: 0; |
| 399 | /* Fixed height keeps the page below stable as the auto-cycle swaps |
| 400 | between tabs whose code/artifact have different intrinsic heights. */ |
| 401 | height: 420px; |
| 402 | } |
| 403 | .eff-showcase__code { |
| 404 | display: flex; |
| 405 | flex-direction: column; |
| 406 | min-width: 0; |
| 407 | border-right: 1px solid rgba(var(--alc-code-edge), 0.08); |
| 408 | } |
| 409 | .eff-showcase__pre { |
| 410 | margin: 0; |
| 411 | padding: 16px 18px; |
| 412 | font-family: var(--alc-font-mono); |
| 413 | font-size: 12.5px; |
| 414 | line-height: 1.7; |
| 415 | color: var(--alc-code-var); |
| 416 | overflow: auto; |
| 417 | flex: 1; |
| 418 | min-height: 0; |
| 419 | } |
| 420 | .eff-showcase__artifact { |
| 421 | display: flex; |
| 422 | flex-direction: column; |
| 423 | gap: 18px; |
| 424 | padding: 18px 20px; |
| 425 | /* Slightly sunken vs the main terminal bg so the lifted cards inside |
| 426 | read as "panels on a panel" rather than "dark on dark". */ |
| 427 | background: var(--alc-walnut-950); |
| 428 | min-width: 0; |
| 429 | overflow: auto; |
| 430 | min-height: 0; |
| 431 | } |
| 432 | .eff-showcase__group { |
| 433 | display: flex; |
| 434 | flex-direction: column; |
| 435 | gap: 8px; |
| 436 | min-width: 0; |
| 437 | } |
| 438 | .eff-showcase__group-title { |
| 439 | font-family: var(--alc-font-mono); |
| 440 | font-size: 10.5px; |
| 441 | letter-spacing: 0.08em; |
| 442 | text-transform: uppercase; |
| 443 | color: var(--alc-walnut-300); |
| 444 | } |
| 445 | .eff-showcase__perm { |
| 446 | display: flex; |
| 447 | align-items: center; |
| 448 | gap: 10px; |
| 449 | padding: 10px 12px; |
| 450 | background: var(--alc-walnut-700); |
| 451 | border: 1px solid var(--alc-walnut-600); |
| 452 | border-radius: 8px; |
| 453 | font-family: var(--alc-font-mono); |
| 454 | font-size: 12.5px; |
| 455 | color: var(--alc-fg-invert); |
| 456 | min-width: 0; |
| 457 | opacity: 0; |
| 458 | animation: eff-fade-up 460ms cubic-bezier(0.4, 0, 0.2, 1) both; |
| 459 | } |
| 460 | .eff-showcase__perm-icon { |
| 461 | flex: 0 0 auto; |
| 462 | border-radius: 4px; |
| 463 | } |
| 464 | .eff-showcase__perm-action { |
| 465 | color: var(--alc-code-keyword); |
| 466 | font-weight: 600; |
| 467 | white-space: nowrap; |
| 468 | } |
| 469 | .eff-showcase__perm-arrow { |
| 470 | color: var(--alc-accent-bright); |
| 471 | flex: 0 0 auto; |
| 472 | } |
| 473 | .eff-showcase__perm-target { |
| 474 | color: var(--alc-fg-invert); |
| 475 | white-space: nowrap; |
| 476 | overflow: hidden; |
| 477 | text-overflow: ellipsis; |
| 478 | min-width: 0; |
| 479 | } |
| 480 | .eff-showcase__envs { |
| 481 | display: flex; |
| 482 | flex-direction: column; |
| 483 | gap: 6px; |
| 484 | } |
| 485 | .eff-showcase__env { |
| 486 | display: flex; |
| 487 | align-items: baseline; |
| 488 | gap: 8px; |
| 489 | padding: 8px 12px; |
| 490 | background: var(--alc-walnut-700); |
| 491 | border: 1px solid var(--alc-walnut-600); |
| 492 | border-left: 2px solid var(--alc-accent-bright); |
| 493 | border-radius: 6px; |
| 494 | font-family: var(--alc-font-mono); |
| 495 | font-size: 12px; |
| 496 | color: var(--alc-fg-invert); |
| 497 | min-width: 0; |
| 498 | opacity: 0; |
| 499 | animation: eff-fade-up 460ms cubic-bezier(0.4, 0, 0.2, 1) both; |
| 500 | } |
| 501 | .eff-showcase__env-name { |
| 502 | color: var(--alc-code-keyword); |
| 503 | font-weight: 600; |
| 504 | flex: 0 0 auto; |
| 505 | } |
| 506 | .eff-showcase__env-eq { |
| 507 | color: var(--alc-code-comment); |
| 508 | } |
| 509 | .eff-showcase__env-value { |
| 510 | color: var(--alc-fg-invert); |
| 511 | white-space: nowrap; |
| 512 | overflow: hidden; |
| 513 | text-overflow: ellipsis; |
| 514 | min-width: 0; |
| 515 | flex: 1; |
| 516 | } |
| 517 | |
| 518 | /* Feature row — used by Durable Objects / Containers / Layers tabs. |
| 519 | Icon on the left, label + sub stacked on the right. Same lifted card |
| 520 | treatment as .eff-showcase__perm so the artifact panels feel related. */ |
| 521 | .eff-showcase__feature { |
| 522 | display: flex; |
| 523 | align-items: center; |
| 524 | gap: 12px; |
| 525 | padding: 10px 12px; |
| 526 | background: var(--alc-walnut-700); |
| 527 | border: 1px solid var(--alc-walnut-600); |
| 528 | border-radius: 8px; |
| 529 | min-width: 0; |
| 530 | opacity: 0; |
| 531 | animation: eff-fade-up 460ms cubic-bezier(0.4, 0, 0.2, 1) both; |
| 532 | } |
| 533 | .eff-showcase__feature-icon { |
| 534 | flex: 0 0 auto; |
| 535 | } |
| 536 | .eff-showcase__feature-text { |
| 537 | display: flex; |
| 538 | flex-direction: column; |
| 539 | gap: 2px; |
| 540 | min-width: 0; |
| 541 | flex: 1; |
| 542 | } |
| 543 | .eff-showcase__feature-label { |
| 544 | font-family: var(--alc-font-mono); |
| 545 | font-size: 12.5px; |
| 546 | color: var(--alc-code-keyword); |
| 547 | font-weight: 600; |
| 548 | white-space: nowrap; |
| 549 | overflow: hidden; |
| 550 | text-overflow: ellipsis; |
| 551 | } |
| 552 | .eff-showcase__feature-sub { |
| 553 | font-family: var(--alc-font-mono); |
| 554 | font-size: 11px; |
| 555 | color: var(--alc-walnut-300); |
| 556 | white-space: nowrap; |
| 557 | overflow: hidden; |
| 558 | text-overflow: ellipsis; |
| 559 | } |
| 560 | |
| 561 | /* Workflow steps — numbered ordered list with rounded badges. */ |
| 562 | .eff-showcase__steps { |
| 563 | display: flex; |
| 564 | flex-direction: column; |
| 565 | gap: 6px; |
| 566 | } |
| 567 | .eff-showcase__step { |
| 568 | display: grid; |
| 569 | grid-template-columns: 22px minmax(0, auto) minmax(0, 1fr); |
| 570 | align-items: center; |
| 571 | gap: 10px; |
| 572 | padding: 8px 12px; |
| 573 | background: var(--alc-walnut-700); |
| 574 | border: 1px solid var(--alc-walnut-600); |
| 575 | border-radius: 8px; |
| 576 | min-width: 0; |
| 577 | opacity: 0; |
| 578 | animation: eff-fade-up 460ms cubic-bezier(0.4, 0, 0.2, 1) both; |
| 579 | } |
| 580 | .eff-showcase__step-num { |
| 581 | width: 22px; |
| 582 | height: 22px; |
| 583 | border-radius: 50%; |
| 584 | background: var(--alc-accent-bright); |
| 585 | color: var(--alc-bg-code); |
| 586 | font-family: var(--alc-font-mono); |
| 587 | font-size: 11px; |
| 588 | font-weight: 700; |
| 589 | display: inline-flex; |
| 590 | align-items: center; |
| 591 | justify-content: center; |
| 592 | } |
| 593 | .eff-showcase__step-label { |
| 594 | font-family: var(--alc-font-mono); |
| 595 | font-size: 12.5px; |
| 596 | font-weight: 600; |
| 597 | color: var(--alc-code-keyword); |
| 598 | white-space: nowrap; |
| 599 | } |
| 600 | .eff-showcase__step-sub { |
| 601 | font-family: var(--alc-font-mono); |
| 602 | font-size: 11px; |
| 603 | color: var(--alc-walnut-300); |
| 604 | white-space: nowrap; |
| 605 | overflow: hidden; |
| 606 | text-overflow: ellipsis; |
| 607 | text-align: right; |
| 608 | } |
| 609 | |
| 610 | /* Event source flow — three nodes connected by labelled edges. */ |
| 611 | .eff-showcase__flow { |
| 612 | display: grid; |
| 613 | grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); |
| 614 | align-items: center; |
| 615 | gap: 6px; |
| 616 | margin-top: 4px; |
| 617 | } |
| 618 | .eff-showcase__node { |
| 619 | display: flex; |
| 620 | flex-direction: column; |
| 621 | align-items: center; |
| 622 | gap: 4px; |
| 623 | padding: 14px 10px; |
| 624 | background: var(--alc-walnut-700); |
| 625 | border: 1px solid var(--alc-walnut-600); |
| 626 | border-radius: 10px; |
| 627 | text-align: center; |
| 628 | min-width: 0; |
| 629 | opacity: 0; |
| 630 | animation: eff-fade-up 460ms cubic-bezier(0.4, 0, 0.2, 1) both; |
| 631 | } |
| 632 | .eff-showcase__node--accent { |
| 633 | background: var(--alc-walnut-600); |
| 634 | border-color: var(--alc-accent-bright); |
| 635 | box-shadow: 0 0 0 2px rgba(143, 177, 94, 0.18); |
| 636 | } |
| 637 | .eff-showcase__node-label { |
| 638 | font-family: var(--alc-font-sans); |
| 639 | font-size: 13px; |
| 640 | font-weight: 600; |
| 641 | color: var(--alc-fg-invert); |
| 642 | line-height: 1.2; |
| 643 | } |
| 644 | .eff-showcase__node-sub { |
| 645 | font-family: var(--alc-font-mono); |
| 646 | font-size: 10px; |
| 647 | color: var(--alc-walnut-300); |
| 648 | line-height: 1.2; |
| 649 | } |
| 650 | .eff-showcase__edge { |
| 651 | position: relative; |
| 652 | width: 28px; |
| 653 | height: 1.6px; |
| 654 | background: var(--alc-accent-bright); |
| 655 | opacity: 0; |
| 656 | animation: eff-fade-in 320ms ease both; |
| 657 | } |
| 658 | .eff-showcase__edge::after { |
| 659 | content: ""; |
| 660 | position: absolute; |
| 661 | right: -1px; |
| 662 | top: 50%; |
| 663 | width: 0; |
| 664 | height: 0; |
| 665 | border-top: 4px solid transparent; |
| 666 | border-bottom: 4px solid transparent; |
| 667 | border-left: 6px solid var(--alc-accent-bright); |
| 668 | transform: translateY(-50%); |
| 669 | } |
| 670 | .eff-showcase__edge::before { |
| 671 | content: attr(data-label); |
| 672 | position: absolute; |
| 673 | left: 50%; |
| 674 | bottom: 100%; |
| 675 | transform: translate(-50%, -2px); |
| 676 | font-family: var(--alc-font-mono); |
| 677 | font-size: 9.5px; |
| 678 | letter-spacing: 0.04em; |
| 679 | color: var(--alc-walnut-300); |
| 680 | white-space: nowrap; |
| 681 | background: var(--alc-walnut-950); |
| 682 | padding: 0 4px; |
| 683 | } |
| 684 | |
| 685 | .eff-showcase__hint { |
| 686 | font-family: var(--alc-font-mono); |
| 687 | font-size: 10.5px; |
| 688 | color: var(--alc-fg-3); |
| 689 | text-align: center; |
| 690 | letter-spacing: 0.04em; |
| 691 | } |
| 692 | |
| 693 | @keyframes eff-fade-up { |
| 694 | from { |
| 695 | opacity: 0; |
| 696 | transform: translateY(6px); |
| 697 | } |
| 698 | to { |
| 699 | opacity: 1; |
| 700 | transform: translateY(0); |
| 701 | } |
| 702 | } |
| 703 | @keyframes eff-fade-in { |
| 704 | from { |
| 705 | opacity: 0; |
| 706 | } |
| 707 | to { |
| 708 | opacity: 1; |
| 709 | } |
| 710 | } |
| 711 | |
| 712 | /* Used on the code <pre> so it fades in alongside the artifact rows |
| 713 | when the panel remounts (tab switch). */ |
| 714 | .eff-showcase__fade { |
| 715 | animation: eff-fade-in 320ms ease both; |
| 716 | } |
| 717 | |
| 718 | /* ------------------------------------------------------------ |
| 719 | Layer tab — diff renderer with overlay variant crossfade. |
| 720 | Common lines render statically. Each diff segment is a "slot" |
| 721 | that overlays both variants in the same grid cell so only the |
| 722 | active one is visible — the inactive fades to opacity 0 and is |
| 723 | replaced by the active in a long ease-in-out crossfade. |
| 724 | ------------------------------------------------------------ */ |
| 725 | |
| 726 | .eff-showcase__diff { |
| 727 | margin: 0; |
| 728 | padding: 14px 16px 14px 12px; |
| 729 | font-family: var(--alc-font-mono); |
| 730 | font-size: 11.5px; |
| 731 | line-height: 1.7; |
| 732 | /* Bright parchment for any character that isn't tokenized by |
| 733 | highlightTS (punctuation: <, =, (, ), {, }, ;, etc.) so symbols |
| 734 | don't disappear into the walnut bg. */ |
| 735 | color: var(--alc-code-var); |
| 736 | overflow: auto; |
| 737 | flex: 1; |
| 738 | min-height: 0; |
| 739 | display: flex; |
| 740 | flex-direction: column; |
| 741 | } |
| 742 | |
| 743 | .eff-diff__common { |
| 744 | display: flex; |
| 745 | flex-direction: column; |
| 746 | } |
| 747 | |
| 748 | /* Slot: a CSS grid with one cell. Both variants share that cell, so the |
| 749 | slot's height is the max of the two variants and the panel never jumps |
| 750 | when the impl swaps. */ |
| 751 | .eff-diff__slot { |
| 752 | display: grid; |
| 753 | grid-template-areas: "stack"; |
| 754 | } |
| 755 | .eff-diff__variant { |
| 756 | grid-area: stack; |
| 757 | display: flex; |
| 758 | flex-direction: column; |
| 759 | opacity: 0; |
| 760 | pointer-events: none; |
| 761 | transition: opacity 1100ms cubic-bezier(0.4, 0, 0.2, 1); |
| 762 | } |
| 763 | .eff-diff__variant[data-active="true"] { |
| 764 | opacity: 1; |
| 765 | pointer-events: auto; |
| 766 | } |
| 767 | |
| 768 | .eff-diff__line { |
| 769 | display: grid; |
| 770 | grid-template-columns: 14px minmax(0, 1fr); |
| 771 | align-items: baseline; |
| 772 | gap: 6px; |
| 773 | padding: 0 6px; |
| 774 | margin: 0 -6px; |
| 775 | } |
| 776 | .eff-diff__marker { |
| 777 | display: inline-block; |
| 778 | width: 12px; |
| 779 | text-align: center; |
| 780 | font-weight: 700; |
| 781 | user-select: none; |
| 782 | color: var(--alc-accent-bright); |
| 783 | } |
| 784 | .eff-diff__content { |
| 785 | display: block; |
| 786 | white-space: pre; |
| 787 | min-width: 0; |
| 788 | } |
| 789 | |
| 790 | /* Diff lines get a subtle green tint background so the whole line |
| 791 | reads as "added" — not just the "+" prefix. The tint is soft enough |
| 792 | not to fight the syntax-highlighted tokens. */ |
| 793 | .eff-diff__line--ddb, |
| 794 | .eff-diff__line--d1 { |
| 795 | background-color: rgba(143, 177, 94, 0.12); |
| 796 | box-shadow: inset 2px 0 0 var(--alc-accent-bright); |
| 797 | } |
| 798 | .eff-diff__line--ddb .eff-diff__marker::before, |
| 799 | .eff-diff__line--d1 .eff-diff__marker::before { |
| 800 | content: "+"; |
| 801 | } |
| 802 | |
| 803 | /* ------------------------------------------------------------ |
| 804 | Layer tab — artifact panel uses the same overlay pattern for |
| 805 | the "Composed from" group so the ddb / d1 feature-row stacks |
| 806 | crossfade in place rather than competing for visual weight. |
| 807 | ------------------------------------------------------------ */ |
| 808 | |
| 809 | .eff-showcase__variant-stack { |
| 810 | display: grid; |
| 811 | grid-template-areas: "stack"; |
| 812 | } |
| 813 | .eff-showcase__variant { |
| 814 | grid-area: stack; |
| 815 | display: flex; |
| 816 | flex-direction: column; |
| 817 | gap: 8px; |
| 818 | opacity: 0; |
| 819 | pointer-events: none; |
| 820 | transition: opacity 1100ms cubic-bezier(0.4, 0, 0.2, 1); |
| 821 | } |
| 822 | .eff-showcase__variant[data-active="true"] { |
| 823 | opacity: 1; |
| 824 | pointer-events: auto; |
| 825 | } |
| 826 | |
| 827 | /* Mobile: drop the right-hand artifact panel entirely — the generated |
| 828 | permissions / environment / flow visualizations don't read well at narrow |
| 829 | widths and the code itself is the primary story. */ |
| 830 | @media (max-width: 880px) { |
| 831 | .eff-showcase__split { |
| 832 | grid-template-columns: minmax(0, 1fr); |
| 833 | /* Code-only: let the panel size to the code's natural height instead |
| 834 | of holding the desktop's fixed 420px slot. */ |
| 835 | height: auto; |
| 836 | } |
| 837 | .eff-showcase__code { |
| 838 | border-right: 0; |
| 839 | } |
| 840 | .eff-showcase__pre { |
| 841 | overflow-x: auto; |
| 842 | } |
| 843 | .eff-showcase__artifact { |
| 844 | display: none; |
| 845 | } |
| 846 | .eff-showcase__flow { |
| 847 | grid-template-columns: minmax(0, 1fr); |
| 848 | grid-auto-flow: row; |
| 849 | gap: 4px; |
| 850 | justify-items: stretch; |
| 851 | } |
| 852 | .eff-showcase__edge { |
| 853 | width: 1.6px; |
| 854 | height: 24px; |
| 855 | margin: 0 auto; |
| 856 | } |
| 857 | .eff-showcase__edge::after { |
| 858 | right: 50%; |
| 859 | top: auto; |
| 860 | bottom: -1px; |
| 861 | transform: translateX(50%); |
| 862 | border-left: 4px solid transparent; |
| 863 | border-right: 4px solid transparent; |
| 864 | border-top: 6px solid var(--alc-accent-bright); |
| 865 | border-bottom: 0; |
| 866 | } |
| 867 | .eff-showcase__edge::before { |
| 868 | left: 100%; |
| 869 | bottom: 50%; |
| 870 | transform: translate(4px, 50%); |
| 871 | } |
| 872 | } |
| 873 | |
| 874 | /* ============================================================ |
| 875 | Stack / Deploy — narrow-screen fallback (home page section 1) |
| 876 | The 3-column "code + arrow + terminal" diagram needs horizontal |
| 877 | room to read well. On iPad-and-narrower we drop the source code |
| 878 | panel entirely and just show the live deploy terminal — the |
| 879 | Alchemy.Stack code is already visible elsewhere on the page. |
| 880 | ============================================================ */ |
| 881 | |
| 882 | .stack-deploy-mobile { |
| 883 | display: none; |
| 884 | max-width: 720px; |
| 885 | margin: 0 auto; |
| 886 | } |
| 887 | .stack-deploy-mobile > .alc-term { |
| 888 | width: 100%; |
| 889 | } |
| 890 | |
| 891 | @media (max-width: 880px) { |
| 892 | .stack-deploy-diagram { |
| 893 | display: none; |
| 894 | } |
| 895 | .stack-deploy-mobile { |
| 896 | display: block; |
| 897 | } |
| 898 | } |
| 899 | |
| 900 | /* ============================================================ |
| 901 | Async-fetch escape hatch — narrow-screen tabs |
| 902 | On wide screens the two files sit side-by-side. Below 1024px |
| 903 | they collapse into a single tabbed card that auto-flips between |
| 904 | alchemy.run.ts and src/worker.ts with a short caption. |
| 905 | ============================================================ */ |
| 906 | |
| 907 | .async-split-mobile { |
| 908 | display: none; |
| 909 | } |
| 910 | .async-tabs { |
| 911 | display: flex; |
| 912 | flex-direction: column; |
| 913 | gap: 10px; |
| 914 | max-width: 720px; |
| 915 | margin: 0 auto; |
| 916 | } |
| 917 | .async-tabs__chrome { |
| 918 | background: var(--alc-bg-code); |
| 919 | border: 1px solid var(--alc-hairline); |
| 920 | border-radius: 10px; |
| 921 | overflow: hidden; |
| 922 | box-shadow: var(--alc-shadow-sm); |
| 923 | display: flex; |
| 924 | flex-direction: column; |
| 925 | } |
| 926 | .async-tabs__header { |
| 927 | display: flex; |
| 928 | align-items: center; |
| 929 | gap: 6px; |
| 930 | padding: 8px 12px; |
| 931 | border-bottom: 1px solid rgba(var(--alc-code-edge), 0.08); |
| 932 | background: rgba(var(--alc-code-lift), 0.02); |
| 933 | } |
| 934 | .async-tabs__tabs { |
| 935 | display: flex; |
| 936 | gap: 4px; |
| 937 | margin-left: 12px; |
| 938 | flex: 1; |
| 939 | min-width: 0; |
| 940 | overflow-x: auto; |
| 941 | scrollbar-width: none; |
| 942 | } |
| 943 | .async-tabs__tabs::-webkit-scrollbar { |
| 944 | display: none; |
| 945 | } |
| 946 | .async-tabs__tab { |
| 947 | flex: 0 0 auto; |
| 948 | appearance: none; |
| 949 | background: transparent; |
| 950 | border: 1px solid transparent; |
| 951 | color: var(--alc-code-comment); |
| 952 | font-family: var(--alc-font-mono); |
| 953 | font-size: 11px; |
| 954 | padding: 4px 10px; |
| 955 | border-radius: 5px; |
| 956 | cursor: pointer; |
| 957 | transition: |
| 958 | color 160ms ease, |
| 959 | background 160ms ease, |
| 960 | border-color 160ms ease; |
| 961 | } |
| 962 | .async-tabs__tab:hover { |
| 963 | color: var(--alc-fg-invert); |
| 964 | } |
| 965 | .async-tabs__tab[data-active="true"] { |
| 966 | color: var(--alc-fg-invert); |
| 967 | background: rgba(var(--alc-code-lift), 0.05); |
| 968 | border-color: rgba(var(--alc-code-edge), 0.12); |
| 969 | } |
| 970 | .async-tabs__body { |
| 971 | position: relative; |
| 972 | display: flex; |
| 973 | flex-direction: column; |
| 974 | } |
| 975 | .async-tabs__panel { |
| 976 | display: flex; |
| 977 | flex-direction: column; |
| 978 | flex: 1; |
| 979 | min-width: 0; |
| 980 | } |
| 981 | .async-tabs__panel[hidden] { |
| 982 | display: none; |
| 983 | } |
| 984 | .async-tabs__pre { |
| 985 | margin: 0; |
| 986 | padding: 14px 16px; |
| 987 | font-family: var(--alc-font-mono); |
| 988 | font-size: 12px; |
| 989 | line-height: 1.65; |
| 990 | color: var(--alc-code-var); |
| 991 | overflow-x: auto; |
| 992 | flex: 1; |
| 993 | } |
| 994 | @media (max-width: 880px) { |
| 995 | .alc-split-2.async-split-desktop { |
| 996 | display: none; |
| 997 | } |
| 998 | .async-split-mobile { |
| 999 | display: block; |
| 1000 | } |
| 1001 | } |
| 1002 | |
| 1003 | /* ============================================================ |
| 1004 | Animated Output / resource-graph (/product/iac) |
| 1005 | Code on the left, progressive nodes/edges on the right with |
| 1006 | a step indicator + rotating annotation. |
| 1007 | ============================================================ */ |
| 1008 | |
| 1009 | .output-anim-grid { |
| 1010 | display: grid; |
| 1011 | grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); |
| 1012 | gap: 24px; |
| 1013 | align-items: stretch; |
| 1014 | max-width: 1100px; |
| 1015 | margin: 0 auto; |
| 1016 | } |
| 1017 | .output-anim-grid > .alc-code-block { |
| 1018 | min-height: 100%; |
| 1019 | } |
| 1020 | |
| 1021 | .output-anim-stage { |
| 1022 | background: var(--alc-bg-elev-1); |
| 1023 | border: 1px solid var(--alc-hairline); |
| 1024 | border-radius: 14px; |
| 1025 | padding: 22px 22px 18px; |
| 1026 | display: flex; |
| 1027 | flex-direction: column; |
| 1028 | gap: 18px; |
| 1029 | } |
| 1030 | |
| 1031 | .output-anim-graph { |
| 1032 | flex: 1; |
| 1033 | display: grid; |
| 1034 | grid-template-columns: minmax(0, auto) minmax(60px, 1fr) minmax(0, auto); |
| 1035 | grid-template-rows: auto minmax(48px, 1fr) auto; |
| 1036 | align-items: center; |
| 1037 | justify-items: center; |
| 1038 | gap: 0; |
| 1039 | } |
| 1040 | |
| 1041 | .output-anim-node { |
| 1042 | display: inline-flex; |
| 1043 | flex-direction: column; |
| 1044 | align-items: center; |
| 1045 | gap: 2px; |
| 1046 | padding: 10px 18px; |
| 1047 | border-radius: 10px; |
| 1048 | min-width: 110px; |
| 1049 | white-space: nowrap; |
| 1050 | transition: |
| 1051 | opacity 380ms ease, |
| 1052 | transform 380ms ease; |
| 1053 | } |
| 1054 | .output-anim-node--accent { |
| 1055 | background: rgba(184, 138, 74, 0.1); |
| 1056 | border: 1.4px solid var(--alc-accent-deep); |
| 1057 | } |
| 1058 | .output-anim-node--ghost { |
| 1059 | background: var(--alc-bg); |
| 1060 | border: 1.4px dashed var(--alc-hairline-2); |
| 1061 | } |
| 1062 | .output-anim-node__label { |
| 1063 | font-family: var(--alc-font-sans); |
| 1064 | font-size: 13px; |
| 1065 | font-weight: 600; |
| 1066 | color: var(--alc-fg-1); |
| 1067 | line-height: 1.15; |
| 1068 | } |
| 1069 | .output-anim-node__id { |
| 1070 | font-family: var(--alc-font-mono); |
| 1071 | font-size: 10.5px; |
| 1072 | color: var(--alc-fg-3); |
| 1073 | line-height: 1.15; |
| 1074 | } |
| 1075 | |
| 1076 | .output-anim-edge { |
| 1077 | position: relative; |
| 1078 | width: 100%; |
| 1079 | height: 100%; |
| 1080 | display: flex; |
| 1081 | align-items: center; |
| 1082 | justify-content: center; |
| 1083 | opacity: 0.18; |
| 1084 | transition: opacity 360ms ease; |
| 1085 | } |
| 1086 | .output-anim-edge.is-on { |
| 1087 | opacity: 1; |
| 1088 | } |
| 1089 | |
| 1090 | .output-anim-edge--h::before { |
| 1091 | content: ""; |
| 1092 | position: absolute; |
| 1093 | left: 6px; |
| 1094 | right: 14px; |
| 1095 | top: 50%; |
| 1096 | height: 1.6px; |
| 1097 | background: var(--alc-accent-deep); |
| 1098 | transform: translateY(-50%); |
| 1099 | } |
| 1100 | .output-anim-edge--h::after { |
| 1101 | content: ""; |
| 1102 | position: absolute; |
| 1103 | right: 6px; |
| 1104 | top: 50%; |
| 1105 | width: 0; |
| 1106 | height: 0; |
| 1107 | border-top: 5px solid transparent; |
| 1108 | border-bottom: 5px solid transparent; |
| 1109 | border-left: 7px solid var(--alc-accent-deep); |
| 1110 | transform: translateY(-50%); |
| 1111 | } |
| 1112 | .output-anim-edge--v::before { |
| 1113 | content: ""; |
| 1114 | position: absolute; |
| 1115 | top: 4px; |
| 1116 | bottom: 12px; |
| 1117 | left: 50%; |
| 1118 | width: 1.6px; |
| 1119 | background: var(--alc-accent-deep); |
| 1120 | transform: translateX(-50%); |
| 1121 | } |
| 1122 | .output-anim-edge--v::after { |
| 1123 | content: ""; |
| 1124 | position: absolute; |
| 1125 | bottom: 2px; |
| 1126 | left: 50%; |
| 1127 | width: 0; |
| 1128 | height: 0; |
| 1129 | border-left: 5px solid transparent; |
| 1130 | border-right: 5px solid transparent; |
| 1131 | border-top: 7px solid var(--alc-accent-deep); |
| 1132 | transform: translateX(-50%); |
| 1133 | } |
| 1134 | .output-anim-edge__label { |
| 1135 | position: relative; |
| 1136 | z-index: 1; |
| 1137 | font-family: var(--alc-font-mono); |
| 1138 | font-size: 11px; |
| 1139 | color: var(--alc-fg-3); |
| 1140 | background: var(--alc-bg-elev-1); |
| 1141 | padding: 2px 8px; |
| 1142 | border-radius: 4px; |
| 1143 | } |
| 1144 | |
| 1145 | .output-anim-steps { |
| 1146 | display: flex; |
| 1147 | align-items: center; |
| 1148 | justify-content: center; |
| 1149 | gap: 6px; |
| 1150 | padding-top: 4px; |
| 1151 | } |
| 1152 | .output-anim-steps__dot { |
| 1153 | width: 6px; |
| 1154 | height: 6px; |
| 1155 | border-radius: 50%; |
| 1156 | background: var(--alc-hairline-2); |
| 1157 | transition: |
| 1158 | background 280ms ease, |
| 1159 | transform 280ms ease; |
| 1160 | } |
| 1161 | .output-anim-steps__dot.is-active { |
| 1162 | background: var(--alc-accent-deep); |
| 1163 | transform: scale(1.35); |
| 1164 | } |
| 1165 | |
| 1166 | .output-anim-annotation { |
| 1167 | font-size: 13px; |
| 1168 | line-height: 1.55; |
| 1169 | color: var(--alc-fg-2); |
| 1170 | text-align: center; |
| 1171 | min-height: 3.2em; /* reserve space so layout doesn't jump */ |
| 1172 | } |
| 1173 | .output-anim-annotation strong { |
| 1174 | color: var(--alc-fg-1); |
| 1175 | font-weight: 600; |
| 1176 | } |
| 1177 | .output-anim-annotation code { |
| 1178 | font-family: var(--alc-font-mono); |
| 1179 | font-size: 0.92em; |
| 1180 | color: var(--alc-accent-deep); |
| 1181 | background: rgba(184, 138, 74, 0.1); |
| 1182 | padding: 0 4px; |
| 1183 | border-radius: 3px; |
| 1184 | } |
| 1185 | |
| 1186 | @media (max-width: 880px) { |
| 1187 | .output-anim-grid { |
| 1188 | grid-template-columns: 1fr; |
| 1189 | } |
| 1190 | } |
| 1191 | |
| 1192 | /* ============================================================ |
| 1193 | Service-as-Layer swap (/product/iac) |
| 1194 | Worker code on left, Sessions → Layer → Resource on right |
| 1195 | cycles through KV, DynamoDB, D1 backings. |
| 1196 | ============================================================ */ |
| 1197 | |
| 1198 | .service-swap-grid { |
| 1199 | display: grid; |
| 1200 | grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); |
| 1201 | gap: 24px; |
| 1202 | align-items: stretch; |
| 1203 | max-width: 1100px; |
| 1204 | margin: 0 auto; |
| 1205 | } |
| 1206 | |
| 1207 | .service-swap-stage { |
| 1208 | background: var(--alc-bg-elev-1); |
| 1209 | border: 1px solid var(--alc-hairline); |
| 1210 | border-radius: 14px; |
| 1211 | padding: 22px 18px 14px; |
| 1212 | display: flex; |
| 1213 | flex-direction: column; |
| 1214 | align-items: center; |
| 1215 | justify-content: center; |
| 1216 | gap: 0; |
| 1217 | } |
| 1218 | |
| 1219 | .service-swap-stage__node { |
| 1220 | display: inline-flex; |
| 1221 | flex-direction: column; |
| 1222 | align-items: center; |
| 1223 | gap: 3px; |
| 1224 | padding: 10px 16px 8px; |
| 1225 | background: var(--alc-bg-elev-1); |
| 1226 | border: 1.4px solid var(--alc-hairline-2); |
| 1227 | border-radius: 10px; |
| 1228 | min-width: 150px; |
| 1229 | text-align: center; |
| 1230 | transition: |
| 1231 | border-color 320ms ease, |
| 1232 | box-shadow 320ms ease; |
| 1233 | } |
| 1234 | .service-swap-stage__node--accent { |
| 1235 | border-color: var(--alc-accent-deep); |
| 1236 | box-shadow: 0 0 0 2px rgba(184, 138, 74, 0.12); |
| 1237 | } |
| 1238 | .service-swap-stage__label { |
| 1239 | font-family: var(--alc-font-sans); |
| 1240 | font-size: 13px; |
| 1241 | font-weight: 600; |
| 1242 | color: var(--alc-fg-1); |
| 1243 | line-height: 1.2; |
| 1244 | } |
| 1245 | .service-swap-stage__sub { |
| 1246 | font-family: var(--alc-font-mono); |
| 1247 | font-size: 10.5px; |
| 1248 | color: var(--alc-fg-3); |
| 1249 | line-height: 1.2; |
| 1250 | } |
| 1251 | |
| 1252 | .service-swap-stage__edge { |
| 1253 | position: relative; |
| 1254 | height: 28px; |
| 1255 | width: 1.6px; |
| 1256 | background: currentColor; |
| 1257 | margin: 4px 0; |
| 1258 | color: var(--alc-accent-deep); |
| 1259 | display: flex; |
| 1260 | align-items: center; |
| 1261 | justify-content: center; |
| 1262 | transition: |
| 1263 | background 320ms ease, |
| 1264 | color 320ms ease; |
| 1265 | } |
| 1266 | .service-swap-stage__edge--down::after { |
| 1267 | content: ""; |
| 1268 | position: absolute; |
| 1269 | bottom: -1px; |
| 1270 | left: 50%; |
| 1271 | transform: translateX(-50%); |
| 1272 | width: 0; |
| 1273 | height: 0; |
| 1274 | border-left: 5px solid transparent; |
| 1275 | border-right: 5px solid transparent; |
| 1276 | border-top: 7px solid currentColor; |
| 1277 | transition: border-top-color 320ms ease; |
| 1278 | } |
| 1279 | .service-swap-stage__edge-label { |
| 1280 | position: absolute; |
| 1281 | left: 100%; |
| 1282 | top: 50%; |
| 1283 | transform: translateY(-50%); |
| 1284 | margin-left: 10px; |
| 1285 | font-family: var(--alc-font-mono); |
| 1286 | font-size: 10.5px; |
| 1287 | background: var(--alc-bg-elev-1); |
| 1288 | border: 1px solid currentColor; |
| 1289 | padding: 1px 7px; |
| 1290 | border-radius: 3px; |
| 1291 | white-space: nowrap; |
| 1292 | transition: |
| 1293 | color 320ms ease, |
| 1294 | border-color 320ms ease; |
| 1295 | } |
| 1296 | |
| 1297 | .service-swap-stage__steps { |
| 1298 | display: flex; |
| 1299 | align-items: center; |
| 1300 | justify-content: center; |
| 1301 | gap: 6px; |
| 1302 | padding-top: 14px; |
| 1303 | } |
| 1304 | .service-swap-stage__dot { |
| 1305 | width: 6px; |
| 1306 | height: 6px; |
| 1307 | border-radius: 50%; |
| 1308 | background: var(--alc-hairline-2); |
| 1309 | transition: |
| 1310 | background 280ms ease, |
| 1311 | transform 280ms ease; |
| 1312 | } |
| 1313 | .service-swap-stage__dot.is-active { |
| 1314 | transform: scale(1.35); |
| 1315 | } |
| 1316 | |
| 1317 | /* Reuse the existing layer-cycle-node keyframes for the fade-in |
| 1318 | when the active Layer/Resource node swaps. */ |
| 1319 | @keyframes service-swap-pop { |
| 1320 | 0% { |
| 1321 | opacity: 0; |
| 1322 | transform: scale(0.92) translateY(-3px); |
| 1323 | filter: blur(2px); |
| 1324 | } |
| 1325 | 18% { |
| 1326 | opacity: 1; |
| 1327 | transform: scale(1) translateY(0); |
| 1328 | filter: blur(0); |
| 1329 | } |
| 1330 | 100% { |
| 1331 | opacity: 1; |
| 1332 | } |
| 1333 | } |
| 1334 | .service-swap-stage .layer-swap-node { |
| 1335 | animation: service-swap-pop 700ms cubic-bezier(0.4, 0, 0.2, 1) both; |
| 1336 | } |
| 1337 | @keyframes layer-swap-text { |
| 1338 | 0% { |
| 1339 | opacity: 0; |
| 1340 | transform: translateY(-2px); |
| 1341 | } |
| 1342 | 20% { |
| 1343 | opacity: 1; |
| 1344 | transform: translateY(0); |
| 1345 | } |
| 1346 | 100% { |
| 1347 | opacity: 1; |
| 1348 | } |
| 1349 | } |
| 1350 | .alc-code-block .layer-swap { |
| 1351 | display: inline-block; |
| 1352 | padding: 1px 5px; |
| 1353 | margin: 0 -1px; |
| 1354 | border-radius: 3px; |
| 1355 | animation: layer-swap-text 700ms cubic-bezier(0.4, 0, 0.2, 1) both; |
| 1356 | } |
| 1357 | |
| 1358 | @media (max-width: 880px) { |
| 1359 | .service-swap-grid { |
| 1360 | grid-template-columns: 1fr; |
| 1361 | } |
| 1362 | } |
| 1363 | |
| 1364 | /* ============================================================ |
| 1365 | Output graph diagram (/product/iac) |
| 1366 | ============================================================ */ |
| 1367 | |
| 1368 | .output-graph { |
| 1369 | background: var(--alc-bg-elev-1); |
| 1370 | border: 1px solid var(--alc-hairline); |
| 1371 | border-radius: 14px; |
| 1372 | padding: 22px 22px 18px; |
| 1373 | display: flex; |
| 1374 | flex-direction: column; |
| 1375 | justify-content: center; /* center stage+caption so extra column height |
| 1376 | is split top/bottom instead of dumped below */ |
| 1377 | gap: 18px; |
| 1378 | align-self: stretch; |
| 1379 | } |
| 1380 | |
| 1381 | /* 3x3 grid: nodes occupy corners, edges occupy middle cells. */ |
| 1382 | .output-graph__stage { |
| 1383 | display: grid; |
| 1384 | grid-template-columns: minmax(0, auto) minmax(48px, 1fr) minmax(0, auto); |
| 1385 | grid-template-rows: auto minmax(40px, 1fr) auto; |
| 1386 | align-items: center; |
| 1387 | justify-items: center; |
| 1388 | gap: 0; |
| 1389 | padding: 8px 4px; |
| 1390 | } |
| 1391 | |
| 1392 | .output-graph__node { |
| 1393 | display: inline-flex; |
| 1394 | flex-direction: column; |
| 1395 | align-items: center; |
| 1396 | gap: 2px; |
| 1397 | padding: 10px 18px; |
| 1398 | background: rgba(184, 138, 74, 0.1); |
| 1399 | border: 1.4px solid var(--alc-accent-deep); |
| 1400 | border-radius: 10px; |
| 1401 | min-width: 110px; |
| 1402 | white-space: nowrap; |
| 1403 | } |
| 1404 | .output-graph__node--ghost { |
| 1405 | background: var(--alc-bg); |
| 1406 | border-color: var(--alc-hairline-2); |
| 1407 | border-style: dashed; |
| 1408 | } |
| 1409 | .output-graph__node-label { |
| 1410 | font-family: var(--alc-font-sans); |
| 1411 | font-size: 13px; |
| 1412 | font-weight: 600; |
| 1413 | color: var(--alc-fg-1); |
| 1414 | line-height: 1.15; |
| 1415 | } |
| 1416 | .output-graph__node-id { |
| 1417 | font-family: var(--alc-font-mono); |
| 1418 | font-size: 10.5px; |
| 1419 | color: var(--alc-fg-3); |
| 1420 | line-height: 1.15; |
| 1421 | } |
| 1422 | |
| 1423 | /* An edge cell renders a line + arrowhead via pseudo-elements, |
| 1424 | plus a label on top via the inner span. */ |
| 1425 | .output-graph__edge { |
| 1426 | position: relative; |
| 1427 | width: 100%; |
| 1428 | height: 100%; |
| 1429 | display: flex; |
| 1430 | align-items: center; |
| 1431 | justify-content: center; |
| 1432 | } |
| 1433 | .output-graph__edge--h::before { |
| 1434 | content: ""; |
| 1435 | position: absolute; |
| 1436 | left: 8px; |
| 1437 | right: 14px; |
| 1438 | top: 50%; |
| 1439 | height: 1.6px; |
| 1440 | background: var(--alc-accent-deep); |
| 1441 | transform: translateY(-50%); |
| 1442 | } |
| 1443 | .output-graph__edge--h::after { |
| 1444 | content: ""; |
| 1445 | position: absolute; |
| 1446 | right: 8px; |
| 1447 | top: 50%; |
| 1448 | width: 0; |
| 1449 | height: 0; |
| 1450 | border-top: 5px solid transparent; |
| 1451 | border-bottom: 5px solid transparent; |
| 1452 | border-left: 7px solid var(--alc-accent-deep); |
| 1453 | transform: translateY(-50%); |
| 1454 | } |
| 1455 | .output-graph__edge--v::before { |
| 1456 | content: ""; |
| 1457 | position: absolute; |
| 1458 | top: 4px; |
| 1459 | bottom: 12px; |
| 1460 | left: 50%; |
| 1461 | width: 1.6px; |
| 1462 | background: var(--alc-accent-deep); |
| 1463 | transform: translateX(-50%); |
| 1464 | } |
| 1465 | .output-graph__edge--v::after { |
| 1466 | content: ""; |
| 1467 | position: absolute; |
| 1468 | bottom: 4px; |
| 1469 | left: 50%; |
| 1470 | width: 0; |
| 1471 | height: 0; |
| 1472 | border-left: 5px solid transparent; |
| 1473 | border-right: 5px solid transparent; |
| 1474 | border-top: 7px solid var(--alc-accent-deep); |
| 1475 | transform: translateX(-50%); |
| 1476 | } |
| 1477 | .output-graph__edge-label { |
| 1478 | position: relative; |
| 1479 | z-index: 1; |
| 1480 | font-family: var(--alc-font-mono); |
| 1481 | font-size: 11px; |
| 1482 | color: var(--alc-fg-3); |
| 1483 | background: var(--alc-bg-elev-1); |
| 1484 | padding: 2px 8px; |
| 1485 | border-radius: 4px; |
| 1486 | } |
| 1487 | |
| 1488 | .output-graph__caption { |
| 1489 | font-size: 12.5px; |
| 1490 | line-height: 1.55; |
| 1491 | color: var(--alc-fg-3); |
| 1492 | text-align: center; |
| 1493 | } |
| 1494 | .output-graph__caption strong { |
| 1495 | color: var(--alc-fg-1); |
| 1496 | font-weight: 600; |
| 1497 | } |
| 1498 | .output-graph__caption code { |
| 1499 | font-family: var(--alc-font-mono); |
| 1500 | font-size: 0.92em; |
| 1501 | color: var(--alc-accent-deep); |
| 1502 | background: rgba(184, 138, 74, 0.1); |
| 1503 | padding: 0 4px; |
| 1504 | border-radius: 3px; |
| 1505 | } |
| 1506 | |
| 1507 | @media (max-width: 720px) { |
| 1508 | .output-graph__stage { |
| 1509 | gap: 14px 40px; |
| 1510 | } |
| 1511 | .output-graph__node { |
| 1512 | min-width: 100px; |
| 1513 | padding: 8px 12px; |
| 1514 | } |
| 1515 | } |
| 1516 | |
| 1517 | /* ============================================================ |
| 1518 | Async-style code tabs (/product/providers/cloudflare) |
| 1519 | ============================================================ */ |
| 1520 | |
| 1521 | .code-tabs { |
| 1522 | background: var(--alc-bg-elev-1); |
| 1523 | border: 1px solid var(--alc-hairline); |
| 1524 | border-radius: 12px; |
| 1525 | overflow: hidden; |
| 1526 | } |
| 1527 | .code-tabs__nav { |
| 1528 | display: flex; |
| 1529 | background: var(--alc-bg-nav); |
| 1530 | border-bottom: 1px solid var(--alc-hairline); |
| 1531 | } |
| 1532 | .code-tabs__btn { |
| 1533 | flex: 0 0 auto; |
| 1534 | padding: 10px 16px; |
| 1535 | background: transparent; |
| 1536 | border: 0; |
| 1537 | color: var(--alc-fg-2); |
| 1538 | font-family: var(--alc-font-mono); |
| 1539 | font-size: 12px; |
| 1540 | cursor: pointer; |
| 1541 | border-bottom: 2px solid transparent; |
| 1542 | transition: |
| 1543 | color 160ms ease, |
| 1544 | border-color 160ms ease, |
| 1545 | background 160ms ease; |
| 1546 | } |
| 1547 | .code-tabs__btn[data-active="true"] { |
| 1548 | color: var(--alc-fg-1); |
| 1549 | border-bottom-color: var(--alc-accent-deep); |
| 1550 | background: var(--alc-bg-elev-1); |
| 1551 | } |
| 1552 | .code-tabs__btn:hover { |
| 1553 | color: var(--alc-fg-1); |
| 1554 | } |
| 1555 | .code-tabs__panel { |
| 1556 | display: none; |
| 1557 | } |
| 1558 | .code-tabs__panel[data-active="true"] { |
| 1559 | display: block; |
| 1560 | } |
| 1561 | .code-tabs__panel .alc-code-block { |
| 1562 | border: 0; |
| 1563 | border-radius: 0; |
| 1564 | box-shadow: none; |
| 1565 | } |
| 1566 | |
| 1567 | /* TS token colors used inside .alc-code-block */ |
| 1568 | .alc-tok-k { |
| 1569 | color: var(--alc-code-keyword); |
| 1570 | } |
| 1571 | .alc-tok-s { |
| 1572 | color: var(--alc-code-string); |
| 1573 | } |
| 1574 | .alc-tok-f { |
| 1575 | color: var(--alc-code-fn); |
| 1576 | } |
| 1577 | .alc-tok-t { |
| 1578 | color: var(--alc-code-type); |
| 1579 | } |
| 1580 | .alc-tok-c { |
| 1581 | color: var(--alc-code-comment); |
| 1582 | font-style: italic; |
| 1583 | } |
| 1584 | .alc-tok-v { |
| 1585 | color: var(--alc-code-var); |
| 1586 | } |
| 1587 | .alc-tok-n { |
| 1588 | color: var(--alc-code-literal); |
| 1589 | } |
| 1590 | |
| 1591 | /* ============================================================ |
| 1592 | Card / panel utilities — used widely across product pages |
| 1593 | ============================================================ */ |
| 1594 | |
| 1595 | .alc-card { |
| 1596 | background: var(--alc-bg-elev-1); |
| 1597 | border: 1px solid var(--alc-hairline); |
| 1598 | border-radius: 10px; |
| 1599 | padding: 18px; |
| 1600 | } |
| 1601 | .alc-card--lg { |
| 1602 | border-radius: 12px; |
| 1603 | padding: 22px; |
| 1604 | } |
| 1605 | .alc-card__title { |
| 1606 | font-family: var(--alc-font-sans); |
| 1607 | font-size: 15px; |
| 1608 | font-weight: 600; |
| 1609 | color: var(--alc-fg-1); |
| 1610 | margin-bottom: 6px; |
| 1611 | } |
| 1612 | .alc-card__title--lg { |
| 1613 | font-size: 17px; |
| 1614 | } |
| 1615 | .alc-card__body { |
| 1616 | font-size: 13px; |
| 1617 | line-height: 1.55; |
| 1618 | color: var(--alc-fg-3); |
| 1619 | } |
| 1620 | |
| 1621 | /* ============================================================ |
| 1622 | Provider overview cards (/product/providers) |
| 1623 | ============================================================ */ |
| 1624 | |
| 1625 | .provider-overview { |
| 1626 | display: grid; |
| 1627 | grid-template-columns: repeat(3, minmax(0, 1fr)); |
| 1628 | gap: 18px; |
| 1629 | max-width: 1100px; |
| 1630 | margin: 0 auto; |
| 1631 | } |
| 1632 | @media (max-width: 980px) { |
| 1633 | .provider-overview { |
| 1634 | grid-template-columns: 1fr; |
| 1635 | } |
| 1636 | } |
| 1637 | .provider-overview__card { |
| 1638 | background: var(--alc-bg-elev-1); |
| 1639 | border: 1px solid var(--alc-hairline); |
| 1640 | border-radius: 14px; |
| 1641 | padding: 22px; |
| 1642 | text-decoration: none; |
| 1643 | color: inherit; |
| 1644 | display: flex; |
| 1645 | flex-direction: column; |
| 1646 | gap: 12px; |
| 1647 | transition: |
| 1648 | border-color 200ms ease, |
| 1649 | transform 200ms ease; |
| 1650 | } |
| 1651 | .provider-overview__card:hover { |
| 1652 | border-color: var(--prov-color); |
| 1653 | transform: translateY(-2px); |
| 1654 | } |
| 1655 | .provider-overview__card--soon { |
| 1656 | background: linear-gradient( |
| 1657 | 180deg, |
| 1658 | var(--alc-bg-elev-1) 0%, |
| 1659 | color-mix(in srgb, var(--alc-bg-nav) 60%, transparent) 100% |
| 1660 | ); |
| 1661 | } |
| 1662 | .provider-overview__head { |
| 1663 | display: flex; |
| 1664 | align-items: center; |
| 1665 | gap: 10px; |
| 1666 | } |
| 1667 | .provider-overview__name { |
| 1668 | font-family: var(--alc-font-serif); |
| 1669 | font-size: 22px; |
| 1670 | font-weight: 500; |
| 1671 | color: var(--alc-fg-1); |
| 1672 | } |
| 1673 | .provider-overview__badge { |
| 1674 | margin-left: auto; |
| 1675 | font-family: var(--alc-font-mono); |
| 1676 | font-size: 9.5px; |
| 1677 | font-weight: 700; |
| 1678 | letter-spacing: 0.14em; |
| 1679 | text-transform: uppercase; |
| 1680 | color: var(--prov-color); |
| 1681 | background: color-mix(in srgb, var(--prov-color) 14%, transparent); |
| 1682 | padding: 2px 7px; |
| 1683 | border-radius: 4px; |
| 1684 | } |
| 1685 | .provider-overview__body { |
| 1686 | font-size: 13.5px; |
| 1687 | line-height: 1.55; |
| 1688 | color: var(--alc-fg-2); |
| 1689 | margin: 0; |
| 1690 | flex: 1; |
| 1691 | } |
| 1692 | .provider-overview__body code { |
| 1693 | font-family: var(--alc-font-mono); |
| 1694 | font-size: 0.92em; |
| 1695 | color: var(--alc-accent-deep); |
| 1696 | background: rgba(184, 138, 74, 0.1); |
| 1697 | padding: 0 4px; |
| 1698 | border-radius: 3px; |
| 1699 | } |
| 1700 | .provider-overview__cta { |
| 1701 | font-family: var(--alc-font-mono); |
| 1702 | font-size: 12px; |
| 1703 | color: var(--prov-color); |
| 1704 | margin-top: 4px; |
| 1705 | } |
| 1706 | |
| 1707 | /* ============================================================ |
| 1708 | IAM action table (/product/providers/aws) |
| 1709 | ============================================================ */ |
| 1710 | |
| 1711 | .iam-table { |
| 1712 | width: 100%; |
| 1713 | border-collapse: collapse; |
| 1714 | background: var(--alc-bg-elev-1); |
| 1715 | border: 1px solid var(--alc-hairline); |
| 1716 | border-radius: 10px; |
| 1717 | overflow: hidden; |
| 1718 | font-family: var(--alc-font-mono); |
| 1719 | font-size: 12.5px; |
| 1720 | } |
| 1721 | .iam-table th { |
| 1722 | text-align: left; |
| 1723 | padding: 10px 14px; |
| 1724 | background: var(--alc-bg-nav); |
| 1725 | color: var(--alc-fg-2); |
| 1726 | font-weight: 600; |
| 1727 | font-size: 11px; |
| 1728 | letter-spacing: 0.08em; |
| 1729 | text-transform: uppercase; |
| 1730 | border-bottom: 1px solid var(--alc-hairline); |
| 1731 | } |
| 1732 | .iam-table td { |
| 1733 | padding: 9px 14px; |
| 1734 | border-bottom: 1px solid var(--alc-hairline); |
| 1735 | color: var(--alc-fg-2); |
| 1736 | } |
| 1737 | .iam-table tr:last-child td { |
| 1738 | border-bottom: none; |
| 1739 | } |
| 1740 | .iam-table code { |
| 1741 | font-family: var(--alc-font-mono); |
| 1742 | font-size: 12px; |
| 1743 | color: var(--alc-fg-1); |
| 1744 | } |
| 1745 | .iam-table td:nth-child(2) code { |
| 1746 | color: #ff9900; |
| 1747 | } |
| 1748 | |
| 1749 | /* ============================================================ |
| 1750 | CI walkthrough steps (/product/cicd) |
| 1751 | ============================================================ */ |
| 1752 | |
| 1753 | .ci-steps { |
| 1754 | list-style: none; |
| 1755 | margin: 0 auto; |
| 1756 | padding: 0; |
| 1757 | max-width: 820px; |
| 1758 | display: flex; |
| 1759 | flex-direction: column; |
| 1760 | gap: 14px; |
| 1761 | } |
| 1762 | .ci-step { |
| 1763 | display: grid; |
| 1764 | grid-template-columns: 36px 1fr; |
| 1765 | gap: 16px; |
| 1766 | align-items: flex-start; |
| 1767 | background: var(--alc-bg-elev-1); |
| 1768 | border: 1px solid var(--alc-hairline); |
| 1769 | border-radius: 10px; |
| 1770 | padding: 16px 18px; |
| 1771 | } |
| 1772 | .ci-step__num { |
| 1773 | width: 28px; |
| 1774 | height: 28px; |
| 1775 | border-radius: 50%; |
| 1776 | background: var(--alc-accent-deep); |
| 1777 | color: var(--alc-bg-elev-1); |
| 1778 | display: inline-flex; |
| 1779 | align-items: center; |
| 1780 | justify-content: center; |
| 1781 | font-family: var(--alc-font-mono); |
| 1782 | font-size: 12px; |
| 1783 | font-weight: 700; |
| 1784 | } |
| 1785 | .ci-step__title { |
| 1786 | font-family: var(--alc-font-sans); |
| 1787 | font-size: 15px; |
| 1788 | font-weight: 600; |
| 1789 | color: var(--alc-fg-1); |
| 1790 | margin-bottom: 2px; |
| 1791 | } |
| 1792 | .ci-step__body { |
| 1793 | margin: 0; |
| 1794 | font-size: 13.5px; |
| 1795 | color: var(--alc-fg-2); |
| 1796 | line-height: 1.55; |
| 1797 | } |
| 1798 | |
| 1799 | /* GitHub-styled comment mock (/product/cicd) */ |
| 1800 | .gh-mock { |
| 1801 | max-width: 720px; |
| 1802 | margin: 0 auto; |
| 1803 | background: var(--alc-bg-elev-1); |
| 1804 | border: 1px solid var(--alc-hairline); |
| 1805 | border-radius: 10px; |
| 1806 | overflow: hidden; |
| 1807 | box-shadow: var(--alc-shadow-sm); |
| 1808 | } |
| 1809 | .gh-mock__head { |
| 1810 | display: flex; |
| 1811 | align-items: center; |
| 1812 | gap: 10px; |
| 1813 | padding: 10px 14px; |
| 1814 | border-bottom: 1px solid var(--alc-hairline); |
| 1815 | background: var(--alc-bg-nav); |
| 1816 | } |
| 1817 | .gh-mock__avatar { |
| 1818 | width: 28px; |
| 1819 | height: 28px; |
| 1820 | border-radius: 50%; |
| 1821 | background: var(--alc-accent-deep); |
| 1822 | color: var(--alc-bg-elev-1); |
| 1823 | display: inline-flex; |
| 1824 | align-items: center; |
| 1825 | justify-content: center; |
| 1826 | font-family: var(--alc-font-mono); |
| 1827 | font-size: 13px; |
| 1828 | font-weight: 700; |
| 1829 | } |
| 1830 | .gh-mock__author { |
| 1831 | display: flex; |
| 1832 | align-items: center; |
| 1833 | gap: 6px; |
| 1834 | font-size: 13px; |
| 1835 | color: var(--alc-fg-2); |
| 1836 | } |
| 1837 | .gh-mock__author strong { |
| 1838 | color: var(--alc-fg-1); |
| 1839 | } |
| 1840 | .gh-mock__bot-tag { |
| 1841 | font-family: var(--alc-font-mono); |
| 1842 | font-size: 9.5px; |
| 1843 | font-weight: 700; |
| 1844 | color: var(--alc-fg-3); |
| 1845 | border: 1px solid var(--alc-hairline); |
| 1846 | border-radius: 4px; |
| 1847 | padding: 1px 6px; |
| 1848 | background: var(--alc-bg); |
| 1849 | } |
| 1850 | .gh-mock__meta { |
| 1851 | font-size: 11.5px; |
| 1852 | color: var(--alc-fg-3); |
| 1853 | margin-left: 4px; |
| 1854 | } |
| 1855 | .gh-mock__body { |
| 1856 | padding: 16px 18px; |
| 1857 | } |
| 1858 | .gh-mock__h3 { |
| 1859 | font-family: var(--alc-font-sans); |
| 1860 | font-size: 16px; |
| 1861 | font-weight: 600; |
| 1862 | color: var(--alc-fg-1); |
| 1863 | margin: 0 0 10px; |
| 1864 | } |
| 1865 | .gh-mock__p { |
| 1866 | margin: 6px 0; |
| 1867 | font-size: 13.5px; |
| 1868 | color: var(--alc-fg-2); |
| 1869 | } |
| 1870 | .gh-mock__url { |
| 1871 | color: var(--alc-accent-deep); |
| 1872 | text-decoration: underline; |
| 1873 | font-family: var(--alc-font-mono); |
| 1874 | font-size: 12.5px; |
| 1875 | } |
| 1876 | .gh-mock__code { |
| 1877 | font-family: var(--alc-font-mono); |
| 1878 | font-size: 12px; |
| 1879 | color: var(--alc-fg-1); |
| 1880 | background: var(--alc-bg); |
| 1881 | padding: 1px 5px; |
| 1882 | border-radius: 3px; |
| 1883 | } |
| 1884 | .gh-mock__hr { |
| 1885 | border: none; |
| 1886 | border-top: 1px solid var(--alc-hairline); |
| 1887 | margin: 12px 0; |
| 1888 | } |
| 1889 | .gh-mock__small { |
| 1890 | color: var(--alc-fg-3); |
| 1891 | font-size: 12px; |
| 1892 | margin: 0; |
| 1893 | } |
| 1894 | |
| 1895 | /* ============================================================ |
| 1896 | OTel destination cards (/product/observability) |
| 1897 | ============================================================ */ |
| 1898 | |
| 1899 | .otel-card { |
| 1900 | background: var(--alc-bg-elev-1); |
| 1901 | border: 1px solid var(--alc-hairline); |
| 1902 | border-left: 3px solid var(--c); |
| 1903 | border-radius: 8px; |
| 1904 | padding: 12px 14px; |
| 1905 | display: flex; |
| 1906 | flex-direction: column; |
| 1907 | gap: 4px; |
| 1908 | } |
| 1909 | .otel-card__name { |
| 1910 | font-family: var(--alc-font-sans); |
| 1911 | font-size: 13.5px; |
| 1912 | font-weight: 600; |
| 1913 | color: var(--alc-fg-1); |
| 1914 | } |
| 1915 | .otel-card__sub { |
| 1916 | font-family: var(--alc-font-mono); |
| 1917 | font-size: 11px; |
| 1918 | color: var(--alc-fg-3); |
| 1919 | } |
| 1920 | @media (max-width: 760px) { |
| 1921 | .otel-card { |
| 1922 | font-size: 12px; |
| 1923 | } |
| 1924 | } |
| 1925 | |
| 1926 | /* ============================================================ |
| 1927 | Operational readiness — code-pair illustration |
| 1928 | ============================================================ */ |
| 1929 | |
| 1930 | .alc-ops-col { |
| 1931 | display: flex; |
| 1932 | flex-direction: column; |
| 1933 | gap: 10px; |
| 1934 | min-width: 0; |
| 1935 | } |
| 1936 | .alc-ops-caption { |
| 1937 | font-size: 13.5px; |
| 1938 | line-height: 1.55; |
| 1939 | color: var(--alc-fg-2); |
| 1940 | margin: 2px 2px 0; |
| 1941 | } |
| 1942 | .alc-ops-caption strong { |
| 1943 | color: var(--alc-fg-1); |
| 1944 | font-weight: 600; |
| 1945 | } |
| 1946 | |
| 1947 | /* ============================================================ |
| 1948 | Hero (home page) |
| 1949 | ============================================================ */ |
| 1950 | |
| 1951 | .alc-hero { |
| 1952 | position: relative; |
| 1953 | isolation: isolate; |
| 1954 | } |
| 1955 | /* Aged-paper plate behind the entire hero. Two layers of SVG fractal |
| 1956 | noise — a fine fiber grain plus a large-scale foxing/aging blotch |
| 1957 | pattern — combine to read as old printed paper rather than a uniform |
| 1958 | texture. No directional banding (which would look like slats). */ |
| 1959 | /* Faint paper-fiber grain behind the hero. Single layer of fine SVG |
| 1960 | fractal noise, multiply-blended into the parchment background and |
| 1961 | feathered with a vignette so it never reads as a hard plate. */ |
| 1962 | .alc-hero::before { |
| 1963 | content: ""; |
| 1964 | position: absolute; |
| 1965 | inset: 0; |
| 1966 | z-index: -1; |
| 1967 | pointer-events: none; |
| 1968 | opacity: 0.28; |
| 1969 | mix-blend-mode: multiply; |
| 1970 | background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='2' seed='6' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.30 0 0 0 0 0.22 0 0 0 0 0.13 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>"); |
| 1971 | background-size: 280px 280px; |
| 1972 | -webkit-mask-image: radial-gradient(ellipse 100% 95% at 50% 45%, #000 55%, transparent 100%); |
| 1973 | mask-image: radial-gradient(ellipse 100% 95% at 50% 45%, #000 55%, transparent 100%); |
| 1974 | } |
| 1975 | /* In dark mode the brown noise multiplied onto the dark page just turns |
| 1976 | to mud. Flip to `screen` so the same noise pattern adds a faint warm |
| 1977 | highlight grain instead of subtracting into black. */ |
| 1978 | [data-theme="dark"] .alc-hero::before { |
| 1979 | mix-blend-mode: screen; |
| 1980 | opacity: 0.16; |
| 1981 | } |
| 1982 | /* Parchment "halo" between the animation canvas and the hero text. |
| 1983 | Solid parchment at the center (where the headline + subtitle live) |
| 1984 | so the animation never competes with type, fading to transparent |
| 1985 | well before the edges so the corners of the canvas stay visible. |
| 1986 | z-index 0 + source order (rendered after the canvas) keeps it |
| 1987 | above the canvas (z:0) and below the content (z:1). */ |
| 1988 | .alc-hero::after { |
| 1989 | content: ""; |
| 1990 | position: absolute; |
| 1991 | inset: 0; |
| 1992 | z-index: 0; |
| 1993 | pointer-events: none; |
| 1994 | /* The halo's job is to fade the page color *over* the canvas animation |
| 1995 | so the headline reads cleanly. Anchored to `--alc-bg` so it matches |
| 1996 | whatever theme is active. */ |
| 1997 | background: radial-gradient( |
| 1998 | ellipse 55% 50% at 50% 52%, |
| 1999 | color-mix(in srgb, var(--alc-bg) 92%, transparent) 0%, |
| 2000 | color-mix(in srgb, var(--alc-bg) 78%, transparent) 30%, |
| 2001 | color-mix(in srgb, var(--alc-bg) 40%, transparent) 60%, |
| 2002 | transparent 100% |
| 2003 | ); |
| 2004 | } |
| 2005 | |
| 2006 | /* Animated 3D cubic-coordinate tunnel behind the hero, rendered to |
| 2007 | <canvas>. Sits above the ::before paper grain (z-index: -1) and below |
| 2008 | the ::after parchment halo + content layer. */ |
| 2009 | .alc-hero__bg-graph { |
| 2010 | position: absolute; |
| 2011 | inset: 0; |
| 2012 | width: 100%; |
| 2013 | height: 100%; |
| 2014 | z-index: 0; |
| 2015 | pointer-events: none; |
| 2016 | opacity: 0.9; |
| 2017 | mix-blend-mode: multiply; |
| 2018 | color: var(--alc-fg-1); |
| 2019 | /* Vanishing-point coordinates pushed in from JS once it has measured |
| 2020 | the Yantra mark. Defaults are the canvas geometric center, so the |
| 2021 | mask still looks reasonable before the script runs. */ |
| 2022 | --alc-bg-cx: 50%; |
| 2023 | --alc-bg-cy: 50%; |
| 2024 | /* Feather around the vanishing point so the animation appears to |
| 2025 | emanate from the bindu and fades into the parchment at the edges. */ |
| 2026 | -webkit-mask-image: radial-gradient( |
| 2027 | ellipse 95% 90% at var(--alc-bg-cx) var(--alc-bg-cy), |
| 2028 | #000 60%, |
| 2029 | transparent 100% |
| 2030 | ); |
| 2031 | mask-image: radial-gradient( |
| 2032 | ellipse 95% 90% at var(--alc-bg-cx) var(--alc-bg-cy), |
| 2033 | #000 60%, |
| 2034 | transparent 100% |
| 2035 | ); |
| 2036 | } |
| 2037 | /* In dark mode `multiply` collapses the strokes into the page (cream × dark |
| 2038 | walnut ≈ dark walnut). Flip to `screen` so the same stroke reads as a |
| 2039 | light highlight on the dark page. Color is bumped to pure white and |
| 2040 | opacity raised so the screen-blended markings sit a notch above |
| 2041 | light-mode visibility — they otherwise read as muted warm cream. */ |
| 2042 | [data-theme="dark"] .alc-hero__bg-graph { |
| 2043 | mix-blend-mode: screen; |
| 2044 | color: #ffffff; |
| 2045 | opacity: 1; |
| 2046 | /* Strokes are drawn at low alpha by the JS (cap ~0.32). Boost the |
| 2047 | compositing brightness so they read clearly above the dark page. */ |
| 2048 | filter: brightness(3.6); |
| 2049 | } |
| 2050 | /* On phones the hero canvas takes up a much larger fraction of the |
| 2051 | viewport than on desktop, so the same brightness multiplier plus |
| 2052 | wide mask makes the mandala bloom over the headline / subtitle and |
| 2053 | reads as harsher than the dark-mode desktop view. Pull the brightness |
| 2054 | back, drop opacity, and tighten the mask so strokes feather out well |
| 2055 | before they reach the type. */ |
| 2056 | @media (max-width: 640px) { |
| 2057 | [data-theme="dark"] .alc-hero__bg-graph { |
| 2058 | filter: brightness(2.2); |
| 2059 | opacity: 0.75; |
| 2060 | -webkit-mask-image: radial-gradient( |
| 2061 | ellipse 80% 70% at var(--alc-bg-cx) var(--alc-bg-cy), |
| 2062 | #000 35%, |
| 2063 | transparent 100% |
| 2064 | ); |
| 2065 | mask-image: radial-gradient( |
| 2066 | ellipse 80% 70% at var(--alc-bg-cx) var(--alc-bg-cy), |
| 2067 | #000 35%, |
| 2068 | transparent 100% |
| 2069 | ); |
| 2070 | } |
| 2071 | } |
| 2072 | .alc-hero__inner { |
| 2073 | position: relative; |
| 2074 | z-index: 1; |
| 2075 | text-align: center; |
| 2076 | max-width: 880px; |
| 2077 | margin: 0 auto 16px; |
| 2078 | } |
| 2079 | /* Centered alchemical glyph above the title — the "title-page mark" |
| 2080 | in the spirit of an engraved frontispiece. */ |
| 2081 | .alc-hero__mark { |
| 2082 | display: flex; |
| 2083 | justify-content: center; |
| 2084 | margin: 0 auto 18px; |
| 2085 | } |
| 2086 | .alc-hero__mark svg { |
| 2087 | display: block; |
| 2088 | } |
| 2089 | .alc-hero__title { |
| 2090 | font-family: var(--alc-font-serif); |
| 2091 | font-weight: 500; |
| 2092 | font-size: clamp(40px, 8.4vw, 72px); |
| 2093 | line-height: 1.04; |
| 2094 | letter-spacing: -0.02em; |
| 2095 | margin: 18px 0 0; |
| 2096 | color: var(--alc-fg-1); |
| 2097 | } |
| 2098 | .alc-hero__subtitle { |
| 2099 | font-family: var(--alc-font-serif); |
| 2100 | font-weight: 400; |
| 2101 | font-size: clamp(18px, 3.4vw, 30px); |
| 2102 | line-height: 1.25; |
| 2103 | letter-spacing: -0.005em; |
| 2104 | margin: 8px auto 32px; |
| 2105 | color: var(--alc-fg-2); |
| 2106 | max-width: 780px; |
| 2107 | } |
| 2108 | .alc-hero__cta { |
| 2109 | display: flex; |
| 2110 | gap: 10px; |
| 2111 | justify-content: center; |
| 2112 | flex-wrap: wrap; |
| 2113 | } |
| 2114 | |
| 2115 | /* ============================================================ |
| 2116 | Responsive overrides for home page sections |
| 2117 | ============================================================ */ |
| 2118 | |
| 2119 | /* Reduce side gutters on small phones. Inline padding on <Section> |
| 2120 | uses shorthand, so we override via a more-specific selector. */ |
| 2121 | @media (max-width: 640px) { |
| 2122 | section.alc-section { |
| 2123 | padding-left: 20px !important; |
| 2124 | padding-right: 20px !important; |
| 2125 | } |
| 2126 | } |
| 2127 | @media (max-width: 480px) { |
| 2128 | section.alc-section { |
| 2129 | padding-left: 16px !important; |
| 2130 | padding-right: 16px !important; |
| 2131 | } |
| 2132 | } |
| 2133 | |
| 2134 | /* Fluid section heading */ |
| 2135 | .alc-h2 { |
| 2136 | font-size: clamp(26px, 4.8vw, 34px); |
| 2137 | } |
| 2138 | /* MDX wraps loose text fragments inside JSX headings in <p> tags |
| 2139 | (e.g. the outro CTA's split "Paste this … to get started" h2 ends |
| 2140 | up as `<p>…</p><span><p>…</p></span><p>.</p>`). The UA's default |
| 2141 | 1em block margin on those <p>s opens up a big gap between the two |
| 2142 | wrapped lines. Flatten them back to inline so the heading reads as |
| 2143 | one piece of text. */ |
| 2144 | .alc-h2 p { |
| 2145 | display: inline; |
| 2146 | margin: 0; |
| 2147 | } |
| 2148 | /* Prefix ornament on a centered CTA heading sits ABOVE the text as a |
| 2149 | printer's mark, not inline next to the first word. (The previous |
| 2150 | behavior — where the ornament happened to land on its own line — |
| 2151 | was an accidental side-effect of UA <p> margins inside the h2 that |
| 2152 | we just collapsed.) */ |
| 2153 | .alc-cta .alc-h2 > .alc-orn--prefix { |
| 2154 | display: block; |
| 2155 | width: 1.4em; |
| 2156 | height: 1.4em; |
| 2157 | margin: 0 auto 14px; |
| 2158 | } |
| 2159 | |
| 2160 | /* Hero-scale serif statement used in place of an .alc-h2 + small lede |
| 2161 | when a section's value-prop reads better as one big sentence. */ |
| 2162 | .alc-section-statement { |
| 2163 | font-family: var(--alc-font-serif); |
| 2164 | font-weight: 400; |
| 2165 | font-size: clamp(22px, 3.6vw, 34px); |
| 2166 | line-height: 1.25; |
| 2167 | letter-spacing: -0.005em; |
| 2168 | color: var(--alc-fg-1); |
| 2169 | max-width: 820px; |
| 2170 | margin: 12px auto 0; |
| 2171 | } |
| 2172 | |
| 2173 | /* Sub-section heading inside a section (e.g. Effect-pilled / async fetch |
| 2174 | modes inside the bindings-iam section). */ |
| 2175 | .alc-h3 { |
| 2176 | font-family: var(--alc-font-serif); |
| 2177 | font-weight: 500; |
| 2178 | font-size: clamp(20px, 2.6vw, 24px); |
| 2179 | line-height: 1.2; |
| 2180 | letter-spacing: -0.01em; |
| 2181 | color: var(--alc-fg-1); |
| 2182 | margin: 6px 0 0; |
| 2183 | } |
| 2184 | |
| 2185 | /* ============================================================ |
| 2186 | Modes stack — used inside the "Type IAM + env vars" section |
| 2187 | to present the Effect-pilled (recommended) and async-fetch |
| 2188 | (escape hatch) sub-sections one above the other. The escape |
| 2189 | hatch is visually softened so the recommended path leads. |
| 2190 | ============================================================ */ |
| 2191 | |
| 2192 | .alc-modes { |
| 2193 | display: flex; |
| 2194 | flex-direction: column; |
| 2195 | gap: 56px; |
| 2196 | max-width: 1100px; |
| 2197 | margin: 0 auto; |
| 2198 | } |
| 2199 | .alc-mode { |
| 2200 | display: grid; |
| 2201 | grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); |
| 2202 | gap: 28px; |
| 2203 | align-items: start; |
| 2204 | } |
| 2205 | .alc-mode__head { |
| 2206 | display: flex; |
| 2207 | flex-direction: column; |
| 2208 | gap: 10px; |
| 2209 | min-width: 0; |
| 2210 | padding-top: 4px; |
| 2211 | } |
| 2212 | .alc-mode__lede { |
| 2213 | margin: 0; |
| 2214 | font-size: 14.5px; |
| 2215 | line-height: 1.6; |
| 2216 | color: var(--alc-fg-2); |
| 2217 | } |
| 2218 | .alc-mode__lede code { |
| 2219 | font-family: var(--alc-font-mono); |
| 2220 | font-size: 0.92em; |
| 2221 | color: var(--alc-accent-deep); |
| 2222 | background: rgba(184, 138, 74, 0.1); |
| 2223 | padding: 0 4px; |
| 2224 | border-radius: 3px; |
| 2225 | } |
| 2226 | /* The escape-hatch mode keeps a 2-up code split inside the right column, |
| 2227 | so on desktop we let it span the full row instead of competing with |
| 2228 | the head column. Keeps reading order: title → details → 2 code blocks. */ |
| 2229 | .alc-mode--escape { |
| 2230 | grid-template-columns: minmax(0, 1fr); |
| 2231 | gap: 18px; |
| 2232 | } |
| 2233 | .alc-mode--escape .alc-mode__head { |
| 2234 | text-align: center; |
| 2235 | align-items: center; |
| 2236 | max-width: 760px; |
| 2237 | margin: 0 auto; |
| 2238 | } |
| 2239 | .alc-mode--escape .alc-mode__lede { |
| 2240 | text-align: center; |
| 2241 | } |
| 2242 | @media (max-width: 880px) { |
| 2243 | .alc-mode { |
| 2244 | grid-template-columns: minmax(0, 1fr); |
| 2245 | gap: 16px; |
| 2246 | } |
| 2247 | .alc-modes { |
| 2248 | gap: 44px; |
| 2249 | } |
| 2250 | } |
| 2251 | |
| 2252 | /* ============================================================ |
| 2253 | Dev terminal stage (Hot reload section). Single, centered |
| 2254 | terminal — narrower than full-width so it doesn't sprawl. |
| 2255 | ============================================================ */ |
| 2256 | .alc-dev-stage { |
| 2257 | max-width: 880px; |
| 2258 | margin: 0 auto; |
| 2259 | } |
| 2260 | |
| 2261 | /* ============================================================ |
| 2262 | Browser hot-reload demo (Hot reload section). |
| 2263 | |
| 2264 | Desktop: two columns — a pseudo browser rendering a sample |
| 2265 | app on the left, the alchemy dev terminal on the right. |
| 2266 | They are driven by the same state machine so an edit in the |
| 2267 | terminal causes the page to reload. |
| 2268 | |
| 2269 | Mobile (<= 760px): the browser preview is hidden and only the |
| 2270 | terminal is shown — the rendered app is too small to read on |
| 2271 | phones, but the terminal narrative still lands. |
| 2272 | ============================================================ */ |
| 2273 | .bhr-stage { |
| 2274 | display: grid; |
| 2275 | grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); |
| 2276 | gap: 18px; |
| 2277 | align-items: stretch; |
| 2278 | max-width: 1180px; |
| 2279 | margin: 0 auto; |
| 2280 | } |
| 2281 | .bhr-stage > * { |
| 2282 | min-width: 0; |
| 2283 | } |
| 2284 | .bhr-term { |
| 2285 | display: flex; |
| 2286 | min-width: 0; |
| 2287 | } |
| 2288 | .bhr-term > .alc-term { |
| 2289 | flex: 1; |
| 2290 | } |
| 2291 | @media (max-width: 760px) { |
| 2292 | .bhr-stage { |
| 2293 | grid-template-columns: minmax(0, 1fr); |
| 2294 | } |
| 2295 | .bhr-stage > .bhr-browser { |
| 2296 | display: none; |
| 2297 | } |
| 2298 | } |
| 2299 | |
| 2300 | /* Pseudo browser chrome. */ |
| 2301 | .bhr-browser { |
| 2302 | display: flex; |
| 2303 | flex-direction: column; |
| 2304 | background: var(--alc-bg-elev-1); |
| 2305 | border: 1px solid var(--alc-hairline-2); |
| 2306 | border-radius: 12px; |
| 2307 | overflow: hidden; |
| 2308 | box-shadow: |
| 2309 | 0 1px 0 rgba(42, 38, 32, 0.04), |
| 2310 | 0 8px 20px -10px rgba(42, 38, 32, 0.18), |
| 2311 | 0 24px 48px -24px rgba(42, 38, 32, 0.22); |
| 2312 | min-height: 360px; |
| 2313 | } |
| 2314 | .bhr-browser__header { |
| 2315 | display: flex; |
| 2316 | align-items: center; |
| 2317 | gap: 8px; |
| 2318 | padding: 10px 12px 10px 14px; |
| 2319 | background: var(--alc-bg-nav); |
| 2320 | border-bottom: 1px solid var(--alc-hairline); |
| 2321 | } |
| 2322 | .bhr-browser__nav { |
| 2323 | display: flex; |
| 2324 | align-items: center; |
| 2325 | gap: 2px; |
| 2326 | margin-left: 6px; |
| 2327 | color: var(--alc-fg-3); |
| 2328 | font-size: 14px; |
| 2329 | line-height: 1; |
| 2330 | } |
| 2331 | .bhr-browser__navbtn { |
| 2332 | width: 22px; |
| 2333 | height: 22px; |
| 2334 | display: inline-flex; |
| 2335 | align-items: center; |
| 2336 | justify-content: center; |
| 2337 | border-radius: 5px; |
| 2338 | font-family: var(--alc-font-mono); |
| 2339 | user-select: none; |
| 2340 | } |
| 2341 | .bhr-browser__navbtn:hover { |
| 2342 | background: var(--alc-bg-elev-2); |
| 2343 | } |
| 2344 | .bhr-browser__reload.is-spinning { |
| 2345 | animation: bhr-spin 700ms linear infinite; |
| 2346 | color: var(--alc-accent-deep); |
| 2347 | } |
| 2348 | @keyframes bhr-spin { |
| 2349 | to { |
| 2350 | transform: rotate(360deg); |
| 2351 | } |
| 2352 | } |
| 2353 | @media (prefers-reduced-motion: reduce) { |
| 2354 | .bhr-browser__reload.is-spinning { |
| 2355 | animation: none; |
| 2356 | } |
| 2357 | } |
| 2358 | .bhr-browser__url { |
| 2359 | flex: 1; |
| 2360 | display: flex; |
| 2361 | align-items: center; |
| 2362 | gap: 6px; |
| 2363 | padding: 5px 12px; |
| 2364 | background: var(--alc-bg-elev-2); |
| 2365 | border: 1px solid var(--alc-hairline); |
| 2366 | border-radius: 999px; |
| 2367 | font-family: var(--alc-font-mono); |
| 2368 | font-size: 12px; |
| 2369 | color: var(--alc-fg-2); |
| 2370 | min-width: 0; |
| 2371 | } |
| 2372 | .bhr-browser__lock { |
| 2373 | color: var(--alc-success); |
| 2374 | font-size: 8px; |
| 2375 | line-height: 1; |
| 2376 | } |
| 2377 | .bhr-browser__urlhost { |
| 2378 | color: var(--alc-fg-1); |
| 2379 | font-weight: 500; |
| 2380 | } |
| 2381 | .bhr-browser__urlmuted { |
| 2382 | color: var(--alc-fg-3); |
| 2383 | } |
| 2384 | .bhr-browser__hmr { |
| 2385 | display: inline-flex; |
| 2386 | align-items: center; |
| 2387 | gap: 5px; |
| 2388 | font-size: 10px; |
| 2389 | letter-spacing: 0.1em; |
| 2390 | color: var(--alc-accent-deep); |
| 2391 | font-weight: 600; |
| 2392 | } |
| 2393 | .bhr-browser__hmrdot { |
| 2394 | width: 6px; |
| 2395 | height: 6px; |
| 2396 | border-radius: 50%; |
| 2397 | background: var(--alc-accent-bright); |
| 2398 | box-shadow: 0 0 0 3px var(--alc-accent-12); |
| 2399 | animation: bhr-pulse 1800ms ease-in-out infinite; |
| 2400 | } |
| 2401 | @keyframes bhr-pulse { |
| 2402 | 0%, |
| 2403 | 100% { |
| 2404 | opacity: 1; |
| 2405 | } |
| 2406 | 50% { |
| 2407 | opacity: 0.35; |
| 2408 | } |
| 2409 | } |
| 2410 | @media (prefers-reduced-motion: reduce) { |
| 2411 | .bhr-browser__hmrdot { |
| 2412 | animation: none; |
| 2413 | } |
| 2414 | } |
| 2415 | |
| 2416 | .bhr-browser__body { |
| 2417 | position: relative; |
| 2418 | flex: 1; |
| 2419 | background: var(--alc-bg); |
| 2420 | padding: 22px 24px 26px; |
| 2421 | overflow: hidden; |
| 2422 | } |
| 2423 | |
| 2424 | /* Indeterminate top-progress bar shown while the worker rebuilds. */ |
| 2425 | .bhr-browser__progress { |
| 2426 | position: absolute; |
| 2427 | top: 0; |
| 2428 | left: 0; |
| 2429 | height: 2px; |
| 2430 | width: 40%; |
| 2431 | background: linear-gradient(90deg, transparent, var(--alc-accent-bright), transparent); |
| 2432 | animation: bhr-progress 900ms ease-in-out infinite; |
| 2433 | } |
| 2434 | @keyframes bhr-progress { |
| 2435 | 0% { |
| 2436 | transform: translateX(-100%); |
| 2437 | } |
| 2438 | 100% { |
| 2439 | transform: translateX(350%); |
| 2440 | } |
| 2441 | } |
| 2442 | @media (prefers-reduced-motion: reduce) { |
| 2443 | .bhr-browser__progress { |
| 2444 | animation: none; |
| 2445 | opacity: 0.4; |
| 2446 | } |
| 2447 | } |
| 2448 | |
| 2449 | /* Sample "rendered app" inside the browser. */ |
| 2450 | .bhr-app { |
| 2451 | display: flex; |
| 2452 | flex-direction: column; |
| 2453 | gap: 16px; |
| 2454 | animation: bhr-fade-in 280ms ease; |
| 2455 | } |
| 2456 | @keyframes bhr-fade-in { |
| 2457 | from { |
| 2458 | opacity: 0; |
| 2459 | transform: translateY(4px); |
| 2460 | } |
| 2461 | to { |
| 2462 | opacity: 1; |
| 2463 | transform: translateY(0); |
| 2464 | } |
| 2465 | } |
| 2466 | @media (prefers-reduced-motion: reduce) { |
| 2467 | .bhr-app { |
| 2468 | animation: none; |
| 2469 | } |
| 2470 | } |
| 2471 | .bhr-app__header { |
| 2472 | display: flex; |
| 2473 | align-items: flex-end; |
| 2474 | justify-content: space-between; |
| 2475 | gap: 12px; |
| 2476 | } |
| 2477 | .bhr-app__eyebrow { |
| 2478 | font-family: var(--alc-font-mono); |
| 2479 | font-size: 10px; |
| 2480 | letter-spacing: 0.14em; |
| 2481 | text-transform: uppercase; |
| 2482 | color: var(--alc-fg-3); |
| 2483 | margin-bottom: 4px; |
| 2484 | } |
| 2485 | .bhr-app__title { |
| 2486 | margin: 0; |
| 2487 | font-family: var(--alc-font-serif, var(--alc-font-sans)); |
| 2488 | font-size: 22px; |
| 2489 | line-height: 1.15; |
| 2490 | color: var(--alc-fg-1); |
| 2491 | font-weight: 600; |
| 2492 | letter-spacing: -0.01em; |
| 2493 | } |
| 2494 | .bhr-app__btn { |
| 2495 | appearance: none; |
| 2496 | border: 1px solid var(--alc-accent-deep); |
| 2497 | background: var(--alc-accent-deep); |
| 2498 | color: var(--alc-fg-on-accent); |
| 2499 | padding: 6px 12px; |
| 2500 | border-radius: 6px; |
| 2501 | font-family: var(--alc-font-sans); |
| 2502 | font-size: 12px; |
| 2503 | font-weight: 600; |
| 2504 | cursor: default; |
| 2505 | animation: bhr-pop 320ms ease; |
| 2506 | } |
| 2507 | @keyframes bhr-pop { |
| 2508 | from { |
| 2509 | opacity: 0; |
| 2510 | transform: scale(0.92); |
| 2511 | } |
| 2512 | to { |
| 2513 | opacity: 1; |
| 2514 | transform: scale(1); |
| 2515 | } |
| 2516 | } |
| 2517 | .bhr-app__grid { |
| 2518 | display: grid; |
| 2519 | grid-template-columns: repeat(4, minmax(0, 1fr)); |
| 2520 | gap: 10px; |
| 2521 | } |
| 2522 | .bhr-tile { |
| 2523 | display: flex; |
| 2524 | flex-direction: column; |
| 2525 | gap: 6px; |
| 2526 | } |
| 2527 | .bhr-tile__img { |
| 2528 | aspect-ratio: 1 / 1; |
| 2529 | border-radius: 8px; |
| 2530 | background: |
| 2531 | linear-gradient(135deg, var(--alc-accent-soft), var(--alc-bg-sunk)), var(--alc-bg-elev-1); |
| 2532 | border: 1px solid var(--alc-hairline); |
| 2533 | } |
| 2534 | .bhr-tile:nth-child(2) .bhr-tile__img { |
| 2535 | background: linear-gradient(135deg, #d4b888, var(--alc-bg-sunk)); |
| 2536 | } |
| 2537 | .bhr-tile:nth-child(3) .bhr-tile__img { |
| 2538 | background: linear-gradient(135deg, var(--alc-accent-warm), var(--alc-accent-soft)); |
| 2539 | } |
| 2540 | .bhr-tile:nth-child(4) .bhr-tile__img { |
| 2541 | background: linear-gradient(135deg, #c89a6a, var(--alc-accent-soft)); |
| 2542 | } |
| 2543 | .bhr-tile__label { |
| 2544 | font-family: var(--alc-font-mono); |
| 2545 | font-size: 10.5px; |
| 2546 | color: var(--alc-fg-3); |
| 2547 | text-align: center; |
| 2548 | } |
| 2549 | .bhr-tile--ghost { |
| 2550 | height: 70px; |
| 2551 | background: var(--alc-bg-sunk); |
| 2552 | border: 1px dashed var(--alc-hairline-2); |
| 2553 | border-radius: 8px; |
| 2554 | opacity: 0.5; |
| 2555 | } |
| 2556 | |
| 2557 | .bhr-app__footer { |
| 2558 | display: flex; |
| 2559 | flex-wrap: wrap; |
| 2560 | gap: 6px; |
| 2561 | margin-top: 4px; |
| 2562 | animation: bhr-fade-in 320ms ease; |
| 2563 | } |
| 2564 | .bhr-app__chip { |
| 2565 | font-family: var(--alc-font-mono); |
| 2566 | font-size: 10.5px; |
| 2567 | color: var(--alc-fg-2); |
| 2568 | background: var(--alc-bg-elev-1); |
| 2569 | border: 1px solid var(--alc-hairline); |
| 2570 | padding: 3px 8px; |
| 2571 | border-radius: 999px; |
| 2572 | } |
| 2573 | .bhr-app__chip strong { |
| 2574 | color: var(--alc-accent-deep); |
| 2575 | font-weight: 600; |
| 2576 | } |
| 2577 | |
| 2578 | .bhr-app--boot .bhr-app__skeleton { |
| 2579 | height: 22px; |
| 2580 | width: 40%; |
| 2581 | border-radius: 6px; |
| 2582 | background: linear-gradient(90deg, var(--alc-bg-sunk), var(--alc-bg-elev-1), var(--alc-bg-sunk)); |
| 2583 | background-size: 200% 100%; |
| 2584 | animation: bhr-shimmer 1400ms linear infinite; |
| 2585 | } |
| 2586 | .bhr-app--boot .bhr-app__skeleton--sm { |
| 2587 | height: 12px; |
| 2588 | width: 25%; |
| 2589 | margin-top: 8px; |
| 2590 | } |
| 2591 | @keyframes bhr-shimmer { |
| 2592 | to { |
| 2593 | background-position: -200% 0; |
| 2594 | } |
| 2595 | } |
| 2596 | @media (prefers-reduced-motion: reduce) { |
| 2597 | .bhr-app--boot .bhr-app__skeleton { |
| 2598 | animation: none; |
| 2599 | } |
| 2600 | } |
| 2601 | |
| 2602 | /* Two-column code+illustration splits */ |
| 2603 | .alc-split-2 { |
| 2604 | display: grid; |
| 2605 | grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); |
| 2606 | gap: 24px; |
| 2607 | align-items: start; |
| 2608 | max-width: 1100px; |
| 2609 | margin: 0 auto; |
| 2610 | } |
| 2611 | .alc-split-2 > * { |
| 2612 | min-width: 0; |
| 2613 | } |
| 2614 | .alc-split-2--wide-left { |
| 2615 | grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); |
| 2616 | } |
| 2617 | @media (max-width: 880px) { |
| 2618 | .alc-split-2, |
| 2619 | .alc-split-2--wide-left { |
| 2620 | grid-template-columns: minmax(0, 1fr); |
| 2621 | gap: 18px; |
| 2622 | } |
| 2623 | } |
| 2624 | |
| 2625 | /* Three-up cards */ |
| 2626 | .alc-cards-3 { |
| 2627 | display: grid; |
| 2628 | grid-template-columns: repeat(3, minmax(0, 1fr)); |
| 2629 | gap: 14px; |
| 2630 | max-width: 1080px; |
| 2631 | margin: 32px auto 0; |
| 2632 | } |
| 2633 | .alc-cards-3 > * { |
| 2634 | min-width: 0; |
| 2635 | } |
| 2636 | @media (max-width: 880px) { |
| 2637 | .alc-cards-3 { |
| 2638 | grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 2639 | } |
| 2640 | } |
| 2641 | @media (max-width: 560px) { |
| 2642 | .alc-cards-3 { |
| 2643 | display: none; |
| 2644 | } |
| 2645 | } |
| 2646 | |
| 2647 | /* Two-up small cards (e.g. OTel destinations) */ |
| 2648 | .alc-cards-2 { |
| 2649 | display: grid; |
| 2650 | grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 2651 | gap: 10px; |
| 2652 | } |
| 2653 | .alc-cards-2 > * { |
| 2654 | min-width: 0; |
| 2655 | } |
| 2656 | @media (max-width: 380px) { |
| 2657 | .alc-cards-2 { |
| 2658 | grid-template-columns: minmax(0, 1fr); |
| 2659 | } |
| 2660 | } |
| 2661 | @media (max-width: 560px) { |
| 2662 | .alc-cards-2 { |
| 2663 | display: none; |
| 2664 | } |
| 2665 | } |
| 2666 | |
| 2667 | /* Inline "stat strip" — a single row of monospace labels separated |
| 2668 | by middots. Used in place of card grids when the artifact above |
| 2669 | already carries the narrative and we just want a tight caption. */ |
| 2670 | .alc-stat-strip { |
| 2671 | display: flex; |
| 2672 | flex-wrap: wrap; |
| 2673 | align-items: center; |
| 2674 | justify-content: center; |
| 2675 | gap: 10px 18px; |
| 2676 | max-width: 920px; |
| 2677 | margin: 24px auto 0; |
| 2678 | padding: 12px 18px; |
| 2679 | border-top: 1px solid var(--alc-hairline); |
| 2680 | border-bottom: 1px solid var(--alc-hairline); |
| 2681 | font-family: var(--alc-font-mono); |
| 2682 | font-size: 12px; |
| 2683 | color: var(--alc-fg-3); |
| 2684 | text-align: center; |
| 2685 | } |
| 2686 | .alc-stat-strip__item { |
| 2687 | display: inline-flex; |
| 2688 | align-items: center; |
| 2689 | gap: 6px; |
| 2690 | white-space: nowrap; |
| 2691 | } |
| 2692 | .alc-stat-strip__item strong { |
| 2693 | color: var(--alc-fg-1); |
| 2694 | font-weight: 600; |
| 2695 | } |
| 2696 | .alc-stat-strip__item code { |
| 2697 | color: var(--alc-accent-deep); |
| 2698 | background: rgba(184, 138, 74, 0.1); |
| 2699 | padding: 0 4px; |
| 2700 | border-radius: 3px; |
| 2701 | font-size: 11.5px; |
| 2702 | } |
| 2703 | .alc-stat-strip__sep { |
| 2704 | color: var(--alc-hairline-2); |
| 2705 | } |
| 2706 | @media (max-width: 560px) { |
| 2707 | .alc-stat-strip { |
| 2708 | font-size: 11.5px; |
| 2709 | padding: 10px 12px; |
| 2710 | } |
| 2711 | .alc-stat-strip__sep { |
| 2712 | display: none; |
| 2713 | } |
| 2714 | } |
| 2715 | |
| 2716 | /* Local-dev right-hand card column: fills space at >tablet, then |
| 2717 | becomes 2-up on tablet, then a single column on phones. */ |
| 2718 | .alc-card-stack { |
| 2719 | display: flex; |
| 2720 | flex-direction: column; |
| 2721 | gap: 14px; |
| 2722 | min-width: 0; |
| 2723 | } |
| 2724 | .alc-card-stack > * { |
| 2725 | min-width: 0; |
| 2726 | } |
| 2727 | @media (max-width: 880px) { |
| 2728 | .alc-card-stack { |
| 2729 | display: grid; |
| 2730 | grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 2731 | } |
| 2732 | } |
| 2733 | @media (max-width: 560px) { |
| 2734 | .alc-card-stack { |
| 2735 | display: none; |
| 2736 | } |
| 2737 | } |
| 2738 | |
| 2739 | /* ============================================================ |
| 2740 | Bindings -> IAM mobile additions |
| 2741 | When the arrows column is hidden (<=980px), each resource card |
| 2742 | shows its IAM action inline so the binding -> permission |
| 2743 | relationship isn't lost. |
| 2744 | ============================================================ */ |
| 2745 | |
| 2746 | .bindings-iam__resource-iam { |
| 2747 | display: none; |
| 2748 | font-family: var(--alc-font-mono); |
| 2749 | font-size: 10.5px; |
| 2750 | color: var(--alc-fg-3); |
| 2751 | margin-top: 4px; |
| 2752 | white-space: nowrap; |
| 2753 | overflow: hidden; |
| 2754 | text-overflow: ellipsis; |
| 2755 | } |
| 2756 | .bindings-iam__resource-iam[data-stream] { |
| 2757 | font-style: italic; |
| 2758 | } |
| 2759 | |
| 2760 | @media (max-width: 980px) { |
| 2761 | .bindings-iam__resource-iam { |
| 2762 | display: block; |
| 2763 | } |
| 2764 | .bindings-iam__code .alc-code-block__pre { |
| 2765 | font-size: 11.5px; |
| 2766 | padding: 14px 14px; |
| 2767 | } |
| 2768 | } |
| 2769 | |
| 2770 | /* ============================================================ |
| 2771 | Outro: copy-prompt-for-coding-agent pill. |
| 2772 | ============================================================ */ |
| 2773 | |
| 2774 | .alc-copy-agent { |
| 2775 | position: relative; |
| 2776 | max-width: 720px; |
| 2777 | margin: 24px auto 0; |
| 2778 | background: var(--alc-bg-sunk); |
| 2779 | border: 1px solid var(--alc-hairline); |
| 2780 | border-radius: 10px; |
| 2781 | overflow: hidden; |
| 2782 | text-align: left; |
| 2783 | } |
| 2784 | .alc-copy-agent__text { |
| 2785 | display: block; |
| 2786 | /* Reserve space at the right edge so long prompt lines never run |
| 2787 | under the floating copy icon. */ |
| 2788 | padding: 12px 52px 12px 16px; |
| 2789 | font-family: var(--alc-font-mono); |
| 2790 | font-size: 13.5px; |
| 2791 | line-height: 1.5; |
| 2792 | color: var(--alc-fg-1); |
| 2793 | background: transparent; |
| 2794 | border: 0; |
| 2795 | white-space: pre-wrap; |
| 2796 | overflow-wrap: anywhere; |
| 2797 | text-align: left; |
| 2798 | max-height: 240px; |
| 2799 | overflow-y: auto; |
| 2800 | } |
| 2801 | .alc-copy-agent__btn { |
| 2802 | position: absolute; |
| 2803 | top: 8px; |
| 2804 | right: 8px; |
| 2805 | display: inline-flex; |
| 2806 | align-items: center; |
| 2807 | justify-content: center; |
| 2808 | width: 32px; |
| 2809 | height: 32px; |
| 2810 | padding: 0; |
| 2811 | background: transparent; |
| 2812 | border: 1px solid transparent; |
| 2813 | border-radius: 8px; |
| 2814 | color: var(--alc-fg-3); |
| 2815 | cursor: pointer; |
| 2816 | transition: |
| 2817 | color 120ms ease, |
| 2818 | background 120ms ease, |
| 2819 | border-color 120ms ease; |
| 2820 | } |
| 2821 | .alc-copy-agent__btn:hover { |
| 2822 | color: var(--alc-accent-deep); |
| 2823 | background: var(--alc-bg-elev-1); |
| 2824 | border-color: var(--alc-hairline-2); |
| 2825 | } |
| 2826 | .alc-copy-agent__btn:focus-visible { |
| 2827 | outline: 2px solid var(--alc-accent-40); |
| 2828 | outline-offset: 2px; |
| 2829 | } |
| 2830 | |
| 2831 | /* ============================================================ |
| 2832 | Button styles (also defined scoped in Button.astro). Copied |
| 2833 | here so React islands can render the same look. |
| 2834 | ============================================================ */ |
| 2835 | |
| 2836 | .alc-btn { |
| 2837 | font-family: var(--alc-font-sans); |
| 2838 | font-size: 14px; |
| 2839 | font-weight: 500; |
| 2840 | padding: 10px 18px; |
| 2841 | border-radius: 8px; |
| 2842 | border: 1px solid transparent; |
| 2843 | display: inline-flex; |
| 2844 | align-items: center; |
| 2845 | gap: 8px; |
| 2846 | white-space: nowrap; |
| 2847 | cursor: pointer; |
| 2848 | text-decoration: none; |
| 2849 | transition: |
| 2850 | background 120ms var(--alc-ease, cubic-bezier(0.2, 0, 0, 1)), |
| 2851 | border-color 120ms var(--alc-ease, cubic-bezier(0.2, 0, 0, 1)), |
| 2852 | color 120ms var(--alc-ease, cubic-bezier(0.2, 0, 0, 1)); |
| 2853 | } |
| 2854 | /* Deep forest instead of var(--alc-accent): mid-green moss cannot reach |
| 2855 | the AAA 7:1 ratio with any text color; #3f5a2a gives 7.2:1 against |
| 2856 | --alc-fg-on-accent in both themes. */ |
| 2857 | .alc-btn--primary { |
| 2858 | background: #3f5a2a; |
| 2859 | color: var(--alc-fg-on-accent); |
| 2860 | } |
| 2861 | .alc-btn--primary:hover { |
| 2862 | background: #324a1e; |
| 2863 | } |
| 2864 | .alc-btn--secondary { |
| 2865 | background: transparent; |
| 2866 | border-color: var(--alc-hairline-3); |
| 2867 | color: var(--alc-fg-1); |
| 2868 | } |
| 2869 | .alc-btn--secondary:hover { |
| 2870 | border-color: var(--alc-accent); |
| 2871 | color: var(--alc-accent-deep); |
| 2872 | } |
| 2873 | .alc-btn--ghost { |
| 2874 | background: transparent; |
| 2875 | color: var(--alc-fg-2); |
| 2876 | } |
| 2877 | .alc-btn--ghost:hover { |
| 2878 | color: var(--alc-accent-deep); |
| 2879 | } |
| 2880 | .alc-btn--accent { |
| 2881 | background: var(--alc-terracotta); |
| 2882 | color: var(--alc-fg-on-accent); |
| 2883 | } |
| 2884 | |
| 2885 | /* ============================================================ |
| 2886 | Hero CTA — two-up "for humans / for coding agents". |
| 2887 | Tight: eyebrow + single content row. |
| 2888 | ============================================================ */ |
| 2889 | |
| 2890 | .hero-cta { |
| 2891 | display: grid; |
| 2892 | grid-template-columns: 1fr 1fr; |
| 2893 | gap: 10px; |
| 2894 | max-width: 560px; |
| 2895 | margin: 6px auto 0; |
| 2896 | text-align: left; |
| 2897 | } |
| 2898 | .hero-cta__card { |
| 2899 | display: flex; |
| 2900 | flex-direction: column; |
| 2901 | justify-content: space-between; |
| 2902 | gap: 4px; |
| 2903 | padding: 10px 14px; |
| 2904 | min-width: 0; |
| 2905 | border: 1px solid var(--alc-hairline); |
| 2906 | border-radius: 10px; |
| 2907 | text-decoration: none; |
| 2908 | color: inherit; |
| 2909 | cursor: pointer; |
| 2910 | font-family: var(--alc-font-sans); |
| 2911 | text-align: left; |
| 2912 | background: var(--alc-bg-sunk); |
| 2913 | /* The CTA cards sit directly on the hero mandala, and their tint |
| 2914 | fills are translucent so the pattern bleeds through. Blur what |
| 2915 | sits behind so the card text stays readable — same approach as |
| 2916 | the marketing header. */ |
| 2917 | backdrop-filter: saturate(140%) blur(8px); |
| 2918 | -webkit-backdrop-filter: saturate(140%) blur(8px); |
| 2919 | transition: |
| 2920 | border-color 140ms ease, |
| 2921 | transform 140ms ease; |
| 2922 | } |
| 2923 | .hero-cta__card:hover { |
| 2924 | transform: translateY(-1px); |
| 2925 | } |
| 2926 | /* The card heading is the primary line; the content under it is |
| 2927 | supporting detail. */ |
| 2928 | .hero-cta__eyebrow { |
| 2929 | display: flex; |
| 2930 | align-items: center; |
| 2931 | justify-content: space-between; |
| 2932 | gap: 8px; |
| 2933 | font-size: 13.5px; |
| 2934 | font-weight: 700; |
| 2935 | letter-spacing: 0.07em; |
| 2936 | text-transform: uppercase; |
| 2937 | color: var(--alc-fg-1); |
| 2938 | } |
| 2939 | .hero-cta__icon { |
| 2940 | display: inline-flex; |
| 2941 | align-items: center; |
| 2942 | color: var(--alc-fg-2); |
| 2943 | } |
| 2944 | .hero-cta__title { |
| 2945 | display: inline-flex; |
| 2946 | align-items: center; |
| 2947 | gap: 6px; |
| 2948 | font-size: 13px; |
| 2949 | font-weight: 500; |
| 2950 | color: var(--alc-fg-3); |
| 2951 | } |
| 2952 | .hero-cta__card--human { |
| 2953 | background: var(--alc-accent-soft); |
| 2954 | border-color: var(--alc-accent); |
| 2955 | } |
| 2956 | .hero-cta__card--human:hover { |
| 2957 | border-color: var(--alc-accent-deep); |
| 2958 | } |
| 2959 | .hero-cta__card--agent { |
| 2960 | background: var(--alc-terracotta-soft); |
| 2961 | border-color: var(--alc-terracotta); |
| 2962 | } |
| 2963 | .hero-cta__card--agent:hover { |
| 2964 | border-color: var(--alc-terracotta-deep); |
| 2965 | } |
| 2966 | .hero-cta__prompt-code { |
| 2967 | display: block; |
| 2968 | min-width: 0; |
| 2969 | max-width: 100%; |
| 2970 | font-family: var(--alc-font-mono); |
| 2971 | font-size: 11.5px; |
| 2972 | line-height: 1.4; |
| 2973 | color: var(--alc-fg-2); |
| 2974 | background: transparent; |
| 2975 | border: 0; |
| 2976 | padding: 0; |
| 2977 | white-space: nowrap; |
| 2978 | overflow: hidden; |
| 2979 | text-overflow: ellipsis; |
| 2980 | } |
| 2981 | |
| 2982 | .hero-cta--simple { |
| 2983 | display: none; |
| 2984 | } |
| 2985 | |
| 2986 | @media (max-width: 640px) { |
| 2987 | .hero-cta--cards { |
| 2988 | display: none; |
| 2989 | } |
| 2990 | .hero-cta--simple { |
| 2991 | display: flex; |
| 2992 | flex-direction: column; |
| 2993 | align-items: center; |
| 2994 | gap: 12px; |
| 2995 | margin-top: 6px; |
| 2996 | } |
| 2997 | } |
| 2998 | |
| 2999 | .hero-cta__buttons { |
| 3000 | display: inline-flex; |
| 3001 | gap: 10px; |
| 3002 | flex-wrap: wrap; |
| 3003 | justify-content: center; |
| 3004 | } |
| 3005 | .hero-cta__line { |
| 3006 | display: inline-flex; |
| 3007 | align-items: center; |
| 3008 | gap: 10px; |
| 3009 | font-size: 13px; |
| 3010 | color: var(--alc-fg-3); |
| 3011 | } |
| 3012 | .hero-cta__chip { |
| 3013 | display: inline-flex; |
| 3014 | align-items: center; |
| 3015 | gap: 6px; |
| 3016 | padding: 5px 10px; |
| 3017 | background: var(--alc-bg-sunk); |
| 3018 | border: 1px solid var(--alc-hairline); |
| 3019 | border-radius: 6px; |
| 3020 | font-family: var(--alc-font-mono); |
| 3021 | font-size: 12px; |
| 3022 | color: var(--alc-fg-1); |
| 3023 | cursor: pointer; |
| 3024 | transition: |
| 3025 | color 120ms ease, |
| 3026 | border-color 120ms ease; |
| 3027 | } |
| 3028 | .hero-cta__chip:hover { |
| 3029 | color: var(--alc-accent-deep); |
| 3030 | border-color: var(--alc-accent); |
| 3031 | } |
| 3032 | |
| 3033 | /* ── Landing: "Pick your cloud" cards + integrations chip strip ── */ |
| 3034 | .alc-cloud-cards { |
| 3035 | display: grid; |
| 3036 | grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 3037 | gap: 14px; |
| 3038 | max-width: 640px; |
| 3039 | margin: 0 auto; |
| 3040 | } |
| 3041 | @media (max-width: 560px) { |
| 3042 | .alc-cloud-cards { |
| 3043 | grid-template-columns: 1fr; |
| 3044 | } |
| 3045 | } |
| 3046 | .alc-cloud-card { |
| 3047 | display: flex; |
| 3048 | flex-direction: column; |
| 3049 | gap: 6px; |
| 3050 | padding: 18px 20px; |
| 3051 | background: var(--alc-bg-elev-1); |
| 3052 | border: 1px solid var(--alc-hairline); |
| 3053 | border-radius: 14px; |
| 3054 | text-decoration: none; |
| 3055 | color: inherit; |
| 3056 | transition: |
| 3057 | border-color 200ms ease, |
| 3058 | transform 200ms ease; |
| 3059 | } |
| 3060 | .alc-cloud-card:hover { |
| 3061 | border-color: var(--alc-accent-40); |
| 3062 | transform: translateY(-2px); |
| 3063 | } |
| 3064 | .alc-cloud-card__title { |
| 3065 | display: inline-flex; |
| 3066 | align-items: center; |
| 3067 | gap: 10px; |
| 3068 | font-size: 17px; |
| 3069 | font-weight: 600; |
| 3070 | color: var(--alc-fg-1); |
| 3071 | } |
| 3072 | .alc-cloud-card__title .alc-provider-mark { |
| 3073 | flex-shrink: 0; |
| 3074 | opacity: 0.9; |
| 3075 | } |
| 3076 | .alc-cloud-card__body { |
| 3077 | font-size: 13.5px; |
| 3078 | line-height: 1.5; |
| 3079 | color: var(--alc-fg-2); |
| 3080 | } |
| 3081 | .alc-cloud-card__cta { |
| 3082 | margin-top: 4px; |
| 3083 | font-size: 13.5px; |
| 3084 | color: var(--alc-accent-deep); |
| 3085 | } |
| 3086 | .alc-cloud-chips { |
| 3087 | display: flex; |
| 3088 | align-items: center; |
| 3089 | justify-content: center; |
| 3090 | flex-wrap: wrap; |
| 3091 | gap: 8px; |
| 3092 | margin-top: 18px; |
| 3093 | } |
| 3094 | .alc-cloud-chips__label { |
| 3095 | font-size: 13px; |
| 3096 | color: var(--alc-fg-4); |
| 3097 | } |
| 3098 | .alc-cloud-chip { |
| 3099 | font-size: 13px; |
| 3100 | color: var(--alc-fg-2); |
| 3101 | text-decoration: none; |
| 3102 | border: 1px solid var(--alc-hairline-2); |
| 3103 | border-radius: 999px; |
| 3104 | padding: 3px 12px; |
| 3105 | transition: |
| 3106 | color 200ms ease, |
| 3107 | border-color 200ms ease; |
| 3108 | } |
| 3109 | .alc-cloud-chip:hover { |
| 3110 | color: var(--alc-accent-deep); |
| 3111 | border-color: var(--alc-accent-40); |
| 3112 | } |