/* ============================================================
   Simply Business Support — page styles, layered on brand.css
   ------------------------------------------------------------
   The look (palette, type, buttons, header, footer, forms, cards) comes from
   assets/css/brand.css, a COPY of frenikadevon/assets/css/brand.css made by
   `php tools/sync-brand.php` in that repo — never edit the copy. The spec is
   "Brand Styling.md" in Dropbox/Frenika Devon.

   This file only maps this site's own class names (tiles, pills, split, forms,
   alerts…) onto the brand language. Use brand tokens (var(--berry), …) here,
   never raw hex, so a brand change reaches this site with the stylesheet.
   ============================================================ */

/* ---------- Buttons: this site's colour names → brand ---------- */
.btn-coral { background: var(--berry); color: #fff; }
.btn-coral:hover { background: var(--berry-dark); }
.btn-teal  { background: var(--teal-deep); color: #fff; }
.btn-teal:hover { background: #0b5d57; color: #fff; }
.btn-grape { background: var(--grape); color: #fff; }
.btn-grape:hover { background: #561bb3; color: #fff; }
.btn-sun   { background: var(--yellow); color: var(--ink); }
.btn-sun:hover { background: var(--orange); color: var(--ink); }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 1.2rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); }
.hero.center { text-align: center; }
.hero h1 { margin-top: 6px; }
.hero h1::after { content: ""; display: block; width: 72px; height: 4px; border-radius: 4px; background: var(--rainbow); margin: 26px 0 0; }
.hero.center h1::after { margin-left: auto; margin-right: auto; }
.hero .eyebrow { display: inline-block; padding: 8px 14px; border-radius: var(--r-sm); background: var(--berry-tint); }
.hero p.lead { max-width: 640px; margin: 22px 0 32px; }
.hero.center p.lead { margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero.center .hero-cta { justify-content: center; }
.blob { display: none; }   /* the old floating blobs; the brand uses paper and the rainbow rule instead */

/* ---------- Sections ---------- */
.section.alt { background: var(--paper-2) var(--grain); }
.section-head { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; }

/* ---------- Tiles (landing link cards) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 6px solid var(--bar, var(--pink));
  border-radius: var(--r-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--ink); }
.tile.t-coral { --bar: var(--pink);   --tint: var(--berry-tint); }
.tile.t-teal  { --bar: var(--teal);   --tint: #dcf3ef; }
.tile.t-grape { --bar: var(--purple); --tint: #ece1fb; }
.tile.t-sun   { --bar: var(--yellow); --tint: #fff4c4; }
.tile .emoji { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-md); background: var(--tint, var(--paper-2)); font-size: 2rem; margin-bottom: 18px; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--ink-soft); font-size: 1.02rem; flex: 1; }
.tile .tile-cta { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--berry); transition: gap .15s ease; }
.tile:hover .tile-cta { gap: 14px; }
.badge-soon { position: absolute; top: 18px; right: 18px; background: var(--yellow); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); }

/* ---------- Quote band ---------- */
.quote-band { background: var(--plum); color: var(--on-plum); text-align: center; padding: clamp(56px, 8vw, 88px) 0; }
.quote-band blockquote { margin: 0 auto; max-width: 780px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.3; color: var(--on-plum); }
.quote-band .who { margin-top: 18px; color: var(--yellow); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }

/* ---------- Pills (who it's for) ---------- */
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 10px 18px; font-weight: 700; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Two-column intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.card-note { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--berry); border-radius: 0 var(--r-lg) var(--r-lg) 0; padding: 32px; box-shadow: var(--shadow-md); }

/* ---------- Check list (the brand checklist) ---------- */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 6px 0 6px 32px; font-weight: 600; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 5px; color: var(--berry); font-weight: 900; font-size: 1.15rem; }

/* ---------- Resource cards ---------- */
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.res-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.res-card .tag { align-self: flex-start; margin-bottom: 14px; }
.tag.tag-amazon { background: #fff4c4; color: #7a4a00; }
.tag.tag-etsy   { background: var(--berry-tint); color: var(--berry); }
.tag.tag-fav    { background: #ece1fb; color: var(--grape); }
.res-card h3 { margin-bottom: 8px; }
.res-card p { color: var(--ink-soft); flex: 1; }
.res-card .btn { align-self: flex-start; }

/* ---------- Free Tips ---------- */
.tip-card p { flex: 0 0 auto; }
.tip-body { background: var(--paper-2); border-radius: var(--r-md); padding: 16px 18px; margin-top: 14px; line-height: 1.6; }
.tip-img { width: 100%; height: auto; border-radius: var(--r-md); margin-top: 14px; box-shadow: var(--shadow-sm); }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); max-width: 660px; margin: 0 auto; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; margin-bottom: 7px; }
.form-row .req { color: var(--berry); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-hint { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { border-radius: var(--r-md); padding: 16px 20px; margin-bottom: 24px; font-weight: 700; }
.alert-error { background: #fde8e6; color: #b42318; border: 1.5px solid #f5b5ad; }
.alert-ok    { background: #dcf3ef; color: var(--teal-deep); border: 1.5px solid var(--teal); }
.alert ul { margin: 8px 0 0; padding-left: 20px; }

/* ---------- Coming soon ---------- */
.soon-wrap { text-align: center; max-width: 640px; margin: 0 auto; }
.soon-emoji { font-size: 4rem; margin-bottom: 12px; }
.soon-card { background: var(--card); border-radius: var(--r-lg); padding: 52px 36px; box-shadow: var(--shadow-md); border: 2px dashed var(--orange); }

/* ---------- Footer extras ---------- */
.footer-brand h4 { font-size: 1.3rem; }
.footer-brand .dot { display: none; }
.footer-family { color: var(--yellow) !important; font-weight: 800; }

/* ---------- Back link ---------- */
.back-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; margin-bottom: 18px; }
.back-link:hover { color: var(--berry); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .tiles, .res-grid, .split, .form-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-cta .btn { width: 100%; }
  .tile { padding: 26px 22px; }
  /* The contact email is one long word with nowhere to wrap, so at .btn-lg
     size it spills out of the card on a phone. Smaller, it fits on one line
     down to 360px; below that it breaks at the <wbr> before the @. */
  .btn-email { padding: 0 20px; font-size: 1rem; }
}

/* ---------- Old token names → brand tokens ----------
   Inline styles in the pages still say var(--coral), var(--font-head)… from
   before the brand system. These aliases keep them on-brand. New code should
   use the brand names directly. */
:root {
  --coral: var(--berry);
  --coral-soft: var(--pink);
  --sun: var(--yellow);
  --sun-soft: #fff4c4;
  --sky: var(--teal);
  --cream: var(--paper);
  --cream-2: var(--paper-2);
  --white: #ffffff;
  --font-head: var(--font-display);
  --radius-lg: var(--r-lg);
  --radius-md: var(--r-md);
  --radius-pill: var(--r-pill);
  --shadow-lift: var(--shadow-md);
}

/* This site's nav has six links plus Contact, so it folds into the ☰ menu a
   little earlier than brand.css's 980px. Same rules as brand.css's fold. */
@media (max-width: 1120px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-header .nav { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 10px; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 13px 0; border-top: 1px solid var(--line); }
  .nav-links .btn { margin-top: 10px; }
}

/* ---------- Teal-tinted section (The Maker's Profit Project) ----------
   A pale wash of the brand teal, so it reads as a separate offer from the
   paper-toned order-tracker section right below it. Text stays plum on it. */
.section.tint-teal { background: #e4f5f1 var(--grain); }
.section.tint-teal .eyebrow { color: var(--teal-deep); }

/* ---------- Grape-tinted section (Custom Web Design & Applications) ----------
   A pale wash of the brand grape, so it reads as a separate offer from the
   paper-toned order-tracker section right above it. Text stays plum on it. */
.section.tint-grape { background: #f0e7fc var(--grain); }
.section.tint-grape .eyebrow { color: var(--grape); }