/* yura_2 サイト：雑誌の表紙 × 深夜の世界観（左サイドバー＝目次） */
:root {
  --cover: #c4cad6;      /* 表紙のグレーがかった青 */
  --night: #121019;      /* 夜の誌面 */
  --night2: #1b1826;
  --violet: #8b7fe0;     /* 差し色の紫 */
  --mauve: #c7a6d9;
  --ice: #a9c3ff;
  --paper: #f3f1f6;
  --ink: #0e0d14;
  --sub: #a7a3b8;
  --line: rgba(255, 255, 255, .12);
  --side: 236px;
  --mast: "Montserrat", "Arial Black", system-ui, sans-serif;
  --cond: "Oswald", "Bebas Neue", Impact, sans-serif;
  --en: "Jost", "Futura", system-ui, sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --min: "Shippori Mincho", "Hiragino Mincho ProN", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--paper); font-family: var(--ja); line-height: 1.95; letter-spacing: .04em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
/* 紙のざらつき（うっすら） */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 左サイドバー（目次） ---------- */
.side {
  position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 30; background: #0b0a10; color: var(--paper);
  display: flex; flex-direction: column; padding: 30px 26px 24px; border-right: 1px solid var(--line);
}
.side .logo { font-family: var(--mast); font-weight: 900; font-size: 1.7rem; letter-spacing: .02em; text-decoration: none; line-height: 1; }
.side .logo small { display: block; font-family: var(--en); font-weight: 500; font-size: .62rem; letter-spacing: .36em; color: var(--sub); margin-top: 8px; }
.side .contents { font-family: var(--cond); letter-spacing: .3em; font-size: .78rem; color: var(--violet); margin: 46px 0 10px; }
.side nav { display: flex; flex-direction: column; }
.side nav a { text-decoration: none; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); color: var(--sub); transition: color .2s; }
.side nav a:last-child { border-bottom: 1px solid var(--line); }
.side nav a .pg { font-family: var(--cond); font-size: .8rem; letter-spacing: .08em; color: #6f6a84; }
.side nav a .en { font-family: var(--cond); font-weight: 500; font-size: 1.05rem; letter-spacing: .14em; display: block; line-height: 1.2; color: var(--paper); }
.side nav a .ja { font-size: .66rem; display: block; letter-spacing: .1em; }
.side nav a:hover .en, .side nav a.active .en { color: var(--ice); }
.side nav a.active .pg { color: var(--ice); }
.side .clock { margin-top: auto; }
.side .clock .lbl { font-family: var(--cond); letter-spacing: .3em; font-size: .66rem; color: #6f6a84; }
.side .clock .t { font-family: var(--cond); font-weight: 500; font-size: 2.3rem; letter-spacing: .04em; line-height: 1.1; color: var(--paper); }
.side .clock .t.late { color: var(--mauve); text-shadow: 0 0 18px rgba(199, 166, 217, .45); }
.side .links { margin-top: 16px; font-size: .66rem; color: #6f6a84; }
.side .links a { display: block; text-decoration: none; padding: 2px 0; }
.side .links a:hover { color: var(--paper); }

/* スマホ：上のバー＋ハンバーガー（Uiverse.io by Cevorob をもとに調整） */
.topbar { display: none; }
.burger { position: relative; width: 28px; height: 20px; background: transparent; cursor: pointer; display: block; }
.burger input { display: none; }
.burger span { display: block; position: absolute; height: 2px; width: 100%; background: var(--paper); border-radius: 9px; opacity: 1; left: 0; transform: rotate(0deg); transition: .25s ease-in-out; }
.burger span:nth-of-type(1) { top: 0; transform-origin: left center; }
.burger span:nth-of-type(2) { top: 50%; transform: translateY(-50%); transform-origin: left center; }
.burger span:nth-of-type(3) { top: 100%; transform-origin: left center; transform: translateY(-100%); }
.burger input:checked ~ span:nth-of-type(1) { transform: rotate(45deg); top: -1px; left: 4px; }
.burger input:checked ~ span:nth-of-type(2) { width: 0%; opacity: 0; }
.burger input:checked ~ span:nth-of-type(3) { transform: rotate(-45deg); top: 19px; left: 4px; }

.main { margin-left: var(--side); position: relative; }

/* ---------- 表紙 ---------- */
.cover { position: relative; min-height: 100vh; background: var(--cover); color: #fff; overflow: hidden; }
.cover .mast {
  font-family: var(--mast); font-weight: 900; text-transform: uppercase; color: #fff; line-height: .8;
  font-size: calc((100vw - var(--side)) * .185); letter-spacing: -.02em; margin: 0; padding: 2vh 0 0 1.2vw; white-space: nowrap; position: relative; z-index: 1;
}
.cover .mast-sub { position: absolute; right: 2.4vw; top: calc(2vh + (100vw - var(--side)) * .155); z-index: 4; font-family: var(--mast); font-weight: 800; letter-spacing: .5em; font-size: 1.2vw; }
/* 表紙の主役：傾いたスマホと黒い影 */
.cover .star { position: absolute; left: 60%; top: calc((100vw - var(--side)) * .1); transform: translateX(-46%) rotate(-7deg); z-index: 2; }
.cover .star .phone { --pw: clamp(240px, 24vw, 340px); width: var(--pw); box-shadow: -34px 30px 0 rgba(14, 13, 20, .55); }
.cover .star .ghost { position: absolute; left: -38%; top: 12%; width: 70%; height: 80%; background: rgba(14, 13, 20, .18); filter: blur(2px); transform: rotate(5deg); z-index: -1; }
/* トップ表紙：写真の代わりに「この号の特集」の目次と流れる線 */
.cover .cover-flow { position: absolute; left: 0; right: 0; top: 18%; height: 70%; width: 100%; z-index: 0; opacity: .9; pointer-events: none; }
.cover .in-issue { position: absolute; right: 2.4vw; top: 36%; width: min(46vw, 640px); z-index: 3; }
.in-issue .lbl { font-family: var(--cond); letter-spacing: .34em; font-size: .78rem; margin-bottom: 10px; }
.in-issue a { display: grid; grid-template-columns: 3.2em 1fr auto; align-items: center; gap: 14px; color: #fff; text-decoration: none; border-top: 1.5px solid rgba(255,255,255,.8); padding: 16px 4px; transition: background .25s, padding .25s; }
.in-issue a:last-child { border-bottom: 1.5px solid rgba(255,255,255,.8); }
.in-issue a:hover { background: rgba(14, 13, 20, .12); padding-left: 14px; }
.in-issue .no { font-family: var(--mast); font-weight: 900; font-size: 2rem; line-height: 1; }
.in-issue .t b { display: block; font-family: var(--cond); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 1; letter-spacing: .02em; text-shadow: 0 2px 16px rgba(14, 13, 20, .2); }
.in-issue .t small { display: block; font-size: .8rem; font-weight: 700; margin-top: 6px; }
.in-issue .pg { font-family: var(--cond); letter-spacing: .14em; font-size: .85rem; }
.cover .headline h1.ja { font-family: var(--min); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 4.6rem); letter-spacing: .06em; }
/* 表紙の見出し（コピー） */
.cover .lines { position: absolute; left: 2.4vw; top: 34%; z-index: 3; max-width: 26vw; }
.cover .lines p { margin: 0 0 22px; font-weight: 700; line-height: 1.5; text-shadow: 0 1px 12px rgba(14, 13, 20, .25); }
.cover .lines p b { display: block; font-family: var(--cond); font-weight: 600; letter-spacing: .06em; font-size: 1.6rem; line-height: 1.1; }
.cover .lines p small { font-size: .78rem; font-weight: 500; letter-spacing: .1em; opacity: .9; }
.cover .headline { position: absolute; left: 2.4vw; bottom: 6vh; z-index: 3; text-align: left; }
.cover .headline h1 { font-family: var(--cond); font-weight: 600; font-size: clamp(3rem, 6.4vw, 6.4rem); line-height: .95; margin: 0; letter-spacing: .01em; text-shadow: 0 2px 20px rgba(14, 13, 20, .25); }
.cover .headline p { margin: 6px 0 0; font-family: var(--en); font-weight: 600; letter-spacing: .3em; font-size: .9rem; }
.cover .issue { position: absolute; right: 2.4vw; bottom: 5vh; z-index: 3; text-align: center; font-family: var(--mast); font-weight: 800; }
.cover .issue b { display: block; font-size: 4.2rem; line-height: 1; }
.cover .issue span { font-size: .8rem; letter-spacing: .14em; }
.cover .barcode { position: absolute; right: 2.4vw; bottom: calc(5vh + 110px); z-index: 3; width: 74px; height: 34px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px); opacity: .85; }

/* ---------- 夜の誌面 ---------- */
.spread { position: relative; padding: 130px 7vw; border-top: 1px solid var(--line); }
.folio { position: absolute; top: 26px; left: 7vw; right: 7vw; display: flex; justify-content: space-between; font-family: var(--cond); letter-spacing: .3em; font-size: .7rem; color: #6f6a84; }
.kicker { font-family: var(--cond); letter-spacing: .34em; font-size: .82rem; color: var(--violet); }
.spread h2 { font-family: var(--mast); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 8vw, 7.4rem); line-height: .88; margin: 6px 0 0; letter-spacing: -.01em; }
.spread h2 .out { color: transparent; -webkit-text-stroke: 1.4px var(--paper); }
.quote { font-family: var(--min); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.7; letter-spacing: .08em; margin: 48px 0 0; max-width: 820px; }
.quote em { font-style: normal; color: var(--mauve); }
.body2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 46px; color: var(--sub); font-size: .9rem; max-width: 920px; }
.tate { position: absolute; right: 5vw; top: 130px; writing-mode: vertical-rl; font-family: var(--min); font-size: 1.05rem; letter-spacing: .3em; color: #6f6a84; }

/* 波形のライン（音の気配） */
.wave { display: block; width: 100%; height: 70px; margin: 0; }

/* 特集（アプリ） */
.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: center; margin-top: 90px; }
.feature.rev { grid-template-columns: .9fr 1.1fr; }
.feature.rev .text { order: 2; }
.feature .no { font-family: var(--cond); letter-spacing: .3em; font-size: .8rem; color: var(--violet); display: flex; align-items: center; gap: 14px; }
.feature .no::after { content: ""; width: 60px; height: 1px; background: var(--violet); }
.feature h3 { font-family: var(--cond); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4.4rem); margin: 6px 0 14px; line-height: 1; letter-spacing: .02em; }
.feature .big { font-family: var(--min); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.8; margin: 0 0 18px; letter-spacing: .1em; }
.feature p { color: var(--sub); font-size: .9rem; margin: 0 0 16px; }
.feature .visual { display: flex; justify-content: center; position: relative; }
.feature .visual::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(139, 127, 224, .35), transparent 65%); filter: blur(10px); }
.feature .visual .phone { transform: rotate(4deg); position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 26px; }
.chips span { font-family: var(--cond); letter-spacing: .16em; font-size: .72rem; border: 1px solid var(--line); padding: 3px 12px; color: var(--paper); }

/* 備品管理のイメージ（紙の重なり・夜） */
.stack { position: relative; width: 320px; height: 330px; }
.stack .sheet { position: absolute; background: var(--paper); color: var(--ink); padding: 18px; width: 260px; box-shadow: -18px 18px 0 rgba(0, 0, 0, .45); }
.stack .sheet:nth-child(1) { top: 0; left: 0; transform: rotate(-5deg); }
.stack .sheet:nth-child(2) { top: 72px; left: 52px; transform: rotate(3deg); }
.stack .sheet:nth-child(3) { top: 152px; left: 18px; }
.stack h4 { margin: 0 0 6px; font-family: var(--cond); letter-spacing: .22em; font-size: .8rem; color: #4b3f9e; }
.stack .row { display: flex; justify-content: space-between; font-size: .75rem; padding: 7px 0; border-bottom: 1px solid #ddd8e6; }
.stack .row:last-child { border: none; }
.stack .st { font-size: .66rem; padding: 0 8px; border: 1px solid; }
.stack .st.out { color: #b4234b; } .stack .st.in { color: #2b7a5a; }

/* CTA（Uiverse.io by alexmaracinaru をもとに調整） */
.cta { border: none; background: none; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; color: var(--paper); padding: 0; }
.cta span { padding-bottom: 7px; letter-spacing: 4px; font-size: 13px; padding-right: 15px; text-transform: uppercase; font-family: var(--cond); font-weight: 500; }
.cta svg { transform: translateX(-8px); transition: all .3s ease; }
.cta:hover svg { transform: translateX(0); }
.cta:active svg { transform: scale(.9); }
.hover-underline-animation { position: relative; color: var(--paper); padding-bottom: 20px; }
.hover-underline-animation::after { content: ""; position: absolute; width: 100%; transform: scaleX(0); height: 2px; bottom: 0; left: 0; background-color: var(--ice); transform-origin: bottom right; transition: transform .25s ease-out; }
.cta:hover .hover-underline-animation::after { transform: scaleX(1); transform-origin: bottom left; }

/* 編集後記の帯 */
.note { background: linear-gradient(180deg, #1d1830 0%, #121019 100%); text-align: center; }
.note .big25 { font-family: var(--cond); font-weight: 500; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(199, 166, 217, .7); letter-spacing: .14em; text-transform: uppercase; margin-top: 10px; }
.note .quote { margin: 18px auto 0; }
.note p.sm { color: var(--sub); max-width: 600px; margin: 30px auto 0; font-size: .9rem; }

/* お問い合わせ（読者のおたより） */
.form { max-width: 760px; margin-top: 56px; display: grid; gap: 28px; }
.field { display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.field > label { font-weight: 700; font-size: .86rem; padding-top: 10px; display: flex; gap: 10px; align-items: center; }
.field > label em { font-style: normal; font-family: var(--cond); font-size: .62rem; letter-spacing: .2em; background: var(--violet); color: #fff; padding: 0 7px; }
.field > label em.opt { background: #3a3550; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--paper); border: none; border-bottom: 1.5px solid #4a4560; background: transparent;
  padding: 10px 2px; outline: none; transition: border-color .2s; border-radius: 0;
}
.field textarea { min-height: 160px; resize: vertical; border: 1.5px solid #4a4560; padding: 12px; }
.field input:focus, .field textarea:focus { border-color: var(--ice); }
.field ::placeholder { color: #6f6a84; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-block; border: 1.5px solid #4a4560; padding: 7px 16px; font-size: .82rem; transition: all .2s; }
.choices input:checked + span { border-color: var(--ice); background: var(--ice); color: var(--ink); }
.choices input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree { font-size: .8rem; color: var(--sub); }
.submit { font: inherit; font-family: var(--cond); letter-spacing: .4em; font-size: .9rem; background: var(--paper); color: var(--ink); border: none; padding: 16px 56px; cursor: pointer; transition: background .25s, color .25s; justify-self: start; }
.submit:hover { background: var(--ice); }
.submit:disabled { opacity: .5; cursor: default; }
.form-msg { font-size: .9rem; min-height: 1.5em; margin: 0; }
.form-msg.ok { color: #9ee6c4; } .form-msg.err { color: #ff9fb6; }

.foot { border-top: 1px solid var(--line); padding: 36px 7vw; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: .74rem; color: #6f6a84; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--paper); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- スマホ・タブレット ---------- */
@media (max-width: 960px) {
  .topbar { display: flex; position: fixed; inset: 0 0 auto 0; height: 58px; z-index: 40; background: rgba(11, 10, 16, .9); backdrop-filter: blur(8px); align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); }
  .topbar .logo { font-family: var(--mast); font-weight: 900; text-decoration: none; letter-spacing: .02em; }
  .side { transform: translateX(-100%); transition: transform .35s ease, box-shadow .35s; padding-top: 80px; width: min(86vw, 320px); }
  body.menu-open .side { transform: none; box-shadow: 0 0 60px rgba(0, 0, 0, .5); }
  .main { margin-left: 0; padding-top: 58px; }
  .cover { min-height: 0; padding-bottom: 40px; }
  .cover .mast { font-size: 18.6vw; }
  .cover .mast-sub { top: calc(2vh + 15.6vw); font-size: 2.6vw; }
  .cover .star { position: relative; left: auto; top: auto; transform: rotate(-6deg); margin: 10px auto 0; width: max-content; }
  .cover .star .phone { --pw: 62vw; box-shadow: -18px 18px 0 rgba(14, 13, 20, .5); }
  .cover .lines { position: relative; left: auto; top: auto; max-width: none; padding: 34px 22px 0; }
  .cover .headline { position: relative; left: auto; bottom: auto; transform: none; padding: 10px 22px 0; }
  .cover .issue, .cover .barcode { display: none; }
  .cover .in-issue { position: relative; right: auto; top: auto; width: auto; padding: 30px 22px 0; }
  .in-issue .t b { font-size: 2rem; }
  .cover .cover-flow { top: 30%; height: 50%; }
  .spread { padding: 100px 22px; }
  .folio { left: 22px; right: 22px; }
  .tate { display: none; }
  .body2 { grid-template-columns: 1fr; gap: 16px; }
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 50px; margin-top: 70px; }
  .feature.rev .text { order: 0; }
  .field { grid-template-columns: 1fr; gap: 6px; }
  .foot { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 製品ページ（time-table）用 ---------- */
.cover.product .mast { font-size: calc((100vw - var(--side)) * .118); padding-top: 3vh; }
.flist { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); margin-top: 46px; }
.flist div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.flist .n { font-family: var(--cond); letter-spacing: .2em; font-size: .72rem; color: var(--violet); display: block; }
.flist b { display: block; font-family: var(--min); font-size: 1.12rem; margin: 2px 0 4px; }
.flist span:last-child { color: var(--sub); font-size: .88rem; }
.ai-demo { --line: #dedbe6; --sub: #5d5870; --ink: #121019; --accent: #6a5fd0; margin-top: 40px; }
.ai-demo .ai-src, .ai-demo .ai-row { color: var(--ink); }
/* 複雑な時間割：開講期間のチャートと連続授業 */
.sched { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; margin-top: 40px; align-items: start; }
.term-chart, .combo { background: var(--paper); color: var(--ink); padding: 18px; box-shadow: -14px 14px 0 rgba(0, 0, 0, .4); }
.tc-head, .tc-row { display: grid; grid-template-columns: 7.5em repeat(4, 1fr); align-items: center; }
.tc-head span { font-family: var(--cond); letter-spacing: .14em; font-size: .78rem; color: #5d5870; text-align: center; padding-bottom: 6px; border-bottom: 1px solid #dedbe6; }
.tc-row { min-height: 44px; border-bottom: 1px dashed #e7e4ee; }
.tc-row:last-child { border: none; }
.tc-row b { font-size: .8rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-row i { grid-column: calc(var(--from) + 1) / calc(var(--to) + 1); font-style: normal; font-size: .74rem; font-weight: 700; background: var(--c); border-radius: 8px; padding: 5px 10px; margin: 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-row i.dot { background: none; border: 1.5px dashed #8b7fe0; color: #4b3f9e; }
.combo { display: grid; grid-template-columns: 3.4em 1fr; gap: 6px; }
.cb-p { display: flex; flex-direction: column; justify-content: center; font-family: var(--cond); font-size: 1.1rem; line-height: 1.1; min-height: 52px; }
.cb-p span + span { font-family: var(--mono, monospace); font-size: .62rem; color: #5d5870; }
.cb-c { border: 1px dashed #e0dde8; border-radius: 10px; min-height: 52px; }
.cb-c.big { grid-row: span 2; border: none; background: #d6f5e6; display: flex; flex-direction: column; justify-content: center; padding: 10px 14px; }
.cb-c.big b { font-size: .92rem; }
.cb-c.big small { font-size: .72rem; color: #3c6b55; }
@media (max-width: 960px) { .sched { grid-template-columns: 1fr; } .tc-head, .tc-row { grid-template-columns: 5.6em repeat(4, 1fr); } .tc-row i { padding: 5px 6px; margin: 0 2px; font-size: .7rem; } }
.box { border: 1px solid var(--line); padding: 22px 26px; margin-top: 18px; max-width: 820px; }
.box h3 { margin: 0 0 6px; font-family: var(--min); font-size: 1.1rem; }
.box p { margin: 0; color: var(--sub); font-size: .9rem; }
.price { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 40px; }
.price div { border: 1px solid var(--line); padding: 22px 26px; min-width: 220px; }
.price b { display: block; font-family: var(--mast); font-weight: 900; font-size: 2.4rem; line-height: 1.1; }
.price small { color: var(--sub); }
.phones .phone-cap b { color: var(--paper); }
@media (max-width: 960px) { .cover.product .mast { font-size: 13vw; } }

/* ---------- SONAE（備品管理）ページ ---------- */
.sonae { --cover: #b8c2e4; --violet: #7f8cf0; }
.sonae .cover.product .mast { background: linear-gradient(90deg, #fff 0%, #fff 55%, #e3e6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: calc((100vw - var(--side)) * .17); }
.sonae .cover .star .stack { transform: scale(1.12); transform-origin: top left; height: 440px; }
.sonae .cover .stack .sheet:nth-child(2) { top: 118px; left: 70px; }
.sonae .cover .stack .sheet:nth-child(3) { top: 240px; left: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.steps div { border-top: 2px solid var(--violet); padding: 18px 4px 0; }
.steps .n { font-family: var(--mast); font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--violet); }
.steps b { display: block; font-family: var(--min); font-size: 1.2rem; margin: 8px 0 6px; }
.steps p { margin: 0; color: var(--sub); font-size: .9rem; }
.sub-h { font-family: var(--min); font-size: 1.4rem; margin: 6px 0 0; }
.sn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 36px; }
.sn-item { position: relative; background: var(--paper); color: var(--ink); padding: 16px; box-shadow: -10px 10px 0 rgba(0, 0, 0, .4); }
.sn-item b { display: block; font-size: .98rem; margin-top: 14px; }
.sn-item small { display: block; color: #5d5870; font-size: .76rem; }
.sn-item i { display: inline-block; font-style: normal; font-size: .7rem; font-weight: 700; margin-top: 10px; padding: 2px 10px; border: 1px solid; }
.sn-item i.ok { color: #2b7a5a; } .sn-item i.ng { color: #b4234b; }
.sn-item .rank { position: absolute; top: 12px; left: 16px; font-family: var(--mast); font-weight: 900; font-size: .8rem; color: #fff; background: linear-gradient(90deg, #7b74ef, #4a5fe0, #2f8bf0); padding: 1px 8px; }
.sn-item .pop { position: absolute; right: 12px; top: 12px; font-size: .7rem; font-weight: 700; color: #4a5fe0; animation: popup 3.2s ease-in-out infinite; }
@keyframes popup { 0%, 20% { opacity: 0; transform: translateY(6px); } 40%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
.chat { max-width: 560px; margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.chat .me { align-self: flex-end; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 16px 16px 4px 16px; font-size: .92rem; }
.chat .ai { align-self: flex-start; background: var(--paper); color: var(--ink); padding: 12px 16px; border-radius: 16px 16px 16px 4px; font-size: .9rem; line-height: 1.8; }
.chat .ai small { color: #5d5870; font-size: .74rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .sonae .cover.product .mast { font-size: 24vw; }
  .sonae .cover .star { transform: none; width: auto; margin: 26px 22px 0; }
  .sonae .cover .star .stack { transform: none; width: auto; height: auto; display: flex; flex-direction: column; gap: 14px; }
  .sonae .cover .stack .sheet { position: relative; top: auto !important; left: auto !important; width: auto; box-shadow: -10px 10px 0 rgba(0, 0, 0, .35); }
  .sonae .cover .stack .sheet:nth-child(2) { margin-left: 26px; }
}
@media (prefers-reduced-motion: reduce) { .sn-item .pop { animation: none; } }
