
/* =========================================================
   INKCHRON — CUSTOMIZE YOUR WEBSITE
   1. Change the colours in :root.
   2. Change font sizes and spacing below.
   3. Adjust the media queries for smaller screens.
   ========================================================= */

:root {
  --paper: #f7f6f2;
  --ink: #20211f;
  --muted: #777972;
  --line: #dedfd8;
  --accent: #c7f36b;
  --accent-ink: #26321a;
  --card: #ffffff;
  --dark: #20231f;
  --radius: 22px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

button, a { -webkit-tap-highlight-color: transparent; }

.wrap {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(32, 33, 31, .09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.8px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
  flex: 0 0 auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #5f625c;
  font-size: 13px;
}

nav a:hover { color: var(--ink); }

.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--ink);
  color: white;
  padding: 12px 17px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  border: 1px solid var(--ink);
  transition: transform .2s, background .2s;
}

.nav-cta:hover, .button:hover {
  transform: translateY(-2px);
  background: #373a34;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 24px;
  color: var(--ink);
  cursor: pointer;
}


/* Hero */

.hero {
  padding: 76px 0 72px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 55px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #62665d;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 10px;
  font-weight: 750;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

h1 {
  font-size: clamp(46px, 6.3vw, 78px);
  line-height: .99;
  letter-spacing: -5px;
  font-weight: 650;
  margin: 24px 0;
  max-width: 560px;
}

h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -4px;
}

.hero-copy {
  max-width: 420px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.text-link {
  font-size: 13px;
  font-weight: 650;
  border-bottom: 1px solid #a8aaa2;
  padding-bottom: 4px;
}

.tiny-note {
  color: #8b8e86;
  font-size: 11px;
  margin-top: 22px;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-photo {
  width: 100%;
  height: auto;
  max-height: 455px;
  object-fit: contain;
  display: block;
  border-radius: 0;
  background: transparent;
  filter: saturate(.78);
}

.photo-label {
  position: absolute;
  bottom: 20px;
  left: -22px;
  width: 205px;
  background: var(--card);
  border: 1px solid rgba(32, 33, 31, .1);
  border-radius: 15px;
  padding: 17px;
  box-shadow: 0 18px 45px rgba(27, 29, 24, .10);
}

.photo-label small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 8px;
}

.photo-label strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
}

.history-line {
  display: flex;
  gap: 5px;
  margin-top: 12px;
}

.history-line span {
  height: 4px;
  border-radius: 99px;
  background: var(--accent);
}

.history-line span:nth-child(1) { width: 35%; }
.history-line span:nth-child(2) { width: 23%; opacity: .7; }
.history-line span:nth-child(3) { width: 18%; opacity: .45; }
.history-line span:nth-child(4) { width: 12%; opacity: .25; }

/* Feature ticker */

.ticker {
  border-block: 1px solid var(--line);
  padding: 19px 0;
}

.ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ticker-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888b83;
}

.ticker-item {
  font-family: Georgia, serif;
  font-size: 16px;
  color: #5e615a;
}

/* Sections */

section { padding: 100px 0; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -2.8px;
  font-weight: 600;
  margin: 16px 0 0;
  max-width: 570px;
}

.section-head p {
  max-width: 340px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* Feature cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  background: var(--card);
  border: 1px solid #e7e7e0;
  border-radius: var(--radius);
  padding: 25px;
  min-height: 245px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #f0f1e9;
  font-size: 20px;
  margin-bottom: 35px;
}

.feature h3 {
  font-size: 18px;
  letter-spacing: -.5px;
  margin: 0 0 9px;
}

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

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 23px;
  background: rgba(255, 255, 255, .35);
}

.detail-kicker {
  font-size: 10px;
  color: #7c826f;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 750;
}

.detail-card h3 {
  font-size: 17px;
  letter-spacing: -.5px;
  margin: 17px 0 8px;
}

.detail-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

/* Writing history */

.history-section {
  background: var(--dark);
  color: #f7f6f2;
}

.history-section .eyebrow { color: #b7c0ad; }

.history-section .section-head p { color: #b1b5ac; }

.history-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.history-copy h2 {
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -3px;
  line-height: 1.02;
  font-weight: 550;
  margin: 18px 0;
}

.history-copy p {
  color: #b1b5ac;
  line-height: 1.9;
  font-size: 14px;
  max-width: 390px;
}

.history-copy .button {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  margin-top: 17px;
}

.history-copy .button:hover { background: #d5ff8b; }

.history-card {
  background: #2b2f29;
  border: 1px solid #454a41;
  border-radius: 18px;
  padding: 27px;
}

.history-card-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #454a41;
}

.doc-title { font-size: 14px; font-weight: 650; }

.doc-meta {
  font-size: 10px;
  color: #a4aa9e;
  margin-top: 4px;
}

.live-pill {
  color: var(--accent);
  font-size: 10px;
  border: 1px solid #596b43;
  padding: 5px 9px;
  border-radius: 99px;
  white-space: nowrap;
  cursor: default;
}

.version {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid #3e433b;
}

.version:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.version-time {
  font-size: 10px;
  color: #bec5b8;
  padding-top: 3px;
}

.version-body strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.version-body p {
  margin: 0;
  font-size: 11px;
  line-height: 1.8;
  color: #aeb4a7;
}

.version-body mark {
  background: rgba(199, 243, 107, .18);
  color: #d9ff9d;
  padding: 1px 3px;
  border-radius: 3px;
}

/* Workspace images */

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.workflow-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e7e7df;
}

.workflow-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  filter: saturate(.72);
}

.workflow-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 55px 25px 25px;
  color: white;
  background: linear-gradient(transparent, rgba(18, 20, 17, .86));
}

.workflow-overlay span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  opacity: .8;
}

.workflow-overlay h3 {
  font-size: 25px;
  letter-spacing: -1px;
  font-weight: 550;
  margin: 7px 0 0;
}

/* Quote */

.quote {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.quote-mark {
  color: #9cbd5d;
  font-family: Georgia, serif;
  font-size: 54px;
  line-height: .8;
}

.quote h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.25;
  letter-spacing: -1.5px;
  margin: 20px 0;
}

.quote p {
  color: var(--muted);
  font-size: 12px;
}

/* Questions */

.faq-section {
  padding: 78px 24px 86px;
  background: #080908;
  color: #f7f7f5;
}

.faq-inner {
  width: min(800px, 100%);
  margin: 0 auto;
}

.faq-inner > h2 {
  margin: 0 0 42px;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 650;
  letter-spacing: -2px;
  line-height: 1.1;
  text-align: center;
}

.faq-item {
  border-top: 1px solid #30312f;
}

.faq-item:last-child {
  border-bottom: 1px solid #30312f;
}

.faq-item summary {
  position: relative;
  padding: 18px 30px 18px 0;
  color: #f0f0ee;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #a2a49e;
  border-bottom: 1.5px solid #a2a49e;
  content: "";
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.faq-item p {
  max-width: 700px;
  margin: -2px 0 19px;
  color: #b6b8b2;
  font-size: 15px;
  line-height: 1.75;
}

/* Final call to action */

.data-section { padding-top: 0; }

.app-section {
  padding-top: 10px;
  padding-bottom: 70px;
}

.cta-panel {
  background: var(--accent);
  border-radius: 28px;
  padding: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-panel h2 {
  font-size: clamp(35px, 4.5vw, 53px);
  line-height: 1;
  letter-spacing: -3px;
  font-weight: 600;
  max-width: 550px;
  margin: 0;
}

.cta-panel p {
  color: #4c5b37;
  font-size: 13px;
  margin: 14px 0 0;
}

.cta-panel .button {
  flex-shrink: 0;
  background: var(--ink);
  border-color: var(--ink);
}

.cta-panel .app-button {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.cta-panel .app-button:hover {
  background: #f0f1e9;
}

/* Footer */

footer { padding: 32px 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7c8077;
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover { color: var(--ink); }

/* Tablet layout */

@media (max-width: 800px) {
  header { height: 70px; }

  .workflow-card { min-height: 0; }

  .workflow-card img {
    height: auto;
    min-height: 0;
    object-fit: contain;
  }

  h1 {
    line-height: 1.12;
    letter-spacing: -1px;
  }

  h1 em { letter-spacing: -.5px; }

  nav {
    display: none;
    position: absolute;
    z-index: 5;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px 24px 25px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  nav.open { display: flex; }

  .nav-cta { text-align: center; }

  .menu-toggle { display: block; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
    gap: 35px;
  }

  .hero-visual {
    max-width: 620px;
    width: 100%;
    margin-left: auto;
  }

  .section-head, .history-layout { display: block; }

  .section-head p { margin-top: 18px; }

  .history-copy { margin-bottom: 35px; }

  .feature-grid, .details-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-panel {
    display: block;
    padding: 38px 28px;
  }

  .cta-panel > .app-button { margin-top: 25px; }
}

/* Mobile layout */

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 32px, var(--max-width));
  }

  .hero {
    padding: 45px 0 55px;
  }

  .photo-label {
    left: 10px;
    bottom: 10px;
    width: 190px;
  }

  .ticker-inner { justify-content: flex-start; }

  .ticker-item { font-size: 14px; }

  section { padding: 72px 0; }

  .faq-section {
    padding: 60px 20px 68px;
  }

  .faq-inner > h2 {
    margin-bottom: 30px;
  }

  .faq-item summary {
    font-size: 16px;
  }

  .faq-item p {
    font-size: 14px;
  }

  .section-head h2 { letter-spacing: -1.8px; }

  .feature-grid, .details-grid, .workflow-grid {
    grid-template-columns: 1fr;
  }

  .feature { min-height: 210px; }

  .feature-icon { margin-bottom: 24px; }

  .history-card { padding: 18px; }

  .version {
    grid-template-columns: 62px 1fr;
    gap: 10px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* InkChron 0.6: product captures and accessible controls. */
.version-label { display: block; margin-top: 14px; color: #62665d; font-size: 11px; letter-spacing: .06em; }
.screenshot-frame { margin: 0; overflow: hidden; border: 1px solid #d4d8cc; border-radius: 18px; background: #eeefe7; box-shadow: 0 16px 40px rgba(27,29,24,.07); }
.screenshot-frame img { display: block; width: 100%; height: auto; }
.screenshot-frame figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 13px 18px; background: #fff; color: #505749; font-size: 11px; }
.screenshot-frame figcaption span { color: #555b4f; }
.product-features { grid-template-columns: repeat(6, minmax(0,1fr)); }
.product-features .feature { grid-column: span 2; }
.product-features .feature:nth-last-child(-n+2) { grid-column: span 3; }
.workflow-grid { gap: 32px 22px; }
.workspace-card { min-width: 0; }
.workspace-card h3 { font-size: 22px; letter-spacing: -.6px; margin: 22px 0 8px; }
.workspace-card > p { color: #62665d; font-size: 14px; margin: 0; }
[data-app-link][aria-disabled="true"] { cursor: not-allowed; opacity: .65; transform: none; }
nav .nav-cta:hover {
  color: white;
  background: #292b27;
  transform: none;
}
nav .nav-cta[aria-disabled="true"]:hover { background: var(--ink); }
.cta-panel .app-button[aria-disabled="true"]:hover { background: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #65852e; outline-offset: 5px; }
.skip-link { position: absolute; top: 12px; left: 16px; padding: 12px; background: white; z-index: 10; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.tiny-note { color: #62665d; }
.feature p, .hero-copy, .section-head p { color: #62665d; }
section { scroll-margin-top: 24px; }
@media (max-width: 800px) {
  .product-features { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-features .feature, .product-features .feature:nth-last-child(-n+2) { grid-column: auto; }
  .product-features .feature:last-child { grid-column: 1 / -1; }
  .cta-panel > .app-button { margin-top: 25px; }
}
@media (max-width: 560px) {
  .product-features { grid-template-columns: 1fr; }
  .history-card-top { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .screenshot-frame figcaption { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
