/* Nodebook product page — layered on site.css + /driftfall/driftfall-page.css (shared product-page layout) */
.nb-page { --nb-teal: #0f7f81; --nb-deep: #0f2a33; --nb-mint: #7fe0d6; --nb-sun: #ffd27a; --nb-blue: #0a72e8; }
.nb-page .df-product img { box-shadow: 0 10px 30px -12px rgba(15, 127, 129, .6); }
.nb-dot { background: var(--nb-teal) !important; }
.nb-product-sub { margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--line); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.nb-dot-inline { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--nb-sun); box-shadow: 0 0 0 3px rgba(255, 210, 122, .35); }
.nb-sample-note { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted); }

/* Hero */
.nb-hero-actions { display: grid; gap: 14px; }
.nb-install { font-size: 12px; color: var(--muted); }
.nb-install b { font-weight: 600; color: var(--ink); }
.nb-hero-shot { position: relative; margin: 56px 0 0; padding-right: 7%; }
.nb-hero-phone { position: absolute; right: 0; bottom: -28px; width: 19%; max-width: 230px; height: auto; border-radius: 30px; border: 7px solid #111; background: #111; box-shadow: 0 34px 60px -26px rgba(15, 42, 51, .6); }

/* Browser frame around real screenshots */
.nb-frame { overflow: hidden; border-radius: 14px; background: #f2f2f7; box-shadow: 0 34px 70px -34px rgba(15, 42, 51, .5), 0 0 0 1px rgba(41, 42, 38, .1); }
.nb-frame-bar { display: flex; gap: 6px; padding: 11px 14px; background: #e9e9ee; border-bottom: 1px solid #dcdce2; }
.nb-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfcfd6; }
.nb-frame-bar i:first-child { background: #ff6159; } .nb-frame-bar i:nth-child(2) { background: #ffbd2e; } .nb-frame-bar i:nth-child(3) { background: #28c941; }
.nb-frame img { display: block; width: 100%; height: auto; }

/* Screens */
.nb-screens { padding: 86px 0 84px; border-bottom: 1px solid var(--line); }
.nb-screens .df-playground-head h2 em { color: #83836f; }
.nb-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 30px 0 22px; }
.nb-tab { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.nb-tab:hover { border-color: var(--ink); }
.nb-tab[aria-selected="true"] { border-color: var(--nb-teal); background: var(--nb-teal); color: #fff; }
.nb-tab:focus-visible { outline: 2px solid var(--nb-teal); outline-offset: 3px; }
.nb-shot { margin: 0; }
.nb-shot[hidden] { display: none !important; }
.nb-shot figcaption { max-width: 760px; margin-top: 20px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.nb-shot figcaption b { font-weight: 600; color: var(--ink); }

/* Pillars */
.nb-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: 44px; }
.nb-pillar { padding-top: 20px; border-top: 2px solid var(--ink); }
.nb-pillar:nth-child(2) { border-top-color: var(--nb-teal); } .nb-pillar:nth-child(3) { border-top-color: #e2a400; }
.nb-pillar-num { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #877344; }
.nb-pillar h3 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: 27px; letter-spacing: -.035em; line-height: 1.15; }
.nb-pillar > p:not(.nb-pillar-num) { margin-top: 12px; font-size: 13px; line-height: 1.75; color: var(--muted); }
.nb-pillar ul { list-style: none; margin: 14px 0 0; padding: 0; }
.nb-pillar li { position: relative; padding: 8px 0 8px 16px; border-bottom: 1px dashed var(--line); font-size: 12.5px; line-height: 1.55; }
.nb-pillar li::before { content: ""; position: absolute; left: 0; top: 15px; width: 5px; height: 5px; border-radius: 50%; background: var(--nb-teal); }
.nb-pillar b { font-weight: 600; color: var(--ink); }
.nb-pillar .nb-pillar-foot { padding: 12px 14px; border-radius: 10px; background: #e7f6f5; color: #2b4c4d !important; font-size: 12.5px !important; }

.nb-node { display: flex; align-items: center; gap: 24px; margin-top: 48px; padding: 24px 28px; border-radius: 18px; background: linear-gradient(120deg, #e7f6f5, #f3f8ee); }
.nb-node img { flex: 0 0 auto; width: 76px; height: 76px; }
.nb-node-say { margin-top: 8px; max-width: 640px; font-size: 15px; line-height: 1.7; color: #2b4c4d; }

/* Business types */
.nb-niches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 32px; margin-top: 40px; }
.nb-niches article { padding-top: 18px; border-top: 1px solid var(--line); }
.nb-niches h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -.035em; line-height: 1.15; }
.nb-niches p { margin-top: 10px; font-size: 13px; line-height: 1.75; color: var(--muted); }

/* Everything inside */
.nb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.nb-grid > div { padding: 20px 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nb-grid h3 { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.nb-grid p { margin-top: 8px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.nb-works { margin-top: 44px; }
.nb-chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nb-chips li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fbfaf6; font-size: 12px; line-height: 1; }
.nb-works-note { margin-top: 14px; max-width: 620px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* Fast & private */
.nb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; margin: 34px 0 0; }
.nb-stats > div { padding-top: 16px; border-top: 2px solid var(--nb-teal); }
.nb-stats dt { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.045em; line-height: 1; }
.nb-stats dd { margin: 10px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.nb-privacy ul { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.nb-privacy li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px dashed var(--line); font-size: 13px; line-height: 1.6; }
.nb-privacy li::before { content: "✓"; position: absolute; left: 0; top: 11px; color: var(--nb-teal); font-weight: 700; }

/* Free + Pro */
.nb-pro { display: grid; justify-items: center; gap: 10px; max-width: 620px; margin: 40px auto 0; padding: 24px 28px; border: 1px dashed #c9c8bb; border-radius: 16px; }
.nb-pro-list { font-family: var(--serif); font-size: 21px; line-height: 1.4; letter-spacing: -.02em; }
.nb-pro .text-link { margin-top: 4px; }

/* FAQ links, changelog */
.df-faq a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.df-faq code { padding: 1px 5px; border-radius: 4px; background: #efece3; font: 11.5px ui-monospace, Menlo, monospace; }
.nb-log { list-style: none; margin: 34px 0 0; padding: 0; max-width: 760px; border-top: 1px solid var(--line); }
.nb-log li { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.nb-log-v { font-family: var(--serif); font-size: 20px; letter-spacing: -.03em; color: var(--nb-teal); }
.nb-log li p:last-child { font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.nb-log-more { margin-top: 22px; }

@media (max-width: 1100px) {
  .nb-pillars, .nb-niches { grid-template-columns: 1fr; gap: 30px; }
  .nb-grid { grid-template-columns: repeat(2, 1fr); }
  .nb-stats { grid-template-columns: repeat(2, 1fr); gap: 26px 28px; }
}
@media (max-width: 760px) {
  .nb-product-sub { display: none; }
  .nb-hero-shot { margin-top: 40px; padding-right: 0; }
  .nb-hero-phone { display: none; }
  .nb-frame { border-radius: 10px; }
  .nb-frame-bar { padding: 8px 10px; } .nb-frame-bar i { width: 8px; height: 8px; }
  .nb-screens { padding: 56px 0; }
  .nb-tabs { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-bottom: 6px; scrollbar-width: none; }
  .nb-tabs::-webkit-scrollbar { display: none; }
  .nb-tab { flex: 0 0 auto; }
  .nb-grid { grid-template-columns: 1fr; }
  .nb-privacy ul { grid-template-columns: 1fr; }
  .nb-node { flex-direction: column; align-items: flex-start; padding: 22px; }
  .nb-log li { grid-template-columns: 1fr; gap: 4px; }
}
.nb-hero-cap { max-width: 640px; margin-top: 22px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.nb-hero-cap b { font-weight: 600; color: var(--ink); }
@media (min-width: 761px) { .nb-hero-cap { padding-right: 24%; } }
