/*
 * File: assets/style.css
 * Project: Kimnote | Version: 0.3.0
 */
:root {
  --navy: #18324f;
  --amber: #f4b544;
  --bg: #f5f7fa;
  --line: #e3e8ef;
  --muted: #65758a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    16px/1.6 "Segoe UI",
    Arial,
    sans-serif;
  color: var(--navy);
  background: white;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
.button {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 16px;
  background: white;
  color: var(--navy);
}
button:hover,
.button:hover {
  background: #edf2f7;
}
.primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.primary:hover {
  background: #284d72;
}
.gold {
  background: var(--amber);
  border-color: var(--amber);
}
.brand {
  width: 180px;
  height: 70px;
  object-fit: contain;
}
.sitehead {
  padding: 12px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.sitehead nav {
  display: flex;
  align-items: center;
  gap: 25px;
}
.hero {
  max-width: 1320px;
  margin: auto;
  padding: 80px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #9a650a;
}
h1 {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.12;
  letter-spacing: -2px;
  margin: 20px 0;
}
h2 {
  font-size: 32px;
  line-height: 1.25;
}
p {
  color: var(--muted);
}
.hero p {
  font-size: 19px;
}
.actions {
  display: flex;
  gap: 12px;
  margin: 30px 0;
}
.mock {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 25px 70px #18324f12;
  transform: rotate(-2deg);
}
.mockbar {
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.mocknote {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-top: 20px;
}
.mocknote h2 {
  font-size: 25px;
}
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  background: #fff0d0;
  padding: 5px 12px;
  border-radius: 7px;
  font-size: 14px;
}
.section {
  max-width: 1150px;
  padding: 45px 25px;
  margin: auto;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.card h3 {
  margin-top: 0;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 30px 6%;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}
.workspace {
  height: 100dvh;
  display: grid;
  grid-template-columns: 235px 320px 1fr;
  background: white;
}
.sidebar {
  background: var(--bg);
  padding: 15px;
  border-right: 1px solid var(--line);
  overflow: auto;
}
.sidebar .brand {
  width: 170px;
}
.navbutton {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  margin: 3px 0;
  padding: 10px 14px;
}
.navbutton.active {
  background: #e2eaf4;
  font-weight: 600;
}
.sidebar small {
  display: block;
  padding: 24px 14px 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1px;
}
.bottom {
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.listpane {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.listhead {
  padding: 24px 20px 16px;
}
.listhead h2 {
  font-size: 24px;
  margin: 0 0 15px;
}
.search {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
}
.notelist {
  overflow: auto;
  flex: 1;
}
.noteitem {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  text-align: left;
  padding: 20px;
}
.noteitem.selected {
  background: #edf3fa;
  border-left: 3px solid var(--amber);
}
.noteitem strong {
  display: block;
  font-size: 16px;
}
.noteitem p {
  font-size: 14px;
  margin: 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.noteitem small {
  font-size: 12px;
  color: var(--muted);
}
.editorpane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.apphead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.status {
  font-size: 14px;
  color: var(--muted);
}
.avatar {
  border-radius: 50%;
  background: #e2eaf4;
  padding: 6px 13px;
}
.editorwrap {
  padding: 30px 7%;
  overflow: auto;
  flex: 1;
}
.title {
  font-size: 34px;
  font-weight: 650;
  color: var(--navy);
  width: 100%;
  border: 0;
  outline: none;
  margin: 20px 0 12px;
  background: transparent;
}
.tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.tools button {
  padding: 5px 12px;
}
.content {
  min-height: 300px;
  outline: none;
  padding: 25px 0;
  font-size: 18px;
  color: #304359;
}
.content:empty:before {
  content: "Start writing…";
  color: #9ba7b5;
}
.meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
}
.meta select {
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.notice {
  font-size: 13px;
  padding: 10px 28px;
  background: #fff7e5;
  color: #81591b;
}
.empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}
.mobiletoggle {
  display: none;
}
.footmeta {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 12px 28px;
}
.simple {
  max-width: 850px;
  margin: 60px auto;
  padding: 0 25px;
}
.simple h1 {
  font-size: 44px;
}
.dark {
  --bg: #15283b;
  --line: #30465e;
  --muted: #aebdcd;
  background: #102135;
  color: #eff5fb;
}
.dark .workspace,
.dark button,
.dark .title {
  background: #102135;
  color: #eff5fb;
}
.dark .content {
  color: #eff5fb;
}
.dark .noteitem.selected,
.dark .navbutton.active {
  background: #25415e;
}
.dark .search {
  color: white;
}
.dark .notice {
  background: #3e321e;
  color: #f4cc80;
}
@media (max-width: 1050px) {
  .workspace {
    grid-template-columns: 195px 260px 1fr;
  }
  .editorwrap {
    padding: 20px 5%;
  }
  .apphead {
    padding: 12px 15px;
  }
  .hero {
    gap: 25px;
  }
  .sitehead nav {
    gap: 12px;
  }
}
@media (max-width: 760px) {
  .sitehead {
    flex-wrap: wrap;
  }
  .sitehead nav {
    flex-wrap: wrap;
    font-size: 14px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 35px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
    position: fixed;
    inset: 0 auto 0 0;
    width: 235px;
    z-index: 10;
    box-shadow: 0 0 0 100vw #0005;
  }
  .workspace.menuopen .sidebar {
    display: block;
  }
  .listpane {
    display: flex;
  }
  .editorpane {
    display: none;
  }
  .workspace.editing .listpane {
    display: none;
  }
  .workspace.editing .editorpane {
    display: flex;
  }
  .mobiletoggle {
    display: inline-block;
  }
  .title {
    font-size: 28px;
  }
  .footer {
    gap: 15px;
    flex-wrap: wrap;
  }
}
/* Refined typography and workspace surfaces */
body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1 {
  font-size: clamp(30px, 3.3vw, 44px);
  letter-spacing: -1.3px;
  line-height: 1.18;
}
h2 {
  font-size: 26px;
}
h3 {
  font-size: 19px;
}
.simple h1 {
  font-size: 34px;
}
.hero {
  padding-top: 64px;
  padding-bottom: 64px;
  gap: 70px;
}
.hero p {
  font-size: 17px;
  max-width: 490px;
}
.hero .eyebrow {
  font-size: 12px;
  letter-spacing: 1.6px;
}
.sitehead {
  min-height: 82px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.brandmark {
  display: inline-block;
  position: relative;
  width: 180px;
  height: 62px;
  vertical-align: middle;
}
.brand {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lightlogo {
  display: none;
  position: absolute;
  inset: 0;
  background: #f4f7fb;
  mask: url("/assets/logo.png") center/contain no-repeat;
  -webkit-mask: url("/assets/logo.png") center/contain no-repeat;
}
.dark .brandmark .brand {
  visibility: hidden;
}
.dark .lightlogo {
  display: block;
}
.sidebar .brandmark {
  width: 170px;
  height: 62px;
}
.sidebar .brand {
  width: 100%;
}
.sitehead nav {
  font-size: 15px;
  font-weight: 500;
}
.mock {
  transform: none;
  border-radius: 16px;
  box-shadow: 0 18px 55px #18324f0d;
}
.mocknote {
  padding: 25px;
}
.cards {
  gap: 20px;
}
.card {
  background: #f8fafc;
  border: 1px solid #e8edf3;
  padding: 25px;
  border-radius: 12px;
}
.card p {
  font-size: 15px;
}
.workspace {
  grid-template-columns: 220px 305px minmax(0, 1fr);
}
.sidebar {
  background: #f4f6f9;
  padding: 16px 12px;
}
.navbutton {
  font-size: 15px;
  border-radius: 8px;
  padding: 9px 12px;
}
.navbutton.active {
  background: #e4ebf4;
  color: #18324f;
  box-shadow: inset 3px 0 #f4b544;
}
.sidebar .primary {
  font-size: 15px;
  box-shadow: 0 4px 12px #18324f14;
}
.bottom {
  font-size: 14px;
  padding: 16px 8px;
}
.listhead {
  padding: 24px 18px 18px;
}
.listhead h2 {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.search {
  font-size: 14px;
  background: #f5f7fa;
  padding: 10px 12px;
}
.noteitem {
  padding: 18px 20px;
}
.noteitem strong {
  font-size: 15px;
  font-weight: 600;
}
.noteitem p {
  line-height: 1.6;
  color: #758397;
}
.noteitem.selected {
  background: #f0f5fb;
}
.apphead {
  min-height: 70px;
  padding: 14px 26px;
}
.apphead button {
  font-size: 14px;
  padding: 7px 12px;
}
.editorwrap {
  padding: 26px clamp(24px, 5vw, 80px);
  max-width: 1040px;
  width: 100%;
  margin: auto;
}
.title {
  font-size: 27px;
  letter-spacing: -0.6px;
  margin: 24px 0 15px;
  line-height: 1.4;
}
.content {
  font-size: 16px;
  line-height: 1.85;
  color: #3a4d62;
  min-height: 350px;
}
.content h2 {
  font-size: 23px;
}
.tools {
  gap: 7px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.tools button {
  border-color: transparent;
  border-radius: 6px;
  font-size: 14px;
  background: #f5f7fa;
  padding: 5px 10px;
}
.meta {
  font-size: 13px;
  color: var(--muted);
}
.meta button,
.meta select {
  font-size: 13px;
  padding: 5px 9px;
}
.notice {
  font-size: 13px;
  background: #fff9ed;
  border-bottom: 1px solid #f7ead1;
  padding: 9px 26px;
}
.empty h2 {
  font-size: 24px;
}
.status {
  font-size: 13px;
}
.footmeta {
  font-size: 12px;
}
.dark .sitehead,
.dark .footer {
  background: #102135;
}
.dark .sidebar {
  background: #15283b;
}
.dark .card,
.dark .mock {
  background: #15283b;
  border-color: #30465e;
}
.dark .mocknote {
  background: #102135;
}
.dark .mockbar,
.dark .card p {
  color: #b3c0ce;
}
.dark .chip {
  background: #665020;
  color: #ffe0a1;
}
.dark .search,
.dark .tools button {
  background: #192f46;
  color: #eff5fb;
}
.dark .navbutton.active,
.dark .noteitem.selected {
  background: #23415c;
  color: #fff;
}
.dark button:hover {
  background: #2b4661;
}
.dark .primary {
  background: #f4b544;
  color: #142c46;
  border-color: #f4b544;
}
.dark .avatar {
  background: #294863;
}
.dark .noteitem p {
  color: #b1bfd0;
}
.dark .title {
  color: #eff5fb;
}
.dark .meta {
  color: #b1bfd0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #f4b544;
  outline-offset: 3px;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .workspace {
    grid-template-columns: 190px 265px minmax(0, 1fr);
  }
  .editorwrap {
    padding: 24px;
  }
  .apphead {
    padding: 14px 18px;
  }
}
@media (max-width: 760px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 35px 6%;
    gap: 30px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .simple h1 {
    font-size: 29px;
  }
  .title {
    font-size: 24px;
  }
  .editorwrap {
    padding: 22px;
  }
  .brandmark {
    width: 155px;
    height: 54px;
  }
  .sitehead {
    padding: 10px 6%;
  }
  .sitehead nav {
    gap: 13px;
  }
  .apphead {
    padding: 12px;
  }
  .footmeta {
    overflow-wrap: anywhere;
  }
  .notice {
    padding: 9px 16px;
  }
  .card {
    padding: 22px;
  }
}
/* Public website, version 0.1.2 */
.lightlogo {
  background: none;
  mask: none;
  -webkit-mask: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  clip-path: inset(0 0 0 31%);
}
.dark .brandmark .brand {
  visibility: visible;
  clip-path: inset(0 69% 0 0);
}
.dark .lightlogo {
  display: block;
}
.sitehead nav a.current {
  color: #ab7108;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 5px;
}
.newhero {
  max-width: 1320px;
  padding: 60px 5%;
  gap: 45px;
}
.newhero h1 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.19;
}
.hero-art {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #dce7f2;
  box-shadow: 0 18px 45px #17395812;
}
.hero-art img {
  width: 100%;
  display: block;
}
.hero-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-meta span + span {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.home-intro {
  text-align: center;
  max-width: 720px;
  padding: 35px 25px 15px;
  margin: auto;
}
.home-intro h2 {
  font-size: 29px;
  letter-spacing: -0.6px;
}
.home-featuregrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1150px;
  margin: auto;
  padding: 25px 25px 65px;
}
.home-featuregrid article {
  padding: 24px;
  border-top: 1px solid var(--line);
}
.home-featuregrid p {
  font-size: 15px;
}
.feature-number {
  display: inline-flex;
  color: #99630a;
  background: #fff1d5;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
}
.workspace-showcase {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 45px;
  align-items: center;
  max-width: 1200px;
  padding: 45px 30px;
  margin: 0 auto 55px;
  background: #f3f7fc;
  border: 1px solid #e1eaf4;
  border-radius: 20px;
}
.workspace-showcase h2 {
  font-size: 29px;
  letter-spacing: -0.6px;
}
.shot {
  margin: 0;
  background: #e8eff7;
  border: 1px solid #dbe5f0;
  padding: 12px;
  border-radius: 14px;
  overflow: hidden;
}
.shot img {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #fff;
}
.shot figcaption {
  font-size: 12px;
  color: #65758a;
  margin-top: 9px;
  text-align: center;
}
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto 65px;
  padding: 32px 40px;
  background: #18324f;
  border-radius: 16px;
  color: white;
}
.cta-band h2 {
  font-size: 25px;
  margin: 0 0 8px;
}
.cta-band p {
  margin: 0;
  color: #bccbda;
}
.publicmain {
  max-width: 1260px;
  margin: auto;
  padding: 0 30px 65px;
}
.pagetop {
  text-align: center;
  padding: 60px 25px 45px;
  max-width: 850px;
  margin: auto;
}
.pagetop h1 {
  font-size: 36px;
  letter-spacing: -1px;
  line-height: 1.25;
}
.pagetop p {
  font-size: 17px;
  max-width: 600px;
  margin: 20px auto 0;
}
.featurestack {
  max-width: 1120px;
  margin: auto;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 60px;
  align-items: center;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}
.feature-row.reverse {
  grid-template-columns: 1.45fr 1fr;
}
.feature-row.reverse > div {
  order: 2;
}
.feature-row h2 {
  font-size: 27px;
  letter-spacing: -0.6px;
}
.feature-row p {
  font-size: 16px;
}
.pill {
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  background: #e4edf7;
  color: #345472;
}
.mutedpill {
  background: #edf0f4;
  color: #64758b;
}
.futureband {
  text-align: center;
  padding: 35px 30px;
  background: #f4f7fb;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 45px;
}
.futureband h2 {
  font-size: 24px;
  margin: 0 0 15px;
}
.futureband p {
  max-width: 720px;
  margin: auto;
  font-size: 15px;
}
.downloadgrid,
.pricinggrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.downloadcard,
.pricecard {
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: white;
}
.downloadcard.featured {
  background: #eef4fb;
  border-color: #c5d7e9;
}
.platform-symbol {
  font-size: 40px;
  display: block;
  line-height: 1;
  padding: 10px 0 28px;
  color: #345b80;
}
.downloadcard h2 {
  font-size: 24px;
  margin: 20px 0 5px;
}
.downloadcard p {
  font-size: 15px;
  flex: 1;
  margin-bottom: 25px;
}
.downloadcard small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 14px;
}
.availability {
  font-size: 14px;
  padding: 10px 14px;
  background: #f1f4f8;
  border-radius: 8px;
  color: #68798b;
}
.pricecard {
  padding-top: 35px;
}
.pricecard h2 {
  font-size: 25px;
  margin: 0;
}
.pricecard > p {
  font-size: 15px;
}
.price-label {
  font-size: 22px;
  font-weight: 650;
  margin: 15px 0 4px;
  line-height: 1.3;
}
.price-sub {
  font-size: 13px;
  color: var(--muted);
}
.pricecard ul {
  list-style: none;
  padding: 20px 0;
  margin: 0 0 20px;
  flex: 1;
  font-size: 15px;
}
.pricecard li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.pricecard li:before {
  content: "✓";
  color: #997017;
  margin-right: 9px;
}
.pricecard.recommended {
  border: 2px solid var(--amber);
  background: #fffcf5;
}
.planbadge {
  font-size: 12px;
  padding: 5px 12px;
  background: var(--amber);
  color: #18324f;
  border-radius: 6px;
  position: absolute;
  top: -15px;
  left: 25px;
}
.releases {
  max-width: 930px;
  margin: auto;
}
.release {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 35px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.releaseversion strong {
  display: block;
  font-size: 24px;
  margin-bottom: 12px;
}
.release h2 {
  font-size: 25px;
  margin-top: 0;
}
.release-date {
  font-size: 13px;
}
.release ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 2;
}
.helpgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.helpgrid article {
  border: 1px solid var(--line);
  padding: 25px;
  background: #f4f7fb;
  border-radius: 12px;
}
.helpgrid h2 {
  font-size: 21px;
}
.helpgrid p {
  font-size: 15px;
}
.faqsection {
  max-width: 850px;
  margin: 55px auto 0;
}
.faqsection > h2 {
  font-size: 26px;
  margin-bottom: 25px;
}
.faqsection details {
  border: 1px solid var(--line);
  margin: 12px 0;
  padding: 18px 22px;
  border-radius: 10px;
}
.faqsection summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}
.faqsection details p {
  font-size: 15px;
  margin-bottom: 0;
}
.formdialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  max-width: 440px;
  width: calc(100% - 32px);
  box-shadow: 0 30px 90px #07182c40;
  color: var(--navy);
  background: white;
}
.formdialog::backdrop {
  background: #0c1d3280;
  backdrop-filter: blur(3px);
}
.dialoghead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.dialoghead h2 {
  font-size: 23px;
  margin: 0;
}
.dialogclose {
  border: 0;
  font-size: 25px;
  padding: 0 7px;
}
.formdialog label {
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.formdialog input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
  color: inherit;
  background: transparent;
}
.formerror {
  min-height: 22px;
  font-size: 14px;
  color: #bd3737;
  margin: 8px 0 16px;
}
.dialogactions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.dark .workspace-showcase,
.dark .futureband,
.dark .helpgrid article {
  background: #15283b;
  border-color: #30465e;
}
.dark .downloadcard,
.dark .pricecard,
.dark .shot {
  background: #15283b;
  border-color: #30465e;
}
.dark .downloadcard.featured {
  background: #1b344e;
}
.dark .pricecard.recommended {
  border-color: #f4b544;
  background: #1d3044;
}
.dark .pill,
.dark .availability {
  background: #284560;
  color: #dbe8f7;
}
.dark .feature-number {
  background: #514124;
  color: #f4d188;
}
.dark .shot figcaption {
  color: #b5c4d4;
}
.dark .formdialog {
  background: #15283b;
  color: #eff5fb;
}
.dark .sitehead nav a.current {
  color: #f4b544;
}
.dark .hero-art {
  border-color: #30465e;
}
.dark .hero-meta {
  color: #bdcad9;
}
.dark .price-sub {
  color: #aebdcd;
}
@media (max-width: 900px) {
  .feature-row,
  .feature-row.reverse {
    gap: 28px;
  }
  .downloadgrid,
  .pricinggrid {
    gap: 15px;
  }
  .downloadcard,
  .pricecard {
    padding: 22px;
  }
  .price-label {
    font-size: 19px;
  }
  .workspace-showcase {
    margin-left: 20px;
    margin-right: 20px;
    gap: 25px;
  }
  .cta-band {
    margin-left: 20px;
    margin-right: 20px;
  }
  .pagetop h1 {
    font-size: 32px;
  }
}
@media (max-width: 760px) {
  .publicmain {
    padding: 0 20px 40px;
  }
  .pagetop {
    padding: 35px 0 30px;
  }
  .pagetop h1 {
    font-size: 29px;
  }
  .pagetop p {
    font-size: 16px;
  }
  .newhero {
    padding: 30px 6%;
  }
  .newhero h1 {
    font-size: 34px;
  }
  .home-featuregrid,
  .downloadgrid,
  .pricinggrid,
  .helpgrid {
    grid-template-columns: 1fr;
  }
  .home-featuregrid {
    gap: 5px;
    padding-bottom: 35px;
  }
  .workspace-showcase,
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse > div {
    order: 0;
  }
  .workspace-showcase {
    padding: 25px;
  }
  .feature-row {
    padding: 30px 0;
    gap: 20px;
  }
  .feature-row h2 {
    font-size: 24px;
  }
  .cta-band {
    display: block;
    padding: 28px;
  }
  .cta-band .button {
    display: inline-block;
    margin-top: 20px;
  }
  .release {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .releaseversion {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .releaseversion strong {
    margin: 0;
  }
  .hero-meta {
    gap: 10px;
    font-size: 12px;
  }
  .hero-meta span + span {
    padding-left: 10px;
  }
  .pricinggrid {
    gap: 30px;
  }
  .helpgrid {
    gap: 15px;
  }
  .futureband {
    padding: 25px;
  }
  .hero-art {
    border-radius: 16px;
  }
}
/* 0.1.3 public-site refinement */
.publicmain {
  max-width: 1160px;
}
.pagetop {
  padding: 72px 0 38px;
}
.pagetop h1 {
  max-width: 780px;
  letter-spacing: -1.3px;
}
.shot {
  overflow: visible;
  border-radius: 18px;
  position: relative;
  background: linear-gradient(145deg, #eaf0f9, #dbe5f3);
  padding: 13px;
  box-shadow:
    0 35px 70px -35px #18355480,
    0 10px 22px -12px #18355455;
  transform: perspective(1500px) rotateY(-2deg);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.shot img {
  border-radius: 10px;
  border: 1px solid #ffffff80;
  box-shadow: 0 3px 10px #10284320;
}
.shot figcaption {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 12px;
}
.feature-row.reverse .shot {
  transform: perspective(1500px) rotateY(2deg);
}
.shot:hover {
  transform: perspective(1500px) rotateY(0) translateY(-4px);
}
.hero-art {
  filter: drop-shadow(0 24px 35px #213a5b18);
}
.release-timeline {
  position: relative;
  padding: 12px 0 25px;
}
.release-timeline:before {
  content: "";
  position: absolute;
  left: 17px;
  top: 25px;
  bottom: 65px;
  width: 2px;
  background: linear-gradient(#e6a53b, #dce4ef);
}
.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: 36px 150px 1fr;
  gap: 25px;
  margin-bottom: 28px;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  background: #e7a53b;
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 1px #e7a53b;
  border-radius: 50%;
  margin: 26px 0 0 10px;
  z-index: 1;
}
.timeline-label {
  padding-top: 20px;
}
.timeline-label strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.5px;
}
.timeline-label span {
  font-size: 12px;
  color: var(--muted);
}
.timeline-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 32px;
  background: var(--surface);
  box-shadow: 0 12px 25px -20px #172d50;
}
.timeline-card h2 {
  font-size: 23px;
  margin: 10px 0;
}
.timeline-card p {
  line-height: 1.75;
  color: var(--muted);
}
.timeline-entry:first-child .timeline-card {
  border-color: #dbaf68;
  background: linear-gradient(135deg, var(--surface), #e7ad3920);
}
.pricing-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 28px;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: #d39930;
  border-radius: 50%;
}
.pricing-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.billing-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 14px;
}
.billing-tabs button {
  border: 0;
  background: none;
  padding: 12px 18px;
  border-radius: 10px;
}
.billing-tabs button.selected {
  background: #17304f;
  color: #fff;
  box-shadow: 0 3px 8px #18355425;
}
.billing-tabs small {
  font-size: 10px;
  color: #bd851e;
  margin-left: 4px;
}
.pricing-controls label {
  font-size: 12px;
  color: var(--muted);
}
.pricing-controls select {
  display: block;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--text);
  margin-top: 5px;
}
.new-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.plan-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px;
  background: var(--surface);
  position: relative;
  box-shadow: 0 18px 38px -28px #20365860;
}
.plan-panel h2 {
  font-size: 28px;
  margin: 16px 0 8px;
}
.plan-panel p,
.price-caption {
  color: var(--muted);
  font-size: 14px;
}
.plan-price {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 30px 0 4px;
  min-height: 47px;
}
.price-caption {
  display: block;
  min-height: 24px;
  margin-bottom: 25px;
}
.plan-panel > .button {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  margin: 8px 0 22px;
}
.plan-panel ul {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.plan-panel li {
  font-size: 14px;
  padding: 9px 0 9px 25px;
  position: relative;
}
.plan-panel li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #b68327;
}
.pro-panel {
  border-color: #d9a451;
  background: linear-gradient(145deg, var(--surface) 55%, #e9ad3520);
}
.pro-panel .planbadge {
  position: absolute;
  right: 22px;
  top: -13px;
  font-size: 10px;
  padding: 7px 12px;
}
.coming-payment {
  cursor: default;
  opacity: 0.8;
}
.currency-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
  margin: 25px auto;
  max-width: 780px;
}
.currency-note a {
  text-decoration: underline;
}
.plan-comparison {
  margin: 70px 0;
}
.plan-comparison h2 {
  font-size: 27px;
  margin: 12px 0;
}
.plan-comparison p {
  color: var(--muted);
}
.table-scroll {
  overflow-x: auto;
  margin-top: 25px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.table-scroll th,
.table-scroll td {
  padding: 17px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.table-scroll tbody th {
  font-weight: 500;
}
.table-scroll thead {
  background: #17304f;
  color: white;
}
.table-scroll tr:last-child > * {
  border-bottom: 0;
}
.faqsection details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 12px 0;
  padding: 0;
  overflow: hidden;
}
.faqsection summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  list-style: none;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.faqsection summary::-webkit-details-marker {
  display: none;
}
.faq-plus {
  color: #bb862b;
  font-size: 22px;
  font-weight: 400;
}
.faqsection details[open] .faq-plus {
  transform: rotate(45deg);
}
.faqsection details p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.elevated-help article {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 28px -22px #17304f55;
}
.help-number {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: #e7ad3920;
  color: #af7921;
  font-weight: 700;
}
.elevated-help h2 {
  font-size: 20px;
  margin-top: 24px;
}
.elevated-help p {
  font-size: 14px;
  line-height: 1.8;
}
.elevated-help a {
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  margin-top: 12px;
}
.help-faq-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 65px;
  margin: 70px 0;
}
.help-faq-layout aside h2 {
  font-size: 27px;
  line-height: 1.3;
}
.help-faq-layout aside > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.help-faq-layout .faqsection {
  margin: 0;
}
.help-tip {
  border-left: 3px solid #d8a34a;
  padding: 20px;
  background: #e7ad3912;
  margin-top: 26px;
  border-radius: 0 12px 12px 0;
}
.help-tip strong {
  font-size: 13px;
}
.help-tip p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.dark .shot {
  background: linear-gradient(145deg, #25384f, #17263a);
  box-shadow: 0 28px 60px -25px #0009;
}
.dark .timeline-entry:first-child .timeline-card {
  background: linear-gradient(135deg, #192a40, #362d21);
}
@media (max-width: 760px) {
  .pricing-controls {
    align-items: stretch;
    flex-direction: column;
  }
  .billing-tabs {
    justify-content: center;
  }
  .billing-tabs button {
    padding: 10px 11px;
  }
  .new-pricing {
    grid-template-columns: 1fr;
  }
  .plan-panel {
    padding: 28px;
  }
  .help-faq-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .timeline-entry {
    grid-template-columns: 30px 1fr;
    gap: 15px;
  }
  .timeline-label {
    grid-column: 2;
    padding-top: 0;
  }
  .timeline-card {
    grid-column: 2;
    padding: 22px;
  }
  .timeline-dot {
    grid-row: 1 / span 2;
    margin-left: 10px;
    margin-top: 8px;
  }
  .release-timeline:before {
    left: 17px;
  }
  .pagetop {
    padding-top: 45px;
  }
  .shot,
  .feature-row.reverse .shot {
    transform: none;
  }
  .plan-price {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shot {
    transition: none;
  }
  .shot:hover {
    transform: none;
  }
}
:root {
  --surface: #fff;
  --text: #18324f;
}
.dark {
  --surface: #17263a;
  --text: #e6edf5;
}
.futureband > .button {
  display: inline-block;
  margin-top: 18px;
}
.pro-panel .planbadge {
  width: auto;
  left: auto;
  display: inline-block;
}

/* Editor tables, checklists, tags, and notebook management */
.content table {
  border-collapse: collapse;
  width: 100%;
  margin: 18px 0;
}
.content td,
.content th {
  border: 1px solid #94a3b8;
  padding: 10px;
  min-width: 50px;
}
.content ul[data-checklist] {
  list-style: none;
  padding-left: 0;
}
.content input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #dca12c;
  vertical-align: middle;
  margin-right: 8px;
}
.content li:has(input:checked) {
  opacity: 0.65;
  text-decoration: line-through;
}
.note-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.meta,
.tools {
  flex-wrap: wrap;
}
.formdialog select {
  display: block;
  width: 100%;
  margin: 8px 0 16px;
  padding: 10px;
}
.sidebar {
  overflow-y: auto;
}
.tag-navigation {
  margin-top: 12px;
}

/* Sign-in page: calm navy, amber accents, and a clear Google action. */
.login-shell {
  max-width: 1100px;
  margin: 56px auto 72px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}
.login-story h1 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.18;
  margin: 18px 0;
}
.login-story > p {
  max-width: 380px;
  color: #64748b;
  line-height: 1.8;
}
.login-art {
  position: relative;
  height: 215px;
  display: grid;
  place-items: center;
  margin: 20px 0;
}
.login-art img {
  width: 135px;
  z-index: 1;
  filter: drop-shadow(0 20px 22px #14233825);
}
.login-orbit {
  position: absolute;
  border: 1px solid #dca12c44;
  border-radius: 50%;
  width: 220px;
  height: 180px;
  transform: rotate(-22deg);
}
.orbit-two {
  width: 290px;
  height: 140px;
  transform: rotate(22deg);
}
.login-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}
.login-benefits span {
  background: #fff4d9;
  color: #77551a;
  padding: 8px 12px;
  border-radius: 20px;
}
.login-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 38px;
  box-shadow: 0 18px 65px #1423380c;
}
.login-icon {
  display: block;
  width: 46px;
  margin-bottom: 24px;
}
.login-card h2 {
  font-size: 25px;
  margin: 12px 0;
}
.login-card > p {
  color: #64748b;
  line-height: 1.7;
}
.google-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 26px 0;
  min-height: 48px;
  border: 1px solid #747775;
  border-radius: 8px;
  background: #fff;
  color: #1f1f1f;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.google-signin:hover {
  background: #f4f7fc;
  box-shadow: 0 2px 8px #14233812;
}
.google-signin img {
  object-fit: contain;
}
.login-divider {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
}
.login-card .login-privacy {
  font-size: 13px;
  text-align: center;
}
.login-card .login-terms {
  font-size: 12px;
}
.login-import {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 22px;
}
.login-import p {
  margin-bottom: 0;
  color: #64748b;
}
.login-error {
  padding: 12px;
  background: #fff1f2;
  color: #9f1239;
  border-radius: 8px;
  font-size: 13px;
}
.dark .login-card {
  background: #172334;
  border-color: #334155;
}
.dark .login-import {
  background: #101c2b;
}
.dark .login-story > p,
.dark .login-card > p,
.dark .login-import p {
  color: #a6b5c9;
}
.history-dialog {
  width: min(880px, 92vw);
  max-width: 880px;
}
.history-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
}
.history-list {
  max-height: 440px;
  overflow: auto;
}
.history-item {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
  padding: 12px;
}
.history-item small {
  display: block;
  margin-top: 5px;
}
.history-item.selected {
  border-color: #dca12c;
  background: #fff4d9;
  color: #172334;
}
.history-body {
  white-space: pre-wrap;
  max-height: 300px;
  overflow: auto;
  margin-bottom: 18px;
  line-height: 1.7;
}
.history-message,
.history-restore-help {
  font-size: 12px;
  line-height: 1.6;
}
@media (max-width: 700px) {
  .login-shell {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 28px auto 40px;
    padding: 0 18px;
  }
  .login-story {
    text-align: center;
  }
  .login-story > p {
    margin-inline: auto;
  }
  .login-art {
    display: none;
  }
  .login-benefits {
    justify-content: center;
  }
  .login-card {
    padding: 26px;
  }
  .history-layout {
    grid-template-columns: 1fr;
  }
  .history-list {
    max-height: 140px;
  }
}

/* File: assets/style.css | Private attachments and minimal shared reader. */
.attachment-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #94a3b844;
}
.attachment-row a {
  flex: 1;
  overflow-wrap: anywhere;
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
[hidden] {
  display: none !important;
}
.shared-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6%;
  border-bottom: 1px solid #94a3b833;
}
.shared-header img {
  width: 145px;
}
.shared-note {
  max-width: 840px;
  margin: 45px auto;
  padding: 0 24px;
  overflow-wrap: anywhere;
}
.shared-note h1 {
  font-size: 30px;
}
.shared-body {
  font-size: 16px;
  line-height: 1.8;
}
.shared-caption {
  border-top: 1px solid #94a3b833;
  margin-top: 40px;
  padding-top: 16px;
  color: #64748b;
  font-size: 12px;
}
.history-body {
  white-space: normal;
}
.history-body table,
.shared-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.history-body td,
.history-body th,
.shared-body td,
.shared-body th {
  border: 1px solid #94a3b8;
  padding: 10px;
}
.history-body ul[data-checklist],
.shared-body ul[data-checklist] {
  list-style: none;
  padding-left: 0;
}
.history-body input[type="checkbox"],
.shared-body input[type="checkbox"] {
  accent-color: #dca12c;
  margin-right: 8px;
}
.history-body pre,
.shared-body pre {
  white-space: pre-wrap;
}
.history-body blockquote,
.shared-body blockquote {
  border-left: 3px solid #dca12c;
  margin-left: 0;
  padding-left: 16px;
}
