/* Sasshi landing page — light design system */
:root {
  --bg:        #ffffff;
  --bg-subtle: #fafafa;
  --bg-tint:   #f4f4f5;
  --bg-dark:   #111113;
  --text:      #111113;
  --text-2:    #27272a;
  --text-3:    #3f3f46;
  --text-4:    #3f3f46;
  --border:    #e4e4e7;
  --border-hi: #d4d4d8;
  --accent:    #c8463c;
  --accent-hi: #b83d34;
  --accent-dim:  rgba(200,70,60,0.07);
  --accent-line: rgba(200,70,60,0.18);
  --green:     #16a34a;
  --green-dim: rgba(22,163,74,0.10);
  --font-sans: 'Geist', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
  --max: 1140px;
  --pad: clamp(24px, 5vw, 64px);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.07);
  --shadow-lg:   0 2px 4px rgba(0,0,0,0.04), 0 16px 48px rgba(0,0,0,0.10), 0 32px 80px rgba(0,0,0,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent-dim); color: var(--accent); }

/* Shell */
.l-shell { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.02em; color: var(--text); line-height: 1.05; }
h1 { font-size: clamp(40px, 5.2vw, 72px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(30px, 3.5vw, 52px); font-weight: 600; letter-spacing: -0.018em; }
h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
p  { color: var(--text-2); line-height: 1.65; font-size: 16px; }
.lede { font-size: clamp(16px, 1.4vw, 20px); color: var(--text); line-height: 1.55; }

/* Section rhythm */
.l-section      { padding: clamp(64px, 8vw, 104px) 0; }
.l-section-sm   { padding: clamp(56px, 7vw, 96px) 0; }
.l-section-dark { background: var(--bg-dark); color: #fff; }
.l-section-tint { background: var(--bg-tint); }

/* Section header */
.l-sec-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-4);
  margin-bottom: 20px;
}
.l-sec-label .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Buttons */
.l-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  border-radius: 8px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .15s ease;
  font-family: var(--font-sans); white-space: nowrap;
}
.l-btn-primary { background: var(--text); color: #fff; border-color: var(--text); }
.l-btn-primary:hover { background: var(--text-2); border-color: var(--text-2); }
.l-btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.l-btn-accent:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.l-btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border-hi); }
.l-btn-ghost:hover { border-color: var(--border-hi); background: var(--bg-tint); color: var(--text); }
.l-btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 10px; }
.l-btn .arrow { transition: transform .2s; }
.l-btn:hover .arrow { transform: translateX(3px); }

/* Nav */
.l-nav {
  position: sticky; top: 0; z-index: 40; height: 60px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.l-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.l-nav-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; color: var(--text); letter-spacing: -0.01em; }
.l-nav-kanji { font-size: 17px; color: var(--accent); font-weight: 400; }
.l-nav-links { display: flex; gap: 26px; }
.l-nav-links a { font-size: 14px; color: var(--text-3); font-weight: 500; transition: color .15s; }
.l-nav-links a:hover { color: var(--text); }
.l-nav-right { display: flex; align-items: center; gap: 10px; }
.l-sign-in { font-size: 14px; color: var(--text-3); font-weight: 500; transition: color .15s; }
.l-sign-in:hover { color: var(--text); }
@media (max-width: 680px) { .l-nav-links { display: none; } }

/* Footer */
.l-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.l-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.l-footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.l-footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.l-footer-links a { font-size: 13px; color: var(--text-4); transition: color .15s; }
.l-footer-links a:hover { color: var(--text); }
.l-footer-legal { font-size: 12px; color: var(--text-4); font-family: var(--font-mono); }

/* Card */
.l-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); }

/* Badge */
.l-badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--text-2); background: var(--bg);
}
.l-badge-accent { border-color: var(--accent-line); color: var(--accent); background: var(--accent-dim); }

/* Mono */
.l-mono { font-family: var(--font-mono); }

/* Reveal on scroll */
@keyframes l-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.l-reveal { animation: l-fade-up .7s cubic-bezier(.2,.6,.2,1) both; }
.l-r1 { animation-delay: .05s; }
.l-r2 { animation-delay: .15s; }
.l-r3 { animation-delay: .25s; }
.l-r4 { animation-delay: .40s; }

/* Agent log component */
.agent-log { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.agent-log-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--border); background: var(--bg); }
.agent-log-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.agent-row { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; color: var(--text-2); }
.agent-icon { width: 20px; height: 20px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.agent-icon.done { background: var(--green-dim); color: var(--green); }
.agent-icon.pending { background: var(--accent-dim); color: var(--accent); }
.agent-row-inner { display: flex; flex-direction: column; gap: 4px; }
.agent-nested { margin-top: 4px; padding-left: 14px; border-left: 2px solid var(--border); display: flex; flex-direction: column; gap: 5px; }
.agent-nested span { font-size: 12.5px; color: var(--text-3); }
.agent-nested .them { color: var(--text-3); }
.agent-nested .us { color: var(--text-2); font-weight: 500; }
.agent-divider { border: 0; border-top: 1px solid var(--border); margin: 2px 0; }
.agent-approval { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--bg); border-top: 1px solid var(--border); }
.agent-approval-left { display: flex; flex-direction: column; gap: 3px; }
.agent-approval-label { font-size: 11.5px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-4); }
.agent-approval-deal { font-size: 13.5px; color: var(--text); font-weight: 500; }

/* Problem section */
.prob-stat { font-size: clamp(64px, 9vw, 120px); font-weight: 700; letter-spacing: -0.04em; color: var(--accent); line-height: 0.95; }

/* How it works */
.hiw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
@media (max-width: 680px) { .hiw-grid { grid-template-columns: 1fr; } }
.hiw-card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 28px; position: relative; overflow: hidden; }
.hiw-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,0) 60%, rgba(200,70,60,0.03)); }
.hiw-num { font-family: var(--font-mono); font-size: 11px; color: var(--text-4); letter-spacing: 0.12em; margin-bottom: 14px; }
.hiw-card h3 { font-size: 22px; margin-bottom: 10px; }
.hiw-card p { font-size: 14.5px; color: var(--text-3); line-height: 1.6; }
.hiw-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); font-family: var(--font-mono); font-weight: 500; margin-top: 16px; letter-spacing: 0.04em; }

/* Stats band */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.08); }
@media (max-width: 680px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-cell { padding: 48px 40px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-dark); }
.stat-val { font-size: clamp(48px, 6vw, 80px); font-weight: 700; letter-spacing: -0.04em; color: #fff; line-height: 0.95; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.45); max-width: 220px; line-height: 1.5; }

/* Pilot story */
.pilot-card { border: 1px solid var(--border); border-radius: 16px; padding: 40px; background: var(--bg); }
.pilot-quote { font-size: clamp(18px, 2.2vw, 26px); color: var(--text-2); line-height: 1.45; letter-spacing: -0.018em; font-weight: 500; }
.pilot-attribution { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.pilot-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-tint); border: 1px solid var(--border); }
.pilot-name { font-size: 15px; font-weight: 600; color: var(--text); }
.pilot-role { font-size: 13px; color: var(--text-3); margin-top: 1px; }

/* Founders */
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
@media (max-width: 720px) { .founders-grid { grid-template-columns: 1fr; } }
.founder-card { border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.founder-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-tint); border: 1px solid var(--border-hi); margin-bottom: 20px; }
.founder-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.founder-role { font-size: 12px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 16px; }
.founder-bio { font-size: 14px; color: var(--text-3); line-height: 1.65; }
.founder-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.founder-tag { font-size: 11.5px; color: var(--text-3); background: var(--bg-tint); border: 1px solid var(--border); border-radius: 4px; padding: 3px 8px; }

/* FAQ */
.l-faq { border-top: 1px solid var(--border); margin-top: 48px; }
.l-faq details { border-bottom: 1px solid var(--border); }
.l-faq summary { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary .faq-icon { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border-hi); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-3); flex-shrink: 0; transition: all .2s; }
.l-faq details[open] summary .faq-icon { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.l-faq details p { padding: 0 0 22px; color: var(--text-3); font-size: 15px; line-height: 1.65; max-width: 680px; }

/* Final CTA */
.l-final-cta { background: var(--bg-tint); border: 1px solid var(--border); border-radius: 20px; padding: clamp(52px, 7vw, 96px) clamp(32px, 5vw, 80px); text-align: center; }

/* Proof strip */
.proof-strip { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.proof-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.proof-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); font-weight: 500; }
.proof-sep { color: var(--border-hi); user-select: none; }

/* Traction grid */
.traction-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
@media (max-width: 860px) { .traction-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .traction-grid { grid-template-columns: 1fr; } }
.traction-cell { background: var(--bg); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.traction-val { font-family: var(--font-mono); font-size: clamp(36px, 4vw, 54px); font-weight: 700; letter-spacing: -0.04em; color: var(--text); line-height: 0.95; }
.traction-unit { font-size: 13px; font-weight: 600; color: var(--text-2); }
.traction-desc { font-size: 13px; color: var(--text-4); line-height: 1.5; margin-top: 4px; }

/* Roadmap */
.roadmap-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .roadmap-grid { grid-template-columns: 1fr; } }
.roadmap-card { border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.roadmap-now { background: var(--bg); border-color: var(--border); }
.roadmap-next { background: var(--bg-subtle); }
.roadmap-vision { background: var(--bg-subtle); opacity: .85; }
.roadmap-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; display: flex; align-items: center; }
.roadmap-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.roadmap-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.roadmap-now .roadmap-list li { color: var(--text-2); }
.roadmap-next .roadmap-list li { color: var(--text-3); }
.roadmap-vision .roadmap-list li { color: var(--text-4); }
.roadmap-note { font-size: 11px; color: var(--text-4); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }

/* Animated dot */
@keyframes l-pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: l-pulse 1.8s ease-in-out infinite; }

/* ── Mobile responsive ─────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  /* Hero animation: hide tool panel on small screens */
  .ldt-tools { display: none; }
  .ldt-chat  { flex: 1; border-right: none; }

  /* Problem section: stack columns */
  .p5-layout { grid-template-columns: 1fr !important; }

  /* Solution section: stack columns */
  .s5-section .l-shell > div[style] { grid-template-columns: 1fr !important; }

  /* BothSidesBar tabs: stack */
  .bs-tabs { grid-template-columns: 1fr !important; }

  /* Partners section: center logos */
  .v4-partners .l-shell { text-align: center; }

  /* Cultural section: grid 1 col */
  .sr-layout { grid-template-columns: 1fr !important; }

  /* Founder strip: wrap gracefully */
  .l-nav-right .l-btn span { display: none; }
}

@media (max-width: 920px) {
  /* LDT: shrink tool panel */
  .ldt-tools { flex: 0 0 38%; }

  /* A2A card agents: row works fine, no change needed */
}

@media (max-width: 480px) {
  /* Nav: hide contact link */
  .l-sign-in { display: none; }

  /* Hero: smaller padding */
  .l-section { padding: clamp(40px, 6vw, 64px) 0; }
}
