/* =========================================
   Takeyabu Studio - Design System
   ========================================= */
:root {
  --bg: #0A0A0B;
  --bg-elevated: #111114;
  --bg-card: #161619;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #F5F5F7;
  --text-muted: #A1A1A6;
  --text-faint: #6E6E73;
  --accent: #00D9FF;
  --accent-dim: #0099B8;
  --danger: #FF453A;
  --success: #30D158;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Noto Sans JP', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --container: 1100px;
  --container-narrow: 720px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; font-feature-settings: 'palt'; word-break: auto-phrase; overflow-wrap: break-word; line-break: strict; }
p, h1, h2, h3, .hero-sub, .tagline, .section-sub, .product-desc { word-break: auto-phrase; overflow-wrap: break-word; line-break: strict; }
@supports not (word-break: auto-phrase) { p, h1, h2, h3, .hero-sub, .tagline, .section-sub, .product-desc { word-break: keep-all; overflow-wrap: anywhere; } }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: opacity 0.2s ease; }
a:hover { opacity: 0.75; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }
.nav { position: sticky; top: 0; background: rgba(10, 10, 11, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--border); z-index: 100; }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.brand:hover { opacity: 1; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 400; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); opacity: 1; }
.hero { padding: 6rem 0 5rem; position: relative; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1.5rem; max-width: 900px; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-muted); max-width: 600px; line-height: 1.6; }
.section { padding: 5rem 0; }
.section-head { margin-bottom: 3rem; }
.section h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; }
.build-card { background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%); border: 1px solid var(--border); border-radius: 24px; padding: 3.5rem 3rem; position: relative; overflow: hidden; max-width: 900px; margin: 0 auto; }
.build-card::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0, 217, 255, 0.08) 0%, transparent 70%); pointer-events: none; }
.build-eyebrow { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem; padding: 4px 12px; background: rgba(0, 217, 255, 0.08); border: 1px solid rgba(0, 217, 255, 0.2); border-radius: 999px; }
.build-card h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 1.5rem; line-height: 1.1; }
.build-lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--text); line-height: 1.7; margin-bottom: 1rem; }
.build-lead strong { color: var(--accent); font-weight: 500; }
.build-body { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }
.build-cta { margin-top: 1.5rem; }
@media (max-width: 640px) { .build-card { padding: 2.5rem 1.5rem; border-radius: 18px; } }
.product-section-label { font-size: 12px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.25rem; padding-left: 2px; }
.products { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; transition: border-color 0.25s ease, transform 0.25s ease; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 1rem; min-height: 240px; }
.product-card:hover { border-color: var(--border-strong); transform: translateY(-2px); opacity: 1; }
.product-card-head { display: flex; align-items: center; justify-content: space-between; }
.product-name { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
.badge { font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.02em; }
.badge-live { background: rgba(48, 209, 88, 0.12); color: var(--success); border: 1px solid rgba(48, 209, 88, 0.3); }
.badge-dev { background: rgba(0, 217, 255, 0.1); color: var(--accent); border: 1px solid rgba(0, 217, 255, 0.25); }
.product-full-name { font-size: 13px; color: var(--text-faint); letter-spacing: 0.02em; }
.product-desc { color: var(--text-muted); font-size: 14px; line-height: 1.65; flex: 1; }
.product-meta { display: flex; gap: 0.75rem; font-size: 12px; color: var(--text-faint); }
.product-meta span::after { content: '·'; margin-left: 0.75rem; }
.product-meta span:last-child::after { content: ''; }
.philosophy { background: var(--bg-elevated); border-radius: 20px; padding: 3rem 2rem; border: 1px solid var(--border); }
.philosophy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 2rem; }
.philosophy-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text); }
.philosophy-item p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.footer { border-top: 1px solid var(--border); padding: 3rem 0 2rem; margin-top: 4rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: 13px; color: var(--text-faint); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { color: var(--text-faint); font-size: 13px; }
.footer-links a:hover { color: var(--text); opacity: 1; }
.legal { padding: 4rem 0 3rem; }
.legal h1 { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.legal .updated { color: var(--text-faint); font-size: 13px; margin-bottom: 3rem; }
.legal h2 { font-size: 1.25rem; font-weight: 600; margin-top: 2.5rem; margin-bottom: 1rem; letter-spacing: -0.01em; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.legal h3 { font-size: 1rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.75rem; color: var(--text); }
.legal p { color: var(--text-muted); margin-bottom: 1rem; font-size: 15px; line-height: 1.75; }
.legal ul, .legal ol { color: var(--text-muted); margin-bottom: 1rem; padding-left: 1.5rem; font-size: 15px; line-height: 1.75; }
.legal li { margin-bottom: 0.5rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 14px; }
.legal table th, .legal table td { padding: 0.75rem 1rem; border: 1px solid var(--border); text-align: left; color: var(--text-muted); }
.legal table th { background: var(--bg-card); color: var(--text); font-weight: 500; }
.legal .contact-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; margin: 1rem 0; font-size: 14px; color: var(--text-muted); }
.legal .contact-block code { color: var(--accent); font-family: var(--font-mono); font-size: 13px; }
.product-hero { padding: 6rem 0 4rem; text-align: left; }
.product-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.25rem; }
.product-hero .tagline { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text-muted); max-width: 640px; line-height: 1.6; }
.product-hero-inner { position: relative; }
.hero-logo { position: absolute; top: 0; right: 0; width: 96px; height: 96px; border-radius: 20px; }
@media (max-width: 600px) { .hero-logo { width: 64px; height: 64px; border-radius: 14px; } }
.cta-row { display: flex; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.75rem 1.5rem; border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s ease; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--text); opacity: 1; }
.btn-disabled { background: var(--bg-card); color: var(--text-muted); border: 1px solid var(--border); cursor: not-allowed; opacity: 0.75; }
.btn-disabled:hover { transform: none; opacity: 0.75; }
.feature-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; }
.feature-icon { width: 36px; height: 36px; background: rgba(0, 217, 255, 0.1); border: 1px solid rgba(0, 217, 255, 0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--accent); font-size: 16px; font-weight: 600; }
.feature h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.pricing { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.plan.featured { border-color: var(--accent); }
.plan-badge { position: absolute; top: -10px; right: 16px; background: var(--accent); color: var(--bg); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.02em; }
.plan-name { font-size: 14px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.02em; text-transform: uppercase; }
.plan-price { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; }
.plan-price .unit { font-size: 0.875rem; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.plan-features { list-style: none; margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.plan-features li { font-size: 14px; color: var(--text-muted); padding-left: 1.25rem; position: relative; }
.plan-features li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; opacity: 0.8; }
@media (max-width: 640px) { .nav-links { display: none; } .hero { padding: 3.5rem 0 3rem; } .section { padding: 3rem 0; } .philosophy { padding: 2rem 1.5rem; } .footer-inner { flex-direction: column; align-items: flex-start; } }
