/* tofopscenter.com — the public website (DJ 2026-11-02 — docs/APP-STORE.md): what the app is, privacy policy, support. The app itself is at
   app.tofopscenter.com. Colors from the app (--brand-bg #1f1d1b). Plain HTML + this file: no scripts, nothing from other sites.
   Pages link this file as site.css?v=… — bump the number on every page when it changes (Hostinger lets browsers keep it 7 days). The same for
   logo.png?v=… and favicon.png?v=… when the pictures change (DJ 2026-11-02 still saw the AVIATION logo his browser had kept).
   Layout (DJ 2026-11-02: "make separate pages … it's very cluttered on what we're trying to get somebody to sign up with"): the home page
   sells the free logbook; logbook.html, owners.html and organizations.html each have their own page. */
:root {
  --bg: #1f1d1b; --surface: #2a2724; --line: #3d3934; --text: #ece6de; --muted: #b3aba0; --accent: #c9a24a; --link: #e2c27a;
  --green: #2e5e3f; --green-text: #d8f2df;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--link); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header and footer */
header.site { border-bottom: 1px solid var(--line); }
/* The logo left, the menu and Sign in right, on one row: when the menu runs out of room its links wrap within it, so Sign in never drops to
   a line of its own (DJ 2026-11-02 screenshot). Phones: the menu goes under the logo (below). */
header.site .wrap { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.05rem; margin-right: auto; flex: none; }
.brand img { width: 40px; height: 40px; }
nav.site { display: flex; gap: 6px 20px; align-items: center; flex-wrap: wrap; justify-content: flex-end; flex: 1 1 auto; min-width: 0; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current] { color: var(--text); }
footer.site { border-top: 1px solid var(--line); margin-top: 48px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 18px; padding-bottom: 26px; color: var(--muted); font-size: .92rem; }
footer.site a { color: var(--muted); }
footer.site .copy { margin-right: auto; }

/* Type */
h1 { font-size: clamp(1.9rem, 4.6vw, 2.7rem); line-height: 1.18; margin: 0 0 12px; }
h2 { font-size: 1.4rem; line-height: 1.3; margin: 44px 0 14px; }
h3 { font-size: 1.08rem; margin: 0 0 6px; }
.lead { color: var(--muted); font-size: 1.14rem; margin: 0 0 22px; max-width: 640px; }
.eyebrow { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
ul.points { padding-left: 20px; color: var(--muted); margin: 6px 0 0; }
ul.points li { margin: 5px 0; }
.note { color: var(--muted); margin: 12px 0 0; font-size: .95rem; }

/* Buttons and status pills */
.btn { display: inline-block; padding: 10px 20px; border-radius: 999px; background: var(--accent); color: #1b1814; font-weight: 700;
  text-decoration: none; line-height: 1.3; border: 1px solid var(--accent); }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); filter: none; }
.btn.signin { padding: 7px 16px; flex: none; white-space: nowrap; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.demo-row { margin-top: 22px; }
.demo-row .note { margin: 0; flex: 1 1 260px; }
.status { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .02em; border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.status.now { background: var(--green); color: var(--green-text); }
.status.next { background: rgba(201, 162, 74, .18); color: var(--accent); }
.status.tag-addon { background: rgba(201, 162, 74, .18); color: var(--accent); }
.status.early { border: 1px solid var(--accent); color: var(--accent); padding: 2px 10px; }

/* Home: hero — the logo on top, the heading, Start free and Sign in side by side, See what's in it (DJ 2026-11-02: "make it very simple";
   "Don't make the sign in part so hidden"). */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 0 20px; }
.hero img { width: 170px; height: 170px; margin-bottom: 16px; }
.hero .eyebrow { margin-bottom: 4px; }
.hero h1 { margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.hero-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.btn.big { min-width: 180px; padding: 13px 28px; font-size: 1.08rem; text-align: center; border-width: 2px; }
.btn.outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn.outline:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.note.center { text-align: center; margin-top: 18px; }

/* Home: four highlights of the logbook */
.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 30px 0 0; }
.highlight { border-top: 2px solid var(--accent); padding-top: 12px; }
.highlight h3 { margin-bottom: 4px; }
.highlight p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Home: the three ways in — each its own card with its own button */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.products.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px 20px; }
.product.featured { border-color: var(--accent); }
.product-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.product .tag { font-size: .74rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.product h3 { font-size: 1.32rem; line-height: 1.25; margin: 2px 0 0; color: var(--text); }
.product p { margin: 0; color: var(--muted); }
.product .price { color: var(--text); font-size: .95rem; font-weight: 600; }
.product-actions { margin-top: auto; padding-top: 8px; display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; }
.more { color: var(--link); text-decoration: none; font-weight: 600; }
.more:hover { text-decoration: underline; }

/* Product pages */
.page-head { padding: 48px 0 6px; }
.page-head .status { margin-bottom: 14px; }
.page-head .eyebrow { margin-bottom: 6px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 12px; }
.feature h3 { color: var(--text); }
.feature ul.points { margin: 6px 0 4px; }
.feature .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1b1814;
  background: var(--accent); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
.feature.soon { border-style: dashed; border-color: var(--accent); background: transparent; }
.for { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 8px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: .88rem; color: var(--text); background: rgba(255, 255, 255, .03); }
.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.addon { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.addon b { color: var(--text); }
.addon span { color: var(--muted); font-size: .95rem; }

/* How free works; call-to-action bands */
.free-note { margin: 28px 0 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 12px; }
.free-note h3 { margin: 0; display: inline; }
/* How free works opens and closes (DJ 2026-11-02: "make this expandable"). */
details.free-note summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
details.free-note summary::-webkit-details-marker { display: none; }
details.free-note summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; font-weight: 600; transition: transform .15s; }
details.free-note[open] summary::after { transform: rotate(45deg); }
details.free-note[open] summary { margin-bottom: 6px; }
.free-note p { margin: 0; color: var(--muted); }
.band { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin: 36px 0 0; padding: 22px 24px;
  border: 1px solid var(--accent); border-radius: 14px; background: rgba(201, 162, 74, .07); }
.band.dashed { border-style: dashed; }
.band h3 { margin: 0 0 4px; font-size: 1.2rem; }
.band p { margin: 0; color: var(--muted); }
.band .cta-row { flex: none; }

/* Privacy and support */
.doc { max-width: 760px; padding-top: 28px; padding-bottom: 40px; }
.doc p, .doc li { color: #d9d2c8; }
.doc .updated { color: var(--muted); font-size: .92rem; }
.draft { border: 1px dashed var(--accent); border-radius: 10px; padding: 10px 14px; color: var(--accent); margin: 16px 0; font-size: .95rem; }

@media (max-width: 860px) {
  .products, .products.two { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addons { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* Phone: the logo and Sign in on one row, the menu on the row under them. */
  header.site .wrap { row-gap: 6px; flex-wrap: wrap; }
  .brand { font-size: 1rem; }
  .brand img { width: 34px; height: 34px; }
  nav.site { order: 3; width: 100%; gap: 4px 14px; font-size: .86rem; justify-content: flex-start; flex: 1 1 100%; }
  .hero { padding-top: 28px; }
  .hero img { width: 130px; height: 130px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn.big { flex: 1 1 140px; min-width: 0; }
  .features { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; }
  .page-head { padding-top: 30px; }
}
@media (max-width: 480px) {
  .highlights { grid-template-columns: 1fr; }
}

/* How people join an organization (DJ 2026-11-02: "people are going to have to download the Chronos app just to be able to be pulled in by an
   organization") — numbered steps. */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--muted); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #1b1814; font-weight: 700; margin-bottom: 10px; }
.steps b { display: block; color: var(--text); margin-bottom: 2px; }
.features.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .steps, .features.three { grid-template-columns: 1fr; } }

/* Jobs, coming soon — on its own under "Flying with an organization?" (DJ 2026-11-02). */
.jobs-soon { margin-top: 28px; }

/* App screenshots (DJ 2026-11-03: like the App Store's) — a row of phone screens, each with a short line above it; swipes sideways on a
   phone. The screens are plain pictures in a rounded frame of our own (no device artwork). */
.shots { margin: 30px 0 8px; }
.shots-row { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; -webkit-overflow-scrolling: touch; }
.shot { flex: 0 0 auto; width: 228px; margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.shot figcaption { font-weight: 700; font-size: 1.02rem; line-height: 1.25; min-height: 2.5em; color: var(--text); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top;
  border-radius: 26px; border: 2px solid rgba(255, 255, 255, .14); background: #1f1d1b; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.shots-note { color: var(--muted); font-size: .85rem; margin: 2px 0 0; }
@media (min-width: 1000px) {
  .shots-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; row-gap: 26px; }
  .shots-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots-row.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots-row .shot { width: auto; }
}
@media (max-width: 600px) { .shot { width: 70vw; max-width: 260px; } }

/* Organizations: Scheduling up front (DJ 2026-11-03) — the words beside three phone screens on a computer, above them on a phone. */
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 34px; align-items: start; margin: 34px 0 10px;
  padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.spotlight h2 { margin: 4px 0 10px; }
.spotlight .lead { margin-bottom: 12px; }
.spotlight-shots { margin: 0; }
@media (min-width: 1000px) { .spotlight-shots.shots-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; padding: 20px 16px; } }

/* More screens (DJ 2026-11-03: "lets add a few more"): wide screens taken at tablet size so they fit ("get a full screen shot that fits");
   a click opens any screen large (site.js — "when you click on a screen shot make it blow up"). */
.shot img { cursor: zoom-in; }
.shot.wide img { aspect-ratio: 1024 / 768; border-radius: 16px; }
.shots-sub { color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 14px 0 8px; }
@media (max-width: 600px) { .shot.wide { width: 86vw; max-width: 520px; } }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px;
  background: rgba(10, 9, 8, .92); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.lightbox img { display: block; max-width: min(92vw, 1400px); max-height: 82vh; width: auto; height: auto; border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, .16); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lightbox figcaption { color: var(--text); font-weight: 700; text-align: center; }
.lightbox button { flex: none; width: 46px; height: 46px; border-radius: 999px; cursor: pointer; font-size: 1.7rem; line-height: 1;
  color: var(--text); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); }
.lightbox button:hover { border-color: var(--accent); color: var(--accent); }
.lightbox .lb-close { position: absolute; top: 14px; right: 14px; }
@media (max-width: 600px) {
  .lightbox { padding: 12px; }
  .lightbox img { max-height: 74vh; max-width: 92vw; }
  .lightbox .lb-prev, .lightbox .lb-next { position: absolute; bottom: 16px; }
  .lightbox .lb-prev { left: calc(50% - 60px); }
  .lightbox .lb-next { right: calc(50% - 60px); }
}


/* Aircraft packages, an add-on (DJ 2026-11-08) */
.spotlight .status, .addon-head .status { margin-bottom: 10px; }
.spotlight .for { margin-top: 14px; }
.spotlight .chips { margin-bottom: 16px; }
.addon-head { margin-top: 44px; scroll-margin-top: 16px; }
.addon-head h2 { margin: 4px 0 10px; }
#aircraft-packages { scroll-margin-top: 16px; }
.product p .more, .addon .more { white-space: nowrap; }
