Files
site/components/pages/Home.css
zeekay 697deed24d Home: no section index at the right edge
The owner asked for it gone: it stood over the open-source band's cards.
The journey's pin observer only existed to hide it, so it goes too.

Claude-Session: https://claude.ai/code/session_015XYKLix9PSyn6Jw2HWKprk
2026-11-09 07:17:02 -08:00

54 lines
3.5 KiB
CSS

@import '../home/journey/journey.css'; /* the products journey (components/home/Platform.jsx) */
/* Pricing on the home page: hanzo.ai's plan cards at full size, each with its mark and a mark for every line */
.x-pricing .x-plans { align-items: stretch; }
@media (min-width: 901px) {
.x-pricing .x-plans.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.x-pricing .x-plans.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
.x-pricing .x-price b.long { font-size: 26px; line-height: 1.15; white-space: normal; text-wrap: balance; }
.x-pricing .x-row-links { justify-content: center; }
.x-plan-h { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; min-height: 44px; }
.x-plan-h h3 { display: flex; align-items: center; gap: 10px; }
.x-plan-h h3 svg { flex: none; }
.x-pricing .x-plan-l summary { margin: 0 0 10px; font-size: 13.5px; font-weight: 500; list-style: none; pointer-events: none; }
.x-pricing .x-plan-l summary::-webkit-details-marker { display: none; }
.x-pricing .x-plan-l li { display: flex; gap: 10px; padding-left: 0; }
.x-pricing .x-plan-l li::before { content: none; }
.x-pricing .x-plan-l li svg { flex: none; margin-top: 2px; color: var(--ink); }
@media (max-width: 900px) {
.x-pricing .x-plan[data-free] { order: 1; }
.x-pricing .x-plan-l summary { position: relative; margin: 0; padding-right: 24px; cursor: pointer; pointer-events: auto; }
.x-pricing .x-plan-l summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); rotate: 45deg; transition: rotate .3s var(--ease); }
.x-pricing .x-plan-l[open] summary { margin-bottom: 10px; }
.x-pricing .x-plan-l[open] summary::after { rotate: -135deg; margin-top: -2px; }
}
@media (hover: hover) {
.x-auth-b.solid:hover { background: light-dark(#262626, var(--primary-hover)); border-color: light-dark(#262626, var(--primary-hover)); }
}
html:not(.js) .xh-cmd:empty::after { content: attr(data-cmd); }
html:not(.js) .x-hero [style*='opacity'], html:not(.js) .x-hero .x-line-in { opacity: 1 !important; transform: none !important; }
/* Agents: the two panels may not grow wider than the phone (the command rows were cut at the right edge) */
.x-agents .x-panels > *, .x-agents .x-panel { min-width: 0; }
/* Phones: every tap target 44px tall; the frontier's own phone drawing reads at 12px */
@media (max-width: 599px) {
.x-pareto .x-plot .tick { font-size: 25px; }
.x-pareto .x-plot-zone { y: 40px; }
.x-pareto .x-plot .pt text { font-size: 26px; }
.x-pareto .x-plot .pt.enso:not(.best):not(.hot) text { opacity: 0; }
.x-plot-src a, .x-row-links a, .x-race-end a, .x-sec .x-head + * a.x-arrow { display: inline-flex; align-items: center; min-height: 44px; }
}
/* Agents: the accelerated agent rotates as on hanzo.ai; every line sits in one cell, the current one shown */
.xa-acc { display: grid; }
.xa-acc > span { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.xa-acc > span.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .xa-acc > span { transition: none; } }
/* dark: GitHub's mark is its brand black (#181717), which vanishes on the dark tile; GitHub's own rule for a dark ground
is the mark in white, so in dark it takes Hanzo's foreground like the other monochrome marks in the dock */
html:not(.light) .x-agents .x-ico svg[color='#181717'] { color: var(--foreground); }