*{box-sizing:border-box}:root{--ink:#111a16;--muted:#69766f;--cream:#f4f2ea;--lime:#dff47a;--glass:rgba(255,255,255,.42);--line:rgba(17,26,22,.12);--shadow:0 24px 70px rgba(31,43,37,.10)}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 20% 10%,rgba(223,244,122,.28),transparent 28%),radial-gradient(circle at 85% 20%,rgba(164,196,184,.28),transparent 30%),var(--cream);color:var(--ink);font-family:Manrope,sans-serif;overflow-x:hidden}.ambient{position:fixed;border-radius:50%;filter:blur(90px);opacity:.35;pointer-events:none}.ambient-one{width:420px;height:420px;background:#dff47a;right:-120px;top:80px}.ambient-two{width:280px;height:280px;background:#b9d8d0;left:-100px;bottom:40px}.shell{width:min(1180px,calc(100% - 64px));margin:auto}.topbar{height:96px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;backdrop-filter:blur(18px);background:rgba(244,242,234,.62)}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-size:12px;font-weight:800;letter-spacing:.16em}.brand em{font-style:normal;color:var(--muted);font-weight:500}.brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ink);color:var(--lime);font-size:16px;box-shadow:0 8px 24px rgba(17,26,22,.18)}.topbar nav{display:flex;gap:10px;padding:6px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.35);backdrop-filter:blur(16px)}.topbar nav a,.text-link{color:var(--muted);text-decoration:none;font-size:12px;font-weight:700}.topbar nav a{padding:10px 14px;border-radius:999px;transition:.25s ease}.topbar nav a.active,.topbar nav a:hover{color:var(--ink);background:rgba(255,255,255,.75);box-shadow:inset 0 1px rgba(255,255,255,.8)}.status,.mono{font-family:'DM Mono',monospace;font-size:10px;letter-spacing:.06em}.status{color:var(--muted)}.status i{display:inline-block;width:6px;height:6px;background:#91bd55;border-radius:50%;margin-right:7px;box-shadow:0 0 0 5px rgba(145,189,85,.12)}.page{position:relative;z-index:1}.hero{min-height:620px;padding:110px 0 90px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center}.grid-bg{background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:52px 52px;background-position:0 20px}.eyebrow{font:500 10px 'DM Mono',monospace;letter-spacing:.14em;color:var(--muted);margin:0 0 25px}.hero h1,.page-intro h1{font-size:clamp(46px,6.4vw,84px);line-height:.98;letter-spacing:-.075em;margin:0;font-weight:700}.hero h1 span,.page-intro h1 span{color:#8fa398}.hero-copy{color:var(--muted);max-width:360px;line-height:1.75;font-size:14px;margin:30px 0}.button{border:0;padding:16px 20px;text-decoration:none;display:inline-flex;gap:26px;align-items:center;font:700 12px Manrope;cursor:pointer;border-radius:999px;transition:.25s ease}.button.primary{background:var(--ink);color:var(--cream);box-shadow:0 14px 30px rgba(17,26,22,.16)}.button.primary:hover{transform:translateY(-1px);background:#2f4037}.orbit-art{height:380px;position:relative;display:grid;place-items:center}.orbit{position:absolute;border:1px solid rgba(17,26,22,.22);border-radius:50%;transform:rotate(-25deg)}.orbit-a{width:340px;height:165px}.orbit-b{width:250px;height:315px;transform:rotate(55deg)}.planet{width:118px;height:118px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#e9ff92,#d9f36b);font-size:38px;box-shadow:0 0 0 16px rgba(223,244,122,.18),0 30px 60px rgba(81,100,90,.18);animation:float 5s ease-in-out infinite}.orbit-label{position:absolute;font:10px 'DM Mono';color:var(--muted)}.label-a{top:70px;right:25px}.label-b{bottom:62px;left:30px}@keyframes float{50%{transform:translateY(-10px) rotate(8deg)}}.section-head{display:flex;justify-content:space-between;align-items:end;margin:30px 0 30px}.section-head h2{font-size:34px;line-height:1.08;letter-spacing:-.055em;margin:0}.section-head.compact{margin-top:100px}.muted{color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stats article,.note-card,.composer,.journal-note{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:24px;position:relative;border-radius:28px;transition:.25s ease}.stats article:hover,.note-card:hover,.journal-note:hover{transform:translateY(-3px)}.stat-icon{font-size:26px;color:#91a69a}.stats p{font-size:12px;color:var(--muted);margin:28px 0 8px}.stats strong{display:block;font-size:27px;letter-spacing:-.045em}.stats small{color:var(--muted);font-size:11px}.note-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.note-card{min-height:170px}.note-top{display:flex;justify-content:space-between;align-items:center}.tag{font:10px 'DM Mono';padding:6px 9px;border-radius:20px;background:#dbe5df;color:#51645a}.tag.work{background:#f0d3ad}.tag.life{background:#c9d9ee}.note-card p,.journal-note p{font-size:17px;line-height:1.5;margin:24px 0 0;max-width:420px}.note-arrow{position:absolute;right:22px;bottom:19px;color:var(--muted)}.footer{border-top:1px solid var(--line);margin-top:110px;padding:26px 0;display:flex;justify-content:space-between;color:var(--muted);font:10px 'DM Mono'}.footer b{color:var(--ink)}.page-intro{padding:100px 0 80px;max-width:780px}.page-intro>p:last-child{color:var(--muted);line-height:1.75;max-width:460px;margin-top:30px}.journal-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:76px}.composer label{display:block;font-weight:700;font-size:14px;margin-bottom:16px}.composer textarea{width:100%;height:170px;background:rgba(255,255,255,.18);border:0;border-top:1px solid var(--line);padding:18px 0;resize:vertical;font:14px Manrope;color:var(--ink);outline:0}.composer-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:15px;gap:14px}.composer select{background:transparent;border:0;color:var(--muted);font:11px 'DM Mono'}.form-message{font-size:11px;color:#668050}.list-head{display:flex;justify-content:space-between;padding:0 0 14px;font-weight:700;font-size:13px}.journal-note{margin-bottom:14px}.delete-note{position:absolute;right:18px;top:17px;border:0;background:transparent;color:var(--muted);font-size:20px;cursor:pointer}.manifesto{border-top:1px solid var(--line);padding:60px 0;display:grid;grid-template-columns:1fr 2fr;max-width:820px}.manifesto-number{font:12px 'DM Mono';color:var(--muted)}.manifesto h2{font-size:60px;line-height:.98;letter-spacing:-.065em;margin:0 0 25px}.manifesto p{color:var(--muted);line-height:1.75;max-width:480px;margin-bottom:25px}@media(max-width:760px){.shell{width:calc(100% - 36px)}.topbar{height:78px}.topbar nav{gap:4px;padding:4px}.topbar nav a{font-size:10px;padding:9px 10px}.status{display:none}.hero{grid-template-columns:1fr;padding:70px 0 40px;min-height:auto}.orbit-art{height:280px}.orbit-a{width:280px}.stats,.note-grid,.journal-layout{grid-template-columns:1fr}.section-head{align-items:start;gap:12px;flex-direction:column}.section-head.compact{margin-top:70px}.footer{margin-top:80px;gap:20px;line-height:1.5}.page-intro{padding:70px 0 55px}.manifesto{grid-template-columns:1fr;gap:25px}.manifesto h2{font-size:46px}.about-hero{grid-template-columns:1fr!important}.about-stats{grid-template-columns:repeat(2,1fr)!important}.team-grid{grid-template-columns:1fr!important}.features-grid{grid-template-columns:1fr!important}.tech-grid{grid-template-columns:1fr!important}.palette-grid{grid-template-columns:repeat(2,1fr)!important}.growth-chart{flex-wrap:wrap!important}.weekly-grid{grid-template-columns:repeat(2,1fr)!important}.hourly-chart{flex-wrap:wrap!important}.geo-grid{grid-template-columns:repeat(2,1fr)!important}.testimonials-grid{grid-template-columns:1fr!important}.roadmap-grid{grid-template-columns:1fr!important}.awards-partners{grid-template-columns:1fr!important}.device-grid{grid-template-columns:1fr!important}.philosophy-grid{grid-template-columns:1fr!important}.principles-grid{grid-template-columns:1fr!important}.timeline-item{flex-direction:column!important}.timeline-content{margin-left:30px!important}.faq-item{padding:18px 0!important}.about-footer-cta{padding:60px 0!important}}

/* === ABOUT PAGE === */
.about-hero{padding:100px 0 80px;max-width:820px}
.about-hero h1{font-size:clamp(42px,5.8vw,72px);line-height:.98;letter-spacing:-.075em;margin:0 0 24px}
.about-hero h1 span{color:#8fa398}
.about-hero .hero-copy{color:var(--muted);max-width:560px;line-height:1.75;font-size:15px;margin:0 0 40px}
.quote-block{border-left:3px solid var(--lime);padding:20px 0 20px 28px;margin:0}
.quote-block p{font-size:20px;line-height:1.6;font-style:italic;margin:0 0 10px;letter-spacing:-.02em}
.quote-block cite{font:11px 'DM Mono';color:var(--muted);font-style:normal}

.about-section{margin:80px 0;padding:60px 0;border-top:1px solid var(--line)}
.about-section:first-of-type{border-top:0}

/* Stats */
.about-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat-card{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:28px 24px;border-radius:24px;transition:.3s ease}
.stat-card:hover{transform:translateY(-4px);box-shadow:0 30px 80px rgba(31,43,37,.14),inset 0 1px rgba(255,255,255,.7)}
.stat-card .stat-icon{font-size:24px;color:#91a69a}
.stat-card p{font-size:11px;color:var(--muted);margin:18px 0 6px;letter-spacing:.02em}
.stat-card strong{display:block;font-size:32px;letter-spacing:-.05em;font-weight:800}
.stat-card small{color:var(--muted);font-size:10px;font-family:'DM Mono',monospace}

/* Philosophy */
.philosophy-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.philosophy-card{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:36px 30px;border-radius:28px;transition:.3s ease}
.philosophy-card:hover{transform:translateY(-3px)}
.philosophy-num{font:12px 'DM Mono';color:var(--muted);display:block;margin-bottom:16px}
.philosophy-card h3{font-size:22px;letter-spacing:-.04em;margin:0 0 14px}
.philosophy-card p{color:var(--muted);font-size:14px;line-height:1.75;margin:0}

/* Principles */
.principles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.principle-card{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:32px 26px;border-radius:24px;transition:.3s ease}
.principle-card:hover{transform:translateY(-3px)}
.principle-icon{font-size:28px;color:#91a69a;display:block;margin-bottom:16px}
.principle-card h3{font-size:18px;letter-spacing:-.03em;margin:0 0 12px}
.principle-card p{color:var(--muted);font-size:13px;line-height:1.7;margin:0}

/* Timeline */
.timeline{position:relative;padding:20px 0}
.timeline::before{content:'';position:absolute;left:50%;top:0;bottom:0;width:1px;background:var(--line);transform:translateX(-50%)}
.timeline-item{display:flex;align-items:flex-start;position:relative;margin-bottom:48px}
.timeline-item.left{flex-direction:row-reverse}
.timeline-item.right{flex-direction:row}
.timeline-dot{width:14px;height:14px;border-radius:50%;background:var(--lime);border:3px solid var(--cream);box-shadow:0 0 0 2px var(--line);position:absolute;left:50%;transform:translateX(-50%);z-index:2}
.timeline-content{width:45%;padding:24px 28px;background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);border-radius:20px;transition:.3s ease}
.timeline-content:hover{transform:translateY(-2px)}
.timeline-item.left .timeline-content{margin-right:auto}
.timeline-item.right .timeline-content{margin-left:auto}
.timeline-content .mono{display:block;margin-bottom:8px}
.timeline-content h3{font-size:20px;letter-spacing:-.04em;margin:0 0 10px}
.timeline-content p{color:var(--muted);font-size:13px;line-height:1.7;margin:0}

/* Team */
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.team-card{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:36px 28px;border-radius:28px;text-align:center;transition:.3s ease}
.team-card:hover{transform:translateY(-4px)}
.team-emoji{font-size:42px;display:block;margin-bottom:16px}
.team-card h3{font-size:20px;letter-spacing:-.03em;margin:0 0 4px}
.team-role{font:11px 'DM Mono';color:var(--muted);display:block;margin-bottom:16px}
.team-quote{font-size:14px;font-style:italic;color:var(--muted);line-height:1.6;margin:0 0 14px;padding:0;border:0}
.team-bio{font-size:12px;color:var(--muted);line-height:1.65;margin:0}

/* Features */
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.feature-card{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:30px 24px;border-radius:24px;transition:.3s ease}
.feature-card:hover{transform:translateY(-3px)}
.feature-icon{font-size:28px;color:#91a69a;display:block;margin-bottom:14px}
.feature-card h3{font-size:17px;letter-spacing:-.03em;margin:0 0 10px}
.feature-card p{color:var(--muted);font-size:13px;line-height:1.65;margin:0}

/* Tech */
.tech-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.tech-card{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:24px 20px;border-radius:20px;transition:.3s ease}
.tech-card:hover{transform:translateY(-2px)}
.tech-category{font:10px 'DM Mono';color:var(--lime);text-transform:uppercase;letter-spacing:.1em;display:block;margin-bottom:10px}
.tech-card h3{font-size:16px;letter-spacing:-.02em;margin:0 0 8px}
.tech-card p{color:var(--muted);font-size:12px;line-height:1.6;margin:0}

/* Palette */
.palette-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.palette-card{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:20px;border-radius:20px;text-align:center;transition:.3s ease}
.palette-card:hover{transform:translateY(-2px)}
.palette-swatch{width:100%;height:64px;border-radius:14px;margin-bottom:14px;border:1px solid var(--line)}
.palette-card h3{font-size:14px;margin:0 0 4px}
.palette-card .mono{display:block;margin-bottom:8px}
.palette-card p{color:var(--muted);font-size:11px;margin:0}

/* Growth chart */
.growth-chart{display:flex;align-items:flex-end;gap:12px;height:220px;padding:20px 0}
.growth-bar-wrap{flex:1;display:flex;flex-direction:column;align-items:center;height:100%}
.growth-bar{width:100%;background:linear-gradient(180deg,var(--lime),#b9d8d0);border-radius:10px 10px 4px 4px;min-height:8px;transition:height 1s ease;margin-top:auto;position:relative}
.growth-value{position:absolute;top:-22px;left:50%;transform:translateX(-50%);font:11px 'DM Mono';color:var(--ink);white-space:nowrap}
.growth-label{font:10px 'DM Mono';color:var(--muted);margin-top:8px}

/* Weekly */
.weekly-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.weekly-card{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:22px 18px;border-radius:20px;text-align:center;transition:.3s ease}
.weekly-card:hover{transform:translateY(-2px)}
.weekly-card h3{font-size:13px;margin:0 0 10px;letter-spacing:-.02em}
.weekly-card strong{display:block;font-size:30px;letter-spacing:-.05em}
.weekly-card small{display:block;font-size:10px;color:var(--muted);margin:4px 0 10px}
.weekly-card .mono{font-size:10px;color:var(--muted)}

/* Hourly */
.hourly-chart{display:flex;align-items:flex-end;gap:4px;height:160px;padding:20px 0}
.hourly-bar-wrap{flex:1;display:flex;flex-direction:column;align-items:center;height:100%}
.hourly-bar{width:100%;background:var(--ink);border-radius:6px 6px 2px 2px;min-height:3px;transition:height .8s ease;margin-top:auto;opacity:.7}
.hourly-bar-wrap:hover .hourly-bar{opacity:1;background:var(--lime)}
.hourly-label{font:8px 'DM Mono';color:var(--muted);margin-top:6px}

/* Tag distribution */
.tag-dist{display:flex;flex-direction:column;gap:24px}
.tag-bar-visual{display:flex;height:48px;border-radius:14px;overflow:hidden}
.tag-segment{display:flex;align-items:center;justify-content:center;transition:flex .8s ease}
.tag-segment span{font:11px 'DM Mono';color:var(--ink);white-space:nowrap;font-weight:600}
.tag-segment.idea{background:var(--lime)}
.tag-segment.work{background:#f0d3ad}
.tag-segment.life{background:#c9d9ee}
.tag-details{display:flex;gap:20px}
.tag-detail-item{display:flex;align-items:center;gap:10px}
.tag-detail-item strong{font-size:18px;letter-spacing:-.03em}
.tag-detail-item small{font:10px 'DM Mono';color:var(--muted)}

/* Note length */
.length-dist{display:flex;flex-direction:column;gap:14px}
.length-card{display:flex;align-items:center;gap:20px}
.length-bar-bg{flex:1;height:28px;background:rgba(255,255,255,.3);border-radius:10px;overflow:hidden}
.length-bar{height:100%;background:linear-gradient(90deg,var(--lime),#b9d8d0);border-radius:10px;transition:width 1s ease}
.length-info{display:flex;align-items:center;gap:12px;min-width:200px}
.length-info span{font-size:13px;min-width:100px}
.length-info strong{font-size:16px;letter-spacing:-.03em}
.length-info small{font:10px 'DM Mono';color:var(--muted)}

/* Device & Browser */
.device-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.device-block h3{font-size:16px;margin:0 0 20px;letter-spacing:-.02em}
.device-row{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.device-row span{min-width:80px;font-size:13px}
.device-bar-bg{flex:1;height:10px;background:rgba(255,255,255,.3);border-radius:6px;overflow:hidden}
.device-bar{height:100%;background:var(--ink);border-radius:6px;transition:width 1s ease}
.device-row strong{font:12px 'DM Mono';min-width:36px;text-align:right}

/* Retention */
.retention-chart{display:flex;align-items:flex-end;gap:12px;height:200px;padding:20px 0}
.retention-bar-wrap{flex:1;display:flex;flex-direction:column;align-items:center;height:100%}
.retention-bar{width:100%;background:linear-gradient(180deg,#91bd55,var(--lime));border-radius:10px 10px 4px 4px;min-height:8px;transition:height 1s ease;margin-top:auto;position:relative}
.retention-value{position:absolute;top:-22px;left:50%;transform:translateX(-50%);font:11px 'DM Mono';color:var(--ink);white-space:nowrap}
.retention-label{font:10px 'DM Mono';color:var(--muted);margin-top:8px}

/* Geo */
.geo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.geo-card{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:20px;border-radius:18px;text-align:center;transition:.3s ease}
.geo-card:hover{transform:translateY(-2px)}
.geo-card h3{font-size:14px;margin:0 0 8px}
.geo-card strong{display:block;font-size:26px;letter-spacing:-.04em}
.geo-card small{font:10px 'DM Mono';color:var(--muted)}

/* Testimonials */
.testimonials-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.testimonial-card{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:30px 26px;border-radius:24px;transition:.3s ease}
.testimonial-card:hover{transform:translateY(-3px)}
.testimonial-card blockquote{font-size:15px;line-height:1.65;font-style:italic;margin:0 0 18px;color:var(--ink)}
.testimonial-author{display:flex;flex-direction:column;gap:2px}
.testimonial-author strong{font-size:13px}
.testimonial-author span{font:10px 'DM Mono';color:var(--muted)}

/* Glossary */
.glossary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.glossary-card{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:22px 20px;border-radius:18px;transition:.3s ease}
.glossary-card:hover{transform:translateY(-2px)}
.glossary-card h3{font-size:15px;margin:0 0 8px;letter-spacing:-.02em}
.glossary-card p{color:var(--muted);font-size:12px;line-height:1.65;margin:0}

/* Changelog */
.changelog-list{display:flex;flex-direction:column;gap:20px}
.changelog-item{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:28px 26px;border-radius:22px;transition:.3s ease}
.changelog-item:hover{transform:translateY(-2px)}
.changelog-head{display:flex;align-items:center;gap:14px;margin-bottom:14px;flex-wrap:wrap}
.changelog-head h3{font-size:18px;letter-spacing:-.03em;margin:0}
.changelog-item ul{list-style:none;padding:0;margin:0}
.changelog-item li{font-size:13px;color:var(--muted);padding:6px 0;border-top:1px solid var(--line);line-height:1.5}
.changelog-item li:first-child{border-top:0}

/* Roadmap */
.roadmap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.roadmap-card{background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);padding:28px 24px;border-radius:24px;transition:.3s ease}
.roadmap-card:hover{transform:translateY(-3px)}
.roadmap-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.roadmap-head h3{font-size:18px;margin:0;letter-spacing:-.03em}
.roadmap-status{font:10px 'DM Mono';padding:5px 10px;border-radius:20px}
.roadmap-status.planned{background:#dbe5df;color:#51645a}
.roadmap-status.vision{background:#f0d3ad;color:#8a6d3b}
.roadmap-card ul{list-style:none;padding:0;margin:0}
.roadmap-card li{font-size:13px;color:var(--muted);padding:7px 0;border-top:1px solid var(--line);line-height:1.5}
.roadmap-card li:first-child{border-top:0}

/* Awards & Partners */
.awards-partners{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.awards-block h3,.partners-block h3{font-size:16px;margin:0 0 20px;letter-spacing:-.02em}
.award-item,.partner-item{padding:16px 0;border-top:1px solid var(--line)}
.award-item:first-of-type,.partner-item:first-of-type{border-top:0}
.award-item strong,.partner-item strong{display:block;font-size:14px;margin-bottom:4px}
.award-item span,.partner-item span{font-size:10px;color:var(--muted)}

/* Top notes */
.top-notes-list{display:flex;flex-direction:column;gap:16px}
.top-note-item{display:flex;align-items:flex-start;gap:20px;padding:24px 28px;background:var(--glass);border:1px solid rgba(255,255,255,.72);box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(18px);border-radius:20px;transition:.3s ease}
.top-note-item:hover{transform:translateY(-2px)}
.top-note-num{font:12px 'DM Mono';color:var(--muted);min-width:28px;padding-top:2px}
.top-note-item p{font-size:16px;line-height:1.6;font-style:italic;margin:0}

/* Manifesto full */
.manifesto-full{display:flex;flex-direction:column;gap:48px}
.manifesto-block{display:grid;grid-template-columns:60px 1fr;gap:20px;padding:40px 0;border-top:1px solid var(--line)}
.manifesto-block:first-child{border-top:0;padding-top:0}
.manifesto-block .manifesto-number{font:12px 'DM Mono';color:var(--muted);padding-top:8px}
.manifesto-block h2{font-size:clamp(28px,3.5vw,44px);line-height:1.02;letter-spacing:-.06em;margin:0 0 18px}
.manifesto-block h2 span{color:#8fa398}
.manifesto-block p{color:var(--muted);line-height:1.8;max-width:600px;font-size:15px;margin:0}

/* FAQ */
.faq-list{display:flex;flex-direction:column}
.faq-item{padding:28px 0;border-top:1px solid var(--line)}
.faq-item:first-child{border-top:0}
.faq-item h3{font-size:17px;letter-spacing:-.03em;margin:0 0 12px}
.faq-item p{color:var(--muted);font-size:14px;line-height:1.75;margin:0;max-width:640px}

/* Footer CTA */
.about-footer-cta{text-align:center;padding:100px 0;border-top:1px solid var(--line)}
.about-footer-cta h2{font-size:clamp(36px,5vw,60px);line-height:1;letter-spacing:-.065em;margin:20px 0 36px}

/* Reveal animation */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

/* Quote block meta & refresh button */
.quote-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.quote-refresh-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 14px;
  font: 12px 'DM Mono', monospace;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.quote-refresh-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}
.quote-refresh-btn.spinning span {
  display: inline-block;
  animation: spin 0.4s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Live Pulse Indicator */
.pulse-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: #38ef7d;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #38ef7d;
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Tech Filter Pills */
.tech-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.filter-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 7px 16px;
  border-radius: 999px;
  font: 12px 'DM Mono', monospace;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-pill:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.filter-pill.active {
  background: #fff;
  color: #000;
  border-color: #fff;
  font-weight: 600;
}

/* Patch Console Card */
.patch-console-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  margin-top: 24px;
}
.patch-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.patch-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.patch-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.patch-field label {
  font: 12px 'DM Mono', monospace;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.patch-field input,
.patch-field textarea {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease;
}
.patch-field input:focus,
.patch-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
}
.patch-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.patch-status {
  font-size: 13px;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 900px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .philosophy-grid,
  .principles-grid,
  .team-grid,
  .features-grid,
  .tech-grid,
  .palette-grid,
  .weekly-grid,
  .geo-grid,
  .testimonials-grid,
  .glossary-grid,
  .roadmap-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 600px) {
  .about-stats {
    grid-template-columns: 1fr !important;
  }
  .patch-console-card {
    padding: 20px;
  }
}

/* Heatmap Grid */
.activity-section {
  margin: 60px 0;
}
.heatmap-grid {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.heatmap-cell {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.heatmap-cell:hover {
  transform: scale(1.2);
  border: 1px solid rgba(255,255,255,0.4);
}
.heatmap-cell.intensity-1 { background: rgba(56, 239, 125, 0.3); }
.heatmap-cell.intensity-2 { background: rgba(56, 239, 125, 0.6); }
.heatmap-cell.intensity-3 { background: rgba(56, 239, 125, 1); box-shadow: 0 0 8px rgba(56,239,125,0.5); }

/* ==========================================================================
   ADVANCED HOME & JOURNAL WORKSPACE STYLES
   ========================================================================== */

/* Hero Canvas & Quick Composer */
.home-hero-wrap {
  position: relative;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.telemetry-live-pill {
  font-size: 11px;
  color: #38ef7d;
  background: rgba(56, 239, 125, 0.08);
  border: 1px solid rgba(56, 239, 125, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.home-quick-composer {
  margin-top: 24px;
  max-width: 580px;
}
.quick-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 8px 6px 14px;
  gap: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.quick-input-wrap:focus-within {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 15px rgba(56, 239, 125, 0.12);
}
.quick-sparkle {
  color: #38ef7d;
  font-size: 16px;
}
.quick-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.quick-tag-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 8px;
  padding: 6px 8px;
  font: 12px 'DM Mono', monospace;
  outline: none;
}
.quick-submit-btn {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}
.quick-form-msg {
  font-size: 12px;
  margin: 8px 0 0 4px;
  min-height: 18px;
}

/* Cosmic Rhythm Banner */
.cosmic-banner {
  margin: 40px 0;
}
.cosmic-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(56, 239, 125, 0.04) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.cosmic-icon {
  font-size: 44px;
  line-height: 1;
}
.cosmic-info {
  flex: 1;
}
.cosmic-info h3 {
  margin: 4px 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.cosmic-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.stat-pill {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
}

/* Telemetry Grid */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.telemetry-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.telemetry-val {
  font-size: 22px;
  font-weight: 700;
  font-family: 'DM Mono', monospace;
  color: #fff;
}
.telemetry-val span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.telemetry-bar-bg {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.telemetry-bar {
  height: 100%;
  background: #38ef7d;
  transition: width 0.4s ease;
}

/* Pinned Signals */
.pinned-section {
  margin: 50px 0;
}
.pinned-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.pinned-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 215, 0, 0.03) 100%);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pinned-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.star-icon {
  color: #ffd700;
  font-size: 16px;
}

/* Journal Analytics Bar */
.intro-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.pulse-badge {
  font: 11px 'DM Mono', monospace;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.journal-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0 24px;
}
.journal-stat-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}
.journal-stat-label {
  display: block;
  font: 11px 'DM Mono', monospace;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.journal-stat-val {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.journal-stat-item small {
  font-size: 12px;
  color: var(--muted);
}

/* Tag Matrix Bar */
.journal-tag-matrix {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 36px;
}
.tag-matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 10px;
}
.tag-matrix-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.legend-dot.idea { background: #38ef7d; }
.legend-dot.work { background: #3498db; }
.legend-dot.life { background: #e67e22; }

.tag-matrix-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
}
.tag-bar-seg {
  height: 100%;
  transition: width 0.3s ease;
}
.tag-bar-seg.idea { background: #38ef7d; }
.tag-bar-seg.work { background: #3498db; }
.tag-bar-seg.life { background: #e67e22; }

/* Journal Workspace Layout */
.journal-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: start;
}
.composer-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.composer-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.composer-title {
  font-size: 16px;
  font-weight: 600;
}
.composer-quick-templates {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.quick-tmpl-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.quick-tmpl-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.composer-card textarea {
  width: 100%;
  min-height: 120px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
}
.composer-card textarea:focus {
  border-color: rgba(255, 255, 255, 0.35);
}

.composer-metrics {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: -8px;
}
.composer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.tag-select-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tag-radio {
  cursor: pointer;
}
.tag-radio input {
  display: none;
}
.tag-radio span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font: 12px 'DM Mono', monospace;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.2s ease;
}
.tag-radio input:checked + span {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.tag-radio.idea input:checked + span { border-color: #38ef7d; color: #38ef7d; }
.tag-radio.work input:checked + span { border-color: #3498db; color: #3498db; }
.tag-radio.life input:checked + span { border-color: #e67e22; color: #e67e22; }

.pin-toggle {
  cursor: pointer;
  font-size: 12px;
}
.pin-toggle input {
  display: none;
}
.pin-star {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 12px 'DM Mono', monospace;
  transition: all 0.2s ease;
}
.pin-toggle input:checked + .pin-star {
  border-color: #ffd700;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
}

.composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hotkey-tip {
  font-size: 11px;
}

/* Export Box */
.export-box {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}
.export-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.export-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 12px 'DM Mono', monospace;
  text-decoration: none;
  transition: all 0.2s ease;
}
.export-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

/* Stream Toolbar */
.stream-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 12px;
  color: var(--muted);
  font-size: 14px;
}
.search-wrap input {
  width: 100%;
  padding: 10px 36px 10px 36px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}
.search-wrap input:focus {
  border-color: rgba(255, 255, 255, 0.3);
}
.search-clear {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}
.filter-pills-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.stream-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  font: 12px 'DM Mono', monospace;
  cursor: pointer;
  transition: all 0.2s ease;
}
.stream-pill:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.stream-pill.active {
  background: #fff;
  color: #000;
  border-color: #fff;
  font-weight: 600;
}
.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.sort-wrap select {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  font: 12px 'DM Mono', monospace;
  outline: none;
}

/* Journal Notes Cards */
.journal-note {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.journal-note:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.journal-note.is-pinned {
  border-color: rgba(255, 215, 0, 0.35);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 215, 0, 0.02) 100%);
}
.note-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.note-meta-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pinned-badge {
  font: 11px 'DM Mono', monospace;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}
.note-date {
  font-size: 12px;
  color: var(--muted);
}
.note-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.action-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.action-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}
.action-btn.toggle-pin-btn {
  color: #ffd700;
}
.action-btn.delete-note:hover {
  color: #ff6b6b;
  border-color: #ff6b6b;
}

.note-body-text {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.note-bottom {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}

/* Inline Edit */
.inline-edit-wrap {
  margin-top: 8px;
}
.inline-edit-input {
  width: 100%;
  min-height: 80px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  padding: 10px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  outline: none;
}
.inline-edit-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.inline-tag-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font: 12px 'DM Mono', monospace;
}
.inline-buttons {
  display: flex;
  gap: 8px;
}
.inline-buttons button {
  padding: 6px 14px;
  font-size: 12px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
}
.empty-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .journal-layout {
    grid-template-columns: 1fr;
  }
  .journal-stats-bar,
  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .journal-stats-bar,
  .telemetry-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   GALLERY, STARMAP, ARCHIVE & BLUEPRINT STYLES
   ========================================================================== */

.gallery-section {
  margin: 70px 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 28px;
}
.gallery-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.gallery-svg-wrap {
  width: 100%;
  background: #05070a;
  border-bottom: 1px solid var(--line);
}
.mockup-svg {
  display: block;
  width: 100%;
  height: auto;
}
.gallery-card-info {
  padding: 20px 24px;
}
.gallery-card-info h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.gallery-card-info p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Star Map Section */
.starmap-catalog-section {
  margin: 70px 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.starmap-desc {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 14px;
  max-width: 680px;
  line-height: 1.6;
}
.star-preview-table-wrap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  overflow-x: auto;
}
.star-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.star-table th,
.star-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.star-table th {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
}
.table-more-hint {
  text-align: center;
  padding: 14px;
  font-size: 12px;
}

/* Journal Archive Section */
.journal-archive-section {
  margin: 70px 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.archive-cards-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.archive-mini-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.archive-mini-card h4 {
  margin: 0;
  font-size: 15px;
}
.archive-mini-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.archive-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: auto;
}

/* About Specs Section */
.about-specs-section {
  margin: 70px 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.specs-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.spec-mini-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spec-layer {
  font-size: 11px;
  color: #38ef7d;
  background: rgba(56, 239, 125, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}
.spec-mini-card h4 {
  margin: 0;
  font-size: 15px;
}
.spec-mini-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.spec-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: auto;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TOPBAR ACTIONS, THEMES, TERMINAL & PHYSICS GRAPH
   ========================================================================== */

/* Topbar Actions */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.topbar-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}
#ambient-audio-btn.playing {
  color: #38ef7d;
  border-color: rgba(56, 239, 125, 0.4);
  background: rgba(56, 239, 125, 0.1);
}
#ambient-audio-btn.playing .audio-icon {
  animation: pulse-audio 1s infinite alternate;
}
@keyframes pulse-audio {
  from { transform: scale(1); }
  to { transform: scale(1.3); }
}

.topbar-select {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  outline: none;
  cursor: pointer;
}

/* Color Themes */
[data-theme="nebula"] {
  --accent: #b056ff;
  --ambient-1: rgba(176, 86, 255, 0.15);
  --ambient-2: rgba(41, 128, 185, 0.12);
}
[data-theme="nebula"] .pulse-dot,
[data-theme="nebula"] .telemetry-live-pill,
[data-theme="nebula"] .button.primary {
  background: #b056ff !important;
  color: #fff !important;
}
[data-theme="nebula"] .tag.idea {
  background: rgba(176, 86, 255, 0.1);
  color: #b056ff;
}

[data-theme="solar"] {
  --accent: #f39c12;
  --ambient-1: rgba(243, 156, 18, 0.15);
  --ambient-2: rgba(231, 76, 60, 0.12);
}
[data-theme="solar"] .pulse-dot,
[data-theme="solar"] .telemetry-live-pill,
[data-theme="solar"] .button.primary {
  background: #f39c12 !important;
  color: #000 !important;
}
[data-theme="solar"] .tag.idea {
  background: rgba(243, 156, 18, 0.1);
  color: #f39c12;
}

[data-theme="void"] {
  --bg: #000000;
  --accent: #ffffff;
  --ambient-1: rgba(255, 255, 255, 0.04);
  --ambient-2: rgba(255, 255, 255, 0.02);
}
[data-theme="void"] .button.primary {
  background: #ffffff !important;
  color: #000000 !important;
}

/* Cyber Terminal Modal */
.terminal-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.terminal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
}
.terminal-window {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 720px;
  height: 460px;
  background: #080c10;
  border: 1px solid rgba(56, 239, 125, 0.3);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 239, 125, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.terminal-header {
  height: 38px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}
.terminal-buttons {
  display: flex;
  gap: 6px;
}
.term-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.term-close { background: #ff5f56; cursor: pointer; }
.term-min { background: #ffbd2e; }
.term-max { background: #27c93f; }
.terminal-title {
  font-size: 11px;
  color: var(--muted);
}
.terminal-close-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}
.terminal-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.term-line {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.term-line.banner {
  color: #38ef7d;
  font-weight: bold;
  margin-bottom: 4px;
}
.term-line.muted { color: var(--muted); }
.term-line.success { color: #38ef7d; }
.term-line.error { color: #ff6b6b; }
.term-line.input-echo { color: #fff; }
.term-hl { color: #38ef7d; font-weight: bold; }
.term-prompt { color: #3498db; }

.terminal-input-row {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--line);
  gap: 8px;
}
.terminal-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  outline: none;
}

/* Physics Graph View */
.notes-graph-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  background: #06090e;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}
#notes-physics-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.graph-legend {
  position: absolute;
  bottom: 12px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
