/* Senju Term — landing page
   デスクトップアプリと同じダークティールのパレットを踏襲。
   ビルドステップなし(素の HTML/CSS)。 */

:root {
  --bg: #0d1117;
  --bg-raised: #131922;
  --bg-panel: #161b22;
  --border: #262d38;
  --text: #d7dde5;
  --text-dim: #8b95a3;
  --accent: #00e5be;
  --accent-dim: #0d8f79;
  --accent-ink: #04110e;
  --violet: #8957e5;
  --blue: #79c0ff;
  --danger: #e5534b;

  --wrap: 1080px;
  --radius: 12px;
  --font: system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", Meiryo, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono",
    Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 17, 23, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  box-shadow: 0 0 12px rgba(0, 229, 190, 0.4);
}
.brand-name {
  letter-spacing: 0.02em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  color: var(--text-dim);
  font-size: 0.95rem;
}
.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}
.nav-cta {
  padding: 7px 14px;
  border: 1px solid var(--accent-dim);
  border-radius: 8px;
  color: var(--accent) !important;
}
.nav-cta:hover {
  background: rgba(0, 229, 190, 0.1);
}

/* Hero */
.hero {
  padding: 72px 0 40px;
  background: radial-gradient(
      900px 380px at 70% -10%,
      rgba(0, 229, 190, 0.12),
      transparent 60%
    ),
    radial-gradient(700px 300px at 0% 0%, rgba(137, 87, 229, 0.1), transparent 55%);
}
.eyebrow {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.accent {
  color: var(--accent);
}
.hero-lede {
  max-width: 620px;
  color: var(--text-dim);
  font-size: 1.08rem;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.06s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: #23f0cd;
}
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent-dim);
}

/* Real app screenshots (generated by scripts/lp_shots.mjs), framed like a
   floating window: border + rounded corners + drop shadow. The image itself
   already contains the app's own titlebar/chrome, so no fake dots/header
   here — unlike the old hand-drawn mock this replaced. */
.shot-frame {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.shot-hero {
  max-width: 900px;
}

/* Sections */
.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-lede {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 0 24px;
}

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s ease, transform 0.06s ease;
}
.card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}
.card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}
.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.96rem;
}

/* Two-column sections */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Inline code / kbd */
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(137, 87, 229, 0.12);
  color: var(--violet);
  padding: 1px 6px;
  border-radius: 5px;
}
kbd {
  font-family: var(--mono);
  font-size: 0.8em;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--text);
}

/* CTA */
.section-cta {
  text-align: center;
  background: radial-gradient(
    800px 300px at 50% 0%,
    rgba(0, 229, 190, 0.1),
    transparent 60%
  );
}
.cta-inner .section-lede {
  margin-left: auto;
  margin-right: auto;
}
.cta-inner .hero-actions {
  justify-content: center;
}
.platforms {
  margin-top: 22px;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-dim);
}
.footer-dim {
  font-size: 0.88rem;
}
.footer-inner a {
  margin-left: auto;
}

/* Responsive */
@media (max-width: 760px) {
  .site-nav {
    gap: 14px;
  }
  .site-nav a:not(.nav-cta) {
    display: none;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-inner a {
    margin-left: 0;
  }
}
