/* Halfterm: the public notebook. Shared shell for the tools and guides. */
html { scroll-padding-top: 32px; }
.lp-wrap { width: calc(100% - 96px); max-width: 1280px; margin-inline: auto; }
.lp-head { background: var(--bg); }
.lp-headin { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 108px; border-bottom: 1px solid var(--ink); }
.lp-brand { display: inline-flex; align-items: center; gap: .8rem; font: 600 2.65rem/1 var(--serif); letter-spacing: -.035em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.lp-brand img { width: 27px; height: 35px; object-fit: contain; border-radius: 0; }
.lp-links, .lp-cta { display: flex; align-items: center; gap: 2rem; }
.lp-links a, .sign-in, .foot-in nav a { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; color: var(--ink); text-decoration: none; font-size: .875rem; }
.lp-links a:hover, .sign-in:hover, .foot-in nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.sign-in { font-weight: 600; }
a.btn { display: inline-flex; align-items: center; justify-content: center; gap: 1.4rem; text-decoration: none; }
.btn.big { padding: .85rem 1.1rem; min-height: 52px; border-radius: 3px; font-size: .9375rem; }
.lp .btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.lp .btn.primary:hover { background: var(--surface); color: var(--ink); text-decoration: none; }
.link-arrow { width: 18px; height: 18px; flex: none; vertical-align: middle; }
.hero-lp { display: grid; grid-template-columns: minmax(0,1.85fr) minmax(260px,1fr); align-items: end; gap: 4rem; padding-block: 66px 62px; }
.hero-lp h1 { font: 500 4.75rem/1.04 var(--serif); letter-spacing: -.04em; }
.full-stop { color: var(--accent); }
.hero-copy { max-width: 340px; padding-bottom: 3px; }
.lede { font-size: 1.125rem; line-height: 1.6; max-width: 58ch; color: var(--muted); margin: 1rem 0; }
.hero-copy .lede { margin: 0 0 1.2rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.hero-actions { margin-bottom: .8rem; }
.micro { font-size: .75rem; line-height: 1.6; color: var(--muted); margin: 0; }
.product-spread { display: grid; grid-template-columns: 210px minmax(0,1fr); align-items: start; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.spread-contents { padding: 24px 24px 24px 0; }
.tour-tabs { display: flex; flex-direction: column; }
.tour-tabs button { position: relative; border: 0; border-bottom: 1px solid var(--line); text-align: left; color: var(--muted); background: transparent; padding: 18px 24px 18px 14px; min-height: 90px; }
.tour-tabs button > span:first-child { display: block; font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; }
.tour-tabs small { font-size: .75rem; display: block; margin-top: .3rem; line-height: 1.5; }
.tour-tabs button[aria-selected=true] { background: var(--accent-soft); color: var(--ink); border-color: transparent; }
.tour-tabs button:hover { color: var(--ink); background: var(--surface-2); }
.tour-tabs button[aria-selected=true]:hover { background: var(--accent-soft); }
.tour-arrow { position: absolute; top: 20px; right: 9px; display: none; }
.tour-tabs button[aria-selected=true] .tour-arrow { display: block; }
.spread-note { font-size: .75rem; line-height: 1.65; color: var(--muted); margin: 28px 0 0 14px; }
.spread-pages { min-width: 0; border-left: 1px solid var(--line); }
.tour-panel[hidden] { display: none; }
.tour-panel picture { display: block; overflow: hidden; background: var(--surface); }
.tour-panel img { display: block; width: 100%; height: auto; }
.tour-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 21px 26px; border-top: 1px solid var(--line); }
.tour-caption h2 { font-size: .9375rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: .4rem; }
.tour-caption p { font-size: .8125rem; line-height: 1.6; color: var(--muted); max-width: 62ch; margin: 0; }
.tour-caption > span { color: var(--muted); font-size: .6875rem; white-space: nowrap; padding-top: 3px; }
.audience-line { display: flex; justify-content: space-between; gap: 2rem; padding-block: 19px; }
.audience-line p { margin: 0; font-size: .75rem; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 1rem; color: var(--ink); font-size: .875rem; font-weight: 500; text-underline-offset: 5px; }
.planner-notes { display: grid; grid-template-columns: 1fr 1.65fr; gap: 100px; padding-block: 90px 96px; }
.notes-heading h2, .pricing-intro h2 { font: 500 2.75rem/1.12 var(--serif); letter-spacing: -.035em; }
.notes-heading .text-link { margin-top: 1.8rem; }
.notes-body { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 42px; }
.notes-body h3 { font-size: 1rem; font-weight: 600; margin: 0 0 .7rem; }
.notes-body p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.classroom-section { background: #eed5bd; color: #203249; }
.classroom-layout { display: grid; grid-template-columns: 1fr 1.65fr; gap: 100px; padding-block: 58px; align-items: center; }
.classroom-copy h2 { font: 500 3.75rem/1.04 var(--serif); letter-spacing: -.035em; margin-bottom: 1.25rem; }
.classroom-copy p { font-size: 1rem; line-height: 1.65; max-width: 29ch; }
.classroom-copy p + p { color: #61554b; font-size: .875rem; margin-top: 1rem; }
.classroom-copy .text-link { color: inherit; margin-top: .5rem; }
.demo-card { background: #1c3049; color: #fff6e9; border: 0; border-radius: 0; padding: 24px 32px; text-align: left; }
.demo-top { display: flex; justify-content: space-between; gap: 1rem; font-size: .75rem; color: #bdcadd; }
.demo-top span:first-child { color: #fff6e9; }
.demo-name { font: 500 5.75rem/1.08 var(--serif); letter-spacing: -.035em; padding: 35px 0 44px; color: inherit; min-height: 1.2em; }
.demo-name.spinning { color: #bdcadd; }
.demo-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.demo-bottom .btn { background: #eed5bd; border: 1px solid #eed5bd; color: #203249; }
.demo-bottom .btn:hover { background: #fff6e9; border-color: #fff6e9; }
#demo-left { color: #bdcadd; font-size: .75rem; margin: 0; }
.demo-chips { display: flex; flex-wrap: wrap; gap: .4rem 1rem; border-top: 1px solid #4b5c72; padding-top: 20px; margin-top: 24px; }
.demo-chip { font-size: .75rem; color: #dce5ee; }
.demo-chip.done { text-decoration: line-through; color: #bdcadd; }
.pricing-section { display: grid; grid-template-columns: 1fr 1.65fr; gap: 100px; padding-block: 100px 75px; }
.pricing-intro > p { color: var(--muted); font-size: .9375rem; line-height: 1.7; margin: 1.3rem 0 0; }
.pricing-intro > .small { font-size: .8125rem; }
.price { display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-top: 1px solid var(--ink); padding: 28px 0; }
.price:last-child { border-bottom: 1px solid var(--ink); }
.price h3 { font: 500 1.5rem/1.2 var(--sans); letter-spacing: -.025em; margin-bottom: .65rem; }
.price > div > p:not(.amount) { font-size: .8125rem; line-height: 1.5; color: var(--muted); margin: 0; }
.price-action { text-align: right; }
.amount { font: 500 2.3rem/1.1 var(--sans); letter-spacing: -.035em; white-space: nowrap; margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.amount span { font: 400 .75rem var(--sans); letter-spacing: 0; color: var(--muted); }
.faq-section { display: grid; grid-template-columns: 1fr 1.65fr; gap: 100px; padding-block: 0 90px; }
.faq-section > h2 { font: 500 1.5rem/1.25 var(--sans); letter-spacing: -.025em; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; min-height: 56px; padding: 16px 0; font-size: .875rem; font-weight: 500; }
.faq p { color: var(--muted); font-size: .875rem; line-height: 1.75; padding: 0 0 1rem; margin: 0; max-width: 68ch; }
.final { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.final-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 42px; }
.final h2 { font: 500 2.25rem/1.2 var(--serif); letter-spacing: -.025em; }
.lp-foot { padding: 20px 0 40px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 2rem; }
.foot-in nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.foot-in nav a { font-size: .75rem; }
.foot-in > p { width: 100%; font-size: .75rem; margin: 0; }
.foot-in .lp-brand { font-size: 1.125rem; letter-spacing: -.02em; }
.foot-in .lp-brand img { width: 24px; height: 24px; }
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); visibility: hidden; transform: translateY(110%); transition: transform .16s, visibility .16s; }
.sticky-cta .btn { width: 100%; }
.sticky-cta.show { visibility: visible; transform: none; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .8125rem; margin-bottom: 1.5rem; }
@media (prefers-color-scheme: dark) { .classroom-section { background: #253246; color: #f7f0e7; } .classroom-copy p + p { color: #b7c1d0; } .demo-card { background: #161e2b; } }
@media (min-width: 820px) { .sticky-cta { display: none; } }
@media (max-width: 1150px) {
 .lp-wrap { width: calc(100% - 64px); }
 .hero-lp { grid-template-columns: 1.6fr 1fr; gap: 2.5rem; }
 .hero-lp h1 { font-size: 3.75rem; }
 .lp-links { gap: 1.2rem; }
 .planner-notes, .classroom-layout, .pricing-section, .faq-section { gap: 50px; }
 .product-spread { grid-template-columns: 180px minmax(0,1fr); }
 .spread-contents { padding-right: 16px; }
 .tour-tabs button > span:first-child { font-size: 1.2rem; }
 .tour-tabs small { font-size: .6875rem; }
 .tour-caption { flex-direction: column; gap: .6rem; }
}
@media (max-width: 850px) {
 .lp-links { display: none; }
 .lp-headin { min-height: 90px; }
 .hero-lp { gap: 2rem; }
 .hero-lp h1 { font-size: 3.125rem; }
 .hero-copy .lede { font-size: .9375rem; }
 .product-spread { grid-template-columns: 145px minmax(0,1fr); }
 .tour-tabs button { padding-left: 10px; padding-right: 16px; }
 .tour-tabs small { max-width: 12ch; }
 .spread-note { margin-left: 10px; }
 .spread-note br { display: none; }
 .tour-arrow { right: 3px; }
 .notes-body { gap: 26px; }
 .planner-notes, .classroom-layout, .pricing-section, .faq-section { gap: 32px; }
 .notes-heading h2, .pricing-intro h2 { font-size: 2.1rem; }
 .demo-card { padding-inline: 24px; }
 .price { gap: 1rem; }
 .price h3 { font-size: 1.2rem; }
 .amount { font-size: 1.8rem; }
 .demo-bottom { flex-direction: column; align-items: start; }
}
@media (max-width: 680px) {
 .lp-wrap { width: calc(100% - 40px); }
 .lp-headin { min-height: 82px; gap: 1rem; }
 .lp-brand { font-size: 2.1rem; gap: .6rem; }
 .lp-brand img { width: 22px; height: 29px; }
 .lp-headin .lp-cta .btn { font-size: .75rem; padding-inline: .65rem; }
 .sign-in { font-size: .8125rem; }
 .hero-lp { display: block; padding-block: 38px 32px; }
 .hero-lp h1 { font-size: 2.6875rem; line-height: 1.08; letter-spacing: -.035em; }
 .hero-copy { max-width: none; margin-top: 24px; }
 .hero-copy .lede { font-size: 1rem; max-width: 33ch; margin-bottom: 20px; }
 .hero-actions .btn { width: 100%; justify-content: space-between; }
 .micro br { display: none; }
 .micro { max-width: 43ch; }
 .product-spread { display: block; }
 .spread-contents { padding: 0; }
 .tour-tabs { flex-direction: row; }
 .tour-tabs button { flex: 1; min-height: 59px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 12px; text-align: center; }
 .tour-tabs button:last-child { border-right: 0; }
 .tour-tabs button > span:first-child { font-size: .9375rem; }
 .tour-tabs small, .tour-arrow, .tour-tabs button[aria-selected=true] .tour-arrow, .spread-note { display: none; }
 .spread-pages { border-left: 0; }
 .tour-panel img { aspect-ratio: 390 / 670; object-fit: cover; object-position: top; }
 .tour-caption { padding: 20px 0; gap: .8rem; }
 .tour-caption h2 { font-size: .9375rem; }
 .tour-caption p { font-size: .8125rem; }
 .audience-line { display: block; padding-block: 16px; }
 .audience-line p:last-child { display: none; }
 .planner-notes { display: block; padding-block: 48px 52px; }
 .notes-heading { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; margin-bottom: 30px; }
 .notes-heading h2 { font-size: 2.1rem; }
 .notes-heading .text-link { margin: 0; }
 .notes-body { display: block; }
 .notes-body article { margin-top: 28px; }
 .notes-body h3 { margin-bottom: .5rem; }
 .notes-body p { font-size: .9375rem; }
 .classroom-layout { display: block; padding-block: 36px; }
 .classroom-copy h2 { font-size: 3.5rem; }
 .classroom-copy p { max-width: 38ch; }
 .classroom-copy .text-link { margin: 0 0 20px; }
 .demo-card { padding: 20px; }
 .demo-name { font-size: 4.5rem; padding-block: 32px; }
 .demo-bottom { gap: .85rem; }
 .demo-chips { gap: .5rem .9rem; }
 .pricing-section { display: block; padding-block: 52px 36px; }
 .pricing-intro h2 { font-size: 2.2rem; }
 .price-list { margin-top: 32px; }
 .price { padding-block: 24px; }
 .price > div:first-child { max-width: 45%; }
 .price h3 { font-size: 1.25rem; }
 .price-action { min-width: 48%; }
 .amount { font-size: 1.9rem; }
 .amount span { font-size: .6875rem; }
 .faq-section { display: block; padding-bottom: 48px; }
 .faq-section > h2 { margin-bottom: 20px; }
 .faq summary { font-size: .875rem; }
 .final-in { display: block; padding-block: 30px; }
 .final h2 { font-size: 2rem; max-width: 15ch; margin-bottom: 24px; }
 .final-in > .btn { width: 100%; justify-content: space-between; }
 .lp-foot { padding-bottom: 100px; }
 .foot-in { display: block; }
 .foot-in nav { margin: 15px 0; gap: .2rem 1.25rem; }
}
@media (max-width: 360px) { .hero-lp h1 { font-size: 2.25rem; } .lp-wrap { width: calc(100% - 32px); } .lp-brand { font-size: 1.85rem; } .price .amount { font-size: 1.65rem; } .amount span { font-size: .6875rem; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
.lp-brand { min-height: 44px; }
