/* Roast Partner — 紹介ページ
   アプリと同じ、焙煎室の暗がりにシャンパンゴールドの線。BT は琥珀、ET は青、RoR は赤。 */
*{box-sizing:border-box}
:root{
  --bg:#0f0e0c; --bg2:#1a1815; --panel:rgba(240,234,216,.035); --ink:#f0ead8; --ink2:#c4b9a2; --ink3:#9e957f;
  --line:rgba(240,234,216,.12); --gold:#c9a877; --amber:#e8a045; --blue:#7eb8d4; --red:#d45f3c; --green:#6bab7a;
  --mono:ui-monospace,"SFMono-Regular",Menlo,monospace;
  color-scheme:dark;
}
html{-webkit-text-size-adjust:100%; background:var(--bg)}
body{
  margin:0; color:var(--ink);
  background:radial-gradient(120% 50% at 50% 0%, rgba(232,160,69,.10), transparent 70%), var(--bg);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  font-size:15px; line-height:1.95; letter-spacing:.02em;
}
.wrap{max-width:720px; margin:0 auto; padding:0 16px 72px}
.top{display:flex; flex-wrap:wrap; gap:6px 18px; padding:16px 0 0; font-size:12px; letter-spacing:.14em}
.top a{color:var(--ink2); text-decoration:none}
.top a:hover{color:var(--ink)}

/* ── ヒーロー ── */
.hero{text-align:center; padding:52px 0 28px}
.hero .icon{width:96px; height:96px; border-radius:22px; display:block; margin:0 auto 26px;
  box-shadow:0 0 0 1px var(--line), 0 18px 50px rgba(232,160,69,.18)}
.hero h1{margin:0}
.hero h1 img{display:block; width:min(80vw,420px); height:auto; margin:0 auto}
.kicker{font-family:var(--mono); font-size:11px; letter-spacing:.3em; color:var(--gold); margin:18px 0 0}
.hero .sub{margin:10px 0 0; color:var(--ink2); font-size:15px}
.badge{display:inline-flex; align-items:center; gap:10px; margin-top:24px; padding:9px 24px; border-radius:99px;
  border:1px solid rgba(201,168,119,.5); color:var(--gold); font-size:14px; letter-spacing:.14em}
.badge::before{content:""; width:8px; height:8px; border-radius:50%; background:var(--amber);
  box-shadow:0 0 0 4px rgba(232,160,69,.18); animation:blink 2.4s ease-in-out infinite}
@keyframes blink{ 50%{opacity:.35} }

/* 焙煎曲線（描かれていく） */
.chart{margin:30px -6px 0; padding:14px 12px 10px; border:1px solid var(--line); border-radius:20px;
  background:linear-gradient(180deg,var(--bg2),rgba(26,24,21,.4))}
.chart svg{display:block; width:100%; height:auto}
.chart .grid line{stroke:var(--line); stroke-width:1}
.chart .axis{fill:var(--ink3); font-family:var(--mono); font-size:12px}
.chart .curve{fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1; stroke-dashoffset:1;
  animation:draw 5.5s cubic-bezier(.35,0,.25,1) .4s forwards}
.chart .bt{stroke:var(--amber); stroke-width:2.6; filter:drop-shadow(0 0 4px rgba(232,160,69,.5))}
.chart .et{stroke:var(--blue); stroke-width:1.8; opacity:.9}
.chart .ror{stroke:var(--red); stroke-width:1.4; stroke-dasharray:1; opacity:.85; animation-delay:1s}
.chart .area{fill:url(#btfill); opacity:0; animation:fade 1.5s 4.8s forwards}
.chart .mk{opacity:0; animation:fade .6s forwards}
.chart .mk line{stroke-width:1; stroke-dasharray:3 3}
.chart .mk circle{stroke:var(--bg); stroke-width:2}
.chart .mk text{font-family:var(--mono); font-size:12px; letter-spacing:.04em}
.legend{display:flex; justify-content:center; flex-wrap:wrap; gap:4px 18px; margin:6px 0 0; font-family:var(--mono); font-size:11px; color:var(--ink3); letter-spacing:.1em}
.legend i{display:inline-block; width:14px; height:2px; vertical-align:middle; margin-right:6px; border-radius:2px}
@keyframes draw{ to{stroke-dashoffset:0} }
@keyframes fade{ to{opacity:1} }
@media (prefers-reduced-motion:reduce){
  .chart .curve,.chart .area,.chart .mk{animation:none; stroke-dashoffset:0; opacity:1}
  .badge::before{animation:none}
}

/* ── 本文 ── */
.lead{font-size:17px; line-height:2.1; text-align:center; margin:40px 0 12px}
h2{font-family:var(--mono); font-weight:500; font-size:13px; letter-spacing:.24em; color:var(--gold); margin:48px 0 14px;
  display:flex; align-items:center; gap:12px; text-transform:uppercase}
h2::after{content:""; flex:1; height:1px; background:linear-gradient(90deg,rgba(201,168,119,.4),transparent)}
h3{font-weight:600; font-size:15px; margin:0 0 6px}
p, ul{margin:0 0 12px}
ul{padding-left:1.2em}
li{margin:3px 0}
li::marker{color:var(--gold)}
a{color:var(--gold)}
a:focus-visible{outline:2px solid var(--gold); outline-offset:3px; border-radius:4px}
.grid2{display:grid; gap:12px; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.card{padding:18px 20px; border-radius:18px; border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(240,234,216,.05),rgba(240,234,216,.015))}
.card > :last-child{margin-bottom:0}
.card ul{font-size:14px; color:var(--ink2)}
.card h3 small{font-family:var(--mono); font-weight:400; font-size:10.5px; letter-spacing:.2em; color:var(--ink3); margin-left:8px}
.note{padding:16px 18px; border-radius:14px; border-left:2px solid var(--amber); background:var(--panel); color:var(--ink2); font-size:14px}
.meta{color:var(--ink2); font-size:13px}
.links{display:flex; flex-wrap:wrap; gap:10px; list-style:none; padding:0; margin:18px 0 0}
.links a{display:inline-block; padding:6px 18px; border-radius:99px; border:1px solid var(--line); color:var(--ink); text-decoration:none; font-size:14px}
.links a:hover{border-color:var(--gold)}
hr{border:0; height:1px; background:var(--line); margin:60px 0 0}
footer{margin-top:56px; text-align:center; font-size:12px; color:var(--ink3); line-height:2}
footer a{color:var(--ink3)}

/* サポート・プライバシーポリシー */
.page-title{padding:44px 0 8px; text-align:center}
.page-title h1{font-weight:300; font-size:clamp(24px,6.5vw,32px); letter-spacing:.06em; margin:0}
.page-title p{color:var(--ink3); margin:10px 0 0; font-family:var(--mono); font-size:12px; letter-spacing:.24em}
.doc h2{margin-top:40px}
.doc .card{margin:12px 0}
.q{font-weight:600; margin:0 0 4px; color:var(--ink)}
.card p{color:var(--ink2); font-size:14px}
.contact{padding:16px 20px; border-radius:14px; border:1px solid rgba(201,168,119,.35); background:var(--panel)}
