/* GrowMyPin Studio components - sits on top of brand.css */

.tilefill { position: absolute; inset: 0; }
.tilefill .art { height: 100%; }

/* glass surface helper (same recipe as the main site cards) */
.glass {
  position: relative; isolation: isolate;
  background: var(--gl-sheen), var(--gl);
  border: 1px solid var(--gl-line);
  -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur);
  box-shadow: inset 0 1px 0 var(--gl-hi), inset 0 -1px 0 var(--gl-edge), var(--gl-shadow);
}
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(20,184,143,.14), transparent 65%); opacity: 0; transition: opacity .35s; z-index: -1; }
.glass:hover::after { opacity: 1; }

.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn[disabled], .btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }
.btn-reject { background: rgba(255,255,255,.7); border-color: rgba(192,45,82,.25); color: #C02D52; }
.btn-reject:hover { border-color: #C02D52; transform: translateY(-2px); }

/* ---------- Approve sequence (hero) ---------- */
.review { position: absolute; z-index: 5; left: -30px; bottom: 7%; width: 268px; border-radius: 22px; padding: 12px; }
.review .top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; }
.review .who2 { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.st { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.st.pending, .st.failed { background: var(--lav); color: var(--violet); }
.st.failed { background: #FDE7EC; color: #C02D52; }
.st.approved { background: var(--soft); color: var(--green-text); }
.st.rejected { background: #EEF0F4; color: #8A919E; }
.st.published { background: var(--grad); color: #fff; }
.review .thumb { position: relative; height: 150px; border-radius: 15px; overflow: hidden; }
.review .ttl { min-height: 44px; margin: 10px 4px 8px; font-family: var(--f-display); font-weight: 800; font-size: .98rem; line-height: 1.25; letter-spacing: -.02em; color: var(--charcoal); }
.review .ttl .caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -.12em; background: var(--green); animation: caret 1s steps(1) infinite; }
.review .lines { padding: 0 4px; }
.review .lines i { display: block; height: 7px; border-radius: 4px; background: rgba(14,27,58,.08); margin-bottom: 6px; }
.review .lines i:nth-child(2) { width: 82%; }
.review .lines i:nth-child(3) { width: 56%; }
.review .acts2 { display: flex; gap: 8px; margin-top: 12px; }
.review .acts2 .btn { flex: 1; justify-content: center; padding: 9px 10px; font-size: .88rem; }
.review .acts2 .btn.hit { transform: scale(.92); }

.seal-wrap { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; }
.seal { display: flex; align-items: center; gap: 8px; background: var(--grad); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; padding: 9px 18px 9px 12px; border-radius: 999px; border: 3px solid #fff; box-shadow: 0 14px 30px -10px rgba(9,66,61,.75); opacity: 0; transform: scale(2.2) rotate(-14deg); }
.seal svg { width: 22px; height: 22px; }
.seal-ring { position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--green-bright); opacity: 0; }
.stamped .seal { animation: sealIn .5s cubic-bezier(.34,1.56,.64,1) forwards; }
.stamped .seal-ring { animation: sealRing .75s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes sealIn { to { opacity: 1; transform: scale(1) rotate(-8deg); } }
@keyframes sealRing { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(3.6); } }

.cursor { position: absolute; z-index: 8; width: 26px; height: 26px; left: 0; top: 0; opacity: 0; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); }

@media (max-width: 920px) {
  .review { left: 8px; bottom: 10px; }
}
@media (max-width: 480px) {
  .review { left: 50%; margin-left: -134px; }
}

/* ---------- Control switchboard ---------- */
.switchboard { border-radius: 22px; padding: 10px 24px; }
.sw-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.sw-row + .sw-row { border-top: 1px dashed rgba(255,255,255,.14); }
.sw-row b { display: block; font-size: 1rem; color: #fff; }
.sw-row span { display: block; font-size: .86rem; color: #B9C3DA; }
.sw { position: relative; width: 58px; height: 32px; border-radius: 999px; background: rgba(255,255,255,.14); flex: none; }
.sw i { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.sw.on { background: var(--grad); }
.sw.on i { transform: translateX(26px); }
.sw i svg { width: 13px; height: 13px; }
.sw.nudge i { animation: nudge .7s cubic-bezier(.16,1,.3,1); }
@keyframes nudge { 30% { transform: translateX(9px); } 55% { transform: translateX(-2px); } 100% { transform: translateX(0); } }

.control-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.control-grid .list li span { color: #B9C3DA; }
.control-grid .list li span b { color: #fff; }
@media (max-width: 900px) { .control-grid { grid-template-columns: 1fr; } }

/* ---------- Results ---------- */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { border-radius: 16px; padding: 16px; }
.kpi .num { font-size: clamp(1.6rem, 3vw, 2.3rem); }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr 1fr 1fr; } .kpi { padding: 12px; } .kpi .unit { font-size: .6rem; } }

/* ---------- App: layout ---------- */
.app-head { padding-block: clamp(32px, 5vw, 56px) 8px; position: relative; }
.app-head .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; position: relative; z-index: 1; }
.app-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.app-head .lede { margin-top: 12px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(118px, 1fr)); gap: 10px; }
.metric { border-radius: 18px; padding: 14px 16px; display: grid; gap: 4px; }
.metric .num { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.metric.dark { background: linear-gradient(140deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 46%), var(--gl-dark); border-color: var(--gl-dark-line); }
.metric.dark .num { color: #fff; }
.metric.dark .unit { color: #B9C3DA; }
.metrics-note { grid-column: 1 / -1; text-align: right; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.work { display: grid; grid-template-columns: 370px minmax(0, 1fr); gap: 24px; align-items: start; padding-block: 28px 80px; }

/* composer */
.composer { position: sticky; top: 92px; border-radius: 24px; padding: 24px; display: grid; gap: 16px; }
.composer h2 { font-size: 1.5rem; }
.composer .sub { color: var(--muted); font-size: .92rem; margin-top: -8px; }
.pv-box { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.55); border: 1px solid var(--gl-line); }
.pv { position: relative; width: 96px; height: 136px; border-radius: 12px; overflow: hidden; background: var(--lav); }
.pv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-box b { display: block; font-family: var(--f-display); font-weight: 800; font-size: .98rem; line-height: 1.25; letter-spacing: -.02em; color: var(--charcoal); overflow-wrap: anywhere; }
.pv-box .unit { display: block; margin-top: 8px; font-size: .64rem; }

.fld { display: grid; gap: 6px; }
.fld label, .fld .lbl { font-weight: 700; font-size: .88rem; color: var(--charcoal); display: flex; justify-content: space-between; gap: 8px; }
.fld .hint { font-size: .8rem; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; border: 1.5px solid rgba(14,27,58,.1); border-radius: 12px; padding: 11px 13px; font-family: var(--f-body); font-size: .95rem; background: rgba(255,255,255,.75); color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: rgba(14,27,58,.22); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(20,184,143,.16); }
.fld input:disabled, .fld textarea:disabled { background: rgba(255,255,255,.4); color: var(--muted); }
.fld textarea { resize: vertical; min-height: 74px; line-height: 1.5; }
.ct { font-family: var(--f-mono); font-weight: 400; font-size: .7rem; color: var(--muted); }
.ct.over { color: #C02D52; }

.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.seg button { height: 42px; border-radius: 12px; border: 1.5px solid rgba(14,27,58,.1); background: rgba(255,255,255,.7); font-family: var(--f-display); font-weight: 800; font-size: 1rem; color: var(--charcoal); cursor: pointer; transition: transform .25s cubic-bezier(.34,1.56,.64,1), background-color .2s, border-color .2s, color .2s; }
.seg button:hover { border-color: var(--charcoal); }
.seg button[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.seg button:active { transform: scale(.92); }

.more summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--muted); list-style: none; display: flex; align-items: center; gap: 6px; }
.more summary::-webkit-details-marker { display: none; }
.more summary svg { width: 16px; height: 16px; transition: transform .25s ease; }
.more[open] summary svg { transform: rotate(90deg); }
.more .fld { margin-top: 12px; }
.gen { width: 100%; justify-content: center; }
.spin { width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }

/* queue */
.qhead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.qhead h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--gl-line); background: rgba(255,255,255,.5); border-radius: 999px; padding: 7px 13px; font-family: var(--f-body); font-size: .88rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.filters button i { font-style: normal; font-family: var(--f-mono); font-size: .72rem; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(14,27,58,.06); display: inline-grid; place-items: center; }
.filters button[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.filters button[aria-pressed="true"] i { background: rgba(255,255,255,.16); color: #fff; }

.pubbar { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; border-radius: 20px; padding: 14px; margin-bottom: 18px; }
.pubbar .guard { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; font-size: .86rem; color: var(--muted); }
.pubbar .guard svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.pubbtn { min-width: 230px; justify-content: center; }
.pubbtn .n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.22); font-family: var(--f-mono); font-size: .8rem; }

.qgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; align-items: start; }

.dcard { border-radius: 20px; overflow: hidden; transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, opacity .4s; }
.dcard:hover { transform: translateY(-4px); }
.dcard.enter { animation: wordUp .7s cubic-bezier(.2,.8,.2,1) backwards; }
.dcard.approved { box-shadow: 0 0 0 2.5px var(--green), 0 22px 40px -26px rgba(9,66,61,.6); }
.dcard.rejected { opacity: .55; }
.dcard.rejected .img { filter: grayscale(1); }
.dcard.failed { box-shadow: 0 0 0 2px #C02D52; }
.dcard .img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--lav); transition: filter .4s; }
.dcard .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dcard .ov { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; gap: 6px; z-index: 2; }
.dcard .ov .angle { background: rgba(255,255,255,.92); color: var(--charcoal); border-radius: 999px; font-size: .74rem; font-weight: 700; padding: 4px 10px; max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcard .body { padding: 14px; display: grid; gap: 10px; }
.dcard .t-in { font-family: var(--f-display); font-weight: 800; letter-spacing: -.015em; }
.dcard .fld input, .dcard .fld textarea { font-size: .88rem; padding: 9px 11px; border-radius: 10px; }
.dcard details.alt summary { cursor: pointer; font-size: .8rem; font-weight: 700; color: var(--muted); }
.dcard details.alt .fld { margin-top: 8px; }
.dcard .lnk { font-family: var(--f-mono); font-size: .68rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcard .err { font-size: .82rem; color: #C02D52; background: #FDE7EC; border-radius: 10px; padding: 8px 10px; }
.dcard .acts3 { display: flex; gap: 8px; }
.dcard .acts3 .btn { flex: 1; justify-content: center; }
.dcard .seal-wrap.out { animation: fadeAway .4s ease 1.1s forwards; }
@keyframes fadeAway { to { opacity: 0; } }
.dcard.tossing { animation: toss .45s ease forwards; }
@keyframes toss { 40% { transform: rotate(-3deg) translateX(-6px); } 100% { transform: none; } }
.dcard.flying { animation: flyAway .7s cubic-bezier(.55,0,.75,.35) forwards; }
@keyframes flyAway { to { opacity: 0; transform: translateY(-90px) scale(.6) rotate(6deg); } }

.skel .img, .skel .bar { background: linear-gradient(100deg, rgba(14,27,58,.06) 30%, rgba(255,255,255,.7) 50%, rgba(14,27,58,.06) 70%); background-size: 300% 100%; animation: shimmer 1.3s linear infinite; }
.skel .bar { height: 12px; border-radius: 6px; }
.skel .bar.w1 { width: 90%; height: 18px; }
.skel .bar.w2 { width: 70%; }
.skel .bar.w3 { width: 48%; }
.skel .writing { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-text); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.empty { border-radius: 24px; padding: 46px 24px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.empty .fan { position: relative; height: 150px; width: 230px; margin-bottom: 10px; }
.empty .fan > div { position: absolute; width: 96px; height: 132px; left: 67px; top: 8px; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 32px -20px rgba(14,27,58,.55); transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.empty .fan > div:nth-child(1) { transform: rotate(-12deg) translateX(-58px); }
.empty .fan > div:nth-child(3) { transform: rotate(12deg) translateX(58px); }
.empty:hover .fan > div:nth-child(1) { transform: rotate(-18deg) translateX(-74px); }
.empty:hover .fan > div:nth-child(3) { transform: rotate(18deg) translateX(74px); }
.empty:hover .fan > div:nth-child(2) { transform: translateY(-8px); }
.empty h3 { font-size: 1.35rem; }
.empty p { color: var(--muted); max-width: 30em; }

/* flash */
.flash-zone { position: fixed; left: 50%; top: 86px; z-index: 70; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); pointer-events: none; }
.flash { pointer-events: auto; display: flex; gap: 12px; align-items: center; border-radius: 16px; padding: 13px 16px; font-size: .93rem; font-weight: 600; box-shadow: 0 18px 40px -18px rgba(14,27,58,.5); animation: fadeUp .5s cubic-bezier(.2,.8,.2,1); }
.flash.ok { background: var(--grad); color: #fff; }
.flash.err { background: #C02D52; color: #fff; }
.flash.warn { background: var(--gl-sheen), var(--gl-strong); color: var(--violet); border: 1px solid var(--gl-line); }
.flash button { margin-left: auto; background: none; border: 0; color: inherit; font: inherit; font-size: .8rem; opacity: .8; cursor: pointer; padding: 0; }

/* modal */
.modal-bg { position: fixed; inset: 0; z-index: 80; background: rgba(14,27,58,.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-bg.open { display: flex; animation: fadeUp .25s ease; }
.modal { width: 100%; max-width: 480px; border-radius: 26px; padding: 26px; background: var(--gl-sheen), var(--gl-strong); animation: wordUp .45s cubic-bezier(.2,.8,.2,1); }
.modal h3 { font-size: 1.5rem; }
.modal .to { margin: 8px 0 16px; color: var(--muted); }
.modal .to b { color: var(--charcoal); }
.pile { display: flex; padding-left: 14px; margin-bottom: 16px; }
.pile > div { position: relative; width: 58px; height: 78px; margin-left: -14px; border-radius: 10px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 8px 16px -10px rgba(0,0,0,.4); background: var(--lav); }
.pile > div > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal ul { margin: 0; padding: 0 0 0 18px; max-height: 180px; overflow: auto; font-size: .9rem; color: var(--muted); }
.modal .btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }

.confetti { position: fixed; z-index: 90; pointer-events: none; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; }

/* connect */
.connect { position: relative; min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 40px 16px; overflow: hidden; }
.connect .board-wrap { position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.connect .board { height: 100%; max-width: 1180px; margin: 0 auto; grid-template-columns: repeat(5, 1fr); padding: 0 16px; }
.connect .cpanel { position: relative; z-index: 2; max-width: 500px; border-radius: 28px; padding: clamp(28px, 5vw, 44px); text-align: center; display: grid; gap: 18px; justify-items: center; background: var(--gl-sheen), var(--gl-strong); }
.connect .cpanel h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.connect .cpanel p { color: var(--muted); }
.connect .cpanel .fine2 { font-size: .85rem; }
@media (max-width: 700px) { .connect .board { grid-template-columns: repeat(3, 1fr); } }

.acct { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; }
.acct .av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--green); }

@media (max-width: 1000px) {
  .work { grid-template-columns: 1fr; }
  .composer { position: static; }
  .app-head .wrap { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics-note { text-align: left; }
}
@media (max-width: 560px) {
  .pubbar { grid-template-columns: 1fr; }
  .pubbtn { min-width: 0; width: 100%; }
  .acct .name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Try-it demo ---------- */
.demo-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; align-items: start; }
.demo-form { border-radius: 22px; padding: 22px; display: grid; gap: 16px; }
.demo-form .btn { justify-content: center; }
.demo-note { font-size: .8rem; color: var(--muted); }
.niche-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.niche-pick button { border: 1.5px solid rgba(14,27,58,.1); background: rgba(255,255,255,.7); border-radius: 999px; padding: 8px 14px; font-family: var(--f-body); font-weight: 700; font-size: .88rem; color: var(--charcoal); cursor: pointer; transition: transform .25s cubic-bezier(.34,1.56,.64,1), background-color .2s, color .2s, border-color .2s; }
.niche-pick button:hover { border-color: var(--charcoal); }
.niche-pick button:active { transform: scale(.94); }
.niche-pick button[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.demo-stage { display: grid; gap: 16px; min-width: 0; }
.demo-drafts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; min-height: 120px; }
.ddraft { border-radius: 18px; overflow: hidden; display: grid; transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, opacity .4s; }
.ddraft.enter { animation: wordUp .6s cubic-bezier(.2,.8,.2,1) backwards; }
.ddraft .img { position: relative; height: 170px; overflow: hidden; }
.ddraft .img .ov { position: absolute; left: 8px; right: 8px; top: 8px; display: flex; justify-content: space-between; gap: 6px; z-index: 2; }
.ddraft .img .angle { background: rgba(255,255,255,.92); border-radius: 999px; font-size: .7rem; font-weight: 700; padding: 3px 9px; color: var(--charcoal); white-space: nowrap; }
.ddraft .txt { padding: 12px; display: grid; gap: 6px; }
.ddraft .txt b { font-family: var(--f-display); font-weight: 800; font-size: .92rem; line-height: 1.25; letter-spacing: -.015em; color: var(--charcoal); }
.ddraft .txt p { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.ddraft .acts3 { display: flex; gap: 6px; padding: 0 12px 12px; }
.ddraft .acts3 .btn { flex: 1; justify-content: center; padding: 8px 10px; font-size: .82rem; }
.ddraft.approved { box-shadow: 0 0 0 2.5px var(--green), 0 22px 40px -26px rgba(9,66,61,.6); }
.ddraft.rejected { opacity: .45; transform: scale(.97); }
.ddraft.rejected .img { filter: grayscale(1); }
.ddraft.gone { opacity: 0; transform: translateY(40px) scale(.7); pointer-events: none; }
.demo-board { border-radius: 22px; padding: 16px; }
.demo-board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.demo-board-head b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; color: var(--charcoal); }
.demo-board-head .n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.2); font-family: var(--f-mono); font-size: .75rem; }
.demo-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.slot2 { position: relative; aspect-ratio: 2 / 3; border-radius: 12px; border: 2px dashed #CBD2DE; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.slot2.filled { border-color: transparent; box-shadow: 0 0 0 3px rgba(20,184,143,.55); animation: bump .45s ease; }
.slot2 .live2 { position: absolute; left: 6px; bottom: 6px; z-index: 2; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; background: var(--grad); color: #fff; border-radius: 999px; padding: 2px 7px; }
@media (max-width: 980px) { .demo-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .demo-drafts { grid-template-columns: 1fr; }
  .ddraft { grid-template-columns: 110px 1fr; }
  .ddraft .img { height: 100%; min-height: 150px; grid-row: span 2; }
  .ddraft .acts3 { padding: 0 12px 12px; align-self: end; }
  .demo-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Access ---------- */
.scopes code { display: inline-block; font-family: var(--f-mono); font-size: .72rem; color: var(--green-text); background: var(--soft); border-radius: 6px; padding: 2px 7px; margin: 0 0 4px; }
.scopes li span b, .list.no li span b { display: block; }
.card h3 { margin-top: 2px; }

/* ---------- Founder + FAQ ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.founder { margin: 0; padding: clamp(24px, 3.5vw, 36px); gap: 20px; }
.founder .qmark { width: 44px; height: 34px; color: var(--green); }
.founder blockquote { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.4; letter-spacing: -.015em; color: var(--charcoal); }
.founder figcaption { display: flex; align-items: center; gap: 12px; }
.founder figcaption b { display: block; color: var(--charcoal); }
.founder figcaption small { color: var(--muted); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(20,184,143,.4); }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 18px; border-top: 1px dashed rgba(14,27,58,.12); }
.facts-grid div { display: grid; gap: 2px; min-width: 0; }
.facts-grid b { font-size: .92rem; color: var(--charcoal); overflow-wrap: anywhere; }
.facts-grid b a { color: var(--green-text); text-decoration: none; }
.facts-grid b a:hover { text-decoration: underline; }
.facts-grid small { font-size: .78rem; color: var(--muted); }
#faq { display: grid; gap: 12px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts-grid { grid-template-columns: 1fr; } }

.demo-done { grid-column: 1 / -1; border-radius: 18px; padding: 22px; display: grid; gap: 6px; animation: wordUp .6s cubic-bezier(.2,.8,.2,1) both; }
.demo-done b { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; color: var(--charcoal); }
.demo-done p { color: var(--muted); }

/* ---------- Forecast chart ---------- */
.fc { position: relative; }
.fc svg { display: block; width: 100%; height: auto; overflow: visible; }
.fc-grid { stroke: rgba(14,27,58,.08); stroke-width: 1; stroke-dasharray: 3 5; }
.fc-lbl { fill: var(--muted); font-family: var(--f-mono); font-size: 11px; }
.fc-today-lbl { fill: var(--green-text); font-weight: 500; }
.fc-month { fill: var(--violet); font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; }
.fc-zone { fill: rgba(107,91,214,.05); }
.fc-hist { fill: none; stroke: var(--charcoal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fc-avg { fill: none; stroke: #0F8A76; stroke-width: 3.5; stroke-linecap: round; }
.fc-best { fill: none; stroke: #14B88F; stroke-width: 2.2; stroke-dasharray: 7 6; stroke-linecap: round; }
.fc-worst { fill: none; stroke: var(--violet); stroke-width: 2.2; stroke-dasharray: 7 6; stroke-linecap: round; }
.fc-today-line { stroke: var(--green-text); stroke-width: 1.5; stroke-dasharray: 2 4; opacity: 0; transition: opacity .4s; }
.fc-dot { opacity: 0; }
.fc-dot .fc-core { fill: #fff; stroke: var(--charcoal); stroke-width: 3.5; }
.fc-dot .fc-pulse { fill: rgba(20,184,143,.35); transform-box: fill-box; transform-origin: center; animation: fcPulse 1.8s ease-out infinite; }
.fc-tag { opacity: 0; transition: opacity .4s .2s; }
.fc-tag rect { fill: var(--charcoal); }
.fc-tag text { fill: #fff; font-family: var(--f-body); font-weight: 700; font-size: 12px; }
.fc-end { opacity: 0; transition: opacity .5s; }
.fc-end rect { stroke-width: 1.5; }
.fc-end text { font-family: var(--f-body); font-weight: 700; font-size: 11.5px; }
.fc-end-best rect { fill: var(--soft); stroke: #14B88F; } .fc-end-best text { fill: var(--green-text); }
.fc-end-avg rect { fill: #0F8A76; stroke: #0F8A76; } .fc-end-avg text { fill: #fff; }
.fc-end-worst rect { fill: var(--lav); stroke: var(--violet); } .fc-end-worst text { fill: var(--violet); }
.fc-in .fc-today-line, .fc-in .fc-tag { opacity: 1; }
.fc-in .fc-dot { opacity: 1; animation: fcPop .55s cubic-bezier(.34,1.56,.64,1); }
.fc-done .fc-end { opacity: 1; }
.fc-hover-line { stroke: var(--charcoal); stroke-width: 1; stroke-dasharray: 3 3; transition: opacity .2s; pointer-events: none; }
.fc-hit { cursor: crosshair; }
.fc-tip { position: absolute; top: 4px; transform: translateX(-50%); pointer-events: none; background: var(--gl-sheen), var(--gl-strong); border: 1px solid var(--gl-line); box-shadow: var(--gl-shadow); border-radius: 12px; padding: 8px 11px; font-size: .8rem; display: grid; gap: 1px; min-width: 120px; transition: opacity .2s; }
.fc-tip b { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.fc-tip span { font-weight: 700; color: var(--charcoal); }
.fc-tip .b { color: var(--green-text); } .fc-tip .w { color: var(--violet); }
@keyframes fcPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }
@keyframes fcPop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.fc-dot { transform-box: fill-box; transform-origin: center; }

/* forecast panel parts */
.fc-panel { border-radius: 26px; padding: clamp(18px, 3vw, 28px); display: grid; gap: 18px; }
.fc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.fc-top h3 { font-size: 1.35rem; }
.fc-top p { color: var(--muted); font-size: .9rem; max-width: 52ch; }
.fc-controls { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: end; }
.strat-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.strat-pills button { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid rgba(14,27,58,.1); background: rgba(255,255,255,.7); border-radius: 999px; padding: 8px 14px; font-family: var(--f-body); font-weight: 700; font-size: .86rem; color: var(--charcoal); cursor: pointer; transition: transform .25s cubic-bezier(.34,1.56,.64,1), background-color .2s, color .2s, border-color .2s; }
.strat-pills button:hover { border-color: var(--charcoal); }
.strat-pills button:active { transform: scale(.94); }
.strat-pills button[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.strat-pills button .auto-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 3px rgba(52,214,168,.25); }
.ppd { display: grid; gap: 6px; }
.ppd .row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: .88rem; color: var(--charcoal); }
.ppd .row b { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; }
.strat-why { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(230,246,240,.75); color: var(--green-deep); font-size: .88rem; }
.strat-why svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--green); }
.scen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.scen > div { border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; border: 1px solid transparent; }
.scen .s-w { background: rgba(241,238,251,.85); border-color: rgba(107,91,214,.2); }
.scen .s-a { background: var(--grad); color: #fff; box-shadow: 0 18px 36px -22px rgba(9,66,61,.8); }
.scen .s-b { background: rgba(230,246,240,.9); border-color: rgba(20,184,143,.3); }
.scen .unit { font-size: .64rem; }
.scen .s-a .unit { color: rgba(255,255,255,.75); }
.scen .num { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.scen .s-a .num { color: #fff; }
.scen .s-w .num { color: var(--violet); }
.scen .s-b .num { color: var(--green-text); }
.scen small { font-size: .8rem; color: var(--muted); }
.scen .s-a small { color: rgba(255,255,255,.8); }
.fc-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--muted); }
.fc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fc-legend i { width: 18px; height: 0; border-top: 3px solid; display: inline-block; }
.fc-legend .l-h { border-color: var(--charcoal); } .fc-legend .l-a { border-color: #0F8A76; }
.fc-legend .l-b { border-top-style: dashed; border-color: #14B88F; } .fc-legend .l-w { border-top-style: dashed; border-color: var(--violet); }
.fc-fine { font-size: .78rem; color: var(--muted); }
@media (max-width: 760px) {
  .fc-controls { grid-template-columns: 1fr; }
  .scen { grid-template-columns: 1fr; }
  .scen > div { grid-template-columns: 1fr auto; align-items: baseline; }
}

/* scoreboard */
.board-tbl { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: .9rem; }
.board-tbl th { text-align: left; font-family: var(--f-mono); font-weight: 500; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 12px; }
.board-tbl td { background: rgba(255,255,255,.6); padding: 12px; vertical-align: middle; }
.board-tbl td:first-child { border-radius: 14px 0 0 14px; }
.board-tbl td:last-child { border-radius: 0 14px 14px 0; }
.board-tbl tr.best td { background: rgba(230,246,240,.95); }
.board-tbl .sname { font-weight: 800; font-family: var(--f-display); color: var(--charcoal); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.board-tbl .sdesc { font-size: .78rem; color: var(--muted); }
.board-tbl .n { font-family: var(--f-display); font-weight: 800; color: var(--charcoal); font-variant-numeric: tabular-nums; }
.board-tbl .muted { color: var(--muted); font-size: .8rem; }
.badge-best { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; background: var(--grad); color: #fff; padding: 3px 8px; border-radius: 999px; }
.badge-run { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; background: var(--charcoal); color: #fff; padding: 3px 8px; border-radius: 999px; }
.range { position: relative; height: 10px; border-radius: 999px; background: rgba(14,27,58,.06); min-width: 140px; }
.range i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, rgba(107,91,214,.55), #14B88F); transform-origin: left; animation: rangeIn .9s cubic-bezier(.2,.8,.2,1) both; }
.range b { position: absolute; top: -3px; width: 4px; height: 16px; border-radius: 3px; background: var(--green-deep); }
.range-lbl { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .66rem; color: var(--muted); margin-top: 5px; }
@keyframes rangeIn { from { transform: scaleX(0); } }
.tbl-wrap { overflow-x: auto; }
@media (max-width: 760px) { .board-tbl { min-width: 640px; } }

/* slider (from main site) */
.slider{-webkit-appearance:none;appearance:none;width:100%;height:10px;border-radius:999px;background:linear-gradient(90deg, var(--green) 0 var(--fill, 20%), var(--line) var(--fill, 20%) 100%);outline:none;cursor:pointer}
.slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:30px;height:30px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--green-deep);border:4px solid var(--white);box-shadow:0 6px 14px -4px var(--shadow)}
.slider::-moz-range-thumb{width:24px;height:24px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--green-deep);border:4px solid var(--white)}

/* ---------- Tabs ---------- */
.tabs-wrap { padding-top: 18px; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.55); border: 1px solid var(--gl-line); box-shadow: inset 0 1px 0 var(--gl-hi), var(--gl-shadow); -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); }
.tabs button { position: relative; border: 0; background: transparent; border-radius: 999px; padding: 10px 18px; font-family: var(--f-body); font-weight: 700; font-size: .95rem; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background-color .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -12px rgba(9,66,61,.7); }
.new-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); animation: livePing 1.8s ease-out infinite; }
.pane[hidden] { display: none !important; }
#paneFc { display: grid; gap: 20px; padding-block: 20px 80px; }
#paneFc:not([hidden]) .fc-panel, #paneFc:not([hidden]) .sb-panel { animation: wordUp .6s cubic-bezier(.2,.8,.2,1) both; }
#paneFc:not([hidden]) .sb-panel { animation-delay: .12s; }
.sb-panel { border-radius: 26px; padding: clamp(18px, 3vw, 28px); display: grid; gap: 10px; }
.fc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.fc-foot .fc-fine { max-width: 62ch; }

/* ---------- Countries + audience ---------- */
.ctry { display: flex; flex-wrap: wrap; gap: 6px; }
.ctry-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: .85rem; animation: wordUp .35s ease both; }
.ctry-chip button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(255,255,255,.22); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background-color .2s; }
.ctry-chip button:hover { background: rgba(255,255,255,.4); }
.ctry-chip button svg { width: 12px; height: 12px; }
#ctryAdd { margin-top: 2px; }
.sugg { font-family: var(--f-mono); font-weight: 500; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--soft); color: var(--green-text); }
.sugg.edited { background: var(--lav); color: var(--violet); }
.linkbtn { justify-self: start; border: 0; background: none; padding: 0; font: inherit; font-size: .82rem; font-weight: 700; color: var(--green-text); cursor: pointer; text-decoration: underline; }

.fc.narrow .fc-lbl { font-size: 15px; }
.fc.narrow .fc-month { font-size: 12px; }
.fc.narrow .fc-tag text { font-size: 14px; }
.fc.narrow .fc-end text { font-size: 13px; }

/* demo forecast */
.demo-fc { border-radius: 22px; padding: 18px; display: grid; gap: 14px; animation: wordUp .6s cubic-bezier(.2,.8,.2,1) both; }
.demo-fc[hidden] { display: none; }
.demo-fc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.demo-fc-head b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; color: var(--charcoal); }
.demo-fc .scen .num { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

.fc-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(241,238,251,.85); border: 1px solid rgba(107,91,214,.22); color: var(--ink); font-size: .88rem; line-height: 1.5; }
.fc-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--violet); }
.fc-note b { color: var(--violet); }

/* ---------- Legal pages ---------- */
.legal-hero { position: relative; padding-block: clamp(36px, 6vw, 72px) 22px; }
.legal-hero .wrap { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.legal-hero .lede { max-width: 62ch; }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pchip { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--charcoal); background: rgba(255,255,255,.6); border: 1px solid var(--gl-line); box-shadow: inset 0 1px 0 var(--gl-hi); transition: background-color .2s, color .2s, transform .25s cubic-bezier(.34,1.56,.64,1); }
.pchip:hover { transform: translateY(-2px); }
.pchip.on { background: var(--grad); color: #fff; border-color: transparent; }
.legal-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; padding-block: 18px 90px; }
.toc { position: sticky; top: 92px; border-radius: 20px; padding: 18px; max-height: calc(100vh - 110px); overflow: auto; }
.toc ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; text-decoration: none; color: var(--muted); font-size: .86rem; font-weight: 600; padding: 7px 8px; border-radius: 10px; line-height: 1.35; transition: background-color .2s, color .2s; }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--f-mono); font-size: .7rem; padding-top: 2px; color: var(--violet); }
.toc a:hover { background: rgba(255,255,255,.7); color: var(--charcoal); }
.toc a.on { background: var(--soft); color: var(--green-deep); }
.legal-doc { display: grid; gap: 18px; min-width: 0; }
.inshort { border-radius: 24px; padding: clamp(20px, 3vw, 30px); border-left: 5px solid var(--green) !important; }
.inshort h2 { font-size: 1.4rem; margin-bottom: 12px; }
.inshort-fine { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.lsec { scroll-margin-top: 96px; padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: rgba(255,255,255,.5); border: 1px solid var(--gl-line); display: grid; gap: 14px; }
.lsec h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); display: flex; align-items: baseline; gap: 12px; }
.lnum { font-family: var(--f-mono); font-weight: 500; font-size: .8rem; color: #fff; background: var(--grad); border-radius: 999px; padding: 3px 9px; flex: none; transform: translateY(-3px); }
.lsec p, .lsec li { color: var(--ink); font-size: .98rem; }
.lsec a, .inshort a, .case a, .lnote a { color: var(--green-text); font-weight: 700; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A69' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.case { display: grid; grid-template-columns: 1fr 1fr; border-radius: 18px; overflow: hidden; border: 1px solid rgba(14,27,58,.08); box-shadow: 0 16px 34px -28px rgba(14,27,58,.5); }
.case > div { padding: 14px 16px; display: grid; gap: 6px; align-content: start; }
.case-q { background: rgba(241,238,251,.9); }
.case-a { background: rgba(230,246,240,.95); }
.case p { font-size: .93rem; margin: 0; }
.case-tag { justify-self: start; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--violet); color: #fff; }
.case-tag.a { background: var(--green-deep); }
.lnote { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.75); border: 1px dashed rgba(107,91,214,.35); }
.lnote svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--violet); }
.lnote p { margin: 0; font-size: .92rem; color: var(--ink); }
.ltbl-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid rgba(14,27,58,.08); }
.ltbl { width: 100%; border-collapse: collapse; font-size: .9rem; background: rgba(255,255,255,.7); }
.ltbl th { text-align: left; background: var(--charcoal); color: #fff; font-family: var(--f-mono); font-weight: 500; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 10px 12px; }
.ltbl td { padding: 11px 12px; border-top: 1px solid rgba(14,27,58,.07); vertical-align: top; }
.ltbl tr:nth-child(even) td { background: rgba(241,238,251,.35); }
.ltbl td:first-child { font-weight: 700; color: var(--charcoal); }
@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .case { grid-template-columns: 1fr; }
  .toc ol { grid-template-columns: 1fr; }
  .ltbl-wrap { border: 0; overflow: visible; }
  .ltbl, .ltbl tbody, .ltbl tr, .ltbl td { display: block; width: 100%; }
  .ltbl { background: none; }
  .ltbl thead { display: none; }
  .ltbl tr { background: rgba(255,255,255,.75); border: 1px solid rgba(14,27,58,.08); border-radius: 14px; padding: 6px 4px; margin-bottom: 10px; }
  .ltbl tr:nth-child(even) td, .ltbl td { background: none; border-top: 0; padding: 6px 12px; }
  .ltbl td::before { content: attr(data-label); display: block; font-family: var(--f-mono); font-weight: 500; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin-bottom: 2px; }
}

/* ---------- Free growth report ---------- */
.rp-hero { position: relative; padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 90px); }
.rp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.rp-pitch { display: grid; gap: 20px; min-width: 0; }
.rp-pitch h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.rp-points li span { color: var(--muted); }
.rp-teaser { border-radius: 22px; padding: 16px; display: grid; gap: 10px; }
.rp-teaser-head { display: flex; justify-content: space-between; align-items: center; }
.rp-card { border-radius: 26px; padding: clamp(20px, 3vw, 30px); display: grid; gap: 18px; min-width: 0; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(14,27,58,.06); }
.seg2 button { border: 0; background: transparent; border-radius: 999px; padding: 10px 12px; font-family: var(--f-body); font-weight: 700; font-size: .92rem; color: var(--muted); cursor: pointer; transition: background-color .25s, color .25s; }
.seg2 button[aria-selected="true"] { background: #fff; color: var(--charcoal); box-shadow: 0 6px 16px -10px rgba(14,27,58,.5); }
.rp-form { display: grid; gap: 14px; }
.rp-form[hidden] { display: none; }
.rp-form h2, .rp-h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.rp-submit { width: 100%; justify-content: center; margin-top: 4px; }
.rp-muted { color: var(--muted); }
.rp-small { font-size: .82rem; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: #0F8A76; flex: none; }
.agree a { color: var(--green-text); font-weight: 700; }
.rp-pane { padding-block: clamp(28px, 5vw, 56px) clamp(60px, 8vw, 100px); }
.rp-pane[hidden], .rp-hero[hidden] { display: none; }
.rp-center { display: grid; place-items: center; }
.rp-form-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 22px; align-items: start; }
.rp-side { display: grid; gap: 16px; }
.rp-mini { border-radius: 22px; padding: 20px; display: grid; gap: 12px; }
.rp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.rp-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; }
.rp-steps li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: .85rem; }
.rp-steps b { color: var(--charcoal); }
.rp-steps span { color: var(--muted); font-size: .88rem; }
.rp-past { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rp-past-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-decoration: none; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.65); border: 1px solid var(--gl-line); color: var(--charcoal); transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.rp-past-item:hover { transform: translateX(4px); }
.rp-past-item b { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pin-connect { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: rgba(241,238,251,.85); border: 1px dashed rgba(107,91,214,.35); font-size: .88rem; color: var(--ink); }
.pin-connect.on { background: var(--soft); border: 1px solid rgba(20,184,143,.35); color: var(--green-deep); }
.pin-connect span { display: flex; gap: 8px; align-items: flex-start; flex: 1 1 240px; }
.pin-connect svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--green); }

/* building */
.rp-work { max-width: 520px; width: 100%; text-align: center; justify-items: center; }
.rp-orbit { position: relative; width: 120px; height: 120px; }
.rp-orbit i { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; border-top-color: #14B88F; animation: spin 1.4s linear infinite; }
.rp-orbit i:nth-child(2) { inset: 16px; border-top-color: var(--violet); animation-duration: 2s; animation-direction: reverse; }
.rp-orbit i:nth-child(3) { inset: 36px; border: 0; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); animation: pulse 2.4s ease-in-out infinite; }
.rp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; width: 100%; }
.rp-checks li { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 14px; background: rgba(255,255,255,.55); color: var(--muted); font-weight: 600; transition: background-color .3s, color .3s; }
.rp-checks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(14,27,58,.15); flex: none; }
.rp-checks li.doing { color: var(--charcoal); background: #fff; }
.rp-checks li.doing::before { border-color: #14B88F; border-top-color: transparent; animation: spin .9s linear infinite; }
.rp-checks li.done { color: var(--green-deep); background: var(--soft); }
.rp-checks li.done::before { border: 0; background: #14B88F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center/13px no-repeat; animation: bump .4s ease; }

/* waiting */
.rp-wait { max-width: 560px; width: 100%; text-align: center; justify-items: center; }
.ring { position: relative; width: 210px; height: 210px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(14,27,58,.08); stroke-width: 9; }
.ring-fg { fill: none; stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.ring-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; }
.ring-in b { font-family: var(--f-display); font-weight: 800; font-size: 2.1rem; letter-spacing: -.02em; color: var(--charcoal); font-variant-numeric: tabular-nums; }
.rp-wait-shop { font-family: var(--f-mono); font-size: .8rem; color: var(--green-text); background: var(--soft); padding: 5px 12px; border-radius: 999px; }
.rp-wait-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* report */
.rp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.rp-title { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-top: 8px; }
.rp-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mbars { display: grid; grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 10px; align-items: end; padding: 6px 2px 2px; }
.mbar { display: grid; justify-items: center; gap: 6px; }
.mbar-track { position: relative; width: 100%; max-width: 54px; height: 120px; border-radius: 12px; background: rgba(14,27,58,.05); overflow: hidden; }
.mbar-range { position: absolute; left: 0; right: 0; background: linear-gradient(180deg, rgba(20,184,143,.25), rgba(107,91,214,.22)); border-radius: 10px; }
.mbar-avg { position: absolute; left: 22%; right: 22%; bottom: 0; border-radius: 8px 8px 4px 4px; background: var(--grad); transform-origin: bottom; animation: barUp .9s cubic-bezier(.2,.8,.2,1) both; }
.mbar-v { font-family: var(--f-display); font-weight: 800; font-size: .9rem; color: var(--charcoal); }
@keyframes barUp { from { transform: scaleY(0); } }
.rp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.rp-grid .card { gap: 10px; }
.rp-grid .card p { color: var(--ink); }
.rp-strat h3 { font-size: 1.35rem; }
.rp-ppd { justify-self: start; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; background: var(--grad); color: #fff; padding: 4px 10px; border-radius: 999px; }
.ticks.warn li::before { background-color: var(--lav); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B5BD6' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E"); }
.rp-num { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink); }
.rp-num li::marker { font-family: var(--f-display); font-weight: 800; color: var(--green-text); }
.rp-cta { margin-top: 22px; border-radius: 26px; padding: clamp(22px, 4vw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; background: radial-gradient(600px 300px at 100% 120%, rgba(20,184,143,.35), transparent 70%), var(--black); color: #fff; }
.rp-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.rp-cta p { color: #B7BCC6; margin-top: 6px; }
.rp-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.rp-cta .btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.3); }
.rp-more { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.rp-past-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-past-inline .rp-past-item { padding: 8px 12px; }
@media (max-width: 960px) {
  .rp-hero-grid, .rp-form-grid { grid-template-columns: 1fr; }
  .rp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ring { width: 180px; height: 180px; }
  .ring-in b { font-size: 1.7rem; }
  .mbar-track { height: 90px; }
}

.fr-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.fr-card { gap: 10px; }
@media (max-width: 900px) { .fr-grid { grid-template-columns: 1fr; } }

[hidden] { display: none !important; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
