/* freePanel website. Same identity as the panels (SIGNAL): graphite, amber, Instrument Serif and Sans. */
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/instrument-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/instrument-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/instrument-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/instrument-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/instrument-serif-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }

:root {
  color-scheme: light dark;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --graphite: #15171C;
  --graphite-2: #20232A;
  --graphite-line: #2C3038;
  --on-graphite: #F3F1EC;
  --on-graphite-muted: #B4B0A7;
  --amber: #FFB020;
  --on-amber: #1B1C20;
  --paper: #F2F1EE;
  --card: #FFFFFF;
  --sunken: #F7F6F3;
  --ink: #1B1C20;
  --muted: #55524C;
  --line: #E3E1DC;
  --line-2: #CFCBC3;
  --accent-text: #8A5200;
  --focus: #B8640A;
  --ok: #0A7D56;
  --shadow: 0 1px 2px rgb(27 28 32 / 8%), 0 18px 48px rgb(27 28 32 / 14%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1013;
    --card: #16171C;
    --sunken: #121318;
    --ink: #F3F1EC;
    --muted: #A9A59C;
    --line: #272A31;
    --line-2: #383C45;
    --accent-text: #FFCF6E;
    --focus: #FFB020;
    --ok: #4FD1A1;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 18px 48px rgb(0 0 0 / 55%);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  display: flex; flex-direction: column; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-dark { --focus: #FFB020; }
.wrap { width: 100%; max-width: 74rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow > * { max-width: 44rem; }
.lead code { white-space: nowrap; }
.icon { width: 1.5rem; height: 1.5rem; fill: currentColor; flex: none; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--amber); color: var(--on-amber); padding: .6rem 1rem; border-radius: 0 0 8px 8px; font-weight: 600; }
.skip:focus { top: 0; }

/* type */
h1, h2, h3 { margin: 0; }
.display { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.015em; }
h1.display { font-size: clamp(2.9rem, 8vw, 5.4rem); }
h2.display { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font: 600 1.15rem/1.3 var(--sans); letter-spacing: -.005em; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.5; color: var(--muted); max-width: 38rem; }
.mono { font-family: var(--mono); }
p { margin: 0 0 1rem; }
.measure { max-width: 40rem; }

/* header: graphite in both modes, like the panel's menu */
.site-header { background: var(--graphite); color: var(--on-graphite); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--on-graphite); text-decoration: none; font: 600 1.2rem/1 var(--sans); letter-spacing: .01em; padding: .35rem 0; }
.bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; }
.bars i { display: block; width: 4px; border-radius: 1px; background: var(--amber); }
.bars i:nth-child(1) { height: 7px; } .bars i:nth-child(2) { height: 12px; } .bars i:nth-child(3) { height: 17px; } .bars i:nth-child(4) { height: 22px; }
.nav { display: flex; flex-wrap: wrap; gap: .15rem; margin: 0; padding: 0; list-style: none; flex: 1; }
.nav a { display: block; padding: .5rem .8rem; border-radius: 8px; color: var(--on-graphite-muted); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--graphite-2); color: #fff; }
.nav a[aria-current="page"] { color: #fff; background: var(--graphite-2); }
.header-cta { margin-left: auto; }
@media (max-width: 52rem) {
  .site-header .brand { order: 1; }
  .header-cta { order: 2; }
  .site-header nav { order: 3; flex-basis: 100%; }
  .nav a { padding: .5rem .65rem; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.9rem; padding: .55rem 1.3rem; border-radius: 10px; font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 1.5px solid var(--amber); background: var(--amber); color: var(--on-amber); }
.btn:hover { background: #FFC24D; border-color: #FFC24D; color: var(--on-amber); }
.btn.small { min-height: 2.4rem; padding: .35rem 1rem; font-size: .95rem; }
.btn.ghost { background: transparent; color: var(--on-graphite); border-color: var(--graphite-line); }
.btn.ghost:hover { background: var(--graphite-2); border-color: #4A4F5A; color: #fff; }
.btn.ghost-ink { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost-ink:hover { background: var(--card); color: var(--ink); }
.btn .icon { width: 1.15em; height: 1.15em; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* hero */
.hero { position: relative; background: var(--graphite); color: var(--on-graphite); padding: 0; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 18ch; }
.hero-copy { padding-top: 3.5rem; }
.hero .lead { color: var(--on-graphite-muted); margin: 1.5rem 0 1.75rem; }
.hero-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .6rem; margin: 0 0 1.75rem; }
.hero-price b { font: 400 2.6rem/1 var(--serif); color: var(--amber); }
.hero-price span { color: var(--on-graphite-muted); }
.hero-price a { color: var(--amber); }
.hero-bars { position: absolute; right: max(1.25rem, calc((100vw - 74rem) / 2 + 1.25rem)); top: 5.5rem; display: none; align-items: flex-end; gap: 1.1rem; height: 18rem; }
.hero-bars i { display: block; width: 3.2rem; border-radius: 6px; background: var(--amber); transform-origin: bottom; }
.hero-bars i:nth-child(1) { height: 28%; opacity: .35; } .hero-bars i:nth-child(2) { height: 52%; opacity: .55; }
.hero-bars i:nth-child(3) { height: 76%; opacity: .8; } .hero-bars i:nth-child(4) { height: 100%; }
@media (min-width: 62rem) { .hero-bars { display: flex; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-bars i { animation: rise .9s var(--ease) both; }
  .hero-bars i:nth-child(2) { animation-delay: .1s; } .hero-bars i:nth-child(3) { animation-delay: .2s; } .hero-bars i:nth-child(4) { animation-delay: .3s; }
}
@keyframes rise { from { transform: scaleY(.04); } to { transform: scaleY(1); } }

.install-line { display: flex; align-items: center; gap: .85rem; max-width: 46rem; margin: 0; padding: 1rem 1.15rem; background: #0B0C0F; border: 1px solid var(--graphite-line); border-radius: 12px; font: 500 .95rem/1.5 var(--mono); color: #E8E6E0; overflow-x: auto; white-space: nowrap; }
.install-line:focus-visible { outline-offset: 0; }
@media (max-width: 40rem) { .install-line { white-space: normal; overflow-wrap: anywhere; align-items: flex-start; } }
.install-line .prompt { color: var(--amber); user-select: none; }
.install-note { font-size: .92rem; color: var(--on-graphite-muted); margin: .75rem 0 0; }

.hero-shot { position: relative; z-index: 2; margin: 3.25rem 0 -5.5rem; }
.shot { background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.shot img { width: 100%; }
.hero .shot { border-color: var(--graphite-line); }

/* sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section.after-hero { padding-top: clamp(8rem, 14vw, 10.5rem); }
.section.tint { background: var(--sunken); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { max-width: 18ch; }
.section-head .lead { margin-top: 1rem; }
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 1rem; }
.page-head h1 { max-width: 16ch; }
.page-head .lead { margin-top: 1.1rem; }

/* two panels */
.pair { display: grid; gap: 2.5rem 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.pair figure { margin: 0; }
.pair figcaption { margin-top: 1rem; }
.pair figcaption h3 { margin-bottom: .3rem; }
.pair figcaption p { color: var(--muted); margin: 0; }

/* feature grid: hairlines, not boxes */
.fgrid { display: grid; gap: 0 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.fitem { padding: 1.5rem 0 1.75rem; border-top: 1px solid var(--line-2); }
.fitem .icon { width: 1.9rem; height: 1.9rem; color: var(--accent-text); margin-bottom: .85rem; }
.fitem h3 { margin-bottom: .4rem; }
.fitem p { color: var(--muted); margin: 0; font-size: 1rem; }

/* spotlight rows */
.spot { display: grid; gap: 2rem 3.5rem; align-items: center; }
.spot + .spot { margin-top: clamp(3.5rem, 8vw, 6rem); }
@media (min-width: 62rem) {
  .spot { grid-template-columns: 5fr 7fr; }
  .spot.flip { grid-template-columns: 7fr 5fr; }
  .spot.flip .spot-text { order: 2; }
}
.spot-text h2 { margin-bottom: 1rem; }
.spot-text p { color: var(--muted); }
.ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; }
.ticks .icon { width: 1.25rem; height: 1.25rem; margin-top: .22rem; color: var(--ok); }

/* by hand vs freePanel */
.versus { border-top: 1px solid var(--line-2); }
.vrow { display: grid; gap: .75rem 2.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 52rem) { .vrow { grid-template-columns: 14rem 1fr 1fr; } }
.vrow h3 { font-size: 1.1rem; }
.vrow p { margin: 0; color: var(--muted); }
.vrow .vlabel { display: block; font: 600 .85rem/1.2 var(--sans); color: var(--ink); margin-bottom: .3rem; }
.vrow .with p, .vrow .with .vlabel { color: var(--ink); }
.vrow .with .vlabel { color: var(--accent-text); }

/* trust */
.trust { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.trust .icon { width: 2.25rem; height: 2.25rem; color: var(--accent-text); margin-bottom: 1rem; }
.trust h3 { margin-bottom: .6rem; font-size: 1.3rem; }
.trust p { color: var(--muted); }

/* pricing band */
.band { background: var(--graphite); color: var(--on-graphite); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.band .grid { display: grid; gap: 2.5rem 4rem; align-items: center; }
@media (min-width: 56rem) { .band .grid { grid-template-columns: 1fr 1fr; } }
.band .big { font: 400 clamp(5rem, 14vw, 9rem)/.9 var(--serif); color: var(--amber); letter-spacing: -.02em; }
.band .per { color: var(--on-graphite-muted); margin: .75rem 0 0; font-size: 1.1rem; }
.band .ticks .icon { color: var(--amber); }
.band .ticks li { color: var(--on-graphite); }
.band .soon { display: inline-block; font: 600 .78rem/1 var(--sans); background: var(--graphite-2); color: var(--on-graphite); border: 1px solid #4A4F5A; border-radius: 99px; padding: .25rem .6rem; margin-left: .4rem; vertical-align: .1em; }
.band .actions { margin-top: 1.75rem; }
.band p.fine { color: var(--on-graphite-muted); font-size: .95rem; margin: 1.25rem 0 0; }

/* faq */
.faq { border-top: 1px solid var(--line-2); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font: 600 1.1rem/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 1.2rem; height: 1.2rem; color: var(--accent-text); transition: transform .2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { color: var(--muted); margin: 0 0 1.25rem; max-width: 44rem; }
@media (prefers-reduced-motion: reduce) { .faq summary .icon { transition: none; } }

/* install */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0 1.1rem; }
.steps > li::before { content: counter(step); width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--graphite); color: var(--amber); font: 400 1.5rem/2.6rem var(--serif); text-align: center; }
.steps h3 { margin: .25rem 0 .5rem; }
.steps p { color: var(--muted); }
.steps .install-line { max-width: none; }
pre.code { background: #0B0C0F; color: #E8E6E0; border: 1px solid var(--graphite-line); border-radius: 12px; padding: 1rem 1.15rem; overflow-x: auto; margin: 0 0 1rem; font: 500 .92rem/1.6 var(--mono); }
pre.code:focus-visible { outline-offset: 0; }
:not(pre) > code { font: 500 .88em var(--mono); background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: .08em .35em; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); }
.table-wrap:focus-visible { outline-offset: 0; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .98rem; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--sunken); font-size: .85rem; }
tr:last-child td { border-bottom: 0; }
td:first-child { white-space: nowrap; }
.note { color: var(--muted); font-size: .98rem; }
.callout { border-left: 3px solid var(--amber); background: var(--card); border-radius: 0 10px 10px 0; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.callout p { margin: 0; }
.mt-md { margin-top: 1.5rem; } .mt-lg { margin-top: 2.5rem; }

/* contact */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem; }
.card .icon { width: 1.9rem; height: 1.9rem; color: var(--accent-text); margin-bottom: .9rem; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--muted); margin: 0; }

/* final call to action */
.cta { text-align: left; padding-top: 0; }
.cta h2 { max-width: 16ch; margin-bottom: 1.5rem; }

/* footer */
.site-footer { background: var(--graphite); color: var(--on-graphite-muted); padding: 3.5rem 0 2rem; font-size: .98rem; }
.site-footer a { color: var(--on-graphite); text-decoration: none; display: inline-block; padding: .2rem 0; }
.site-footer a.brand { display: inline-flex; padding: .35rem 0; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.foot-grid .about { grid-column: span 2; max-width: 22rem; }
@media (max-width: 40rem) { .foot-grid .about { grid-column: auto; } }
.site-footer h2 { font: 600 .95rem/1.3 var(--sans); color: var(--on-graphite); margin: 0 0 .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer .brand { margin-bottom: .75rem; }
.legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--graphite-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .92rem; }
.legal p { margin: 0; }
