@import "./var.css"; :root { --main-max: 1200px; } main[data-page-content] { margin: 0 auto; max-width: var(--main-max); padding: 2rem 1.25rem; box-sizing: border-box; } .grid { display: block; } /* ── Hero ── */ .hero { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); border-radius: 1rem; padding: clamp(2rem, 4.5vw, 3.5rem); color: var(--text); min-height: clamp(22rem, 50vw, 30rem); } .hero-carousel-track { position: absolute; inset: 0; } .hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.02); transition: opacity 700ms ease, transform 1000ms ease; } .hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(15, 23, 42, 0.82) 18%, rgba(15, 23, 42, 0.35) 58%, rgba(15, 23, 42, 0.7) 100%), radial-gradient(circle at 72% 20%, rgba(56, 189, 248, 0.15), transparent 48%); } .hero-slide.is-active { opacity: 1; transform: scale(1); } .hero-inner { width: 100%; max-width: 52rem; position: relative; z-index: 2; } .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 0.6rem; } .hero-title { font-family: "Georgia", "Palatino Linotype", serif; font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1; margin: 0 0 0.25rem; color: var(--text); } .hero-subtitle { font-size: clamp(1rem, 2.2vw, 1.3rem); color: var(--accent-soft); margin: 0 0 1rem; font-weight: 600; } .lead { color: var(--text-secondary); max-width: 68ch; margin: 0 0 1.25rem; text-wrap: pretty; line-height: 1.7; } .hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; } .hero-controls { position: absolute; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.8vw, 1.75rem); z-index: 3; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.55rem; border-radius: 999px; backdrop-filter: blur(10px); background: rgba(30, 41, 59, 0.7); border: 1px solid var(--border); box-shadow: var(--shadow-sm); } .hero-control { width: 2.2rem; height: 2.2rem; border: 0; border-radius: 999px; display: grid; place-items: center; font-size: 1.32rem; color: var(--text-secondary); background: rgba(148, 163, 184, 0.15); cursor: pointer; transition: all 180ms ease; } .hero-control:hover { transform: translateY(-1px); background: var(--accent-bg); color: var(--accent); } .hero-dots { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0.15rem; } .hero-dot { width: 0.6rem; height: 0.6rem; border-radius: 999px; border: 0; background: rgba(148, 163, 184, 0.3); cursor: pointer; transition: all 180ms ease; } .hero-dot.is-active { background: var(--accent); transform: scale(1.18); } /* ── Feature Cards ── */ .features { margin-top: 1.5rem; display: flex; gap: 1rem; align-items: stretch; } .features .card { flex: 1 1 0; min-width: 0; min-height: 11rem; background: var(--surface); padding: 1.5rem; border-radius: 0.75rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; cursor: pointer; transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; } .features .card h2 { margin: 0; font-family: "Georgia", serif; font-size: clamp(1.25rem, 1.6vw, 1.6rem); line-height: 1.1; color: var(--text); transition: transform 220ms ease; } .features .card p { margin: 0; font-size: clamp(0.95rem, 1.05vw, 1.08rem); line-height: 1.6; color: var(--text-secondary); position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.35rem; padding: 0.85rem 1rem; background: var(--surface-raised); border-radius: 0.5rem; border: 1px solid var(--border-soft); opacity: 0; transform: translateY(0.5rem); transition: opacity 180ms ease, transform 220ms ease; pointer-events: none; } .features:not(:hover) .card:first-child, .features .card:first-child:hover, .features .card:first-child:focus { flex-grow: 2.6; justify-content: flex-start; } .features:not(:hover) .card:first-child p, .features .card:first-child:hover p, .features .card:first-child:focus p { opacity: 1; transform: translateY(0); } .features:hover .card:first-child:not(:hover):not(:focus) { flex-grow: 1; justify-content: center; } .features:hover .card:first-child:not(:hover):not(:focus) p { opacity: 0; transform: translateY(0.5rem); } .features .card:hover, .features .card:focus { flex-grow: 2.6; justify-content: flex-start; transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-soft); z-index: 2; } .features .card:hover p, .features .card:focus p { opacity: 1; transform: translateY(0); } .features .card:focus { outline: 2px solid var(--accent); outline-offset: 3px; } /* ── Environment Choices ── */ .env-choices { margin-top: 1.8rem; display: grid; gap: 1rem; padding: clamp(1.2rem, 2.4vw, 1.8rem); border-radius: 1rem; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); } .env-choices-header h2 { margin: 0 0 0.45rem; font-family: "Georgia", "Palatino Linotype", serif; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--text); } .env-choices-header p { margin: 0.5rem 0 1rem; color: var(--text-secondary); max-width: 78ch; line-height: 1.7; } .env-row { display: grid; grid-template-columns: minmax(170px, 0.9fr) minmax(0, 2.1fr); gap: clamp(0.85rem, 2vw, 1.35rem); align-items: stretch; } .env-row.is-reverse { grid-template-columns: minmax(0, 2.1fr) minmax(170px, 0.9fr); } .env-media, .env-text { margin: 0; border-radius: 0.8rem; border: 1px solid var(--border); overflow: hidden; background: var(--surface-raised); } .env-media { min-height: clamp(140px, 20vw, 190px); } .env-media img { width: 100%; height: 100%; display: block; object-fit: cover; } .env-text { padding: clamp(1rem, 2.4vw, 1.4rem); display: grid; align-content: center; gap: 0.55rem; } .env-text h3 { margin: 0; font-family: "Georgia", "Palatino Linotype", serif; font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--text); } .env-text p { margin: 0; color: var(--text-secondary); line-height: 1.65; } /* ── Downloads (inline styles) ── */ .downloads { margin-top: 1.5rem; } .downloads-header h1 { margin: 0 0 0.35rem; } .download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; } .download-card { display: flex; gap: 1rem; align-items: stretch; padding: 0.8rem; border-radius: 0.75rem; background: var(--surface); border: 1px solid var(--border); } .download-media { width: 220px; flex: 0 0 220px; overflow: hidden; border-radius: 0.5rem; } .download-media img { width: 100%; height: 100%; object-fit: cover; display: block; } .download-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.6rem; } .download-actions { display: flex; gap: 0.6rem; margin-top: auto; } @media (max-width: 880px) { .download-grid { grid-template-columns: 1fr; } .download-media { width: 140px; flex-basis: 140px; } } /* Versions toolbar */ .version-toolbar { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 0.8rem; } .version-current { color: var(--muted); } .versions-archive { margin-top: 0.8rem; padding: 0.8rem; border-radius: 0.6rem; background: var(--surface-raised); border: 1px solid var(--border-soft); } .versions-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; } .version-item { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0.6rem; border-radius: 0.45rem; } .version-meta { color: var(--muted); margin-left: 0.6rem; font-size: 0.92rem; } .version-actions { display: flex; gap: 0.5rem; }