/* keikaku.ai marketing — brand tokens mirror apps/web/src/styles.css (docs/09-brand.md) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700.woff2') format('woff2');
}

:root {
  --bg: #0d0b09;
  --surface: #1a1612;
  --border: #2a241e;
  --text: #ffffff;
  --muted: #8a847e;
  --metal: #6a6663;
  --accent: #ff8a00;
  --accent-hover: #ff9d2e;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
}

/* --- wordmark --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand .tld {
  color: var(--accent);
}
.brand.small {
  font-size: 0.95rem;
}

/* --- buttons --- */
.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg); /* dark label on bright orange — high contrast */
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg);
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--metal);
  color: var(--text);
}

/* --- nav --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links .btn-ghost {
  color: var(--text);
}

/* --- hero --- */
.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.hero-logo {
  width: 140px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 8px 28px rgba(255, 138, 0, 0.18));
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
}
.hero .accent {
  color: var(--accent);
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #d8d2cb;
  max-width: 640px;
  margin: 0 auto 2rem;
}
.cta-row {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-row.center {
  margin-top: 2rem;
}
.sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* --- sections --- */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}
.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 2.5rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}
.feature h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}
.feature h3::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 0.9rem;
}
.feature p {
  margin: 0;
  color: #cfc9c2;
  font-size: 0.95rem;
}

/* --- edge --- */
.edge {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.edge-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
  max-width: 880px;
  margin: 0 auto;
}
.edge-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
}
.edge-col.accent-col {
  border-color: rgba(255, 138, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 138, 0, 0.15);
}
.edge-col p {
  margin: 0.6rem 0 0;
  color: #cfc9c2;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.accent-col .tag {
  color: var(--accent);
}

/* --- footer --- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
}
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer a:not(.brand) {
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .nav-links a:not(.btn) {
    display: none;
  }
}
