/* ShortJo marketing site — landing, privacy, terms
   Same constraints as the app:
   - No CSS custom properties
   - No flexbox `gap` (use margins on children)
   - No calc(), no animations/transitions
   - No border-radius, no shadows, no gradients
   - Hardcoded hex only
   - Webkit prefixes on every flex declaration */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0;
  -webkit-transition: none;
  transition: none;
}

html, body {
  background: #F5EFDB;
  color: #1A1A1A;
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
}

/* ============================================================
   SITE CHROME — title bar identical to the app
   ============================================================ */

.site-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 6px 14px;
  background: #1A2F4F;
  color: #F5EFDB;
  border-bottom: 2px solid #1A2F4F;
}

.site-wordmark {
  font-family: Courier New, Courier, monospace;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F5EFDB;
  text-decoration: none;
}

.site-wordmark-tag {
  font-family: Courier New, Courier, monospace;
  font-size: 13px;
  font-weight: normal;
  color: #B8AC87;
  margin-left: 10px;
  letter-spacing: 0.04em;
}

.site-header-link {
  font-family: Courier New, Courier, monospace;
  font-size: 13px;
  font-weight: bold;
  background: #1A2F4F;
  border-top: 1px solid #B8AC87;
  border-left: 1px solid #B8AC87;
  border-right: 1px solid #1A1A1A;
  border-bottom: 1px solid #1A1A1A;
  padding: 6px 12px;
  color: #F5EFDB;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-block;
}

.site-rule {
  border: none;
  border-top: 1px dashed #1A2F4F;
  display: block;
  margin-top: 1px;
}

/* ============================================================
   PAGE CONTAINER
   ============================================================ */

.page {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
}

.page-wide {
  max-width: 980px;
}

/* ============================================================
   HERO — bracket-S badge + tagline + CTA
   ============================================================ */

.hero {
  padding: 56px 0 40px 0;
  border-bottom: 1px solid #B8AC87;
}

.hero-badge {
  display: block;
  width: 96px;
  height: 96px;
  background: #1A2F4F;
  color: #F5EFDB;
  font-family: Courier New, Courier, monospace;
  font-size: 56px;
  font-weight: bold;
  text-align: center;
  line-height: 96px;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-eyebrow {
  font-family: Courier New, Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1A2F4F;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1.15;
  font-weight: normal;
  color: #1A1A1A;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: #1A2F4F;
}

.hero-lede {
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.5;
  color: #1A1A1A;
  margin-bottom: 28px;
  max-width: 560px;
}

/* ============================================================
   BUTTONS — Palm-style 2-tone bevel
   ============================================================ */

.btn-primary {
  display: inline-block;
  font-family: Courier New, Courier, monospace;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #1A2F4F;
  color: #F5EFDB;
  border-top: 2px solid #B8AC87;
  border-left: 2px solid #B8AC87;
  border-right: 2px solid #1A1A1A;
  border-bottom: 2px solid #1A1A1A;
  padding: 14px 22px;
  text-decoration: none;
  min-height: 48px;
  cursor: pointer;
}

.btn-primary:active {
  border-top: 2px solid #1A1A1A;
  border-left: 2px solid #1A1A1A;
  border-right: 2px solid #B8AC87;
  border-bottom: 2px solid #B8AC87;
}

.btn-secondary {
  display: inline-block;
  font-family: Courier New, Courier, monospace;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #F5EFDB;
  color: #1A2F4F;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #1A2F4F;
  border-bottom: 1px solid #1A2F4F;
  padding: 10px 16px;
  text-decoration: none;
  min-height: 40px;
}

.cta-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.cta-row .btn-primary {
  margin-right: 18px;
  margin-bottom: 8px;
}

.cta-note {
  font-family: Courier New, Courier, monospace;
  font-size: 13px;
  color: #5C5345;
  letter-spacing: 0.04em;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 48px 0;
  border-bottom: 1px solid #B8AC87;
}

.section-label {
  font-family: Courier New, Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1A2F4F;
  border-left: 3px solid #1A2F4F;
  padding-left: 10px;
  margin-bottom: 28px;
  background: #F5EFDB;
  padding-top: 4px;
  padding-bottom: 4px;
}

.section-heading {
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: normal;
  color: #1A1A1A;
  margin-bottom: 24px;
  max-width: 600px;
}

.section-lede {
  font-family: Georgia, serif;
  font-size: 18px;
  color: #1A1A1A;
  max-width: 580px;
  margin-bottom: 28px;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */

.features {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.feature {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 240px;
  padding: 22px;
  margin: 10px;
  background: #ffffff;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #1A2F4F;
  border-bottom: 2px solid #1A2F4F;
}

.feature-glyph {
  font-family: Courier New, Courier, monospace;
  font-size: 26px;
  font-weight: bold;
  color: #1A2F4F;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

.feature-title {
  font-family: Courier New, Courier, monospace;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1A2F4F;
  margin-bottom: 10px;
}

.feature-body {
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.55;
  color: #1A1A1A;
}

/* ============================================================
   HOW IT WORKS — numbered steps, monospace counter
   ============================================================ */

.steps {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.step {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px dashed #B8AC87;
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: Courier New, Courier, monospace;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.06em;
  color: #F5EFDB;
  background: #1A2F4F;
  min-width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 18px;
}

.step-body {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.step-title {
  font-family: Courier New, Courier, monospace;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1A2F4F;
  margin-bottom: 6px;
}

.step-desc {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
}

.step-example {
  font-family: Courier New, Courier, monospace;
  font-size: 14px;
  background: #F5EFDB;
  border-left: 3px solid #1A2F4F;
  padding: 8px 12px;
  margin-top: 10px;
  color: #1A1A1A;
  display: inline-block;
}

/* ============================================================
   E-READER SHOWCASE
   ============================================================ */

.kindle-section {
  background: #ffffff;
  border-top: 2px solid #1A2F4F;
  border-bottom: 2px solid #1A2F4F;
  padding: 56px 0;
}

.kindle-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.kindle-copy {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 280px;
  padding-right: 24px;
}

.kindle-mock {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
}

.kindle-frame {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   ENTRY TYPES — symbol legend
   ============================================================ */

.legend {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}

.legend-item {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  margin: 8px;
  background: #F5EFDB;
  border-left: 4px solid #1A2F4F;
}

.legend-sym {
  font-family: Courier New, Courier, monospace;
  font-size: 18px;
  font-weight: bold;
  color: #1A2F4F;
  display: inline-block;
  min-width: 36px;
}

.legend-name {
  font-family: Courier New, Courier, monospace;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1A2F4F;
  display: inline-block;
}

.legend-desc {
  font-family: Georgia, serif;
  font-size: 15px;
  color: #1A1A1A;
  margin-top: 6px;
}

/* ============================================================
   PRICING / FREE NOTE
   ============================================================ */

.pricing {
  background: #1A2F4F;
  color: #F5EFDB;
  padding: 56px 0;
  border-bottom: 1px solid #1A2F4F;
}

.pricing .section-label {
  background: #1A2F4F;
  color: #F5EFDB;
  border-left: 3px solid #F5EFDB;
}

.pricing h2 {
  font-family: Georgia, serif;
  font-size: 36px;
  line-height: 1.15;
  font-weight: normal;
  color: #F5EFDB;
  margin-bottom: 18px;
}

.pricing p {
  font-family: Georgia, serif;
  font-size: 18px;
  color: #F5EFDB;
  max-width: 540px;
  margin-bottom: 22px;
}

.pricing-fineprint {
  font-family: Courier New, Courier, monospace;
  font-size: 13px;
  color: #B8AC87;
  letter-spacing: 0.04em;
  margin-top: 28px;
}

.pricing .btn-primary {
  background: #F5EFDB;
  color: #1A2F4F;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #0F1D33;
  border-bottom: 2px solid #0F1D33;
}

/* ============================================================
   CLOSING CTA
   ============================================================ */

.close-cta {
  padding: 64px 0;
  text-align: left;
  border-bottom: 1px solid #B8AC87;
}

.close-cta h2 {
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 20px;
  max-width: 520px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #F5EFDB;
  border-top: 2px solid #1A2F4F;
  padding: 28px 18px 36px 18px;
}

.footer-inner {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.footer-mark {
  font-family: Courier New, Courier, monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A2F4F;
  font-weight: bold;
  margin-bottom: 8px;
}

.footer-tag {
  font-family: Courier New, Courier, monospace;
  font-size: 12px;
  color: #5C5345;
  letter-spacing: 0.04em;
}

.footer-nav {
  font-family: Courier New, Courier, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav a {
  color: #1A2F4F;
  text-decoration: none;
  margin-left: 18px;
  font-weight: bold;
}

.footer-nav a:first-child {
  margin-left: 0;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* ============================================================
   LEGAL PAGES — privacy / terms
   ============================================================ */

.legal-hero {
  padding: 48px 0 16px 0;
  border-bottom: 1px solid #B8AC87;
}

.legal-eyebrow {
  font-family: Courier New, Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1A2F4F;
  margin-bottom: 12px;
}

.legal-hero h1 {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: normal;
  line-height: 1.15;
  color: #1A1A1A;
  margin-bottom: 12px;
}

.legal-updated {
  font-family: Courier New, Courier, monospace;
  font-size: 13px;
  color: #5C5345;
  letter-spacing: 0.04em;
}

.legal-body {
  padding: 36px 0 48px 0;
}

.legal-body h2 {
  font-family: Courier New, Courier, monospace;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1A2F4F;
  background: #F5EFDB;
  border-left: 3px solid #1A2F4F;
  padding: 8px 12px;
  margin: 30px 0 16px 0;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 14px;
  color: #1A1A1A;
}

.legal-body ul {
  margin: 8px 0 18px 0;
  padding-left: 0;
  list-style: none;
}

.legal-body li {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.55;
  padding: 4px 0 4px 28px;
  position: relative;
}

.legal-body li:before {
  content: "—";
  font-family: Courier New, Courier, monospace;
  position: absolute;
  left: 0;
  color: #1A2F4F;
  font-weight: bold;
}

.legal-body strong {
  font-weight: bold;
  color: #1A2F4F;
}

.legal-body a {
  color: #1A2F4F;
  text-decoration: underline;
}

.legal-callout {
  background: #ffffff;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #1A2F4F;
  border-bottom: 2px solid #1A2F4F;
  padding: 16px 18px;
  margin: 18px 0 22px 0;
}

.legal-callout-label {
  font-family: Courier New, Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1A2F4F;
  margin-bottom: 6px;
}

.legal-callout p {
  margin-bottom: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 640px) {
  .hero {
    padding: 36px 0 28px 0;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-lede {
    font-size: 17px;
  }
  .section {
    padding: 36px 0;
  }
  .section-heading {
    font-size: 24px;
  }
  .pricing h2 {
    font-size: 26px;
  }
  .close-cta h2 {
    font-size: 24px;
  }
  .legal-hero h1 {
    font-size: 28px;
  }
  .kindle-section {
    padding: 36px 0;
  }
  .kindle-copy {
    padding-right: 0;
    padding-bottom: 24px;
  }
  .footer-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .footer-nav {
    margin-top: 14px;
  }
  .footer-nav a {
    margin-left: 0;
    margin-right: 18px;
  }
}
