/* ==========================================================================
   MAGU BUSINESS — css/home-c.css
   The front page's finish: a slow aurora behind the hero, a soft-glow search space, spotlight cards,
   a glowing pass panel. Layered over home-b.css. Look inspired by the open-source Uiverse galaxy (MIT),
   redrawn here in Magu's own indigo so nothing is pasted in.
   ========================================================================== */

/* ---------- aurora ---------- */
.hc-aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hc-aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.hc-aurora i:nth-child(1) { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; left: -8%; top: -22%; background: radial-gradient(circle, #ffae5c, transparent 68%); animation: hc-drift 18s ease-in-out infinite alternate; }
.hc-aurora i:nth-child(2) { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; right: -6%; top: 6%; background: radial-gradient(circle, #ffcc99, transparent 68%); animation: hc-drift 22s ease-in-out -6s infinite alternate-reverse; }
.hc-aurora i:nth-child(3) { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; left: 34%; bottom: -30%; background: radial-gradient(circle, #6f7be0, transparent 68%); opacity: 0.4; animation: hc-drift 26s ease-in-out -11s infinite alternate; }
@keyframes hc-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(7vw, 5vh, 0) scale(1.18); } }
.hb-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: -1; background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; }
.hb-field { opacity: 0.7; }
.hb-title { text-wrap: balance; }
.hb-rot { background: linear-gradient(90deg, #ff7a00, #6a5bd6 55%, #ff7a00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hb-rot-word { color: transparent; background: inherit; -webkit-background-clip: text; background-clip: text; }

/* ---------- the glow search space ---------- */
.hc-search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 640px; margin-top: clamp(24px, 4vh, 36px); padding: 7px; border-radius: 999px; background: var(--paper); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 12px 34px rgba(255, 122, 0, 0.16); transition: box-shadow 260ms ease, transform 260ms ease; }
.hc-search-glow { position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: conic-gradient(from var(--hc-a, 0deg), #ff7a00, #ffae5c, #ffcc99, #6f7be0, #ff7a00); opacity: 0.55; filter: blur(7px); transition: opacity 260ms ease; animation: hc-spin 6s linear infinite; }
@property --hc-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes hc-spin { to { --hc-a: 360deg; } }
.hc-search:focus-within { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(255, 122, 0, 0.26); }
.hc-search:focus-within .hc-search-glow { opacity: 1; }
.hc-search-box { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; padding: 0 8px 0 18px; color: var(--accent); cursor: text; }
.hc-search-box svg { flex: 0 0 auto; }
.hc-search input { flex: 1 1 auto; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.hc-search input::placeholder { color: #8a8a95; }
.hc-search-go { flex: 0 0 auto; height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-size: 15.5px; cursor: pointer; transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 200ms ease, background 160ms ease; }
.hc-search-go:hover, .hc-search-go:focus-visible { background: #262f7c; transform: scale(1.04); box-shadow: 0 8px 20px rgba(255, 122, 0, 0.32); }
.hc-search-go:active { transform: scale(0.97); }
.hc-search-go:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hc-exts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.hc-exts span { padding: 5px 12px; border: 1px solid rgba(255, 122, 0, 0.2); border-radius: 999px; font-size: 13px; color: var(--accent); background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(6px); }
.hb-cta-row { margin-top: clamp(24px, 4vh, 34px); }
.hb-cta { box-shadow: 0 6px 18px rgba(255, 122, 0, 0.22); }

/* ---------- the pass panel ---------- */
.hb-offer { position: relative; isolation: isolate; overflow: hidden; }
.hb-offer::before, .hb-offer::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hb-offer::before { width: 420px; height: 420px; right: -80px; top: -140px; background: rgba(255, 150, 40, 0.45); animation: hc-drift 16s ease-in-out infinite alternate; }
.hb-offer::after { width: 320px; height: 320px; left: -60px; bottom: -160px; background: rgba(196, 184, 255, 0.28); animation: hc-drift 20s ease-in-out -5s infinite alternate-reverse; }
.hb-offer-price { background: linear-gradient(180deg, #fff, #cfd3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hb-cta--light { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); }

/* ---------- spotlight cards ---------- */
.hc-bento-inner { max-width: var(--hb-wide); margin: 0 auto; padding: clamp(44px, 9vh, 96px) var(--pad) clamp(20px, 4vh, 40px); }
.hc-bento-title { margin: 0 0 clamp(22px, 4vh, 38px); font-size: clamp(28px, 4.6vw, 52px); line-height: 1.05; font-weight: 500; letter-spacing: -0.035em; text-wrap: balance; }
.hc-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(12px, 1.8vw, 18px); }
.hc-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: 20px; background: var(--paper); overflow: hidden; isolation: isolate; color: var(--ink); transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, border-color 200ms ease; }
.hc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(111, 123, 224, 0.22), transparent 70%); opacity: 0; transition: opacity 240ms ease; }
.hc-card:hover, .hc-card:focus-visible { transform: translateY(-4px); border-color: rgba(255, 122, 0, 0.45); box-shadow: 0 22px 46px rgba(28, 28, 31, 0.14); color: var(--ink); }
.hc-card:hover::before, .hc-card:focus-visible::before { opacity: 1; }
.hc-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.hc-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #ff7a00, #6a5bd6); color: #fff; box-shadow: 0 8px 18px rgba(255, 122, 0, 0.3); transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.hc-card:hover .hc-ic { transform: rotate(-8deg) scale(1.08); }
.hc-card h3 { margin: 22px 0 8px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; letter-spacing: -0.025em; }
.hc-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.hc-go { margin-top: auto; padding-top: 22px; font-size: 14px; color: var(--accent); }
.hc-go span { display: inline-block; transition: transform 240ms ease; }
.hc-card:hover .hc-go span { transform: translateX(6px); }

/* ---------- where would you start ---------- */
.hb-chips { gap: 10px; overflow: visible; padding: 0; border-radius: 0; }
.hb-chip { flex: 0 1 auto; margin: 0; border-radius: 999px; padding: 13px 24px; transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 200ms ease; }
.hb-chip:hover, .hb-chip:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(255, 122, 0, 0.22); }
.hb-answer { background: linear-gradient(135deg, rgba(255, 122, 0, 0.08), rgba(255, 150, 40, 0.14)); border: 1px solid rgba(255, 122, 0, 0.14); }

@media (max-width: 860px) {
  .hc-grid { grid-template-columns: 1fr; }
  .hc-card { padding: 18px; }
  .hc-card h3 { margin-top: 16px; }
}
@media (max-width: 560px) {
  .hc-search { flex-wrap: wrap; border-radius: 26px; padding: 8px; }
  .hc-search-box { flex: 1 1 100%; padding-left: 12px; }
  .hc-search-go { flex: 1 1 100%; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-aurora i, .hc-search-glow, .hb-offer::before, .hb-offer::after { animation: none; }
  .hc-card, .hc-ic, .hc-search, .hc-search-go, .hb-chip { transition: none; }
}


/* ---------- hero background: a video or image from /assets/hero/, or a pattern ---------- */
.hc-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hc-media video, .hc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-hero.has-media::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.55) 60%, rgba(255, 255, 255, 0.25)); }
.hb-hero.has-media .hc-aurora { opacity: 0.35; }
.hb-hero[data-pattern="none"] .hc-aurora, .hb-hero[data-pattern="grid"] .hc-aurora, .hb-hero[data-pattern="dots"] .hc-aurora { display: none; }
.hb-hero[data-pattern="grid"] .hc-media:empty { background: linear-gradient(rgba(255, 122, 0, 0.07) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(255, 122, 0, 0.07) 1px, transparent 1px) 0 0 / 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 30% 40%, #000, transparent 75%); }
.hb-hero[data-pattern="dots"] .hc-media:empty { background: radial-gradient(rgba(255, 122, 0, 0.22) 1.4px, transparent 1.6px) 0 0 / 24px 24px; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 30% 40%, #000, transparent 75%); }
.hb-hero-inner { min-height: min(78vh, 760px); display: flex; flex-direction: column; justify-content: center; }
.hb-title { font-size: clamp(44px, 7.4vw, 120px); }
.hc-search { max-width: 720px; }

/* ---------- centred hero with one big prompt box ---------- */
.hc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hc-center { align-items: center; text-align: center; }
.hc-center .hb-lede { margin-left: auto; margin-right: auto; }
.hc-center .hb-rot { text-align: center; }
.hc-center .hb-rot-word { left: 50%; transform: translate(-50%, 105%); }
.hc-center .hb-rot-word.is-in { transform: translate(-50%, 0); }
.hc-center .hb-rot-word.is-out { transform: translate(-50%, -105%); }
.hc-prompt { position: relative; isolation: isolate; width: min(760px, 100%); margin-top: clamp(26px, 4vh, 40px); padding: 16px 16px 12px 22px; border-radius: 26px; background: rgba(255, 255, 255, 0.92); text-align: left; box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.14), 0 18px 50px rgba(255, 122, 0, 0.16); transition: box-shadow 260ms ease; }
.hc-prompt .hc-search-glow { z-index: -1; inset: -3px; opacity: 0.35; }
.hc-prompt:focus-within { box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.4), 0 22px 60px rgba(255, 122, 0, 0.26); }
.hc-prompt:focus-within .hc-search-glow { opacity: 0.9; }
.hc-prompt-box { display: block; }
.hc-prompt textarea { width: 100%; min-height: 56px; resize: none; border: 0; outline: 0; background: transparent; font: inherit; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; color: var(--ink); }
.hc-prompt textarea::placeholder { color: #8a8a95; }
.hc-prompt-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.hc-prompt-mode { padding: 5px 12px; border-radius: 999px; background: rgba(255, 122, 0, 0.08); color: var(--accent); font-size: 13px; }
.hc-prompt-go { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 200ms ease; }
.hc-prompt-go:hover, .hc-prompt-go:focus-visible { transform: scale(1.08); box-shadow: 0 8px 20px rgba(255, 122, 0, 0.34); }
.hc-prompt-go:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hc-modes { display: flex; justify-content: center; gap: clamp(14px, 3vw, 34px); margin-top: 22px; }
.hc-mode { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; transition: color 160ms ease; }
.hc-mode i { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.85); color: var(--ink); transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.hc-mode:hover i, .hc-mode:focus-visible i { transform: translateY(-3px); border-color: var(--accent); }
.hc-mode.is-on { color: var(--accent); }
.hc-mode.is-on i { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3); }
.hc-mode:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.hc-try { margin: 22px 0 10px; font-size: 13px; color: var(--ink-soft); }
.hc-examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hc-ex { padding: 9px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.85); font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; transition: border-color 160ms ease, transform 180ms ease, background 160ms ease; }
.hc-ex:hover, .hc-ex:focus-visible { border-color: var(--accent); background: #fff; transform: translateY(-2px); }
.hb-hero.has-media::before { background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.55)); }
@media (max-width: 560px) { .hc-prompt { padding: 14px 12px 10px 16px; border-radius: 22px; } .hc-mode i { width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .hc-mode i, .hc-prompt-go, .hc-ex { transition: none; } }
.hc-prompt { background: transparent; }
.hc-prompt::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #fff; }
.hc-prompt .hc-search-glow { z-index: -2; }
.hb-hero-inner.hc-center { min-height: 0; padding-top: clamp(36px, 7vh, 80px); }

/* ---------- feature rows: words on one side, a drawn picture on the other (alternating) ---------- */
.hf { max-width: var(--hb-wide, 1080px); margin: 0 auto; padding: clamp(44px, 9vh, 100px) var(--pad) clamp(24px, 5vh, 56px); }
.hf-head { text-align: center; margin-bottom: clamp(36px, 7vh, 80px); }
.hf-title { margin: 0 auto; max-width: 900px; font-size: clamp(28px, 4.6vw, 58px); line-height: 1.05; font-weight: 500; letter-spacing: -0.035em; text-wrap: balance; }
.hf-row { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(28px, 6vw, 96px); padding: clamp(24px, 5vh, 56px) 0; }
.hf-row--flip .hf-copy { order: 2; }
.hf-kicker { margin: 0 0 14px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.hf-copy h3 { margin: 0; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.hf-copy > p { margin: 16px 0 0; max-width: 460px; font-size: 16.5px; line-height: 1.6; color: #4a4a4a; }
.hf-points { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.hf-points li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink); }
.hf-points li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0 3px, rgba(255, 122, 0, 0.14) 4px); }
.hf-link { display: inline-flex; gap: 8px; margin-top: 24px; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 122, 0, 0.4); font-size: 15px; color: var(--accent); text-transform: lowercase; transition: gap 200ms ease, border-color 200ms ease; }
.hf-link:hover, .hf-link:focus-visible { gap: 14px; border-color: var(--accent); color: var(--accent); }
.hf-art { position: relative; min-height: clamp(280px, 34vw, 400px); border-radius: 28px; overflow: hidden; background: linear-gradient(145deg, #e9ebfb, #f6f4ff 55%, #dfe3fb); box-shadow: inset 0 0 0 1px rgba(255, 122, 0, 0.1); }
.hf-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255, 122, 0, 0.16) 1.2px, transparent 1.4px) 0 0 / 22px 22px; -webkit-mask-image: linear-gradient(135deg, #000, transparent 70%); mask-image: linear-gradient(135deg, #000, transparent 70%); }

/* library: a stack of pages */
.hf-sheet { position: absolute; left: 50%; top: 50%; width: min(300px, 62%); aspect-ratio: 3 / 4; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgba(28, 28, 31, 0.18); transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1); }
.hf-sheet--3 { transform: translate(-50%, -50%) rotate(-9deg) translateX(-34px); background: #e4e4e4; }
.hf-sheet--2 { transform: translate(-50%, -50%) rotate(-3deg) translateX(-12px); background: #efefef; }
.hf-sheet--1 { transform: translate(-50%, -50%) rotate(4deg); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.hf-art--lib:hover .hf-sheet--3 { transform: translate(-50%, -50%) rotate(-14deg) translateX(-52px); }
.hf-art--lib:hover .hf-sheet--2 { transform: translate(-50%, -50%) rotate(-6deg) translateX(-22px); }
.hf-art--lib:hover .hf-sheet--1 { transform: translate(-50%, -50%) rotate(6deg) translateY(-6px); }
.hf-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(255, 122, 0, 0.1); color: var(--accent); font-size: 11.5px; }
.hf-sheet b { font-size: 19px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.hf-sheet i { display: block; height: 8px; border-radius: 4px; background: #f1f1f1; }
.hf-sheet i.s { width: 60%; }
.hf-sheet em { margin-top: auto; align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-style: normal; }
.hf-pill { position: absolute; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--accent); font-size: 13.5px; box-shadow: 0 8px 20px rgba(28, 28, 31, 0.14); animation: hb-bob 5s ease-in-out infinite; }
.hf-pill--a { left: 7%; top: 14%; } .hf-pill--b { right: 9%; top: 24%; animation-delay: -1.6s; } .hf-pill--c { right: 14%; bottom: 12%; animation-delay: -3.2s; }

/* domains: a little window */
.hf-window { position: absolute; left: 50%; top: 50%; width: min(420px, 82%); transform: translate(-50%, -50%) rotate(-2deg); padding: 14px 16px 18px; border-radius: 18px; background: #fff; box-shadow: 0 22px 50px rgba(28, 28, 31, 0.2); transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1); }
.hf-art--dom:hover .hf-window { transform: translate(-50%, -50%) rotate(0deg) scale(1.03); }
.hf-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.hf-bar span { width: 9px; height: 9px; border-radius: 50%; background: #dfe1f1; }
.hf-field { padding: 12px 16px; border-radius: 999px; background: #f3f4fc; box-shadow: inset 0 0 0 1px rgba(255, 122, 0, 0.18); font-size: 15px; color: var(--ink); }
.hf-res { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14.5px; }
.hf-res:first-of-type { border-color: rgba(255, 122, 0, 0.35); background: rgba(255, 122, 0, 0.05); }
.hf-res b { font-weight: 500; }
.hf-res em { font-size: 12px; font-style: normal; color: var(--ink-soft); }

/* coach: a chat */
.hf-art--chat { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(20px, 4vw, 44px); }
.hf-msg { position: relative; max-width: 78%; padding: 13px 17px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; box-shadow: 0 8px 20px rgba(28, 28, 31, 0.1); }
.hf-msg--you { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
.hf-msg--coach { align-self: flex-start; background: #fff; border-bottom-left-radius: 5px; }
.hf-typing { align-self: flex-start; display: flex; gap: 5px; padding: 13px 16px; border-radius: 18px; border-bottom-left-radius: 5px; background: #fff; box-shadow: 0 8px 20px rgba(28, 28, 31, 0.1); }
.hf-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.4; animation: hf-dot 1.2s ease-in-out infinite; }
.hf-typing span:nth-child(2) { animation-delay: 0.15s; } .hf-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes hf-dot { 0%, 100% { transform: translateY(0); opacity: 0.35; } 50% { transform: translateY(-4px); opacity: 1; } }

/* three small cards */
.hf-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 18px); margin-top: clamp(20px, 4vh, 40px); }
.hf-mini { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); color: var(--ink); transition: transform 240ms ease, border-color 200ms ease, box-shadow 240ms ease; }
.hf-mini:hover, .hf-mini:focus-visible { transform: translateY(-3px); border-color: rgba(255, 122, 0, 0.45); box-shadow: 0 18px 38px rgba(28, 28, 31, 0.12); color: var(--ink); }
.hf-mini b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.hf-mini span { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }

@media (max-width: 860px) {
  .hf-row { grid-template-columns: 1fr; gap: 24px; }
  .hf-row--flip .hf-copy { order: 0; }
  .hf-trio { grid-template-columns: 1fr; }
  .hf-art { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .hf-pill, .hf-typing span { animation: none; } .hf-sheet, .hf-window, .hf-mini { transition: none; } }

/* breathing room between the mode icons and the example chips */
.hc-examples { margin-top: 26px; }
