/* jorah.app — the app's "Warm Paper" palette with the navy of the logo. */
:root {
  --cream: #FAFAF7;
  --paper: #F4F1EA;
  --surface: #FFFFFF;
  --ink: #1A1625;
  --muted: #6B6478;
  --navy: #193C5C;
  --navy-2: #24507A;
  --purple: #6B46C1;
  --gold: #D4A574;
  --gold-ink: #8A5F2E;
  --sage: #7AAB5C;
  --line: rgba(26, 22, 37, 0.10);
  --serif: 'Frank Ruhl Libre', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 20px;
  --shadow: 0 8px 24px rgba(26, 22, 37, 0.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(250, 250, 247, 0.88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: rgba(26, 22, 37, 0.05); }
.nav a[aria-current="page"] { color: var(--navy); background: rgba(25, 60, 92, 0.08); }

/* type */
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.01em; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 14px; }
.eyebrow { color: var(--gold-ink); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.lede { font-size: 18px; color: #3B3546; }
.small, .meta { font-size: 14px; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform 0.15s ease, background 0.15s ease; }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--navy); color: #FFFFFF; }
.btn.primary:hover { background: var(--navy-2); color: #FFFFFF; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: rgba(26, 22, 37, 0.16); }
.btn.ghost:hover { background: var(--paper); color: var(--ink); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 12px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(212, 165, 116, 0.22), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(25, 60, 92, 0.10), transparent 60%); padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--navy); }
.phone { justify-self: center; width: 300px; max-width: 100%; aspect-ratio: 9 / 18.5; border-radius: 44px; background: #0F1B29; padding: 12px; box-shadow: 0 30px 60px rgba(25, 60, 92, 0.25); }
.screen { height: 100%; border-radius: 34px; background: var(--cream); padding: 22px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.s-top { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 4px; }
.s-date { font-family: var(--serif); font-size: 18px; }
.s-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--purple); }
.s-card { background: var(--surface); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); }
.s-card.dark { background: var(--ink); color: #FAFAF7; }
.s-k { font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.s-card.dark .s-k { color: var(--gold); }
.s-k.gold { color: var(--gold-ink); }
.s-times { display: flex; justify-content: space-between; }
.s-times b { display: block; font-size: 17px; }
.s-times small { font-size: 10px; opacity: 0.7; }
.s-serif { font-family: var(--serif); font-size: 15px; line-height: 1.45; margin: 0; }
.s-row { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 5px 0; border-top: 1px solid var(--line); }
.s-row:first-of-type { border-top: 0; }
.s-row i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--muted); flex-shrink: 0; }
.s-row i.done { background: var(--sage); border-color: var(--sage); }

/* sections */
.section { padding: 64px 0; }
.section-title { margin-bottom: 8px; }
.section-sub { color: var(--muted); margin-bottom: 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
.f-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(25, 60, 92, 0.08); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.band { background: var(--navy); color: #F1EEE6; padding: 40px 0; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.band-item { display: flex; gap: 16px; align-items: flex-start; }
.band-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.band-item p { margin: 0; color: rgba(241, 238, 230, 0.85); }
.band a { color: #FFFFFF; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cats span { border-radius: 14px; padding: 18px 16px; font-weight: 700; font-size: 15px; flex: 1 1 40%; min-height: 76px; display: flex; align-items: flex-end; }
.final { text-align: center; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); padding: 48px 24px; margin-bottom: 64px; }
.final p { color: var(--muted); max-width: 520px; margin: 0 auto 22px; }

/* prose pages */
.prose { padding: 48px 0 72px; }
.prose h1 { font-size: clamp(32px, 4.5vw, 44px); }
.prose h2 { font-size: 22px; margin-top: 34px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose .ticks { list-style: none; padding-left: 0; }
.prose .ticks li { position: relative; padding-left: 30px; }
.prose .ticks li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose.center { text-align: center; }
.cta-line { margin-top: 28px; }
.faq details { background: var(--surface); border-radius: 16px; padding: 4px 18px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--navy); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: #3B3546; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding: 36px 0 24px; margin-top: 24px; }
.foot { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot-brand { font-family: var(--serif); font-size: 22px; }
.foot p { color: var(--muted); font-size: 14px; max-width: 320px; }
.foot nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 28px; font-size: 14px; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.copy { color: var(--muted); font-size: 13px; margin-top: 22px; }

a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid rgba(107, 70, 193, 0.45); outline-offset: 2px; border-radius: 8px; }

@media (max-width: 860px) {
  .hero-grid, .split, .band-grid { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .phone { width: 260px; }
}
@media (max-width: 560px) {
  .grid3 { grid-template-columns: 1fr; }
  .nav a { padding: 6px 8px; font-size: 13px; }
  .brand span { display: none; }
  .hero { padding: 32px 0 44px; }
  .foot nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
