/* ==========================================================================
   EuthBook site styles
   Original to euthbook.com. Depends only on Bootstrap's grid/utilities
   (bootstrap.min.css, MIT) and Bootstrap Icons (MIT).

   1. Tokens          5. Hero + proof     9. Steps + road      13. FAQ
   2. Base            6. Sections         10. Dark section     14. Closing CTA
   3. Header + nav    7. Cards            11. Security         15. Footer
   4. Buttons         8. Why + compare    12. Pricing          16. Scroll-to-top
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  --eb-bg: #FFFFFD;          /* warm off-white page ground */
  --eb-tint: #F5EFE8;        /* alternating sections */
  --eb-surface: #FFFFFF;     /* cards */
  --eb-ink: #23393B;         /* headings */
  --eb-text: #5B6663;        /* body copy */
  --eb-muted: #7E8784;
  --eb-line: #EAE2D8;

  --eb-coral: #F46869;       /* Onward Paws brand coral (logo, buttons) */
  --eb-coral-dark: #DB4F4F;  /* hover, and coral text on light grounds */
  --eb-blush: #FFEFEF;       /* coral tint */
  --eb-blush-line: #F3C9C6;

  --eb-teal: #2F7D78;        /* informational accent: icons, checks, links */
  --eb-mint: #E6F2F0;        /* teal tint */
  --eb-deep: #1F3436;        /* dark sections */
  --eb-deep-2: #23393B;

  --eb-radius: 18px;
  --eb-shadow: 0 1px 2px rgba(35,57,59,.03), 0 8px 24px rgba(35,57,59,.05);
  --eb-shadow-lg: 0 2px 4px rgba(35,57,59,.05), 0 20px 50px rgba(35,57,59,.10);
  --eb-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --eb-header-h: 76px;
}

/* 2. Base ----------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--eb-font); color: var(--eb-text); background: var(--eb-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--eb-font); color: var(--eb-ink); letter-spacing: -0.02em; }
a { color: var(--eb-teal); text-decoration: none; }
a:hover { color: var(--eb-deep); }
/* Nav jumps stop below the fixed header instead of under it */
section[id] { scroll-margin-top: 90px; }
/* Footnote links land on the whole block (footnote 1 first), with room under the fixed header */
#footnotes { scroll-margin-top: 140px; }
/* Footnote markers: smaller than body text and sitting high without stretching the line */
sup { font-size: .55em; line-height: 0; vertical-align: super; }
a.eb-fn { color: inherit; text-decoration: none; }
a.eb-fn:hover { color: var(--eb-coral-dark); }

/* 3. Header + nav --------------------------------------------------------- */
.eb-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(255, 255, 253, 0.86); border-bottom: 1px solid var(--eb-line);
  transition: background .3s, box-shadow .3s; padding: 12px 0;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would make
   it the containing block for the fixed-position mobile menu and trap it inside. */
.eb-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
}
/* Height stays constant on scroll (no padding change) so in-page jumps can offset exactly */
.eb-header.is-scrolled { background: rgba(255, 255, 253, 0.94); box-shadow: 0 4px 20px rgba(35,57,59,.06); }
.eb-header-inner { display: flex; align-items: center; justify-content: space-between; }

.eb-logo { display: flex; align-items: center; gap: 8px; color: var(--eb-ink); }
.eb-logo:hover { color: var(--eb-ink); }
.eb-mark { width: 52px; height: 52px; }
.eb-logo span { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }

.eb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.eb-nav a { color: var(--eb-text); font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .2s; }
.eb-nav a:hover, .eb-nav a.is-active { color: var(--eb-ink); }
.eb-nav a.eb-nav-cta {
  display: inline-block; background: var(--eb-coral); color: #fff; font-weight: 600;
  padding: 10px 22px; border-radius: 999px; transition: background .2s;
}
.eb-nav a.eb-nav-cta:hover { background: var(--eb-coral-dark); color: #fff; }

.eb-menu-btn, .eb-menu-close { display: none; background: none; border: 0; padding: 4px; line-height: 0; cursor: pointer; }
.eb-scrim { display: none; }

/* Phones and tablets: slide-in panel from the right, 80% wide, dimmed page beside it */
@media (max-width: 1199px) {
  .eb-mark { width: 44px; height: 44px; }
  .eb-logo span { font-size: 26px; }
  .eb-menu-btn { display: block; font-size: 30px; color: var(--eb-ink); }

  .eb-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 2;
    width: 80%; max-width: 340px; padding: 72px 0 24px; overflow-y: auto;
    background: var(--eb-deep); transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .eb-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .eb-nav a { display: block; padding: 12px 24px; font-size: 16px; font-weight: 600; color: rgba(255,255,255,.75); }
  .eb-nav a:hover, .eb-nav a.is-active { color: #fff; }
  .eb-nav a.eb-nav-cta { display: block; text-align: center; margin: 14px 24px 0; padding: 12px 18px; }
  .eb-menu-close { display: block; position: absolute; top: 18px; right: 18px; font-size: 32px; color: #fff; }

  .eb-scrim {
    display: block; position: fixed; inset: 0; z-index: 1;
    background: rgba(31, 52, 54, 0.55); opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  body.eb-menu-open { overflow: hidden; }
  body.eb-menu-open .eb-nav { transform: none; visibility: visible; }
  body.eb-menu-open .eb-scrim { opacity: 1; pointer-events: auto; }
}

/* 4. Buttons -------------------------------------------------------------- */
.m-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 16px;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}
.m-btn:hover { transform: translateY(-1px); }
.m-btn-primary { background: var(--eb-coral); color: #fff; box-shadow: 0 8px 22px rgba(244,104,105,.32); }
.m-btn-primary:hover { background: var(--eb-coral-dark); color: #fff; box-shadow: 0 12px 28px rgba(244,104,105,.42); }
.m-btn-ghost { color: var(--eb-ink); border: 1px solid #D8CEC2; }
.m-btn-ghost:hover { background: #fff; color: var(--eb-ink); }
.m-btn-outline { color: var(--eb-ink); border: 1.5px solid var(--eb-line); background: #fff; }
.m-btn-outline:hover { border-color: var(--eb-coral); color: var(--eb-coral-dark); }
.m-btn-white { background: #fff; color: var(--eb-coral-dark); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.m-btn-white:hover { color: var(--eb-coral-dark); }

/* 5. Hero + proof --------------------------------------------------------- */
.m-hero {
  /* clip: the image glow is drawn wider than the image and must not widen the page */
  position: relative; overflow-x: clip; padding: 150px 0 130px; color: var(--eb-ink);
  background: radial-gradient(700px 480px at 82% 42%, rgba(244,104,105,.20), transparent 62%), var(--eb-bg);
}
/* Stacked layout (phones/tablets): drop the background glow, which was positioned for
   the side-by-side layout and landed behind the buttons. The glow attached to the
   image (.m-phone-wrap::before) stays centered on it at any height, so it does the job. */
@media (max-width: 991px) {
  .m-hero { background: var(--eb-bg); }
  .m-phone-wrap::before { background: radial-gradient(closest-side, rgba(244,104,105,.45), transparent); }
}
.m-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--eb-blush); border: 1px solid #FFE3E3; color: var(--eb-coral-dark);
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.m-hero-title { color: var(--eb-ink); font-size: clamp(40px, 5.4vw, 66px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; margin: 22px 0 20px; }
.m-hero-lead { font-size: 19px; line-height: 1.6; color: var(--eb-text); max-width: 540px; margin: 0 0 34px; }
.m-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.m-hero-note { margin: 18px 0 0; font-size: 14px; color: var(--eb-text); }
.m-hero-note i { color: var(--eb-teal); margin-right: 6px; }
.m-phone-wrap { position: relative; display: inline-block; }
.m-phone-wrap::before {
  content: ""; position: absolute; inset: 12% -10% 8% -10%; z-index: 0; filter: blur(30px);
  background: radial-gradient(closest-side, rgba(244,104,105,.38), transparent);
}
.m-phone { position: relative; z-index: 1; width: 560px; max-width: 100%; height: auto; }

.m-proof { padding: 0 0 20px; position: relative; z-index: 5; }
.m-proof-card {
  margin-top: -70px; background: #fff; border-radius: 22px; box-shadow: var(--eb-shadow-lg);
  display: grid; grid-template-columns: repeat(6, 1fr);
}
.m-stat { padding: 30px 22px; border-left: 1px solid var(--eb-line); }
.m-stat:first-child { border-left: 0; }
.m-stat-num { font-size: 30px; font-weight: 800; color: var(--eb-ink); letter-spacing: -0.03em; line-height: 1; }
.m-stat-label { font-size: 13px; line-height: 1.45; color: var(--eb-muted); margin-top: 10px; }
@media (max-width: 1199px) {
  .m-proof-card { grid-template-columns: repeat(3, 1fr); }
  .m-stat:nth-child(4) { border-left: 0; }
  .m-stat:nth-child(n+4) { border-top: 1px solid var(--eb-line); }
}
@media (max-width: 640px) {
  .m-proof-card { grid-template-columns: repeat(2, 1fr); }
  .m-stat { border-left: 0 !important; border-top: 1px solid var(--eb-line); padding: 22px 18px; }
  .m-stat:nth-child(-n+2) { border-top: 0; }
  .m-stat:nth-child(odd) { border-right: 1px solid var(--eb-line); }
  .m-stat-num { font-size: 24px; }
}

/* 6. Sections ------------------------------------------------------------- */
.m-section { padding: 110px 0; }
.m-tint { background: var(--eb-tint); }
@media (max-width: 767px) { .m-section { padding: 72px 0; } .m-hero { padding: 120px 0 110px; } }
.m-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.m-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1.12; margin: 12px 0 16px; }
.m-head p { font-size: 18px; line-height: 1.65; color: var(--eb-text); margin: 0 0 10px; }
.m-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--eb-coral-dark); }
.m-h2-left { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.15; margin: 12px 0 18px; }
.m-lead-left { font-size: 18px; line-height: 1.65; }

/* 7. Cards ---------------------------------------------------------------- */
.m-card {
  width: 100%; background: var(--eb-surface); border: 1px solid var(--eb-line); border-radius: var(--eb-radius);
  padding: 28px; box-shadow: var(--eb-shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.m-card:hover { transform: translateY(-4px); box-shadow: var(--eb-shadow-lg); border-color: var(--eb-blush-line); }
.m-card h3 { font-size: 19px; font-weight: 700; margin: 18px 0 10px; }
.m-card p { font-size: 15px; line-height: 1.65; margin: 0; color: var(--eb-text); }
.m-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--eb-mint); color: var(--eb-teal); font-size: 22px; }
/* Feature name above each benefit title, for readers scanning for a capability */
.m-tag { display: block; margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--eb-muted); }
.m-card .m-tag + h3 { margin-top: 6px; }

/* 8. Why + compare -------------------------------------------------------- */
.m-photo { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 20px 50px rgba(35,57,59,.14); aspect-ratio: 1 / 1; object-fit: cover; }
.m-why { border-left: 3px solid var(--eb-coral); padding: 4px 0 4px 22px; margin-top: 26px; }
.m-why h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.m-why p { margin: 0; line-height: 1.7; }

.m-compare { max-width: 940px; margin: 0 auto; background: #fff; border: 1px solid var(--eb-line); border-radius: 20px; box-shadow: var(--eb-shadow); overflow: hidden; }
.m-compare-row { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; align-items: stretch; border-top: 1px solid var(--eb-line); }
.m-compare-row:first-child { border-top: 0; }
.m-compare-row > div { display: flex; align-items: center; padding: 16px 24px; font-size: 15px; }
.m-compare-row > div:first-child { font-weight: 600; color: var(--eb-ink); }
.m-compare-row > div:nth-child(2) { color: var(--eb-muted); }
.m-compare-row > div:nth-child(3) { background: var(--eb-mint); color: var(--eb-ink); font-weight: 600; }
.m-compare-row > div:nth-child(3) i { color: var(--eb-teal); margin-right: 4px; }
.m-compare-head > div { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding-top: 18px; padding-bottom: 18px; }
.m-compare-head > div:first-child, .m-compare-head > div:nth-child(2) { color: var(--eb-muted); font-weight: 700; }
.m-compare-head > div:nth-child(3) { color: var(--eb-teal); }
/* Phones: one card, a divided list. Each task shows the old way (✕, muted) over the
   EuthBook way (✓, bold); the header turns into a legend for those two marks. */
@media (max-width: 640px) {
  .m-compare-row { grid-template-columns: 1fr; padding: 16px 20px; gap: 6px; }
  .m-compare-row > div { display: block; padding: 0; font-size: 15px; }
  .m-compare-row > div:first-child { font-weight: 700; font-size: 16px; margin-bottom: 2px; }
  .m-compare-row > div:nth-child(2),
  .m-compare-row > div:nth-child(3) { position: relative; padding-left: 26px; line-height: 1.45; background: none; }
  .m-compare-row > div:nth-child(2)::before { content: "\2715"; position: absolute; left: 2px; top: 0; font-size: 13px; color: #b9b2aa; }
  .m-compare-row > div:nth-child(3) i { position: absolute; left: 0; top: 1px; margin: 0; font-size: 17px; }

  .m-compare-row.m-compare-head { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 14px 20px; background: var(--eb-tint); }
  .m-compare-head > div:first-child { display: none; }
  .m-compare-head > div { position: relative; padding: 0 0 0 20px !important; font-size: 11px !important; line-height: 16px; margin: 0 !important; }
  .m-compare-head > div:nth-child(2)::before { font-size: 12px; }
  .m-compare-head > div:nth-child(3)::before { content: "\2713"; position: absolute; left: 1px; top: -1px; font-size: 14px; color: var(--eb-teal); }
}

/* 9. Steps + "made for the road" ----------------------------------------- */
.m-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.m-step { position: relative; background: #fff; border: 1px solid var(--eb-line); border-radius: 16px; padding: 22px 18px; box-shadow: var(--eb-shadow); }
.m-step::after { content: ""; position: absolute; top: 34px; right: -17px; width: 18px; height: 2px; background: var(--eb-blush-line); }
.m-step-num { display: inline-block; font-size: 13px; font-weight: 800; color: var(--eb-coral-dark); background: var(--eb-blush); padding: 4px 10px; border-radius: 999px; }
.m-step h3 { font-size: 17px; font-weight: 700; margin: 14px 0 6px; }
.m-step p { font-size: 14px; line-height: 1.55; margin: 0; color: var(--eb-text); }
.m-step-last { background: var(--eb-deep); border-color: var(--eb-deep); }
.m-step-last::after { display: none; }
.m-step-last h3 { color: #fff; }
.m-step-last p { color: rgba(255,255,255,.75); }
.m-step-last .m-step-num { background: rgba(244,104,105,.18); color: #FFC9C6; }
@media (max-width: 1199px) { .m-steps { grid-template-columns: repeat(3, 1fr); } .m-step::after { display: none; } }
@media (max-width: 575px) { .m-steps { grid-template-columns: 1fr 1fr; } }

.m-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.m-mini { background: #fff; border: 1px solid var(--eb-line); border-radius: 16px; padding: 24px; }
.m-mini i { font-size: 24px; color: var(--eb-teal); }
.m-mini h3 { font-size: 17px; font-weight: 700; margin: 12px 0 6px; }
.m-mini p { margin: 0; font-size: 15px; line-height: 1.55; }
@media (max-width: 575px) { .m-mini-grid { grid-template-columns: 1fr; } }

/* 10. Dark section -------------------------------------------------------- */
.m-dark { background: radial-gradient(800px 400px at 50% 0%, rgba(244,104,105,.14), transparent 70%), linear-gradient(180deg, var(--eb-deep-2), var(--eb-deep)); }
.m-dark .m-head h2 { color: #fff; }
.m-dark .m-head p { color: rgba(255,255,255,.75); }
.m-dark .m-eyebrow { color: var(--eb-coral); }
.m-glass { width: 100%; text-align: left; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--eb-radius); padding: 30px; }
/* Icon tile like the Features cards; white with coral to match the closing CTA's white button */
.m-glass i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--eb-coral-dark); font-size: 22px; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.m-glass h3 { color: #fff; font-size: 20px; font-weight: 700; margin: 16px 0 8px; }
.m-glass p { color: rgba(255,255,255,.72); margin: 0; line-height: 1.6; }

/* 11. Security ------------------------------------------------------------ */
.m-sec-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
.m-sec { background: #fff; border: 1px solid var(--eb-line); border-radius: 16px; padding: 26px 18px; text-align: center; box-shadow: var(--eb-shadow); }
.m-sec i { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--eb-mint); color: var(--eb-teal); font-size: 22px; }
.m-sec span { font-weight: 600; color: var(--eb-ink); font-size: 15px; line-height: 1.4; }
@media (max-width: 991px) { .m-sec-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .m-sec-grid { grid-template-columns: 1fr 1fr; } }

/* 12. Pricing ------------------------------------------------------------- */
.m-trial {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: var(--eb-blush);
  border: 1px solid var(--eb-blush-line); color: var(--eb-ink); border-radius: 999px; padding: 10px 20px;
  font-weight: 600; font-size: 15px; box-shadow: var(--eb-shadow);
}
.m-trial i { color: var(--eb-teal); }  /* same check as the hero trial note */
.m-plan { position: relative; width: 100%; background: #fff; border: 1px solid var(--eb-line); border-radius: 22px; padding: 36px 34px; box-shadow: var(--eb-shadow); display: flex; flex-direction: column; }
.m-plan h3 { font-size: 18px; font-weight: 700; margin: 0; }
.m-price { font-size: 68px; font-weight: 800; color: var(--eb-ink); letter-spacing: -0.04em; line-height: 1; margin: 18px 0 10px; display: flex; align-items: flex-start; gap: 4px; }
.m-cur { font-size: 28px; margin-top: 8px; }
.m-per { font-size: 15px; font-weight: 500; color: var(--eb-muted); letter-spacing: 0; align-self: flex-end; margin: 0 0 10px 8px; }
.m-plan-sub { font-size: 14px; color: var(--eb-muted); margin: 0 0 22px; }
.m-plan ul { list-style: none; padding: 22px 0 0; margin: 0 0 28px; border-top: 1px solid var(--eb-line); flex: 1; }
.m-plan li { padding: 7px 0; font-size: 15px; color: var(--eb-ink); }
.m-plan li i { color: var(--eb-teal); margin-right: 10px; font-size: 17px; }
.m-plan-featured { border: 2px solid var(--eb-teal); box-shadow: 0 24px 60px rgba(47,125,120,.16); }
.m-badge { position: absolute; top: 22px; right: 24px; background: var(--eb-coral); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; }
.m-fine { text-align: center; font-size: 12px; color: var(--eb-muted); margin: 30px 0 0; line-height: 1.7; }

/* 13. FAQ (native <details>, no JS) --------------------------------------- */
.eb-faq { max-width: 860px; margin: 0 auto; }
.eb-faq details { background: #fff; border: 1px solid var(--eb-line); border-radius: 14px; margin-bottom: 10px; padding: 0 22px; box-shadow: var(--eb-shadow); transition: box-shadow .2s; }
.eb-faq details[open] { box-shadow: var(--eb-shadow-lg); }
.eb-faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 44px 18px 0; font-size: 16px; font-weight: 600; color: var(--eb-ink); }
.eb-faq summary::-webkit-details-marker { display: none; }
.eb-faq summary::after { content: "+"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--eb-coral-dark); }
.eb-faq details[open] summary::after { content: "\2212"; }
.eb-faq summary:hover { color: var(--eb-teal); }
.eb-faq .eb-answer { margin: 0; padding: 0 44px 20px 0; font-size: 15px; color: var(--eb-text); line-height: 1.7; }

/* 14. Closing CTA --------------------------------------------------------- */
.m-cta-wrap { padding-top: 20px; }
.m-cta {
  text-align: center; color: #fff; border-radius: 28px; padding: 72px 32px; box-shadow: 0 20px 50px rgba(35,57,59,.18);
  background: radial-gradient(600px 300px at 85% 0%, rgba(244,104,105,.30), transparent 70%), linear-gradient(135deg, var(--eb-teal) 0%, var(--eb-deep) 100%);
}
.m-cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin: 0 0 14px; }
.m-cta p { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto 28px; font-size: 17px; line-height: 1.65; }
.m-cta .m-cta-note { font-size: 15px; margin: 22px auto 0; }
.m-cta .m-cta-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* 15. Footer -------------------------------------------------------------- */
.eb-footer { background: var(--eb-tint); border-top: 1px solid var(--eb-line); padding: 64px 0 0; font-size: 15px; }
.eb-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; }
.eb-footer .eb-logo span { font-size: 26px; }
.eb-footer .eb-mark { width: 42px; height: 42px; }
.eb-footer-tagline { margin: 10px 0 0; color: var(--eb-text); }
.eb-footer h4 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--eb-ink); margin: 6px 0 16px; }
.eb-footer ul { list-style: none; margin: 0; padding: 0; }
.eb-footer li { margin-bottom: 8px; }
.eb-footer address { margin: 0; line-height: 1.7; color: var(--eb-text); font-style: normal; }
.eb-footer-legal { margin-top: 48px; padding: 22px 0 28px; border-top: 1px solid var(--eb-line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--eb-muted); }
.eb-footer-legal nav { display: flex; gap: 18px; }
@media (max-width: 767px) {
  .eb-footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .eb-footer .eb-logo { justify-content: center; }
  .eb-footer-legal { justify-content: center; text-align: center; }
}

/* 16. Scroll-to-top ------------------------------------------------------- */
.eb-to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 990; width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--eb-coral); color: #fff; font-size: 26px; box-shadow: 0 8px 20px rgba(244,104,105,.35);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s;
}
.eb-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.eb-to-top:hover { background: var(--eb-coral-dark); }
