/* Airline Pilot Logbook Printing Co. — mobile-first one-pager */

:root {
  --navy: #0B1F3A;
  --navy-deep: #071528;
  --gold: #C4A35A;
  --gold-hover: #D4B56E;
  --gold-muted: rgba(196, 163, 90, 0.15);
  --white: #FFFFFF;
  --cream: #F7F4EE;
  --charcoal: #2C2C2C;
  --muted: #5A5A5A;
  --radius: 12px;
  --header-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --max: 1120px;
  --narrow: 720px;

  /* Semantic surfaces / text (light) */
  --bg: var(--white);
  --bg-alt: var(--cream);
  --text: var(--charcoal);
  --text-muted: var(--muted);
  --text-heading: var(--navy);
  --link: var(--navy);
  --surface: var(--white);
  --surface-alt: var(--cream);
  --header-bg: rgba(255, 255, 255, 0.96);
  --border: #E5E1D8;
  --shadow: 0 8px 30px rgba(11, 31, 58, 0.08);
  --nav-hover-bg: var(--cream);
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  color-scheme: light;
}


body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2rem, var(--narrow));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
}

/* Sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
  position: relative;
}

.logo-mark {
  height: 44px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-desktop {
  display: none;
  margin-left: auto;
  gap: 1.35rem;
  align-items: center;
}

.nav-desktop a {
  color: var(--text-heading);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-desktop a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.header-order {
  margin-left: 0;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-heading);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a:not(.btn) {
  padding: 0.75rem 0.5rem;
  color: var(--text-heading);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
}

.nav-mobile a:not(.btn):hover {
  background: var(--nav-hover-bg);
  color: var(--text-heading);
}

.nav-mobile .btn {
  margin-top: 0.5rem;
  width: 100%;
}

/* Hero — navy-forward */
.hero {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 2.75rem 0 3.25rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5.5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-sub {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
}

.hero-sub strong {
  color: var(--gold);
  font-weight: 700;
}

.hero-support {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-cover {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(196, 163, 90, 0.25);
  /* Light frame so navy stacked logo stays readable on navy hero */
  background: #fff;
  object-fit: contain;
  aspect-ratio: auto;
  padding: 1.5rem 1.25rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
  background: var(--bg);
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-inline: auto;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Card grids — NEVER nest as staircase lists */
.card-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.card-grid-5,
.card-grid-4,
.card-grid-3 {
  grid-template-columns: 1fr;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}

.step-card {
  position: relative;
  counter-increment: none;
}

.step-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text-heading);
  line-height: 1.3;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.audience-card {
  text-align: left;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  background: var(--gold-muted);
  color: var(--text-heading);
}

/* Included strip */
.included {
  margin-top: 1.75rem;
  padding: 1.35rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}

.included-label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.included-list {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
}

.included-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.included-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.included-note {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* Pricing */
.pricing {
  background: var(--bg);
}

.pricing-panel {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.price-amount {
  margin: 0 0 0.35rem;
  line-height: 1;
}

.price-dollar {
  font-size: clamp(3rem, 10vw, 4rem);
  font-weight: 750;
  color: var(--text-heading);
  letter-spacing: -0.03em;
}

.price-shipped {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  vertical-align: baseline;
}

.price-sub {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
}

.price-body {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.turnaround-list {
  text-align: left;
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.turnaround-list li + li {
  margin-top: 0.35rem;
}

.price-exclusions {
  text-align: left;
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.exclusions-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-heading);
}

.price-exclusions ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.price-exclusions li + li {
  margin-top: 0.35rem;
}

.pricing-panel .btn {
  width: 100%;
  max-width: 280px;
}

.price-help {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-help a {
  color: var(--link);
  font-weight: 500;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
  position: relative;
  padding-right: 2.75rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item a {
  color: var(--link);
  font-weight: 500;
}

/* Final CTA band */
.cta-band {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--white);
  letter-spacing: -0.02em;
}

.cta-inner p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 28rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(196, 163, 90, 0.2);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.footer-name {
  margin: 0;
  font-weight: 650;
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.3;
}

.footer-tag {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
}

.footer-contact p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.footer-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.15rem;
}

.footer-contact a {
  color: var(--white);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-copy {
  margin: 0.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Tablet+ */
@media (min-width: 640px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .included-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-panel {
    padding: 2.5rem 2rem;
  }

  .pricing-panel .btn {
    width: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

/* Desktop */
@media (min-width: 768px) {
  :root {
    --header-h: 76px;
  }

  .logo-mark {
    height: 52px;
    max-width: 88px;
  }

  .nav-desktop {
    display: flex;
  }

  .header-actions {
    margin-left: 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }

  .hero {
    padding: 4rem 0 4.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }

  .section {
    padding: 4.5rem 0;
  }
}

@media (min-width: 960px) {
  .card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .card-grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }

  .included {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 2rem;
    align-items: start;
    padding: 1.5rem 1.75rem;
  }

  .included-label {
    grid-row: 1 / 3;
    writing-mode: horizontal-tb;
    align-self: center;
    margin: 0;
  }

  .included-list {
    margin: 0;
  }

  .included-note {
    grid-column: 2;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: center;
  }

  .footer-copy {
    grid-column: auto;
    border-top: none;
    padding-top: 0;
    margin: 0;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* Legal pages */
.legal-page { padding: 2.5rem 0 4rem; background: var(--bg); }
.legal-page .legal-inner { max-width: var(--narrow); }
.legal-page h1 { color: var(--text-heading); font-size: 1.85rem; margin: 0 0 0.5rem; }
.legal-page .legal-updated { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 2rem; }
.legal-page h2 { color: var(--text-heading); font-size: 1.15rem; margin: 2rem 0 0.6rem; }
.legal-page p, .legal-page li { color: var(--text); }
.legal-page ul { padding-left: 1.2rem; }
.legal-page a { color: var(--link); }
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.75rem; }
.footer-legal a { color: var(--text-muted); font-size: 0.9rem; text-decoration: underline; text-underline-offset: 2px; }

/* Layout previews */
.preview-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 900px) {
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
}
.preview-figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  box-shadow: var(--shadow);
}
.preview-figure img {
  border: 1px solid var(--border);
  border-radius: 6px;
}
.preview-figure figcaption {
  padding: 0.6rem 0.25rem 0.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.preview-figure figcaption strong {
  display: block;
  color: var(--ink, #1a1a1a);
}

/* Disabled placeholder buttons */
.btn[aria-disabled="true"]{cursor:default;}
