/* JotNotes JotPanel product page
   CSS-only redesign: typography, colour, editorial lists and a printed rate-card.
   Self-hosted fonts live in ./fonts/ */

@font-face {
  font-family: "JotNotes Sans";
  src: url("fonts/Cantarell-VF.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JotNotes Serif";
  src: url("fonts/EBGaramond12-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JotNotes Serif";
  src: url("fonts/EBGaramond12-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #17202b;
  --ink-2: #3f4a57;
  --ink-3: #63707c;
  --canvas: #eef0ec;
  --surface: #f5f6f2;
  --surface-raised: #fdfdfb;
  --surface-sunken: #dfe3de;
  --line: #bcc3c0;
  --line-dark: #8d9695;
  --accent: #b4531b;
  --accent-strong: #853a0f;
  --deep: #13202f;
  --deep-2: #1c2d40;
  --deep-ink: #f1f3f0;
  --deep-muted: #c3ccd6;
  --highlight: #e0a23a;
  --secondary: #5c6b79;
  --radius: 3px;
  --measure: 66ch;
  --serif: "JotNotes Serif", Georgia, "Times New Roman", serif;
  --sans: "JotNotes Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 430;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 2px; }

.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.78rem clamp(1rem, 4vw, 3rem);
  background: rgba(238, 240, 236, 0.96);
  border-bottom: 1px solid var(--line);
}
.bar__name {
  flex: 0 0 auto;
  font-size: 0.97rem;
  font-weight: 520;
  letter-spacing: -0.012em;
}
.bar__name strong { font-weight: 760; }
.bar__name a { color: inherit; text-decoration: none; opacity: 0.72; }
.bar__name a:hover { opacity: 1; text-decoration: underline; }
.bar__nav {
  margin-left: auto;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.bar__nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 560;
  white-space: nowrap;
}
.bar__nav a:hover { color: var(--ink); }
.bar__nav .bar__cta {
  padding: 0.43rem 0.88rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: #fbfcfa;
  font-weight: 700;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}
section[id] { scroll-margin-top: 5rem; }

.hero { padding: clamp(4rem, 9vw, 7.1rem) 0 clamp(3.4rem, 7vw, 5rem); }
h1,
h2 {
  font-family: var(--serif);
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  max-width: 18.5ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.85rem, 6.6vw, 5.35rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.035em;
}
h2 {
  max-width: 23ch;
  margin: 0 0 0.8rem;
  font-size: clamp(2.05rem, 4.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h3 {
  margin: 0 0 0.38rem;
  font-size: 1.08rem;
  font-weight: 720;
  line-height: 1.28;
  letter-spacing: -0.012em;
}
.eyebrow,
.section-label {
  margin: 0 0 0.62rem;
  color: var(--accent);
  font-size: 0.735rem;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0.165em;
  text-transform: uppercase;
}
.hero__price-line {
  max-width: 47ch;
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.8vw, 1.82rem);
  font-weight: 700;
  line-height: 1.25;
}
.hero__lede {
  max-width: 58ch;
  margin: 0 0 1.8rem;
  color: var(--ink-2);
  font-size: 1.1rem;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 2.35rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.72rem;
  padding: 0.7rem 1.18rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: #fbfcfa;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.button:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}
.button--quiet {
  border-color: var(--line-dark);
  background: transparent;
  color: var(--accent);
}
.button--quiet:hover {
  border-color: var(--accent);
  background: var(--surface-raised);
  color: var(--accent-strong);
}
.hero__fact {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.75rem 1.3rem;
  align-items: baseline;
  max-width: 860px;
  padding: 1.05rem 1.25rem 1.08rem;
  border-left: 4px solid var(--highlight);
  background: var(--deep);
  color: var(--deep-muted);
}
.hero__fact strong {
  color: var(--deep-ink);
  font-size: 1.02rem;
  font-weight: 730;
  white-space: nowrap;
}

.band {
  padding: clamp(3.5rem, 7.5vw, 5.4rem) 0;
  border-top: 1px solid var(--line);
}
.band--sunken {
  margin-inline: clamp(-1rem, -2vw, -2rem);
  padding-inline: clamp(1rem, 3vw, 2rem);
  background: var(--surface-sunken);
}
.band--ink {
  margin-inline: clamp(-1rem, -2vw, -2rem);
  padding-inline: clamp(1rem, 3vw, 2rem);
  border-top: 0;
  background: var(--deep);
  color: var(--deep-ink);
}
.band--ink h2 { color: var(--deep-ink); }
.band--ink .section-label { color: #e0a23a; }
.band--ink .lede { color: var(--deep-muted); }
.lede {
  max-width: var(--measure);
  margin: 0 0 2.1rem;
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.62;
}

/* Layout touch 1: the five differentiators read as a ruled editorial list,
   not a card grid. Existing numbers are intentionally suppressed. */
.differentiators {
  display: block;
  margin-top: 2.2rem;
  border-bottom: 1px solid var(--line);
}
.differentiators article,
.differentiators article:nth-child(4),
.differentiators article:nth-child(5) {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 3.2rem);
  min-width: 0;
  padding: 1.42rem 0 1.5rem;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.differentiators h3 {
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  font-weight: 700;
  line-height: 1.08;
}
.differentiators p:last-child {
  margin: 0;
  max-width: 62ch;
  color: var(--ink-2);
}
.feature-number { display: none; }

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--surface-raised);
  -webkit-overflow-scrolling: touch;
}
.facts {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 0.93rem;
  font-variant-numeric: tabular-nums lining-nums;
}
.facts th,
.facts td {
  padding: 0.82rem 0.92rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.facts tr:last-child th,
.facts tr:last-child td { border-bottom: 0; }
.facts thead th {
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}
.facts tbody th { font-weight: 690; }
.facts__ours { background: #f6e3bd; }
.facts--cost { min-width: 770px; }
.facts--cost tbody th { width: 25%; }
.facts--build th:first-child,
.facts--build td:first-child { width: 54%; }
.source-note {
  max-width: 84ch;
  margin: 1.2rem 0 0;
  color: var(--ink-3);
  font-size: 0.88rem;
  line-height: 1.55;
}
.band--ink .source-note { color: var(--deep-muted); }
.band--ink a { color: #eab45a; }
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.3rem;
  margin: 1.2rem 0 0;
}

.limits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 4vw, 3.4rem);
}
.limits > div {
  padding: 0;
  border: 0;
  border-top: 3px solid var(--line-dark);
  border-radius: 0;
  background: transparent;
}
.limits > div > :first-child { margin-top: 1.15rem; }
.limits p:last-child { margin-bottom: 0; color: var(--ink-2); }
.limits__today {
  border-color: var(--accent) !important;
  box-shadow: none;
}

.proof {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(1.8rem, 5vw, 4.2rem);
  align-items: center;
}
.proof__copy p:not(.section-label) { color: var(--ink-2); }
.shot { min-width: 0; margin: 0; }
.shot a { display: block; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  background: var(--surface-raised);
  box-shadow: 0 18px 38px rgba(19, 32, 47, 0.12);
}
.shot figcaption {
  margin-top: 0.72rem;
  color: var(--ink-3);
  font-size: 0.87rem;
}
.inside__shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem);
  margin-top: 1.8rem;
}

.price-section > .lede { margin-bottom: 2.2rem; }
.reasons {
  display: grid;
  gap: 0;
  margin-bottom: 3.4rem;
  border-bottom: 1px solid var(--line);
}
.reasons article {
  display: grid;
  grid-template-columns: minmax(10rem, 0.34fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  padding: 1.18rem 0 1.28rem;
  border: 0;
  border-top: 1px solid var(--line-dark);
  border-radius: 0;
  background: transparent;
}
.reasons h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.08;
}
.reasons p { margin: 0; color: var(--ink-2); }
.reasons article > div { display: contents; }
.reason-number { display: none; }

.build-table { margin-bottom: 2.7rem; }
.build-table > h3 {
  margin-bottom: 0.85rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
}
.price-promises {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 0;
  margin: 0 0 1.15rem;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.price-promises p {
  margin: 0;
  padding: 1rem 1.08rem 1.05rem 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-2);
}
.price-promises p + p {
  padding-left: 1.08rem;
  border-left: 1px solid var(--line);
}
.price-promises strong { color: var(--ink); }

/* Layout touch 2: the tiers form one printed rate card rather than four cards. */
.rungs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line-dark);
  background: var(--surface-raised);
}
.rung {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.35rem 1.25rem 1.25rem;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.rung:first-child { border-left: 0; }
.rung--featured {
  border-color: var(--line);
  background: #f4e6dc;
  box-shadow: inset 0 3px 0 var(--accent);
}
.rung--quoted { background: var(--surface); }
.rung__price {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.rung__price span {
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.01em;
}
.rung__ceiling {
  margin: 0.7rem 0 1.35rem;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 650;
}
.rung__button {
  width: 100%;
  margin-top: auto;
  padding-inline: 0.7rem;
}

.community {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
}
.community p:not(.section-label) {
  max-width: var(--measure);
  color: var(--ink-2);
}
.community__action { margin: 0 !important; }
.more-links { padding-bottom: 2.3rem; }

.foot {
  margin-top: 3rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.87rem;
}
.foot p { margin: 0; }
.foot__family { margin-top: 0.45rem !important; }
.foot a { color: var(--ink-3); }

@media (max-width: 820px) {
  .bar { align-items: flex-start; }
  .bar__nav { overflow-x: auto; padding-bottom: 0.2rem; }
  .bar__nav a:not(.bar__cta) { display: none; }
  .proof { grid-template-columns: 1fr; }
  .inside__shots { grid-template-columns: 1fr; }
  .rungs { grid-template-columns: 1fr 1fr; }
  .rung:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .rung:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .bar { flex-wrap: nowrap; gap: 0.75rem; }
  .bar__nav { overflow: visible; }
  .hero { padding-top: 3.2rem; }
  h1 { font-size: clamp(2.65rem, 13vw, 3.55rem); }
  h2 { font-size: clamp(2rem, 10vw, 2.6rem); }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .hero__fact { grid-template-columns: 1fr; }
  .hero__fact strong { white-space: normal; }
  .differentiators article,
  .differentiators article:nth-child(4),
  .differentiators article:nth-child(5) {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1.25rem 0 1.35rem;
  }
  .reasons article {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .limits,
  .price-promises,
  .community { grid-template-columns: 1fr; }
  .price-promises p + p {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .rungs { grid-template-columns: 1fr; }
  .rung,
  .rung:first-child,
  .rung:nth-child(3),
  .rung:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .rung:first-child { border-top: 0; }
  .facts--build { min-width: 650px; }
  .community { gap: 1rem; }
  .community__action .button { width: 100%; }
}

/* The JotNotes JDrive lockup in the bar (img/jotnotes-jdrive.svg). */
.bar__name { display: block; line-height: 0; }
.bar__name img { display: block; width: auto; height: 1.45rem; }

/* JotPanel: wordmark in type rather than a drawn logo */
.bar__name { display: flex; align-items: center; gap: 0.55rem; line-height: 1; color: var(--ink); text-decoration: none; }
.bar__name img { height: 1.6rem; width: 1.6rem; }
.bar__name span { font-family: var(--sans); font-size: 1.12rem; letter-spacing: -0.01em; }
.bar__name span strong { font-weight: 760; }
.command { display: block; overflow-x: auto; padding: 0.9rem 1rem; background: var(--deep); color: var(--deep-ink); border-radius: var(--radius); font-size: 0.92rem; white-space: pre; }
