/* Foundation storefront — shared across products; the accent var is set
   per product in base.html. Generated by scaffold_foundation_workspaces.py. */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --ink: #1a1d24; --paper: #fbfaf8; --muted: #6b7280; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
       Helvetica, Arial, sans-serif; color: var(--ink);
       background: var(--paper); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }

.nav { border-bottom: 1px solid #e5e3de; background: var(--paper);
       position: sticky; top: 0; }
.panel { border: 1px solid var(--line); border-radius: 8px; padding: 18px;
         margin: 14px 0; background: #fff; }
/* BLOCK, not inline. An <input> is inline by default, so a panel with two
   fields laid them out side by side and a three-field signup form wrapped
   into an unreadable grid — the label of one field sitting next to the box
   of another. `min-width` made it worse rather than better: it stopped the
   fields shrinking to fit but did nothing about them sharing a line. */
.input { display: block; width: 100%; max-width: 26rem;
         padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px;
         font: inherit; margin: 0 0 10px 0; }
.muted { color: #667; font-size: .9rem; }
.lede { font-size: 1.15rem; color: #334; max-width: 46rem; }
code { background: #f2f3f5; padding: .1em .35em; border-radius: 3px;
       font-size: .9em; }
.nav-inner { max-width: 960px; margin: 0 auto; padding: 14px 20px;
             display: flex; align-items: center; justify-content: space-between; }
.nav-brand { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.nav-links { display: flex; gap: 18px; align-items: center; }
/* `:not(.btn)` is load-bearing. `.nav-links a` is (0,1,1) and
   `.btn` is (0,1,0), so without it this rule WINS on specificity
   over the button's own colour regardless of order — painting a
   dark label onto the dark accent fill and rendering the nav's
   Sign in button as a solid unreadable rectangle. */
.nav-links a:not(.btn) { color: var(--ink); font-size: 0.95rem; }
.nav-links a.btn { font-size: 0.95rem; }

.btn { display: inline-block; background: var(--accent); color: #fff;
       padding: 10px 22px; border-radius: 8px; border: none; font-size: 1rem;
       cursor: pointer; }
.btn:hover { filter: brightness(0.92); }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }

.hero { max-width: 760px; margin: 0 auto; padding: 84px 20px 48px;
        text-align: center; }
.hero.small { padding: 56px 20px 8px; }
.badge { display: inline-block; color: var(--accent); font-weight: 600;
         letter-spacing: 0.06em; text-transform: uppercase;
         font-size: 0.8rem; margin-bottom: 14px; }
.hero h1 { font-size: 2.6rem; line-height: 1.15; margin-bottom: 16px; }
.subhead { font-size: 1.15rem; color: var(--muted); margin-bottom: 28px; }
.join { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.join input { padding: 10px 14px; border: 1px solid #d5d3cd;
              border-radius: 8px; font-size: 1rem; min-width: 260px; }
.note { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }

.why { max-width: 640px; margin: 0 auto; padding: 12px 20px 8px;
       text-align: center; font-size: 1.05rem; color: var(--muted);
       font-style: italic; }

/* `.section` is the page container product.html wraps everything in, and it
   had NO rule at all — so that page rendered flush to the viewport edge with
   no width, while home.html looked right because `.hero` is styled. */
.section { max-width: 760px; margin: 0 auto; padding: 56px 20px; }
.section h2 { margin: 28px 0 12px; }
/* `.features` doubles as a standalone centred block on the home page and as a
   plain list inside `.section`. Nested, its own centring and padding fight the
   container's and indent the list away from the headings above it. */
.section .features { max-width: none; margin: 0; padding: 0; }
.features { max-width: 640px; margin: 0 auto; padding: 40px 20px; }
.features h2 { margin-bottom: 16px; }
.features ul { list-style: none; }
.features li { padding: 10px 0 10px 30px; position: relative;
               border-bottom: 1px solid #eceae5; }
.features li::before { content: "\2713"; position: absolute; left: 4px;
                       color: var(--accent); font-weight: 700; }

.cta { text-align: center; padding: 24px 20px 72px; }

.plans { max-width: 960px; margin: 0 auto; padding: 32px 20px; }
.plans h2 { text-align: center; margin-bottom: 12px; }
.plan-grid { display: grid; grid-template-columns:
             repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.plan { border: 1px solid #e5e3de; border-radius: 12px; padding: 26px;
        background: #fff; text-align: center; }
.plan.wide { max-width: 560px; margin: 0 auto; }
.plan .price { font-size: 2rem; font-weight: 700; margin: 10px 0; }
.plan .price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; margin: 14px 0 20px; color: var(--muted);
           font-size: 0.95rem; }
.plan li { padding: 4px 0; }

.footer { border-top: 1px solid #e5e3de; margin-top: 40px; }
.footer-inner { max-width: 960px; margin: 0 auto; padding: 22px 20px;
                color: var(--muted); font-size: 0.9rem;
                display: flex; justify-content: space-between; align-items: flex-end;
                flex-wrap: wrap; gap: 14px 24px; }
.footer-inner p { margin: 0; }
/* the colophon badge keeps its own height and sits at the end of the row */
.sp-colophon { display: inline-block; line-height: 0; flex: none; margin-left: auto; }
.sp-colophon img { height: 58px; width: auto; display: block; }

@media (max-width: 640px) { .hero h1 { font-size: 1.9rem; } }
/* A phone gets the brand and the one button: the section links wrapped to a
   second line at 390px and squeezed "Sign in" (2026-10 landing audit). */
@media (max-width: 600px) { .nav-links a:not(.btn) { display: none; } }

/* StaffParty's own site: a quieter second button beside "Start free". */
.btn-secondary { background: transparent; color: inherit; border: 1px solid currentColor; }
.footer-links a { color: inherit; }
