/* Teranite site kit, look "market" (2026-11-30): the front page's cover is the company, not a product: a violet
   brand card with the name, one line and the stone, which glows slowly (and leans toward the pointer: stone.js).
   Light and dark each have their own brand card colours (tokens --brand-*). All motion stops with less motion. */
.hero{padding-top:24px}
.hero-card{position:relative;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:center;gap:24px 40px;
min-height:340px;padding:44px 52px;border-radius:var(--radius-big);background-color:var(--brand-bg);color:var(--brand-text);overflow:hidden;
box-shadow:inset 0 0 0 1px var(--brand-line)}
/* the facets: faint lines cut across the card, and a glow that sits behind the stone (decoration only, no text on it) */
.hero-card::before{content:"";position:absolute;inset:0;pointer-events:none;
background:linear-gradient(115deg,transparent 0 54%,var(--brand-line) 54% 54.2%,transparent 54.2% 71%,var(--brand-line) 71% 71.2%,transparent 71.2%),
linear-gradient(62deg,transparent 0 80%,var(--brand-line) 80% 80.2%,transparent 80.2%)}
.hero-text{position:relative;z-index:1}
.hero .label{color:var(--accent)}
.hero h1{font-size:clamp(2rem,4.2vw,3.1rem);margin-bottom:12px;color:var(--brand-text)}
.hero .lead{color:var(--brand-lead);margin-bottom:22px;font-size:clamp(1rem,1.4vw,1.15rem)}
.hero .button:not(.primary){background-color:transparent;color:var(--brand-text);box-shadow:inset 0 0 0 1px var(--brand-line),inset 0 0 0 1px var(--btn-line)}
.button.primary{box-shadow:var(--pri-glow)}
.points{display:flex;flex-wrap:wrap;gap:6px 20px;margin:22px 0 0;padding:0;list-style:none;font-size:var(--small);color:var(--brand-lead)}
.points li{display:flex;align-items:center;gap:8px}
.points li::before{content:"";width:6px;height:6px;border-radius:2px;transform:rotate(45deg);background-color:var(--accent)}
.hero .stage{z-index:1;min-height:260px}
.halo{position:absolute;left:50%;top:50%;width:340px;height:340px;margin:-170px 0 0 -170px;border-radius:50%;
background:radial-gradient(closest-side,var(--brand-glow),transparent 72%);pointer-events:none}
.hero .stone-box img.stone{width:min(200px,34vw)}
@media (prefers-reduced-motion:no-preference){
.halo{animation:breathe 7s ease-in-out infinite}
.hero .stone-box{animation:float 9s ease-in-out infinite}
.hero-text>*{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
.hero-text>:nth-child(2){animation-delay:.06s}.hero-text>:nth-child(3){animation-delay:.12s}
.hero-text>:nth-child(4){animation-delay:.18s}.hero-text>:nth-child(5){animation-delay:.24s}}
@keyframes breathe{0%,100%{opacity:.65;transform:scale(.92)}50%{opacity:1;transform:scale(1.08)}}
@keyframes float{0%,100%{transform:translateY(0) rotate(-1.5deg)}50%{transform:translateY(-8px) rotate(1.5deg)}}
@media (max-width:820px){
.hero{padding-top:16px}
.hero-card{grid-template-columns:1fr;padding:28px 22px;min-height:0}
.hero .stage{order:-1;min-height:170px}
.halo{width:220px;height:220px;margin:-110px 0 0 -110px}
.hero .stone-box img.stone{width:120px}}

/* the sun/moon button: hidden until mode.js runs (without scripts the device's setting simply holds) */
.mode{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;
border-radius:999px;background-color:transparent;color:var(--nav);cursor:pointer;box-shadow:inset 0 0 0 1px var(--btn-line)}
.mode[hidden]{display:none}
.mode svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.mode[data-now="dark"] .moon,.mode[data-now="light"] .sun{display:none}
