/* ──────────────────────────────────────────────────────────────────────────
   OrderFlowOS — brand layer over iLanding (BootstrapMade)
   Loaded AFTER main.css. Overrides the template's color + font variables and
   styles the rebuilt homepage sections. Framework preserved (no build step).
   Source of truth: orderflow:brand (warm cream + Mise amber). 2026-06.
   ────────────────────────────────────────────────────────────────────────── */

:root {
  /* Type — Inter = UI/body, Fraunces = headings ("Mise's voice"), JetBrains Mono = labels */
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-font: "Fraunces", Georgia, "Times New Roman", serif;
  --nav-font: "Inter", system-ui, sans-serif;
  --mono-font: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* OrderFlowOS brand tokens */
  --of-cream:     #faf7f2;
  --of-cream-2:   #f3ecdf;   /* warm chrome / alt section bg + nav theme color */
  --of-panel:     #fffdf8;
  --of-ink:       #1f1a14;
  --of-ink-soft:  #3f362a;
  --of-muted:     #6e6357;
  --of-faint:     #9c9183;
  --of-line:      rgba(31, 26, 20, 0.11);
  --of-line-soft: rgba(31, 26, 20, 0.06);
  --of-amber:     #e0a23e;   /* Mise gold — signature accent */
  --of-amber-deep:#b8791b;
  --of-ember:     #7a5f33;
  --of-blue:      #2563eb;
  --of-purple:    #7c3aed;
  --of-gradient:  linear-gradient(135deg, #2563eb 0%, #7c3aed 55%, #e0a23e 100%);
  --of-amber-glow: rgba(224, 162, 62, 0.42);
  --of-lift-2: 0 1px 2px rgba(31,26,20,0.04), 0 10px 26px -16px rgba(31,26,20,0.16);
  --of-lift-3: 0 2px 6px rgba(31,26,20,0.05), 0 22px 48px -24px rgba(31,26,20,0.22);

  /* Map the template's theming hooks → brand */
  --background-color: var(--of-cream);
  --default-color:    var(--of-ink-soft);
  --heading-color:    var(--of-ink);
  --accent-color:     var(--of-amber);
  --surface-color:    var(--of-panel);
  --contrast-color:   var(--of-ink);   /* dark text reads on the light amber */

  --nav-color: var(--of-ink);
  --nav-hover-color: var(--of-amber-deep);
}

.light-background { --background-color: var(--of-cream-2); --surface-color: #ffffff; }
.dark-background  { --background-color: #14100b; --default-color:#f5efe2; --heading-color:#f5efe2; --surface-color:#221c14; --contrast-color:#f5efe2; }

body {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'tnum' 1, 'ss01' 1;
}

/* Headings — Fraunces, tight, warm ink */
h1, h2, h3 { letter-spacing: -0.015em; }

/* Brand gradient text (for the emphasized word in a headline) */
.grad {
  background: var(--of-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.fr-i { font-style: italic; }

/* Eyebrow — mono, uppercase, amber, wide tracking */
.eyebrow {
  font-family: var(--mono-font);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--of-amber-deep);
  display: inline-block; margin-bottom: 14px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary, .btn-getstarted, .btn-book {
  background: var(--of-amber); border: 0; color: var(--of-ink);
  font-weight: 700; border-radius: 13px; padding: 12px 24px;
  box-shadow: 0 14px 30px -12px var(--of-amber-glow);
  transition: transform .14s ease, box-shadow .3s ease, filter .14s ease;
}
.btn-primary:hover, .btn-getstarted:hover, .btn-book:hover {
  filter: brightness(1.04); color: var(--of-ink);
  box-shadow: 0 18px 42px -12px var(--of-amber-glow);
}
.btn-primary:active, .btn-book:active, .btn-getstarted:active { transform: scale(.985); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--of-line); border-radius: 13px; padding: 11px 20px;
  color: var(--of-ink); font-weight: 600; background: transparent;
  transition: border-color .16s ease, background .16s ease, transform .14s ease;
}
.btn-ghost:hover { border-color: var(--of-amber); background: rgba(224,162,62,0.07); color: var(--of-ink); }
.btn-ghost:active { transform: scale(.985); }

/* ── Section titles ──────────────────────────────────────────────────────── */
.section-title h2 { font-weight: 600; }
.section-title .eyebrow { margin-bottom: 8px; }

/* ── Header / nav ────────────────────────────────────────────────────────── */
.header .logo .sitename { font-weight: 800; letter-spacing: -0.02em; color: var(--of-ink); }
.navmenu a, .navmenu a:focus { font-weight: 600; }

/* ── HERO ────────────────────────────────────────────────────────────────── */
.of-hero { padding-top: 120px; padding-bottom: 60px; }
.of-hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; font-weight: 600; margin-bottom: 22px; }
.of-hero .lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--of-muted); max-width: 33em; }
.of-kicker {
  margin-top: 26px; padding: 14px 18px; border-left: 3px solid var(--of-amber);
  background: rgba(224,162,62,0.07); border-radius: 0 12px 12px 0;
  font-family: var(--heading-font); font-style: italic; font-size: 17px; color: var(--of-ink);
  max-width: 34em;
}
.of-hero .responsive-video, .of-hero video {
  width: 100%; border-radius: 18px;
  background: transparent;                 /* let the cream page show through a transparent webm */
  filter: drop-shadow(0 20px 44px rgba(31, 26, 20, 0.16));
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Capability strip */
.of-cap { margin-top: 46px; }
.of-cap-item { display: flex; gap: 12px; align-items: flex-start; }
.of-cap-item .ci { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(224,162,62,0.12); color: var(--of-amber-deep); font-size: 20px; }
.of-cap-item h4 { font-family: var(--default-font); font-size: 15px; font-weight: 700; margin: 2px 0 2px; color: var(--of-ink); }
.of-cap-item p { font-size: 13.5px; color: var(--of-muted); margin: 0; }

/* ── Generic brand card (pain / differentiator / feature) ────────────────── */
.of-card {
  height: 100%; background: var(--surface-color); border: 1px solid var(--of-line-soft);
  border-radius: 16px; padding: 26px; box-shadow: var(--of-lift-2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.of-card:hover { transform: translateY(-3px); box-shadow: var(--of-lift-3); border-color: var(--of-line); }
.of-card .icon { width: 46px; height: 46px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 23px; margin-bottom: 16px;
  background: rgba(224,162,62,0.12); color: var(--of-amber-deep); }
.of-card h3 { font-family: var(--default-font); font-size: 18px; font-weight: 700; color: var(--of-ink); margin-bottom: 8px; }
.of-card p { font-size: 14.5px; color: var(--of-muted); margin: 0; }
.of-card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.of-card ul li { position: relative; padding-left: 24px; font-size: 14px; color: var(--of-ink-soft); margin-bottom: 7px; }
.of-card ul li i { position: absolute; left: 0; top: 3px; color: var(--of-amber-deep); }
.badge-soon { display: inline-block; margin-left: 8px; vertical-align: middle;
  font-family: var(--mono-font); font-size: 9px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--of-amber-deep); background: rgba(224,162,62,0.14);
  border-radius: 999px; padding: 3px 8px; }

/* ── Problem: "what you juggle today" logo strip ─────────────────────────── */
.of-juggle { margin-top: 30px; }
.of-juggle .lab { font-family: var(--mono-font); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--of-faint); margin-bottom: 14px; }
.of-juggle img { height: 26px; width: auto; margin: 0 26px 14px 0; filter: grayscale(1); opacity: .55; }

/* ── Differentiation lead line ───────────────────────────────────────────── */
.of-lead-statement { font-family: var(--heading-font); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25; color: var(--of-ink); max-width: 20em; }

/* ── CTA band ────────────────────────────────────────────────────────────── */
.of-cta { background: var(--of-ink); color: #f5efe2; border-radius: 22px; padding: clamp(34px, 6vw, 64px);
  text-align: center; position: relative; overflow: hidden; }
.of-cta::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 50% 0%, rgba(224,162,62,0.18), transparent 70%); }
.of-cta h2 { font-family: var(--heading-font); font-style: italic; font-weight: 500; color: #f9f4ea;
  font-size: clamp(26px, 3.4vw, 40px); position: relative; }
.of-cta p { color: #d6ccb8; position: relative; margin: 12px auto 26px; max-width: 30em; }

/* ── Footer warmth ───────────────────────────────────────────────────────── */
.footer { background: var(--of-cream-2); color: var(--of-ink-soft); }
.footer .footer-about .logo .sitename, .footer h4 { color: var(--of-ink); }
.footer a { color: var(--of-ink-soft); }
.footer a:hover { color: var(--of-amber-deep); }
.of-canada { font-family: var(--mono-font); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--of-muted); }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing .pricing-card {
  height: 100%; background: var(--surface-color); border: 1px solid var(--of-line-soft);
  border-radius: 18px; padding: 32px 28px; box-shadow: var(--of-lift-2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pricing .pricing-card:hover { transform: translateY(-4px); box-shadow: var(--of-lift-3); }
.pricing .pricing-card.popular { border-color: var(--of-amber); box-shadow: 0 26px 54px -26px var(--of-amber-glow); }
.pricing .popular-badge {
  display: inline-block; margin-bottom: 12px; font-family: var(--mono-font);
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--of-ink); background: var(--of-amber); border-radius: 999px; padding: 5px 12px;
}
.pricing .pricing-card h3 { font-family: var(--default-font); font-weight: 700; color: var(--of-ink); font-size: 20px; }
.pricing .price { display: flex; align-items: baseline; gap: 2px; margin: 10px 0 6px; color: var(--of-ink); }
.pricing .price .currency { font-size: 22px; font-weight: 600; }
.pricing .price .amount { font-family: var(--heading-font); font-size: 52px; font-weight: 600; line-height: 1; }
.pricing .price .period { color: var(--of-muted); font-size: 14px; }
.pricing .pricing-card .description { color: var(--of-muted); font-size: 14.5px; min-height: 42px; }
.pricing .pricing-card h4 { font-family: var(--mono-font); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--of-faint); margin: 18px 0 12px; }
.pricing .features-list { list-style: none; padding: 0; margin: 0 0 22px; }
.pricing .features-list li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 14.5px; color: var(--of-ink-soft); }
.pricing .features-list li i { position: absolute; left: 0; top: 3px; color: var(--of-amber-deep); }
.pricing .pricing-card .btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pricing-note { color: var(--of-muted); font-size: 13px; }

/* ── About ───────────────────────────────────────────────────────────────── */
.of-founder { display: flex; align-items: center; gap: 16px; padding: 18px 20px; height: 100%;
  background: var(--surface-color); border: 1px solid var(--of-line-soft); border-radius: 16px; box-shadow: var(--of-lift-2); }
.of-founder img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.of-founder .nm { font-weight: 700; color: var(--of-ink); }
.of-founder .rl { font-family: var(--mono-font); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--of-amber-deep); margin: 2px 0 4px; }
.of-founder a { color: var(--of-muted); font-size: 13.5px; }
.of-founder a:hover { color: var(--of-amber-deep); }
.of-belief { list-style: none; padding: 0; margin: 22px 0 0; }
.of-belief li { position: relative; padding-left: 30px; margin-bottom: 13px; color: var(--of-ink-soft); font-size: 15px; }
.of-belief li i { position: absolute; left: 0; top: 2px; color: var(--of-amber-deep); font-size: 19px; }
.about-img { border-radius: 18px; box-shadow: var(--of-lift-3); width: 100%; }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.of-info, .of-form-wrap { background: var(--surface-color); border: 1px solid var(--of-line-soft);
  border-radius: 18px; padding: 28px; box-shadow: var(--of-lift-2); height: 100%; }
.of-info .info-item { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; }
.of-info .info-item .ic { width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto; font-size: 19px;
  display: inline-flex; align-items: center; justify-content: center; background: rgba(224,162,62,0.12); color: var(--of-amber-deep); }
.of-info h4 { font-size: 15px; font-weight: 700; color: var(--of-ink); margin: 0 0 2px; }
.of-info p, .of-info a { margin: 0; color: var(--of-muted); font-size: 14px; }
.of-info a:hover { color: var(--of-amber-deep); }
.contact .form-control { background: #fff; border: 1px solid var(--of-line); border-radius: 12px;
  padding: 13px 15px; color: var(--of-ink); font-size: 15px; box-shadow: none; }
.contact .form-control:focus { border-color: var(--of-amber); box-shadow: 0 0 0 3px rgba(224,162,62,0.18); }
.contact .form-control::placeholder { color: var(--of-faint); }
.form-flag { font-size: 12.5px; color: var(--of-muted); }

@media (prefers-reduced-motion: reduce) {
  .of-card, .btn-primary, .btn-ghost, .btn-book, .pricing .pricing-card { transition: none; }
}
