/* InLine: a quiet, product-led space for academic writing. */
:root {
  color-scheme:dark;
  --bg:#111113;
  --surface:#1a1a1e;
  --ink:#f3f1f6;
  --muted:#a09da8;
  --accent:#c0a6fa;
  --line:#ffffff16;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:35px;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:15px/1.7 var(--sans);
  -webkit-font-smoothing:antialiased;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  font:inherit;
  cursor:pointer;
}

[hidden] {
  display:none!important;
}

img {
  max-width:100%;
}

::selection {
  background:#9072ba66;
}

:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:5px;
}

.wrap {
  width:min(1140px,calc(100% - 96px));
  margin-inline:auto;
}

.skip {
  position:fixed;
  left:16px;
  top:-80px;
  z-index:20;
  background:var(--accent);
  color:#111;
  padding:10px 20px;
}

.skip:focus {
  top:10px;
}

.topbar {
  height:100px;
  display:flex;
  align-items:center;
  gap:56px;
}

.brand {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:26px;
  letter-spacing:-1px;
  font-weight:650;
}

.brand img,.mini-brand img,.nf img {
  filter:invert(1);
}

nav {
  display:flex;
  gap:32px;
  font-size:14px;
  color:#bbb7c4;
}

.nav-cta {
  margin-left:auto;
  background:#ffffff0c;
  border:1px solid var(--line);
  border-radius:7px;
  padding:8px 17px;
  font-size:13px;
}

.nav-cta span {
  margin-left:17px;
}

nav a,.text-link {
  transition:color .2s;
}

nav a:hover,.text-link:hover {
  color:var(--accent);
}

.hero {
  padding-top:36px;
  overflow:hidden;
  background:radial-gradient(ellipse 60% 35% at 50% 88%,#50406533,transparent);
}

.hero-copy {
  text-align:center;
  padding:0 24px;
  animation:enter .8s both;
}

.eyebrow {
  font-size:12px;
  letter-spacing:.15em;
  color:var(--muted);
  margin:0 0 20px;
}

.hero h1 {
  font-size:clamp(78px,8.2vw,112px);
  line-height:1.05;
  letter-spacing:-7px;
  margin:0 0 23px;
  font-weight:650;
}

.brand-period {
  color:var(--accent);
}

.hero h2 {
  font-size:clamp(30px,3.1vw,43px);
  letter-spacing:-1.4px;
  font-weight:550;
  line-height:1.3;
  margin:0;
}

.lede {
  font-size:16px;
  color:var(--muted);
  line-height:1.85;
  margin:23px 0;
}

.hero-actions {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:30px;
  margin-top:27px;
}

.btn {
  display:inline-flex;
  gap:27px;
  align-items:center;
  justify-content:center;
  padding:13px 23px;
  background:var(--accent);
  color:#21172f;
  border-radius:7px;
  font-weight:600;
  font-size:14px;
  transition:background .2s,transform .2s;
}

.btn:hover {
  background:#d2befc;
  transform:translateY(-3px);
}

.btn span,.text-link span {
  display:inline-block;
  transition:transform .2s;
}

.btn:hover span,.text-link:hover span {
  transform:translate(2px,-2px);
}

.text-link {
  font-size:14px;
}

.text-link span {
  margin-left:12px;
}

.release-note {
  font-size:11px;
  color:#8e8997;
  margin:17px 0 0;
}

.product-stage {
  margin-top:52px;
  animation:enter 1s .15s both;
}

.workspace {
  border:1px solid #ffffff27;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 30px 100px #0005;
  background:#1c1c20;
}

.window-bar {
  height:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 15px;
  border-bottom:1px solid #ffffff0c;
  font-size:10px;
  color:#97939e;
}

.window-dots {
  display:flex;
  gap:6px;
  min-width:100px;
}

.window-dots i {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#55525c;
}

.window-saved {
  font-size:9px;
}

.workspace-body {
  display:grid;
  grid-template-columns:195px minmax(0,1fr) 220px;
  min-height:492px;
}

.project-pane {
  position:relative;
  padding:24px 15px;
  background:#19191d;
  border-right:1px solid #ffffff09;
  font-size:11px;
  color:#b8b4c0;
}

.mini-brand {
  display:flex;
  gap:8px;
  align-items:center;
  color:var(--ink);
  font-weight:600;
  font-size:17px;
  margin-bottom:27px;
}

.sidebar-label {
  font-size:10px;
  color:#827d8b;
  display:flex;
  justify-content:space-between;
  margin:0 6px 13px;
}

.project-folder {
  padding:6px;
}

.selected-document {
  margin:6px 0;
  padding:7px 12px;
  background:#c0a6fa14;
  color:#d5c0ff;
  border-radius:4px;
}

.sidebar-item {
  padding:7px 12px;
  color:#8f8b98;
}

.outline-label {
  margin-top:30px;
}

.outline-item {
  padding:7px 6px;
  color:#8f8b98;
}

.outline-item.active {
  color:#d2ceda;
}

.sidebar-bottom {
  position:absolute;
  bottom:18px;
  left:21px;
  right:21px;
  font-size:10px;
  display:flex;
  justify-content:space-between;
  color:#807b89;
}

.editor-pane {
  background:#222226;
  min-width:0;
}

.editor-tabs {
  display:flex;
  align-items:center;
  gap:20px;
  border-bottom:1px solid var(--line);
  height:42px;
  padding:0 21px;
  color:#94909b;
  font-size:10px;
}

.editor-tabs>span:first-child {
  margin-right:auto;
  color:#ccc7d3;
}

.editor-tab-active {
  color:#e1d9ef!important;
}

.export-label {
  margin-left:auto;
}

.editor-toolbar {
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border-bottom:1px solid #ffffff08;
  color:#9994a1;
  font-size:11px;
}

.editor-toolbar span {
  height:12px;
  border-left:1px solid #ffffff15;
}

.manuscript {
  padding:32px 42px 26px;
  color:#c9c6ce;
}

.paper-kicker {
  letter-spacing:.22em;
  font-size:8px!important;
  color:#8f8998;
}

.manuscript h3 {
  font-size:22px;
  line-height:1.6;
  color:#efecf3;
  font-weight:550;
  margin:18px 0 9px;
}

.manuscript .paper-intro {
  font-size:10px;
  color:#928c9b;
  border-bottom:1px solid var(--line);
  padding-bottom:20px;
}

.manuscript h4 {
  font-size:13px;
  font-weight:550;
  margin:24px 0 13px;
}

.manuscript p {
  font-size:11px;
  line-height:2.2;
  margin:10px 0;
}

.manuscript mark {
  background:#b999e820;
  color:#d8c9ed;
  padding:2px 0;
}

.citation-line {
  margin-top:20px;
  font-size:9px;
  color:#817b8c;
}

.comment-pane {
  padding:22px 19px;
  font-size:11px;
  color:#b0aaba;
}

.comment-title {
  display:flex;
  justify-content:space-between;
  color:#d4cfdd;
  font-size:11px;
}

.comment-title>span {
  color:#8c8398;
}

.comment-author {
  display:flex;
  gap:9px;
  align-items:center;
  margin-top:32px;
  font-size:10px;
}

.avatar {
  display:grid;
  place-items:center;
  background:#b99bde22;
  border-radius:50%;
  height:27px;
  width:27px;
  color:#d4baff;
}

.comment-author small {
  display:block;
  font-size:8px;
  color:#8c8594;
}

.quote {
  border-left:2px solid #a38aba;
  padding:0 0 0 10px;
  margin-top:19px;
  color:#978ca4;
  font-size:10px;
}

.comment-divider {
  height:1px;
  background:var(--line);
  margin-top:26px;
}

.comment-caption {
  font-size:10px;
  color:#77717f;
  line-height:1.9;
}

.demo-caption {
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:10px;
  color:#88818f;
  margin:15px 0 0;
}

.principles {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:65px;
  padding-block:85px 95px;
  border-bottom:1px solid var(--line);
}

.small-icon {
  color:var(--accent);
  font-size:26px;
}

.principles h3 {
  font-size:19px;
  font-weight:550;
  margin:15px 0 12px;
}

.principles p {
  font-size:13px;
  color:var(--muted);
  margin:0;
  line-height:1.9;
}

.feature {
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:90px;
  padding-block:120px;
  align-items:center;
}

h2 {
  font-size:clamp(32px,4vw,48px);
  font-weight:550;
  line-height:1.35;
  letter-spacing:-1.4px;
  margin:0;
}

.feature-copy>p:not(.eyebrow) {
  max-width:320px;
  font-size:15px;
  line-height:1.9;
  color:var(--muted);
  margin:25px 0 30px;
}

.feature-copy .text-link {
  color:var(--accent);
}

.revision-demo {
  background:#1d1c22;
  border:1px solid #ffffff0b;
  border-radius:10px;
  padding:27px 30px;
  scroll-margin-top:35px;
}

.demo-heading {
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#c8c2d1;
  font-size:12px;
}

.demo-heading>span:last-child {
  font-size:10px;
  color:#89818f;
}

.revision-context {
  font-size:10px;
  color:#8e8599;
  margin-top:34px;
}

.revision-sentence {
  font-size:18px;
  line-height:1.9;
  min-height:139px;
}

.revision-sentence del {
  display:block;
  color:#9a919f;
  text-decoration-color:#9a919f;
  font-size:14px;
  margin-bottom:11px;
}

.revision-sentence ins {
  text-decoration:none;
  color:#d4baff;
  background:#b99ce014;
  padding:3px 0;
}

.revision-reason {
  border-top:1px solid var(--line);
  padding-top:20px;
}

.revision-reason>span {
  font-size:10px;
  color:#c5b7d6;
}

.revision-reason p {
  color:#9a92a5;
  font-size:12px;
  margin:8px 0 23px;
}

.revision-actions {
  display:flex;
  gap:10px;
}

.revision-actions button {
  border:1px solid #ffffff20;
  border-radius:5px;
  padding:7px 14px;
  color:#beb4ca;
  background:transparent;
  font-size:11px;
  transition:background .2s;
}

.revision-actions button:hover {
  background:#ffffff12;
}

.revision-actions .accept {
  background:#c0a6fa;
  color:#22162f;
  border-color:transparent;
}

.decision-status {
  min-height:17px;
  margin:14px 0 0;
  font-size:10px;
  color:#a299ae;
}

.knowledge {
  background:#171619;
  border-block:1px solid #ffffff07;
  padding-block:95px;
}

.knowledge-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:48px;
}

.knowledge-heading>p {
  font-size:14px;
  color:var(--muted);
  margin-bottom:5px;
  line-height:1.9;
}

.library-demo {
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid #ffffff12;
  border-radius:10px;
  overflow:hidden;
  background:#1b1a1f;
}

.library-list {
  padding:26px 30px;
}

.library-row {
  display:flex;
  align-items:center;
  gap:18px;
  border-bottom:1px solid var(--line);
  padding:23px 0;
}

.library-row>span {
  font-size:10px;
  color:#807789;
}

.library-row>span:last-child {
  margin-left:auto;
}

.library-row h3 {
  font-size:13px;
  font-weight:500;
  margin:0;
}

.library-row p {
  font-size:10px;
  color:#8d8398;
  margin:5px 0 0;
}

.library-row.selected h3 {
  color:#d2b9ff;
}

.library-row:last-child {
  border:0;
}

.excerpt {
  background:#201e25;
  border-left:1px solid var(--line);
  padding:39px;
}

.excerpt .eyebrow {
  font-size:10px;
}

.excerpt blockquote {
  font-size:22px;
  line-height:1.8;
  font-weight:450;
  margin:23px 0 30px;
  color:#e3d9ef;
}

.excerpt-label {
  font-size:10px;
  color:#bda4dd;
}

.excerpt>p:not(.eyebrow) {
  font-size:12px;
  color:#a59aae;
  max-width:300px;
}

.excerpt-footer {
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-top:18px;
  margin-top:28px;
  font-size:10px;
  color:#9d90aa;
}

.closing {
  text-align:center;
  padding-block:110px 80px;
}

.closing>p:not(.eyebrow) {
  font-size:14px;
  color:var(--muted);
  line-height:1.9;
  margin:24px 0 28px;
}

.closing .contact-note {
  font-size:11px!important;
  margin:14px 0 0!important;
  color:#8a8096!important;
}

.closing details {
  text-align:left;
  max-width:570px;
  margin:60px auto 0;
  border-block:1px solid var(--line);
  font-size:12px;
  color:#a59aaa;
}

.closing summary {
  cursor:pointer;
  list-style:none;
  padding:17px 0;
  color:#c2b9cb;
  display:flex;
  justify-content:space-between;
}

.closing summary::-webkit-details-marker {
  display:none;
}

.closing details[open] summary span {
  transform:rotate(45deg);
}

.closing details p {
  margin:0;
  padding:0 0 20px;
  line-height:1.9;
}

.foot {
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:26px;
  padding-block:32px 45px;
  font-size:11px;
  color:#8b8296;
}

.foot .brand {
  color:#ddd6e6;
  font-size:22px;
}

.foot p {
  margin-right:auto;
}

.foot>a:not(.brand):hover {
  color:var(--accent);
}

[data-reveal] {
  transition:opacity .7s,transform .7s;
}

[data-reveal].reveal-pending {
  opacity:0;
  transform:translateY(24px);
}

@keyframes enter {
  from {
    opacity:0;
    transform:translateY(20px);
  }
  to {
    opacity:1;
    transform:none;
  }
}

.nf-page {
  min-height:100svh;
  display:grid;
  place-items:center;
}

.nf {
  max-width:620px;
  padding:30px;
}

.nf img {
  margin-bottom:30px;
}

.nf__title {
  font-size:40px;
  line-height:1.3;
}

.nf__lede {
  color:var(--muted);
  margin-bottom:30px;
}

.btn__arrow {
  width:24px;
  height:12px;
  fill:none;
  stroke:currentColor;
}

@media(min-width:1600px) {
  .hero {
    padding-top:55px;
  }
  .product-stage {
    margin-top:64px;
  }
}

@media(max-width:1000px) {
  .wrap {
    width:calc(100% - 56px);
  }
  .workspace-body {
    grid-template-columns:165px minmax(0,1fr);
  }
  .comment-pane {
    display:none;
  }
  .feature {
    gap:40px;
  }
  .principles {
    gap:30px;
  }
  .manuscript {
    padding-inline:35px;
  }
  .knowledge-heading>p {
    max-width:300px;
  }
  .excerpt {
    padding:30px;
  }
  .library-list {
    padding:23px;
  }
  .library-row {
    gap:12px;
  }
}

@media(max-width:640px) {
  .wrap {
    width:calc(100% - 36px);
  }
  .topbar {
    height:78px;
    gap:14px;
  }
  .brand {
    font-size:23px;
  }
  .brand img {
    height:29px;
    width:auto;
  }
  .topbar nav {
    gap:14px;
    font-size:11px;
    margin-left:auto;
  }
  .topbar nav a:last-child {
    display:none;
  }
  .nav-cta {
    font-size:11px;
    margin-left:0;
    padding:7px 10px;
  }
  .nav-cta span {
    margin-left:4px;
  }
  .hero {
    padding-top:34px;
  }
  .hero h1 {
    font-size:84px;
    letter-spacing:-5px;
    margin-bottom:20px;
  }
  .hero h2 {
    font-size:31px;
  }
  .hero .eyebrow {
    font-size:10px;
  }
  .lede {
    font-size:13px;
  }
  .hero-actions {
    gap:21px;
  }
  .btn {
    font-size:13px;
    padding:12px 20px;
  }
  .text-link {
    font-size:12px;
  }
  .product-stage {
    margin-top:35px;
  }
  .workspace-body {
    grid-template-columns:minmax(0,1fr);
    min-height:0;
  }
  .project-pane {
    display:none;
  }
  .window-bar {
    height:29px;
    font-size:8px;
  }
  .window-dots {
    min-width:40px;
  }
  .window-saved {
    font-size:7px;
  }
  .editor-tabs {
    height:35px;
    padding:0 14px;
    font-size:9px;
  }
  .editor-toolbar {
    height:31px;
  }
  .manuscript {
    padding:20px 24px 24px;
  }
  .manuscript h3 {
    font-size:18px;
  }
  .manuscript p {
    font-size:10px;
  }
  .demo-caption {
    font-size:8px;
    gap:10px;
  }
  .principles {
    grid-template-columns:1fr;
    gap:27px;
    padding-block:55px;
  }
  .principles>div {
    display:grid;
    grid-template-columns:33px 1fr;
    column-gap:12px;
  }
  .principles h3 {
    margin:4px 0 8px;
    font-size:18px;
  }
  .principles p {
    grid-column:2;
    font-size:12px;
  }
  .feature {
    grid-template-columns:1fr;
    padding-block:65px;
    gap:30px;
  }
  .feature h2 br {
    display:none;
  }
  .feature-copy>p:not(.eyebrow) {
    margin:18px 0;
    max-width:none;
    font-size:13px;
  }
  .eyebrow {
    font-size:10px;
    margin-bottom:16px;
  }
  .revision-demo {
    padding:23px;
  }
  .revision-sentence {
    font-size:17px;
  }
  .knowledge {
    padding-block:60px;
  }
  .knowledge-heading {
    display:block;
    margin-bottom:28px;
  }
  .knowledge-heading h2 br {
    display:none;
  }
  .knowledge-heading>p {
    font-size:13px;
    margin-top:20px;
  }
  .library-demo {
    grid-template-columns:1fr;
  }
  .excerpt {
    border-left:0;
    border-top:1px solid var(--line);
    padding:26px;
  }
  .excerpt blockquote {
    font-size:21px;
  }
  .closing {
    padding-block:65px 50px;
  }
  .closing h2 {
    font-size:33px;
  }
  .closing>p:not(.eyebrow) {
    font-size:12px;
  }
  .closing details {
    margin-top:40px;
  }
  .foot {
    flex-wrap:wrap;
    gap:16px;
    padding-block:25px 30px;
  }
  .foot p {
    width:calc(100% - 120px);
    margin:0;
  }
  .foot>span {
    margin-left:auto;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
  }
  [data-reveal].reveal-pending {
    opacity:1;
    transform:none;
  }
}

/* Search is a separate product capability, ahead of revision and collection. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.search-section { padding-top: 110px; }
.search-demo { background: #1b1a20; border: 1px solid #ffffff18; border-radius: 10px; overflow: hidden; }
.search-demo-top { display: flex; justify-content: space-between; gap: 20px; padding: 22px 30px 0; color: #aaa0b7; font-size: 11px; }
.search-demo-top > span:last-child { color: #cbb5e6; }
.search-demo-form { display: flex; align-items: center; gap: 14px; margin: 25px 30px 16px; border: 1px solid #c0a6fa50; border-radius: 7px; padding: 8px 9px 8px 17px; background: #24212c; color: var(--accent); }
.search-demo-form:focus-within { border-color: var(--accent); }
.search-demo-form input { flex: 1; min-width: 0; width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; padding: 8px 0; outline: none; }
/* The shared search field provides the input focus indicator. */
.search-demo-form input:focus-visible { outline: none; }
.search-demo-form button { border: 0; border-radius: 5px; background: var(--accent); color: #231a30; padding: 9px 18px; font-size: 12px; white-space: nowrap; }
.search-demo-form button span { margin-left: 16px; }
.search-demo-form button:disabled { opacity: .5; cursor: default; }
.search-examples { display: flex; align-items: center; gap: 15px; margin: 0 30px 23px; font-size: 10px; color: #93889f; }
.search-examples button { border: 0; padding: 4px 0; font-size: 11px; color: #b5a9c2; background: transparent; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.search-examples button:hover, .search-examples button[aria-pressed="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.search-results-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; border-top: 1px solid var(--line); }
.search-demo-results { padding: 24px 30px; min-height: 290px; }
.search-result-status { color: #9c91a8; font-size: 10px; margin: 0 0 10px; }
.search-hit { padding: 19px 0; border-bottom: 1px solid var(--line); }
.search-hit:last-of-type { border-bottom: 0; }
.search-hit-title { display: flex; align-items: center; gap: 13px; }
.search-hit-title h3 { font-size: 14px; font-weight: 500; margin: 0; }
.search-hit-title > span { font-size: 10px; color: #9987af; }
.search-hit-title > span:last-child { margin-left: auto; }
.search-hit-snippet { display: flex; align-items: baseline; gap: 13px; margin-top: 11px; }
.search-hit-snippet > span { font-size: 9px; color: #8e809f; flex: 0 0 28px; }
.search-hit-snippet p { font-size: 12px; line-height: 1.9; color: #b4a9c2; margin: 0; }
.search-hit-snippet mark { color: #e1ccff; background: #c0a6fa24; padding: 2px; }
.search-explainer { border-left: 1px solid var(--line); padding: 28px; background: #201d26; }
.search-explainer .eyebrow { font-size: 10px; letter-spacing: .08em; }
.search-explainer > div + div { margin-top: 19px; }
.search-explainer div > span { font-size: 12px; color: #d0bce7; }
.search-explainer div > p { font-size: 11px; color: #a498b1; line-height: 1.8; margin: 5px 0 0; }
.search-empty { font-size: 12px; color: var(--muted); margin-top: 35px; }
@media (max-width: 1000px) { .search-results-layout { grid-template-columns: minmax(0, 1fr) 230px; } }
@media (max-width: 640px) {
  .topbar nav a { display: none; }
  .topbar nav a[href="#search"] { display: inline; }
  .search-section { padding-top: 60px; }
  .search-demo-top { padding: 18px 18px 0; font-size: 9px; flex-wrap: wrap; gap: 5px; }
  .search-demo-form { margin: 17px 17px 10px; padding-left: 10px; gap: 8px; }
  .search-demo-form input { font-size: 16px; }
  .search-demo-form button { padding: 8px 11px; }
  .search-demo-form button span { display: none; }
  .search-examples { margin: 0 18px 17px; gap: 13px; }
  .search-results-layout { grid-template-columns: 1fr; }
  .search-demo-results { padding: 20px 18px; min-height: 320px; }
  .search-hit-title { gap: 9px; }
  .search-hit-title h3 { font-size: 12px; }
  .search-hit-title > span:last-child { font-size: 9px; }
  .search-hit-snippet { gap: 7px; }
  .search-explainer { border-left: 0; border-top: 1px solid var(--line); padding: 23px; }
}
@media (max-width: 640px) {
  .search-section .knowledge-heading h2 br { display: initial; }
}
