/* Tsunagu — site styles (2026-07-13) */
:root{
  --rose:#E85D75; --rose-deep:#C23B55; --rose-soft:#F6C7CF; --ink:#1F2430; --sub:#5A6172;
  --paper:#FFFFFF; --wash:#FAF7F8; --line:#EDE5E7; --gold:#B8894A; --ok:#2E7D5B;
  --night:#0A0D13; --night-ink:#EAECF2; --night-sub:#9AA3B5;
  --radius:18px; --maxw:1140px;
}
*{box-sizing:border-box; margin:0; padding:0}
html{scroll-behavior:smooth}
body{font-family:"Avenir Next","Hiragino Sans","Yu Gothic UI","Segoe UI",system-ui,sans-serif;
     background:var(--wash); color:var(--ink); line-height:1.6; -webkit-font-smoothing:antialiased}
img{max-width:100%; display:block}
a{color:var(--rose-deep); text-decoration:none}
a:hover{text-decoration:underline}

/* language toggle */
html[lang="ja"] .en{display:none!important}
html[lang="en"] .ja{display:none!important}

/* nav */
.nav{position:sticky; top:0; z-index:50; background:rgba(250,247,248,.82); backdrop-filter:blur(14px);
     border-bottom:1px solid var(--line)}
.nav-in{max-width:var(--maxw); margin:0 auto; display:flex; align-items:center; gap:22px; padding:12px 20px}
.brand{display:flex; align-items:center; gap:10px; font-weight:800; font-size:17px; color:var(--ink)}
.brand img{width:30px; height:30px; border-radius:8px}
.brand:hover{text-decoration:none}
.nav-links{display:flex; gap:20px; margin-left:auto; align-items:center}
.nav-links a{color:var(--sub); font-size:13.5px; font-weight:600}
.nav-links a:hover{color:var(--rose-deep); text-decoration:none}
.lang-btn{border:1px solid var(--line); background:var(--paper); border-radius:99px; padding:5px 13px;
     font-size:12.5px; font-weight:700; cursor:pointer; color:var(--sub); font-family:inherit}
.lang-btn:hover{border-color:var(--rose)}
.cta{background:var(--rose); color:#fff!important; border-radius:99px; padding:8px 18px; font-weight:700;
     font-size:13.5px; box-shadow:0 4px 14px rgba(232,93,117,.3); white-space:nowrap}
.cta:hover{background:var(--rose-deep); text-decoration:none}
@media(max-width:820px){ .nav-links a.hideable{display:none} }
@media(max-width:480px){
  .nav-in{gap:12px; padding:10px 14px}
  .brand span{font-size:15px}
  .nav-links{gap:10px}
  .cta{padding:7px 12px; font-size:12px}
  .lang-btn{padding:4px 10px}
}

/* sections */
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 20px}
section{padding:84px 0}
.kicker{letter-spacing:.22em; text-transform:uppercase; font-size:12px; color:var(--rose-deep); font-weight:700}
h1{font-size:clamp(34px,6vw,58px); line-height:1.18; font-weight:800; letter-spacing:-.01em}
h2{font-size:clamp(26px,4vw,38px); line-height:1.25; font-weight:800; margin:10px 0 14px}
.lede{font-size:17.5px; color:var(--sub); max-width:640px}

/* hero */
.hero{position:relative; overflow:hidden; padding:110px 0 96px}
.hero .bg{position:absolute; inset:0; z-index:-1; pointer-events:none}
.hero .blob{position:absolute; border-radius:50%; filter:blur(90px); opacity:.5}
.hero .b1{width:520px; height:520px; background:#FBD9E0; top:-160px; right:-120px}
.hero .b2{width:420px; height:420px; background:#FFE9DC; bottom:-180px; left:-140px}
.hero .knot{position:absolute; right:4%; top:14%; width:min(420px,38vw); opacity:.55}
.hero-chip{display:inline-flex; align-items:center; gap:8px; border:1px solid var(--line); background:var(--paper);
     border-radius:99px; padding:6px 14px; font-size:12.5px; font-weight:700; color:var(--sub); margin-bottom:22px}
.hero-chip .dot{width:8px; height:8px; border-radius:50%; background:var(--ok); animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
.hero h1 .accent{color:var(--rose)}
.hero .lede{margin:18px 0 30px}
.btn-row{display:flex; gap:14px; flex-wrap:wrap; align-items:center}
.btn{display:inline-flex; align-items:center; gap:9px; border-radius:14px; padding:13px 24px; font-weight:700;
     font-size:15px; transition:transform .15s}
.btn:hover{text-decoration:none; transform:translateY(-1px)}
.btn.primary{background:var(--ink); color:#fff}
.btn.primary:hover{background:#000}
.btn.ghost{border:1.5px solid var(--line); background:var(--paper); color:var(--ink)}
.btn.ghost:hover{border-color:var(--rose)}
.btn .sub{display:block; font-size:10.5px; font-weight:600; opacity:.7; line-height:1}
.hero-foot{margin-top:26px; font-size:12.5px; color:var(--sub)}

/* feature grid */
.grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:38px}
@media(max-width:900px){ .grid{grid-template-columns:1fr 1fr} }
@media(max-width:600px){ .grid{grid-template-columns:1fr} }
.card{background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:26px 24px;
     transition:transform .2s, box-shadow .2s}
.card:hover{transform:translateY(-3px); box-shadow:0 12px 30px rgba(31,36,48,.07)}
.card .ico{width:44px; height:44px; border-radius:12px; background:linear-gradient(135deg,#FDEEF1,#FFF4EC);
     display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:14px}
.card .ico svg{display:block}
.card h3{font-size:16.5px; margin-bottom:7px}
.card p{font-size:13.5px; color:var(--sub); line-height:1.6}

/* musubi dark section */
.musubi{background:var(--night); color:var(--night-ink); position:relative; overflow:hidden}
.musubi .kicker{color:var(--rose)}
.musubi .lede{color:var(--night-sub)}
.musubi h2 .jp{color:var(--rose)}
.m-points{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:34px 0}
@media(max-width:800px){ .m-points{grid-template-columns:1fr} }
.m-point{border:1px solid rgba(232,93,117,.22); background:rgba(255,255,255,.03); border-radius:14px; padding:20px}
.m-point .t{font-weight:800; font-size:15px; margin-bottom:6px; color:#fff}
.m-point .t .n{color:var(--rose); margin-right:8px}
.m-point p{font-size:13px; color:var(--night-sub); line-height:1.6}
.demo-shell{position:relative; border-radius:20px; overflow:hidden; border:1px solid rgba(232,93,117,.3);
     background:#0D1118; box-shadow:0 30px 80px rgba(0,0,0,.5); aspect-ratio:16/9; margin-top:8px}
.demo-shell iframe{width:100%; height:100%; border:0; display:block}
.demo-poster{position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
     gap:16px; background:radial-gradient(ellipse at 50% 40%, rgba(232,93,117,.16), transparent 60%), #0D1118; cursor:pointer}
.demo-poster .knot{width:110px; opacity:.9; animation:slowspin 14s linear infinite}
@keyframes slowspin{to{transform:rotate(360deg)}}
.demo-poster .play{background:var(--rose); color:#fff; border:none; border-radius:99px; padding:13px 28px;
     font-size:15px; font-weight:800; cursor:pointer; font-family:inherit; box-shadow:0 6px 24px rgba(232,93,117,.45)}
.demo-poster .play:hover{background:var(--rose-deep)}
.demo-poster .note{font-size:12px; color:var(--night-sub)}
.live-chip{position:absolute; top:14px; left:14px; z-index:3; display:flex; align-items:center; gap:7px;
     background:rgba(10,13,19,.8); border:1px solid rgba(46,125,91,.5); color:#7BD8A8; border-radius:99px;
     padding:5px 12px; font-size:11px; font-weight:800; letter-spacing:.08em}
.live-chip .dot{width:7px; height:7px; border-radius:50%; background:#3AC97C; animation:pulse 1.6s infinite}
.demo-actions{display:flex; gap:14px; margin-top:16px; align-items:center; flex-wrap:wrap}
.demo-actions a{font-size:13.5px; font-weight:700; color:var(--rose)}
.demo-fine{font-size:11.5px; color:var(--night-sub); margin-top:10px}

/* values */
.values .grid{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){ .values .grid{grid-template-columns:1fr 1fr} }
@media(max-width:560px){ .values .grid{grid-template-columns:1fr} }

/* founding band */
.band{background:linear-gradient(120deg,#E85D75,#C23B55); color:#fff; border-radius:24px; padding:48px 44px;
     display:flex; align-items:center; justify-content:space-between; gap:26px; flex-wrap:wrap}
.band h2{margin:0 0 8px}
.band p{opacity:.92; font-size:14.5px; max-width:560px}
.band .btn{background:#fff; color:var(--rose-deep)}
.band .btn:hover{background:#FFF3F5}

/* footer */
footer{border-top:1px solid var(--line); padding:44px 0 56px; background:var(--paper)}
.foot-in{max-width:var(--maxw); margin:0 auto; padding:0 20px; display:flex; gap:30px; flex-wrap:wrap;
     align-items:flex-start; justify-content:space-between}
.foot-brand{display:flex; align-items:center; gap:10px; font-weight:800}
.foot-brand img{width:26px; height:26px; border-radius:7px}
.foot-links{display:flex; gap:18px; flex-wrap:wrap}
.foot-links a{color:var(--sub); font-size:13px}
.foot-copy{width:100%; font-size:12px; color:var(--sub); margin-top:18px}

/* legal pages */
.legal-hero{padding:70px 0 30px}
.legal-hero h1{font-size:clamp(28px,4.5vw,40px)}
.legal-hero .lede{margin-top:10px}
.legal-body{max-width:820px; margin:0 auto; padding:10px 20px 90px}
.legal-body .card{padding:40px 44px}
@media(max-width:640px){ .legal-body .card{padding:28px 22px} }
.legal-body h2{font-size:20px; margin:28px 0 10px}
.legal-body h3{font-size:16px; margin:20px 0 8px}
.legal-body p, .legal-body li{font-size:14.5px; color:#3A4152}
.legal-body ul, .legal-body ol{padding-left:22px; margin:10px 0}
.legal-body li{margin:6px 0}
.updated{font-size:12.5px; color:var(--sub); border:1px solid var(--line); display:inline-block;
     border-radius:99px; padding:4px 12px; margin-bottom:14px}
.tabs{display:flex; gap:8px; margin:18px 0 6px}
.tab{border:1px solid var(--line); background:var(--paper); border-radius:99px; padding:6px 16px; font-size:13px;
     font-weight:700; cursor:pointer; color:var(--sub); font-family:inherit}
.tab.on{background:var(--ink); color:#fff; border-color:var(--ink)}

/* reveal on scroll (JS-gated; never hides content without JS) */
html.js .reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease}
html.js .reveal.in{opacity:1; transform:none}
@media(prefers-reduced-motion:reduce){ html.js .reveal{opacity:1; transform:none; transition:none} }
