/* JointBrex — sales landing (Claude proposal). System fonts only, no external requests. */
:root {
  --forest: #0b3b2a;
  --forest-2: #0f4d36;
  --green: #12804a;
  --green-bright: #19a35c;
  --mint: #e7f4ec;
  --navy: #17306b;
  --ink: #142019;
  --muted: #56645b;
  --line: #e2e7e3;
  --stage: #f7f7f7;
  --paper: #ffffff;
  --cream: #f6f8f5;
  --accent: #f2b33d;
  --accent-ink: #2b1d00;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 59, 42, .06), 0 12px 32px -12px rgba(11, 59, 42, .18);
  --shadow-lg: 0 2px 4px rgba(11, 59, 42, .06), 0 30px 60px -24px rgba(11, 59, 42, .35);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "New York", ui-serif, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.2vw, 3rem); color: var(--forest); }
p { margin: 0; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--paper); color: var(--forest); font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Top bar + header */
.topbar { background: var(--forest); color: rgba(255,255,255,.82); font-size: .78rem; letter-spacing: .02em; }
.topbar-inner { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 34px; text-align: center; flex-wrap: wrap; }
.topbar-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--green-bright); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; line-height: 1; }
.brand-joint { color: var(--navy); }
.brand-brex { color: var(--green); }
.brand-brex b { font-weight: 700; font-style: italic; color: #1f56c4; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 500; }
.main-nav a:hover { color: var(--green); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; transition: background .18s, transform .18s, box-shadow .18s; box-shadow: 0 8px 20px -10px rgba(18, 128, 74, .8); }
.button:hover { background: var(--forest-2); color: #fff; transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 0 18px; font-size: .9rem; box-shadow: none; }
.button-large { min-height: 58px; padding: 0 32px; font-size: 1.05rem; }
.button-block { width: 100%; }
.button-light { background: #fff; color: var(--forest); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.button-light:hover { background: var(--mint); color: var(--forest); }
.button-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -12px rgba(160, 105, 0, .7); }
.button-accent:hover { background: #ffc552; color: var(--accent-ink); }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head > p:last-child:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(1000px 600px at 78% 40%, rgba(25,163,92,.45), transparent 60%),
  radial-gradient(700px 500px at 10% 110%, rgba(23,48,107,.55), transparent 60%),
  linear-gradient(160deg, #0d4a33 0%, var(--forest) 55%, #082b1f 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding: 72px 0 80px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.9); background: rgba(255,255,255,.06); }
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgba(25,163,92,.25); }
.hero h1 { margin-top: 22px; font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.03em; }
.hero h1 span { color: #9fe3bc; font-style: italic; }
.hero-lead { margin-top: 22px; max-width: 520px; font-size: 1.15rem; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.link-light { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }
.link-light:hover { color: #9fe3bc; }
.hero-facts { display: flex; gap: 0; margin: 44px 0 0; padding: 0; list-style: none; max-width: 480px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-facts li { flex: 1; padding: 18px 16px 0 0; }
.hero-facts li + li { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.16); }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; font-weight: 600; }
.hero-facts span { display: block; margin-top: 6px; font-size: .82rem; color: rgba(255,255,255,.7); line-height: 1.35; }
.hero-visual { position: relative; }
.hero-glow { position: absolute; left: 8%; right: 8%; bottom: 6%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); filter: blur(8px); }
.hero-visual img { position: relative; width: 100%; max-width: 600px; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero-tag { position: absolute; right: 2%; top: 6%; display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); text-align: center; line-height: 1.1; box-shadow: var(--shadow-lg); transform: rotate(8deg); }
.hero-tag span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hero-tag strong { font-family: var(--serif); font-size: 1.35rem; }
.hero-tag { align-content: center; gap: 2px; }

/* Assurance strip */
.assurance { background: var(--paper); border-bottom: 1px solid var(--line); }
.assurance-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.assurance-item { display: flex; align-items: center; gap: 14px; padding: 26px 20px; }
.assurance-item + .assurance-item { border-left: 1px solid var(--line); }
.assurance-item svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--mint); color: var(--green); }
.assurance-item strong { display: block; font-size: .95rem; color: var(--forest); line-height: 1.3; }
.assurance-item span { display: block; font-size: .83rem; color: var(--muted); line-height: 1.35; }

/* Packs */
.packs { padding: 96px 0; background: linear-gradient(180deg, var(--cream), #fff 70%); }
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.pack:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pack-media { position: relative; background: var(--stage); aspect-ratio: 1 / .86; display: grid; place-items: center; overflow: hidden; }
.pack-media img { width: 88%; height: 100%; object-fit: contain; }
.pack-badge { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--forest); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.pack-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.pack h3 { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--forest); }
.pack-count { font-size: 3rem; line-height: .9; color: var(--green); }
.pack-specs { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pack-specs li { position: relative; padding-left: 28px; color: var(--ink); font-size: .96rem; }
.pack-specs li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312804a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pack-price { margin: 22px 0 16px; padding-top: 18px; border-top: 1px dashed var(--line); font-weight: 600; color: var(--muted); font-size: .93rem; margin-top: auto; }
.pack-specs + .pack-price { margin-top: 22px; }
.pack-note { margin-top: 10px; text-align: center; font-size: .8rem; color: var(--muted); }
.pack-featured { border: 2px solid var(--green); box-shadow: 0 0 0 6px rgba(18,128,74,.08), var(--shadow-lg); }
.pack-featured .pack-badge { background: var(--green); color: #fff; }
.packs-foot { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 36px; text-align: center; color: var(--muted); font-size: .9rem; }
.packs-foot svg { width: 20px; height: 20px; color: var(--green); }

/* Details */
.details { padding: 96px 0; background: #fff; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.details-media { border-radius: 28px; overflow: hidden; background: var(--stage); box-shadow: var(--shadow); }
.details-lead { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.spec-table { margin: 28px 0 32px; border-top: 1px solid var(--line); }
.spec-table div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.spec-table dd { margin: 0; font-weight: 500; }

/* Ordering steps */
.ordering { padding: 96px 0; background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { position: relative; padding: 32px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 20px; }
.steps h3 { font-size: 1.15rem; color: var(--forest); letter-spacing: -.01em; }
.steps p { margin-top: 10px; color: var(--muted); }

/* FAQ */
.faq { padding: 96px 0; background: #fff; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-intro p:last-child { margin-top: 14px; color: var(--muted); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.06rem; color: var(--forest); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3b2a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 44px 22px 0; color: var(--muted); }

/* Final CTA */
.final-cta { padding: 0 0 96px; background: #fff; }
.final-inner { display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 40px; padding: 40px 56px; border-radius: 32px; color: #fff; background: radial-gradient(600px 300px at 20% 50%, rgba(25,163,92,.4), transparent 70%), linear-gradient(135deg, var(--forest-2), var(--forest)); overflow: hidden; }
.final-inner img { width: 100%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }
.final-copy h2 { color: #fff; }
.final-copy p { margin-top: 12px; color: rgba(255,255,255,.8); font-size: 1.1rem; }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.final-actions .button { min-width: 140px; }

/* Mobile buy bar */
.mobile-buy { display: none; }

/* Footer */
.site-footer { background: #08251a; color: rgba(255,255,255,.72); font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding: 56px 0 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top p { margin-top: 12px; max-width: 320px; }
.brand-footer .brand-joint { color: #fff; }
.brand-footer .brand-brex { color: #8fdcae; }
.brand-footer .brand-brex b { color: #8fb8ff; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: 12px 32px; align-content: start; justify-content: end; }
.footer-links a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding: 24px 0 36px; display: grid; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.55); }

/* Secondary pages */
.document { max-width: 780px; padding: 72px 0 96px; }
.document .eyebrow { margin-bottom: 14px; }
.document h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 5vw, 3.4rem); color: var(--forest); }
.document-lead { margin-top: 16px; font-size: 1.15rem; color: var(--muted); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.document h2 { margin-top: 40px; font-family: var(--sans); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.document p, .document ul { margin-top: 12px; color: #33433a; }
.document ul { padding-left: 1.2em; }
.document li + li { margin-top: 6px; }
.document .button { margin-top: 22px; }
.text-link { font-weight: 600; }
.document p:last-child .text-link { display: inline-block; margin-top: 24px; }

/* Responsive */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; padding: 48px 0 56px; text-align: left; }
  .hero-visual { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .assurance-grid { grid-template-columns: repeat(2, 1fr); }
  .assurance-item:nth-child(3) { border-left: 0; }
  .assurance-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pack-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .details-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .final-inner { grid-template-columns: 1fr; text-align: center; padding: 36px 24px; }
  .final-inner img { max-width: 260px; margin-inline: auto; }
  .final-actions { justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; grid-template-columns: repeat(2, auto); }
}
@media (max-width: 640px) {
  body.home { padding-bottom: 76px; }
  .topbar { font-size: .72rem; }
  .header-inner { min-height: 60px; }
  .brand { font-size: 1.4rem; }
  .hero-grid { padding: 16px 0 44px; }
  .hero-visual { max-width: 290px; }
  .hero h1 { margin-top: 16px; font-size: 2.5rem; }
  .home .site-header .button { display: none; }
  .final-inner img { max-width: 190px; }
  .hero-tag { width: 92px; height: 92px; right: 0; top: 0; }
  .hero-tag strong { font-size: 1.05rem; }
  .hero-tag span { font-size: .62rem; }
  .hero-lead { font-size: 1.04rem; }
  .hero-actions .button { width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-facts { margin-top: 32px; }
  .hero-facts strong { font-size: 1.6rem; }
  .assurance-grid { grid-template-columns: 1fr; }
  .assurance-item { padding: 16px 4px; }
  .assurance-item + .assurance-item { border-left: 0; border-top: 1px solid var(--line); }
  .packs, .details, .ordering, .faq { padding: 64px 0; }
  .final-cta { padding-bottom: 64px; }
  .section-head { margin-bottom: 32px; }
  .spec-table div { grid-template-columns: 1fr; gap: 4px; }
  .faq-list details p { padding-right: 0; }
  .final-actions .button { flex: 1 1 100%; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .mobile-buy { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.2); }
  .mobile-buy strong { display: block; font-size: .92rem; color: var(--forest); line-height: 1.2; }
  .mobile-buy span { display: block; font-size: .78rem; color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
section[id] { scroll-margin-top: 76px; }
