
/* ---- rebuild additions ---- */
html { scroll-padding-top: 20px; }
.hero-meta b { color: var(--ink); font-weight: 600; }
.chips-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 26px auto 0; max-width: 640px; }
.chips-nav a { text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; box-shadow: 0 2px 0 var(--line); }
.chips-nav a:hover { border-color: var(--coral); }
.chips-nav a span { color: var(--coral); margin-right: 5px; }

.cover { background: #fff; border: 1px solid var(--line); border-radius: 6px; margin: 26px 0 10px; box-shadow: 0 2px 4px rgba(27,29,38,.05), 0 8px 20px rgba(27,29,38,.07); }
.cover-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); align-items: baseline; font-size: 15.5px; }
.cover-row:last-child { border-bottom: 0; }
.cover-row b { font-weight: 600; }
.cover-row .n { font-family: 'Instrument Serif', serif; font-size: 22px; color: var(--coral); }
.cover-row a { color: var(--cobalt); font-weight: 600; text-decoration: none; font-size: 14px; white-space: nowrap; }

/* segments */
.segs { display: grid; gap: 18px; margin: 30px 0 10px; }
.seg { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px 18px; border-top: 5px solid var(--coral);
  box-shadow: 0 2px 4px rgba(27,29,38,.05), 0 8px 20px rgba(27,29,38,.07); opacity: 0; transition: opacity .6s ease; }
.seg.in { opacity: 1; }
.seg.two { border-top-color: var(--yellow); } .seg.three { border-top-color: var(--mint); }
.seg .tag { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
.seg h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 28px; margin: 2px 0 6px; }
.seg .line { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 20px; color: var(--cobalt); margin-bottom: 10px; }
.seg dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 14px; font-size: 15.5px; }
.seg dt { color: var(--ink-soft); font-weight: 600; } .seg dd { margin: 0; }
.demo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0 8px; }
.demo div { background: #fff; border: 1px dashed #b9c0d4; border-radius: 4px; padding: 12px 16px; font-size: 15px; }
.demo b { display: block; font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 21px; color: var(--cobalt); }

.insights { display: grid; gap: 14px; margin: 24px 0; counter-reset: ins; }
.ins { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--cobalt); border-radius: 6px; padding: 16px 20px 14px 56px; position: relative; opacity: 0; transition: opacity .6s ease; }
.ins.in { opacity: 1; }
.ins::before { counter-increment: ins; content: counter(ins); position: absolute; left: 16px; top: 12px; font-family: 'Instrument Serif', serif; font-size: 30px; color: var(--cobalt); }
.ins h4 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 23px; line-height: 1.2; margin-bottom: 4px; }
.ins p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

/* story */
.story-intro { font-family: 'Instrument Serif', serif; font-size: clamp(24px, 3.6vw, 30px); line-height: 1.3; max-width: 640px; }
.cast { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 8px; }
.cast span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14.5px; }
.chapter { margin: 64px 0; }
.chapter .when { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--coral); }
.chapter h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(30px, 4.6vw, 38px); line-height: 1.1; margin: 2px 0 14px; }
.chapter .narr { font-size: 18px; max-width: 640px; }
.chapter .narr em { color: var(--cobalt); font-style: italic; }
.phones { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; margin: 30px 0 14px; }
.phones .phone { width: 250px; opacity: 0; transition: opacity .6s ease; }
.phones .phone.in { opacity: 1; }
.phones .phone:nth-child(odd) { transform: rotate(-1.8deg); } .phones .phone:nth-child(even) { transform: rotate(1.8deg); }
.phone-screen { min-height: 330px; }
.pcap { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; font-style: italic; }
.note { background: #fff; border: 1px dashed #b9c0d4; border-radius: 4px; padding: 14px 18px; font-size: 15.5px; color: var(--ink-soft); max-width: 640px; margin-top: 8px; }
.note b { color: var(--cobalt); font-style: italic; font-weight: 600; margin-right: 4px; }

.ai-msg { background: #eef2ff; border: 1px solid #d3dcf8; border-radius: 12px; padding: 9px 11px; margin: 6px 0; }
.ai-name { font-size: 10.5px; font-weight: 700; color: var(--cobalt); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 3px; }
.btn-s { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 14px; background: var(--ink); color: #fff; margin: 6px 4px 0 0; }
.btn-s.ghost { background: #fff; color: var(--ink); border: 1px solid #d5d9e4; }
.btn-s.coral { background: var(--coral); }
.lock { display: inline-block; font-size: 10.5px; font-weight: 600; background: #fff3c4; border-radius: 6px; padding: 2px 7px; }

.week { display: grid; grid-template-columns: 34px repeat(7, 1fr); gap: 3px; font-size: 9.5px; margin: 8px 0; align-items: center; }
.week .h { text-align: center; color: var(--ink-soft); }
.week .c { height: 24px; border-radius: 4px; background: #eef0f5; }
.week .c.on { background: #cfd8f2; } .week .c.all { background: var(--mint); }
.overlap-row { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; font-weight: 600; font-size: 12.5px; }
.pill { border-radius: 999px; padding: 3px 9px; font-size: 11px; font-weight: 600; }
.pill.g { background: #d9f0e7; color: #1f7a5c; } .pill.y { background: #fff3c4; } .pill.r { background: #f1e4e1; color: #b8402f; }
.budget-bar { position: relative; height: 12px; border-radius: 6px; background: #eef0f5; margin: 14px 4px 4px; }
.budget-bar i { position: absolute; top: 0; bottom: 0; background: #cfd8f2; border-radius: 6px; }
.budget-bar i.ov { background: var(--mint); }

.photo-landing { position: relative; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg,#6cc7a6,#f8c928 60%,#f2604a); padding: 14px 12px 12px; color: #fff; }
.photo-landing h5 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 24px; line-height: 1.05; }
.photo-landing p { margin: 2px 0 10px !important; font-size: 11.5px; opacity: .95; }
.grp { display: flex; flex-wrap: wrap; gap: 6px; }
.grp .face { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--ink); }
.grp .face.empty { background: transparent; border: 2px dashed rgba(255,255,255,.8); color: #fff; font-weight: 500; }
.f1{background:#fff} .f2{background:#c8d4f5} .f3{background:#fff3c4} .f4{background:#d9f0e7}
.join-btn { margin-top: 12px; background: #1b1d26; color: #fff; text-align: center; border-radius: 20px; padding: 8px; font-weight: 600; font-size: 12px; }

.vibe { position: relative; height: 170px; border-radius: 10px; background: linear-gradient(150deg,#1c4fc4,#6cc7a6 55%,#f8c928); margin: 8px 4px; overflow: hidden; }
.vibe .t { position: absolute; left: 10px; bottom: 26px; color: #fff; font-family: 'Instrument Serif', serif; font-size: 26px; line-height: 1; }
.vibe .scrub { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 4px; background: rgba(255,255,255,.4); border-radius: 2px; }
.vibe .scrub i { display: block; width: 38%; height: 100%; background: #fff; border-radius: 2px; }
.vibe .edit { position: absolute; right: 8px; top: 8px; background: #fff; color: var(--ink); border-radius: 10px; font-size: 10.5px; font-weight: 600; padding: 3px 8px; }

.quizq { font-family: 'Instrument Serif', serif; font-size: 20px; line-height: 1.15; margin: 8px 4px 10px; text-align: center; }
.opt2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 2px; }
.opt2 div { padding: 14px 6px; border-radius: 10px; text-align: center; font-weight: 600; font-size: 12px; color: #fff; }
.opt2 .a { background: #2f5bd6; } .opt2 .b { background: #e8604c; } .opt2 .c { background: #3aa88a; } .opt2 .d { background: #e9b81f; color: var(--ink); }
.opt2 .sel { outline: 3px solid var(--ink); outline-offset: 2px; }
.who-row { display: flex; justify-content: center; gap: 5px; margin: 10px 0 2px; }

.mini-tabs { display: flex; gap: 6px; padding: 0 4px 8px; }
.mini-tabs span { flex: 1; text-align: center; font-size: 11px; font-weight: 600; padding: 6px 0; border-radius: 14px; background: #eef0f5; }
.mini-tabs span.on { background: var(--ink); color: #fff; }
.vibe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 4px; }
.vibe-grid div { padding: 12px 8px; border: 1px solid #d5d9e4; border-radius: 10px; font-size: 11.5px; font-weight: 600; }
.vibe-grid div.on { border-color: var(--coral); background: #fdeeea; }
.vibe-grid small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 10.5px; }
.diff { margin: 10px 4px 0; padding: 8px 10px; background: #fff3c4; border-radius: 8px; font-size: 11px; }
.rm { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin: 6px 2px; display: flex; align-items: center; gap: 8px; font-size: 11.5px; }

.two-table { width: 100%; border-collapse: collapse; margin: 22px 0 8px; font-size: 15.5px; }
.two-table th, .two-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.two-table th { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 21px; }
.two-table td:first-child { font-weight: 600; width: 22%; }
.proto-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 26px 22px; box-shadow: 0 2px 4px rgba(27,29,38,.06), 0 12px 28px rgba(27,29,38,.09); margin: 22px 0; }
.proto-card h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 28px; margin-bottom: 8px; }
.proto-card ul { margin: 0 0 16px 20px; }
.proto-card li { margin-bottom: 6px; font-size: 16px; }
.loop-steps { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0; font-size: 14.5px; font-weight: 600; }
.loop-steps span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.loop-steps i { color: var(--coral); font-style: normal; }
@media (max-width: 640px) {
  .cover-row { grid-template-columns: 28px 1fr; } .cover-row a { grid-column: 2; }
  .demo { grid-template-columns: 1fr; }
  .seg dl { grid-template-columns: 1fr; gap: 0; } .seg dd { margin-bottom: 8px; }
  .phones .phone { width: 100%; max-width: 270px; }
  .two-table td:first-child { width: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.phone > .pcap { color: #c4c9d6; margin: 8px 6px 2px; font-size: 12.5px; }
