/* Lost10Tiles site styles */
:root {
  --bg: #0b1020;
  --bg-soft: #0f1630;
  --text: #e7ecff;
  --muted: #c9d0f3;
  --brand: #0b5bd3;
  --brand-2: #7aa7ff;
  --card: #141b33;
  --border: #223056;
  --ok: #29c38f;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8fafc;
    --bg-soft: #eef2ff;
    --text: #0b1020;
    --muted: #4b5563;
    --brand: #1d4ed8;
    --brand-2: #93c5fd;
    --card: #ffffff;
    --border: #e5e7eb;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol", sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(12,93,211,0.35), transparent 60%) ,
              radial-gradient(600px 600px at 90% 0%, rgba(122,167,255,0.25), transparent 60%) ,
              var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 28, 0.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .2px; }
.logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 16px; }
.brand-text { font-size: 18px; }
.site-nav a { color: var(--text); text-decoration: none; margin-left: 18px; opacity: .85; }
.site-nav a:hover { opacity: 1; }
/* back-to-home in product page header */
.site-nav .back-home {
  font-weight: 600;
}
.site-nav .back-home::before {
  content: "← ";
}
/* hero */
.hero { padding: 64px 0 32px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 0 0 8px; letter-spacing: .3px; }
.lead { font-size: clamp(15px, 2.2vw, 18px); opacity: .95; margin-bottom: 18px; }
.mini { font-size: 12px; opacity: .7; }
.cta { display: flex; gap: 12px; margin: 14px 0 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 160px; height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--card); color: var(--text); text-decoration: none; font-weight: 600;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 8px 24px rgba(0,0,0,.18);
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 14px 34px rgba(0,0,0,.25); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff; }
.btn-ghost { background: transparent; }

/* placeholder screenshot */
.screenshot.ph {
  border-radius: 16px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.08)) , var(--card);
  padding: 18px; width: 100%; aspect-ratio: 16/10; display: grid; align-content: center; gap: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.tile-row { display: flex; gap: 10px; }
.tile {
  display: grid; place-items: center; min-width: 48px; height: 48px; padding: 6px 10px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 10px; font-weight: 700;
}
.tile.lg { min-width: 106px; height: 106px; font-size: 22px; }

.caption { font-size: 12px; opacity: .6; margin-top: 8px; }

/* sections */
.section { padding: 48px 0; }
.section.accent { background: linear-gradient(180deg, rgba(11,91,211,.08), transparent); }
.section h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 18px; }

/* features */
.feature-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feature-grid li {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.feature-grid .fi { font-size: 22px; }
.feature-grid h3 { margin: 10px 0 6px; font-size: 16px; }
.feature-grid p { margin: 0; color: var(--muted); }

/* download */
.download-card {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 10px;
}
.dl-col { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.hash { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; color: var(--muted); }

.notes summary { cursor: pointer; margin-top: 14px; }
.notes ol { margin: 8px 0 0 1.1rem; color: var(--muted); }

/* usage */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-right: 10px; }
.steps li { display: flex; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }

/* faq */
details { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
details > summary { font-weight: 600; cursor: pointer; }
details > p { margin: 8px 0 0; color: var(--muted); }

/* footer */
.site-footer { padding: 28px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.toplink { color: var(--text); text-decoration: none; opacity: .7; }
.toplink:hover { opacity: 1; }

code { background: rgba(255,255,255,.08); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; }

/* responsive */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .btn { min-width: 0; width: 100%; }
  .cta { flex-direction: column; }
}
