:root {
  --bg: #0b0d12;
  --text: #e6e9ef;
  --muted: #9aa6b2;
  --card: #12151b;
  --border: #242a33;
  --accent: linear-gradient(135deg, #ffd479 0%, #ffb800 40%, #ff8a00 100%);
  --accent-solid: #ffb800;
}
html[data-theme="light"] {
  --bg: #f7f8fb;
  --text: #101317;
  --muted: #4b5563;
  --card: #ffffff;
  --border: #e5e7eb;
}
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(8px);
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.brand-text {
  font-weight: 600;
  letter-spacing: 0.2px;
}
.nav-links {
  display: none;
  gap: 20px;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--text);
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
}
.icon-btn:hover {
  transform: translateY(-1px);
}
.select {
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
}
.hero {
  padding: 96px 24px 48px;
  text-align: center;
}
.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  margin: 0;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 18px auto 24px;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 2.5vw, 18px);
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.btn.primary {
  background: var(--accent);
  color: #1a1a1a;
  border: none;
}
.section {
  padding: 56px 0;
}
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 600ms ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
.section-head h2 {
  margin: 0;
  font-size: 28px;
}
.section-head .muted {
  margin-top: 8px;
}
.muted { color: var(--muted); }
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 860px) {
  .content-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}
.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 16px;
  padding: 16px 18px;
}
.card-title {
  font-weight: 600;
  margin-bottom: 10px;
}
.card h3 {
  margin: 0;
  color: var(--text);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service h3 {
  color: var(--text);
  margin: 0;
  min-height: 1.5em;
  line-height: 1.3;
  display: block;
  font-weight: 600;
  font-size: 1.1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}
.service {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-icon {
  display: flex;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in oklab, var(--accent-solid) 26%, var(--card));
  color: #1a1a1a;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.foot-meta { color: var(--muted); }
a:hover { opacity: 0.9; }
button { cursor: pointer; }

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.logo svg {
  animation: spin-slow 60s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .logo svg { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
