
:root{
  --bg: #ffffff;
  --text: #101926;
  --muted: #5b6b85;
  --brand: #0d4ea6;
  --brand-2: #0f77ff;
  --accent: #009fb7;
  --card: #f6f8fc;
  --border: #e6ecf5;
}
@media (prefers-color-scheme: dark) {
  :root{
    --bg: #0b0f15;
    --text: #e7edf7;
    --muted: #a0b2ce;
    --card: #121a26;
    --border: #1e2a3c;
  }
}
* { box-sizing: border-box; }
html, body { margin:0; padding:0; background:var(--bg); color:var(--text); font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
  position: sticky; top:0; z-index:10;
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 22px; border-bottom:1px solid var(--border); background:rgba(255,255,255,.7); backdrop-filter:saturate(180%) blur(8px);
}
@media (prefers-color-scheme: dark) { .site-header { background: rgba(11,15,21,.6); } }
.site-header nav a { margin-left: 14px; font-weight: 600; }
.brand { font-size: 1.1rem; font-weight: 800; letter-spacing: .2px; color:var(--text); }
.brand .thin { font-weight:300; margin-left:2px; }
.logo-dot { width: 14px; height: 14px; display:inline-block; border-radius:50%; background: linear-gradient(135deg, var(--brand), var(--accent)); margin-right:8px; vertical-align:-2px; }
.content { max-width: 980px; margin: 0 auto; padding: 28px 18px 60px; }

.hero h1 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem); line-height:1.1; margin:0 0 8px; }
.kicker { color: var(--muted); font-weight: 600; letter-spacing:.4px; text-transform: uppercase; font-size:.85rem; }
.badges { display:flex; gap:12px; flex-wrap:wrap; margin-top: 12px; }
.card-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 18px; margin-top: 26px; }
.card { background: var(--card); padding: 18px; border:1px solid var(--border); border-radius:16px; }
.card h3 { margin-top:0 }
.app-meta { font-size:.9rem; color: var(--muted); }
.cta { display:inline-block; padding: 10px 14px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color:white; font-weight:700; }
.cta:hover { filter: brightness(1.05); text-decoration:none; }

/* hero start */
/* Make the hero a tidy two-column grid */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr min(25vw, 280px);  /* text | icon column */
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

/* The rotating badge sits in the right column, sized as requested */
.hero-badge {
  justify-self: end;
  width: min(25vw, 280px);   /* ≈ one-quarter width, capped */
  min-width: 96px;
  aspect-ratio: 1 / 1;       /* square */
  pointer-events: auto;
  z-index: 0;
}

/* Rotator box fills the badge square */
.hero-rotator { width: 100%; height: 100%; position: relative; }

.hero-rotator img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.25));
  opacity: 0.92;             /* drop to 0.4–0.5 if you want a watermark vibe */
}

/* Stack to a single column on small screens */
@media (max-width: 780px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-badge {
    justify-self: start;
    width: 36vw;             /* a bit smaller on phones */
  }
}



/* Optional gentle watermark vibe */
.hero-rotator .rot-item.is-active img {
  opacity: 0.92;
}

/* Pause motion if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-rotator .rot-item { transition: none !important; }
}

/* Rotator items */
.hero-rotator .rot-item {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-decoration: none;
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;              /* <— ignore clicks when hidden */
}
.hero-rotator .rot-item.is-active {
  opacity: 1;
  pointer-events: auto;              /* <— only the visible one is clickable */
}

/* hero end */


.section h2 { margin-top: 32px; }
.list { padding-left: 18px; }
.site-footer { border-top: 1px solid var(--border); padding: 22px; text-align:center; color: var(--muted); }
.notice { font-size:.9rem; color: var(--muted); }
img.responsive { max-width:100%; height:auto; border-radius: 12px; border:1px solid var(--border); }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:.88rem; background: var(--card); padding: 2px 6px; border-radius:6px; }

.coming-soon-wide {
  background: #1a2b47;
  color: #d9e7ff;
  padding: .75rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid rgba(255,255,255,0.08);
}
