/* ----------------------------------------------------------------------
   Hoycall marketing — single hand-written stylesheet.

   Ported from troll-tech/src/styles.scss + hoycall-styles.scss +
   hoycall-landing-pages-styles.scss + theme.scss per migration plan §5.6.
   Material/zone.js/medeasy mixins are deliberately dropped.

   The `--hoycall-*` CSS variables are the design-token namespace shared
   with the Angular site so visual parity is mechanical, not coincidental.
   ---------------------------------------------------------------------- */

:root {
  /* Brand colour tokens — ported from hoycall-styles.scss verbatim. */
  --hoycall-primary-blue: #012958;
  --hoycall-main-blue: #0064FF;
  --hoycall-navy: #1e3a8a;
  --hoycall-light-blue: #dbeafe;
  --hoycall-lightest-blue: #EAF6FF;
  --hoycall-white: #ffffff;
  --hoycall-gray-100: #f3f4f6;
  --hoycall-gray-600: #4b5563;
  --hoycall-gray-900: #111827;
  --hoycall-text-primary: #012958;
  --hoycall-text-secondary: #64748b;

  --border-radius-large: 40px;
  --border-radius-medium: 30px;
  --border-radius-small: 20px;

  /* Type scale. Kept rem-friendly so user font-size preferences scale. */
  --font-size-xsmall: 1rem;        /* 16px */
  --font-size-small: 1.125rem;     /* 18px */
  --font-size-medium: 1.375rem;    /* 22px */
  --font-size-large: 1.625rem;     /* 26px */
  --font-size-xlarge: 2rem;        /* 32px */
  --font-size-xxlarge: 2.625rem;   /* 42px */
}

/* ----------------------------------------------------------------------
   Reset + base typography
   ---------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
}

body {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: var(--font-size-small);
  line-height: 1.6;
  color: var(--hoycall-text-primary);
  background-color: var(--hoycall-white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--hoycall-main-blue);
  text-decoration: none;
}
a:hover,
a:focus-visible {
  text-decoration: underline;
}

/* Display font for headings — matches Angular site (hoycall-styles.scss:46).
   `neulis-neue` is loaded via Adobe Typekit (use.typekit.net/dxk8iam.css);
   if the kit isn't reachable (e.g. on localhost without the host whitelisted)
   the next fallback is sans-serif which the browser resolves to a similar
   geometric face. Body copy stays on Roboto from the body rule. */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-family: 'neulis-neue', 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--hoycall-text-primary);
}
h1 { font-size: 3.5rem; font-weight: 800; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.875rem; font-weight: 600; }
h4 { font-size: var(--font-size-small); font-weight: 500; }

@media (max-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

p {
  margin: 0 0 1rem 0;
  font-size: var(--font-size-medium);
  line-height: 1.6;
}
@media (max-width: 768px) {
  p { font-size: 1.125rem; }
}

ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem 0;
}

.lede {
  font-size: var(--font-size-large);
  color: var(--hoycall-text-primary);
}

/* Visually-hidden helper for screen-reader-only text */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Skip-link — visible on focus only.
   transform:translateY(-100%) hides it fully regardless of its own
   rendered height; a fixed offset like top:-40px leaked the bottom edge
   into the viewport because Roboto + padding made the link ~45px tall. */
.skip-link {
  position: absolute;
  top: -1px;
  left: 0;
  background: var(--hoycall-main-blue);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  transform: translateY(-100%);
}
.skip-link:focus {
  top: 0;
  transform: translateY(0);
}

/* ----------------------------------------------------------------------
   Layout — container
   ---------------------------------------------------------------------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----------------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------------- */

/* Buttons — ported from /hoycall/src/buttons.scss.
   `.cta-button` and `.register-btn` are the full-size pill button (20px
   40px padding, 42px radius, 18px/700). `.login-btn` is always a compact
   border-only variant. `.small` modifier shrinks register / cta-button to
   header size. */
.cta-button,
.register-btn,
.login-btn {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: var(--font-size-small);
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.register-btn,
.cta-button {
  padding: 20px 40px;
  border-radius: 42px;
  background-color: var(--hoycall-main-blue);
  color: var(--hoycall-white);
}
.register-btn:hover,
.register-btn:focus-visible,
.cta-button:hover,
.cta-button:focus-visible {
  background-color: var(--hoycall-text-primary);
  color: var(--hoycall-white);
  text-decoration: none;
}
.register-btn.small,
.cta-button.small {
  padding: 10px 20px;
  border-radius: 28px;
}

/* `.cta-free` — used on the Get Started CTA inside the dark navy
   three-steps panel. Default state is the standard main-blue button,
   but on hover it inverts to white-on-navy so it stays visible against
   the panel (the default cta-button hover goes to navy, which would
   make the button disappear into the panel). Mirrors Angular's
   buttons.scss:143-151. */
.cta-button.cta-free:hover,
.cta-button.cta-free:focus-visible {
  background-color: var(--hoycall-white);
  color: var(--hoycall-text-primary);
}

.login-btn {
  padding: 10px 20px;
  height: 41px;
  border-radius: var(--border-radius-medium);
  background-color: transparent;
  color: var(--hoycall-main-blue);
  border: 1px solid var(--hoycall-main-blue);
}
.login-btn:hover,
.login-btn:focus-visible {
  border-width: 2px;
  padding: 9px 19px;
  text-decoration: none;
}

/* ----------------------------------------------------------------------
   Header
   ---------------------------------------------------------------------- */

/* Header — ported from /hoycall/.../hoycall-header.component.scss.
   No bottom border; the chrome separates content via vertical rhythm
   alone. Wide gap between sections so brand / nav / CTAs aren't crowded. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--hoycall-white);
  padding: 1rem 0 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.brand {
  flex-shrink: 0;
}
.brand img {
  display: block;
  height: 32px;
  width: auto;
  max-width: none;
}

.site-nav { flex: 1; }
.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

/* Nav link styling + pill-shaped hover — Angular nav links use weight 400
   on the primary-blue text colour and a lightest-blue pill on hover. */
.site-nav a {
  color: var(--hoycall-primary-blue);
  font-weight: 400;
  padding: 10px;
  border-radius: var(--border-radius-large);
  transition: background-color 0.15s;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--hoycall-lightest-blue);
  text-decoration: none;
}

/* Works-for dropdown via <details>: no JS, opens on click or keyboard.
   Plan §5.6 preferred a hover menu on desktop; <details> is used
   everywhere instead — simpler markup, accessible by default, identical
   behaviour across devices. */
.works-for-menu {
  position: relative;
}
.works-for-menu > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px;
  color: var(--hoycall-primary-blue);
  font-weight: 400;
  border-radius: var(--border-radius-large);
  transition: background-color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.works-for-menu > summary:hover,
.works-for-menu[open] > summary {
  background: var(--hoycall-lightest-blue);
}
.works-for-menu > summary::-webkit-details-marker {
  display: none;
}

/* Dropdown panel — Angular sizing: 275px wide, hair-thin border,
   soft shadow, tight padding. */
.works-for-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--hoycall-white);
  border: 0.3px solid #D9D9D9;
  border-radius: var(--border-radius-small);
  box-shadow: 0 6px 7px 0 rgba(0, 0, 0, 0.1);
  width: 275px;
  padding: 11px;
  margin-top: 0.25rem;
}

/* Dropdown items — scoped under `.works-for-panel` so the `.site-nav a`
   pill rule (padding 10px / radius 40px) doesn't bleed into the dropdown.
   Items use text-primary navy for body-text consistency. */
.works-for-panel .vertical-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-small);
  color: var(--hoycall-text-primary);
  background: transparent;
  text-decoration: none;
}
.works-for-panel .vertical-link:hover,
.works-for-panel .vertical-link:focus-visible {
  background: var(--hoycall-lightest-blue);
  text-decoration: none;
}
.vertical-link h4 {
  margin: 0;
  color: var(--hoycall-text-primary);
  font-weight: 700;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0;
}
.vertical-link p {
  margin: 0.25rem 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--hoycall-text-primary);
}

.header-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Mobile-menu wrapper: <details> element that contains the <nav>.
   On desktop we hide its <summary> (hamburger) and make the wrapper a
   transparent flex child via display: contents so the nav participates
   in .header-inner's flex layout as if the wrapper didn't exist. */
.mobile-menu { display: contents; }
.mobile-menu > summary.mobile-menu-toggle { display: none; }

/* The .nav-login <li> is rendered for the mobile menu only. Desktop has
   the Log in button in .header-cta. */
.nav-login { display: none; }

/* Hamburger icon — three 2px bars in a 24px box. CSS-only (no SVG)
   so the icon styles match brand colours via CSS variables. */
.hamburger-icon {
  display: inline-block;
  position: relative;
  width: 24px;
  height: 18px;
}
.hamburger-icon > span {
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--hoycall-primary-blue);
  border-radius: 2px;
  transition: transform 0.15s, opacity 0.15s, top 0.15s;
}
.hamburger-icon > span:nth-child(1) { top: 0; }
.hamburger-icon > span:nth-child(2) { top: 8px; }
.hamburger-icon > span:nth-child(3) { top: 16px; }
/* When the menu is [open], morph hamburger into an X */
.mobile-menu[open] .hamburger-icon > span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.mobile-menu[open] .hamburger-icon > span:nth-child(2) { opacity: 0; }
.mobile-menu[open] .hamburger-icon > span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

@media (max-width: 768px) {
  .header-inner { gap: 0.5rem; }
  /* On mobile the <details> wrapper becomes a real flex child (revert
     `display: contents`) so the hamburger toggle sits inline with the
     brand + CTAs. Position is static so the nav drop-down anchors to
     .site-header (sticky → positioning context) and can span the full
     viewport width, matching P1's `.mobile-nav { width: 100% }`. */
  .mobile-menu { display: block; position: static; margin-left: auto; }
  .mobile-menu > summary.mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--border-radius-small);
    list-style: none;
    transition: background-color 0.15s;
  }
  .mobile-menu > summary.mobile-menu-toggle::-webkit-details-marker { display: none; }
  .mobile-menu > summary.mobile-menu-toggle:hover,
  .mobile-menu[open] > summary.mobile-menu-toggle {
    background: var(--hoycall-lightest-blue);
  }
  /* Full-width drop-down anchored to .site-header (sticky). P1 uses the
     same shape on mobile: full viewport width, soft shadow, items
     stacked and centred. */
  .mobile-menu .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--hoycall-white);
    padding: 0.5rem 1rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--hoycall-gray-100);
  }
  .mobile-menu .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .mobile-menu .site-nav > ul > li {
    text-align: center;
    padding: 0;
  }
  .mobile-menu .site-nav > ul > li > a,
  .mobile-menu .works-for-menu > summary {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-small);
  }
  /* Nested works-for-menu becomes an inline accordion — no absolute
     positioning, no border/shadow, just stacks its panel underneath the
     summary so each vertical card sits below "Works for". */
  .mobile-menu .works-for-panel {
    position: static;
    width: auto;
    box-shadow: none;
    border: 0;
    margin: 0;
    padding: 0.25rem 0;
    background: transparent;
    grid-template-columns: 1fr;
  }
  .mobile-menu .vertical-link {
    text-align: center;
    padding: 0.5rem 1rem;
  }
  /* Mobile menu shows vertical-link titles only — descriptions are
     hidden so the menu stays compact. Matches P1's mobile dropdown,
     which renders each item as a single line. */
  .mobile-menu .vertical-link p { display: none; }
  .mobile-menu .vertical-link h4 { font-size: 1rem; font-weight: 400; }
  /* Active "Works for" pill background when expanded — visual cue P1
     uses (hoycall-header.component.scss .mobile-menu.active). */
  .mobile-menu .works-for-menu[open] > summary { background: var(--hoycall-lightest-blue); }

  /* Mobile header chrome: hide the desktop Log in button (it moves into
     the menu via .nav-login below); shrink Get Started to fit. */
  .header-cta > .login-btn { display: none; }
  .header-cta { gap: 0.375rem; }
  .header-cta .register-btn { padding: 0.4rem 0.875rem; font-size: 0.875rem; height: auto; }

  /* Log in lives inside the menu on mobile, styled as a full-width
     outline pill at the bottom of the drop-down — matches P1's mobile
     `.login-btn.outline`. */
  .nav-login { display: block; padding: 1rem 0 0; }
  .nav-login .login-btn {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 24px;
    height: auto;
  }
}

/* ----------------------------------------------------------------------
   Main content sections — landing & prose
   ---------------------------------------------------------------------- */

main#main {
  display: block;
}

.hoycall-hero {
  padding: 4rem 0 3rem;
}

/* About page team grid + careers sections — Angular wraps both in a
   gray panel (hoycall-styles.scss:217-219) so the team cards visually
   pop against the page chrome. */
.hoycall-features {
  padding: 4rem 0;
  background-color: var(--hoycall-gray-100);
}

/* About hero + careers — verified live on hoycall.co.uk:
   - `.info-row` (hero) is `display: block` so the heading and lede
     stack at full container width.
   - `.info-row-talent` (careers) is `display: flex` so the heading +
     description sit in `.col-large` (flex: 1.5) and the empty right
     column claims `.col-small` (flex: 1) — the empty column is what
     constrains the careers prose to ~60% of container width. */
.info-row {
  display: block;
  width: 100%;
}
.info-row-talent {
  display: flex;
  width: 100%;
  padding: 2rem 0;
  gap: 1rem;
}
.info-col {
  display: block;
  text-align: left;
}
.info-col-talent {
  display: block;
  text-align: left;
}
.info-row-talent .col-large { flex: 1.5 1 0%; min-width: 0; }
.info-row-talent .col-small { flex: 1 1 0%; min-width: 0; margin-top: 40px; }
/* About-hero second column sits below the heading column (info-row is
   block). Production gives it a 40px top margin so the heading and the
   lede paragraph are separated by ~40px of breathing room. */
.info-row .col-small { margin-top: 40px; }

.tab-item { border-radius: 16px; }
.tab-item h1 {
  font-size: 4.25rem;
  line-height: 1.1;
  margin: 0;
  text-align: left;
}
.tab-item p {
  font-weight: 300;
  font-size: var(--font-size-small);
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.info-col-talent h2 {
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  text-align: left;
}
.info-col-talent p {
  font-weight: 300;
  font-size: var(--font-size-large);
  line-height: 1.6;
  margin: 26px 0;
  text-align: left;
}

@media (max-width: 768px) {
  /* Careers row collapses to a single column on mobile. Without this,
     the empty .col-small still claims ~40% of the row's width and pushes
     the text block left of the viewport centre even with text-align:
     center. P1's about.component.scss:180-191 does the same. */
  .info-row-talent { flex-direction: column; }
  .info-row-talent .col-large,
  .info-row-talent .col-small { flex: 1 1 100%; margin-top: 0; }
  .info-col,
  .info-col-talent { text-align: center; }
  .tab-item h1 { font-size: 2.5rem; text-align: center; }
  .tab-item p { font-size: var(--font-size-xsmall); text-align: center; }
  .info-col-talent h2,
  .info-col-talent p { text-align: center; }
}

/* Team grid — ported from /hoycall/.../about.component.scss:69-130.
   Cards are 220px wide with a grey-backed image plate (rounded top
   corners) and a white info plate (rounded bottom corners). */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  padding-top: 2rem;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; }
}

.team-card {
  width: 220px;
  text-align: center;
}
.team-image {
  width: 100%;
  height: 220px;
  border-top-left-radius: var(--border-radius-large);
  border-top-right-radius: var(--border-radius-large);
  overflow: hidden;
  background: #e5e7eb;
}
.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-info {
  width: 100%;
  padding: 0 15px 30px 15px;
  border-bottom-left-radius: var(--border-radius-large);
  border-bottom-right-radius: var(--border-radius-large);
  background: var(--hoycall-white);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.team-info h3 {
  font-weight: 500;
  font-size: var(--font-size-medium);
  line-height: 1.4;
  margin: 1rem 0 0;
  color: var(--hoycall-text-primary);
}
.team-info p {
  font-weight: 300;
  font-size: var(--font-size-small);
  line-height: 1.6;
  margin: 0;
  color: var(--hoycall-text-primary);
}

/* Prose blocks (terms, privacy, security info-panel) */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
/* Long-form legal copy: Angular renders the lists without bullets and
   uses a slightly tighter 1.5 line-height (privacy-policy.component.scss:16). */
.prose ul {
  list-style: none;
  padding-left: 0;
  font-size: var(--font-size-medium);
}
.prose p,
.prose li {
  line-height: 1.5;
}
.prose li {
  margin-bottom: 0.5rem;
}

/* Security page — neutral grey info panel (not brand-blue, so the panel
   reads informational rather than promotional). Matches Angular
   security.component.scss:217-223. */
.security-hero { text-align: center; }
.security-hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 1rem;
}
.info-panel {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius-large);
  padding: 2rem;
}

/* ----------------------------------------------------------------------
   Integrations page — partner list, grouped by category. No client-side
   filtering; categories are in-page anchor links.
   ---------------------------------------------------------------------- */

.integrations-hero {
  text-align: center;
  padding: 4rem 0 2rem;
}
.integrations-hero-header { max-width: 720px; margin: 0 auto 2rem; }
.integrations-hero h1 { font-size: 68px; line-height: 1.1; }
@media (max-width: 768px) { .integrations-hero h1 { font-size: 3rem; } }
.integrations-hero .lede { margin-bottom: 1.5rem; }

.integration-category-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
/* Category pills — ported from production integrations page: lightest-blue
   fill, dark navy text, 14px / 400, 10px 20px padding, fully rounded. */
.integration-category-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 40px;
  background: var(--hoycall-lightest-blue);
  color: var(--hoycall-text-primary);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.integration-category-link:hover,
.integration-category-link:focus-visible {
  background: var(--hoycall-main-blue);
  color: var(--hoycall-white);
  text-decoration: none;
}

.integration-category-section { padding: 2rem 0 3rem; }
.integration-category-section h2 {
  font-size: 30px;
  margin-bottom: 1.5rem;
  scroll-margin-top: 80px; /* sticky header height + breathing room */
}
.integration-category-section[id] { scroll-margin-top: 80px; }

.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.integration-card {
  background: #fff;
  border: 2px solid #E4E4E4;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.integration-card h3 {
  font-weight: 500;
  font-size: var(--font-size-medium);
  margin: 0.25rem 0 0;
  color: var(--hoycall-text-primary);
}
.integration-card p {
  font-weight: 300;
  font-size: var(--font-size-small);
  color: var(--hoycall-text-primary);
  margin: 0.25rem 0 0 0;
  line-height: 1.6;
}

.integration-logo {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.integration-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.integration-initials {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-small);
  background: var(--hoycall-lightest-blue);
  color: var(--hoycall-main-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
}

/* Prose pages (/terms, /privacy) — long-form legal copy. */
.prose-hero {
  text-align: center;
  padding: 4rem 0 2rem;
}
.prose-body {
  padding: 2rem 0 4rem;
}
.prose article p,
.prose article ul { margin-bottom: 1rem; }
.prose article h3 { margin-top: 2.5rem; }
.prose article h4 { margin-top: 1.75rem; font-size: 1.125rem; }
.prose article h5 {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--hoycall-text-secondary);
}

/* ----------------------------------------------------------------------
   Welcome page — 8 sections (hero, features, industries, learning,
   customer memory, integrations preview, three-steps, story).
   ---------------------------------------------------------------------- */

.welcome-hero {
  text-align: center;
}
/* Welcome hero h1 is larger than the rest of the site, matching the
   Angular .hero-content h1 override (welcome.component.scss:21-26). */
.welcome-hero h1 {
  font-size: 68px;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto 1rem;
}
@media (max-width: 768px) {
  .welcome-hero h1 { font-size: 3rem; }
}
.welcome-hero .lede {
  margin: 0 auto 1.5rem;
  padding: 0 100px;
}
@media (max-width: 768px) {
  .welcome-hero .lede { padding: 0; }
}

.welcome-features { padding: 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: start;
  text-align: center;
}
.feature-icon { margin-bottom: 1.5rem; }
.feature-icon img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.feature-item h3 {
  font-size: var(--font-size-medium);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.feature-item p {
  font-size: var(--font-size-small);
  font-weight: 300;
  line-height: 1.6;
  color: var(--hoycall-text-primary);
}
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.welcome-industries { padding: 4rem 0; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-lede {
  max-width: 800px;
  margin: 0 auto;
  font-size: var(--font-size-large);
  font-weight: 300;
  line-height: 1.6;
  color: var(--hoycall-text-primary);
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
/* Industry cards — image swap on hover.
   Default state shows the "despair" photo; hovering reveals the "happy"
   companion via a ::before pseudo-element, ported from the Angular
   /hoycall/.../welcome.component.scss:87-165 treatment.
   Order in welcome content is fixed: salon (1), trades (2), msp (3). */
.industry-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  color: var(--hoycall-text-primary);
  text-decoration: none;
  background: var(--hoycall-lightest-blue);
  padding-bottom: 30px;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s;
}
.industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.industry-grid > .industry-card:nth-child(1)::before {
  background-image: url("/assets/verticals/salon_happy.webp");
}
.industry-grid > .industry-card:nth-child(2)::before {
  background-image: url("/assets/verticals/trades_happy.webp");
}
.industry-grid > .industry-card:nth-child(3)::before {
  background-image: url("/assets/verticals/msp_happy.webp");
}
.industry-card:hover,
.industry-card:focus-visible {
  text-decoration: none;
  background-color: var(--hoycall-main-blue);
  color: var(--hoycall-white);
}
.industry-card:hover .industry-card-body h3,
.industry-card:hover .industry-card-body p,
.industry-card:focus-visible .industry-card-body h3,
.industry-card:focus-visible .industry-card-body p {
  color: var(--hoycall-white);
}
.industry-card:hover::before,
.industry-card:focus-visible::before {
  opacity: 1;
}
.industry-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(100%);
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 2;
}
.industry-card:hover .industry-image,
.industry-card:focus-visible .industry-image {
  opacity: 0;
}
.industry-card-body {
  padding: 1.25rem 1.5rem 0;
  background: transparent;
  color: var(--hoycall-text-primary);
  position: relative;
  z-index: 2;
  flex-grow: 1;
}
.industry-card-body h3 {
  color: var(--hoycall-text-primary);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.industry-card-body p {
  color: var(--hoycall-text-primary);
  font-size: 1.125rem;
  margin: 0;
}
@media (max-width: 768px) {
  .industry-grid { grid-template-columns: 1fr; }
}

/* Two-column text + image blocks (learning, customer memory, story).
   .two-col-text-image puts text first, image second; the -image-text
   variant flips it. */
.welcome-learning,
.welcome-customer-memory,
.welcome-story,
.welcome-integrations-preview { padding: 4rem 0; }

.welcome-customer-memory h2 {
  max-width: 400px;
  word-wrap: break-word;
}
.welcome-customer-memory p,
.welcome-story p {
  font-size: var(--font-size-small);
  font-weight: 300;
  line-height: 1.6;
}

.two-col-text-image,
.two-col-image-text,
.two-col-text-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.two-col-image-text { grid-template-areas: "image text"; }
.two-col-image-text > div:first-child { grid-area: image; }
.two-col-image-text > div:last-child { grid-area: text; }
.two-col-image img { max-width: 100%; height: auto; }
.two-col-image { text-align: center; }
@media (max-width: 768px) {
  .two-col-text-image,
  .two-col-text-logos { grid-template-columns: 1fr; grid-template-areas: none; gap: 2rem; }
  /* For .two-col-image-text the DOM order is image-first/text-second
     (so desktop can place image-left/text-right). On mobile P1 stacks
     text on top of the image, so we redefine the template vertically
     with two named rows and let the existing
     `.two-col-image-text > div:first-child { grid-area: image }` and
     `:last-child { grid-area: text }` rules pin each child to its
     row — image-first-child lands in row 2, text-last-child in row 1. */
  .two-col-image-text {
    grid-template-columns: 1fr;
    grid-template-areas: "text" "image";
    gap: 2rem;
  }
  /* Mirror P1 mobile: text in learning / smart-simple / integrations-preview
     sections is centred when stacked above/below the illustration. */
  .landing-learning .two-col-text-image > div:first-child,
  .landing-smart-simple .two-col-image-text > div:last-child,
  .landing-integrations .two-col-text-logos > div:first-child {
    text-align: center;
  }
}

/* "See all integrations" link — ported from hoycall-styles.scss:903-908.
   Specifically dark navy (#011732) with weight 600 and underline. */
.integrations-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #011732;
  font-weight: 600;
  text-decoration: underline;
}

/* Integrations preview logo grid — ported from
   /hoycall/.../hoycall-styles.scss:929-955. Square 165px cells with a
   light grey hairline border, white background, full-colour logos at
   80% of cell width. No grayscale / opacity / hover treatment. */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 165px;
  gap: 1rem;
}
.logo-cell {
  background: var(--hoycall-white);
  border: 2px solid #E4E4E4;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-cell img {
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .logos-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

/* "From hello to Hoy in three steps" — navy panel with three WHITE
   rounded cards inside. Each card has a 100x100 icon, left-aligned
   text. Ported from /hoycall/.../hoycall-styles.scss:998-1074. */
.welcome-three-steps {
  padding: 4rem 0;
}
.three-steps-inner {
  background: var(--hoycall-text-primary);
  color: var(--hoycall-white);
  border-radius: 3rem;
  padding: 4rem 2rem;
  text-align: center;
}
.three-steps-heading {
  color: var(--hoycall-white);
  font-size: var(--font-size-xxlarge);
  line-height: 1.2;
  margin-bottom: 3rem;
}
.three-step-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.three-step {
  background: var(--hoycall-white);
  padding: 2rem;
  border-radius: 3rem;
  text-align: center;
  flex: 1 1 250px;
}
.three-step img {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
}
.three-step h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: var(--font-size-medium);
  line-height: 1.4;
  color: var(--hoycall-text-primary);
  margin: 0 0 1rem 0;
  text-align: left;
}
.three-step p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: var(--font-size-small);
  line-height: 1.4;
  color: var(--hoycall-text-primary);
  margin: 0;
  text-align: left;
}
.three-steps-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-button.cta-button-outline {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}
.cta-button.cta-button-outline:hover,
.cta-button.cta-button-outline:focus-visible {
  background-color: #fff;
  color: var(--hoycall-primary-blue);
}
@media (max-width: 768px) {
  .three-step-grid { flex-direction: column; align-items: center; }
  .three-step h3,
  .three-step p { text-align: center; }
}

/* Story section — Angular spec keeps h3 + paragraphs all in text-primary
   navy. The subheading uses the same hue as body copy, just slightly bigger
   weight, so the wall of paragraphs reads as one block. */
.welcome-story-subheading {
  font-size: var(--font-size-medium);
  font-weight: 500;
  line-height: 1.4;
  color: var(--hoycall-text-primary);
  margin-bottom: 1rem;
}
/* Story image — ported from welcome.component.scss:345-359.
   Large radius (40px), object-fit cover so the image fills its column,
   and a horizontal mirror flip so the hairdresser faces inward toward
   the text column. Image column has 5rem left padding on desktop. */
.welcome-story .two-col-image {
  padding-left: 5rem;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.welcome-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-large);
  transform: scaleX(-1);
}
@media (max-width: 768px) {
  .welcome-story .two-col-image { padding-left: 0; }
  .welcome-story img { height: auto; }
}

/* ----------------------------------------------------------------------
   Vertical landing pages (hair, tech, skilled-trades, real-estate,
   any-business) — shared shape, rendered by src/pages/landing.ts.
   ---------------------------------------------------------------------- */

.landing-hero { padding: 4rem 0 3rem; }
.landing-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
/* Hero eyebrow tag — transparent fill with coloured border + text.
   Spec from hoycall-styles.scss:498-512: 40px tall inline-flex, weight 600,
   wide letter-spacing 0.23em, radius 31px, NO background.
   Per-vertical modifiers (hair-beauty-landing.component.css:6-9 et al)
   only override border-color and color. */
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: transparent;
  color: var(--hoycall-primary-blue);
  border: 1px solid var(--hoycall-primary-blue);
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.23em;
  padding: 0 1em;
  border-radius: 31px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-badge.hero-badge-hair { color: #F95460; border-color: #F95460; }
.hero-badge.hero-badge-tech { color: #7B3FFF; border-color: #7B3FFF; }
.hero-badge.hero-badge-skilledTrades { color: #FFB020; border-color: #FFB020; }
.hero-badge.hero-badge-realEstate { color: #E07A5F; border-color: #E07A5F; }
.hero-badge.hero-badge-anyBusiness { color: var(--hoycall-main-blue); border-color: var(--hoycall-main-blue); }
/* Hero title + description — Angular adds 10rem right margin on desktop
   so the text column wraps short and leaves visual room for the
   illustration on the right. Margin collapses on mobile. */
.hero-title {
  margin: 0 10rem 1rem 0;
  text-align: left;
  text-transform: none;
}
.hero-desc {
  font-size: var(--font-size-large);
  color: var(--hoycall-text-primary);
  font-weight: 300;
  line-height: 1.6;
  margin: 0 10rem 2rem 0;
}
@media (max-width: 768px) {
  /* Centre the whole hero text column on mobile so the badge, title,
     description, and CTA button all align horizontally. Matches P1's
     hoycall-styles.scss:1077-1090 which sets text-align: center on the
     .text-col container on mobile. */
  .landing-hero-text { text-align: center; }
  .hero-title { margin: 0 0 1rem 0; text-align: center; }
  .hero-desc { font-size: 20px; margin: 0 0 2rem 0; text-align: center; }
}
.landing-hero-image img {
  width: 100%;
  max-width: 433px;
  height: 434px;
  object-fit: cover;
  border-radius: 40px;
}
@media (max-width: 768px) {
  .landing-hero-grid { grid-template-columns: 1fr; }
  /* Centre the illustration on mobile and add breathing room between the
     text column and the image. P1's `.info-col-hero.image-col` mobile
     rule (hoycall-styles.scss:484-490) sets text-align: center +
     margin-top: 50px on the image column; we mirror that here. */
  .landing-hero-image {
    text-align: center;
    margin-top: 50px;
  }
  .landing-hero-image img { max-width: 300px; height: auto; }
}

.landing-stats { padding: 2rem 0 3rem; }
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-cell {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--hoycall-gray-100);
}
.stat-cell:last-child { border-right: 0; }
.stat-amount {
  font-size: 46px;
  font-weight: 700;
  color: var(--hoycall-text-primary);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.stat-text {
  color: var(--hoycall-text-primary);
  font-size: var(--font-size-small);
  font-weight: 300;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .stats-strip { grid-template-columns: 1fr; }
  .stat-cell {
    border-right: 0;
    border-bottom: 1px solid var(--hoycall-gray-100);
  }
  .stat-cell:last-child { border-bottom: 0; }
}

/* Testimonial — port of hoycall-styles.scss:583-640.
   Floating 100x100 mascot positioned absolute at top: -65px above the
   card, generous horizontal padding (120px desktop, smaller on mobile). */
.landing-testimonial { padding: 5rem 0 3rem; }
.testimonial-box {
  position: relative;
  background: var(--hoycall-lightest-blue);
  border-radius: 30px;
  padding: 33px 120px;
  text-align: center;
}
.testimonial-icon {
  position: absolute;
  top: -65px;
  left: 50%;
  transform: translateX(-50%);
}
.testimonial-icon img {
  width: 100px;
  height: 100px;
  display: block;
}
@media (max-width: 768px) {
  /* Testimonial mascot shrinks 100→80 on mobile (P1
     hoycall-styles.scss:608-611). Also tighten the box padding so the
     quote isn't crowded against the rounded edges. */
  .testimonial-box { padding: 2rem 1.5rem; }
  .testimonial-icon { top: -55px; }
  .testimonial-icon img { width: 80px; height: 80px; }
}
.testimonial-quote {
  margin: 0 0 2rem;
  font-weight: 300;
  font-size: var(--font-size-large);
  line-height: 1.6;
  color: var(--hoycall-text-primary);
}
@media (max-width: 768px) {
  .testimonial-quote { font-size: 20px; }
}
.testimonial-quote p { margin: 0; }
.testimonial-name {
  font-weight: 500;
  font-size: var(--font-size-small);
  margin: 0;
}
/* Angular uses primary-blue at 70% opacity rather than the secondary
   slate grey, so the role line still reads as part of the brand palette. */
.testimonial-role { color: rgba(1, 41, 88, 0.7); margin: 0; font-size: 0.75rem; font-weight: 300; }

.landing-value-props { padding: 4rem 0; }
.value-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
/* Value-prop cards — port of hoycall-landing-pages-styles.scss:47-89.
   Fixed 430px height keeps the 3-up row aligned. Text uses primary-blue. */
.value-card {
  background: var(--hoycall-lightest-blue);
  border: 0;
  border-radius: var(--border-radius-large);
  padding: 32px 40px 0;
  height: 430px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.value-card h3 {
  font-size: var(--font-size-medium);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 1rem 0;
  color: var(--hoycall-primary-blue);
}
.value-card p {
  font-size: var(--font-size-xsmall);
  font-weight: 300;
  line-height: 1.6;
  color: var(--hoycall-primary-blue);
}
.value-card-image {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.value-card-image img {
  display: block;
  max-width: 350px;
  height: auto;
}
@media (max-width: 768px) {
  .value-card { height: auto; }
}
.value-card-secondary-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.value-card-secondary {
  background: var(--hoycall-lightest-blue);
  border: 0;
  border-radius: var(--border-radius-large);
  padding: 1.75rem;
  height: 335px;
}
.value-card-secondary h3 {
  font-size: var(--font-size-medium);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 1rem 0;
  color: var(--hoycall-primary-blue);
}
.value-card-secondary p {
  font-size: var(--font-size-xsmall);
  font-weight: 300;
  line-height: 1.6;
  color: var(--hoycall-primary-blue);
  margin: 0;
}
@media (max-width: 768px) {
  .value-card-secondary { height: auto; }
}
/* The wide gradient card on the right of each landing page's value-prop
   bottom row. In Project 1 this is `.salon-bottom-right`: a 1fr 1fr grid
   with text in the left column (`.salon-bottom-text`) and an empty right
   column where the gradient fades to transparent. P2 uses a CSS-only
   grid because the renderer only emits h3 + p (no inner image div); the
   right "column" stays empty and the gradient fall-off creates the same
   effect. Styles on h3 + p are taken verbatim from P1's
   `.salon-bottom-text h3` / `.salon-bottom-text p`. */
.value-card-secondary.wide {
  /* Default background matches P1's shared `.salon-bottom-right`:
     solid `var(--hoycall-main-blue)`. Used on /tech, /skilled-trades,
     /real-estate, /any-business. The hair landing overrides this to a
     gradient (see `.value-card-secondary.wide.wide-hair` below). */
  background: var(--hoycall-main-blue);
  color: #fff;
  border: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
}
.value-card-secondary.wide.wide-hair {
  /* /hair only — matches P1's hair-beauty-landing.component.css override
     of `.salon-bottom-right`. The gradient fades to transparent on the
     right so the empty right column shows the fade-out effect. */
  background: linear-gradient(270deg, rgba(0, 100, 255, 0) 0%, var(--hoycall-main-blue) 58.25%);
}
.value-card-secondary.wide h3 {
  grid-column: 1;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 1rem 0;
  text-align: left;
  text-transform: none;
}
.value-card-secondary.wide p {
  grid-column: 1;
  font-size: var(--font-size-small);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8); /* --hoycall-transparancy-color = #ffffffcc */
  text-align: left;
}
@media (max-width: 768px) {
  /* On mobile the .value-card-secondary-row also collapses to a single
     column, so let the text take the full width again. */
  .value-card-secondary.wide { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .value-card-grid,
  .value-card-secondary-row { grid-template-columns: 1fr; }
}

/* CTA banner — port of hoycall-styles.scss:718-733.
   Light-blue pill with the brand button + tagline + mascot. */
.landing-cta-banner { padding: 2rem 0; }
.cta-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--hoycall-lightest-blue);
  border-radius: 37px;
  padding: 20px 50px;
}
@media (max-width: 768px) {
  .cta-banner {
    position: relative;
    padding: 4.5rem 1.5rem 1.5rem;
    flex-direction: column;
    text-align: center;
  }
}
.cta-banner-text {
  font-family: 'Roboto', sans-serif;
  font-size: var(--font-size-small);
  font-weight: 400;
  line-height: 1.6;
  color: var(--hoycall-text-primary);
}
.cta-banner-mascot {
  width: 150px;
  height: 140px;
  margin-left: auto;
  transform: rotate(-10deg);
  object-fit: contain;
}
@media (max-width: 768px) {
  .cta-banner-mascot {
    width: 120px;
    height: auto;
    position: absolute;
    top: 0;
    left: 50%;
    right: auto;
    margin: 0;
    transform: translate(-50%, -50%) rotate(-10deg);
  }
}

.landing-smart-simple { padding: 4rem 0; }

/* The final illustration card on each landing — dark primary-blue panel
   with a 270x200 illustration floating above (position: absolute; top: -190px).
   Ported from /hoycall/.../hoycall-landing-pages-styles.scss:164-232. */
.landing-illustration { padding: 8rem 0 4rem; }
.illustration-card {
  background: var(--hoycall-primary-blue);
  border-radius: var(--border-radius-large);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--hoycall-white);
  /* P1 caps width at 1065px via the parent `.info-col-illustration`.
     Apply directly on the card here since P2 doesn't render that wrapper. */
  max-width: 1065px;
  margin: 0 auto;
  position: relative;
}
.illustration-image {
  position: absolute;
  top: -190px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.illustration-image img {
  width: 270px;
  height: 200px;
  object-fit: contain;
  display: block;
  margin: 0;
}
.illustration-card h2 {
  color: var(--hoycall-white);
  font-size: var(--font-size-xxlarge);
  margin-top: 30px;
  margin-bottom: 2rem;
}
.illustration-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  /* P1's `.illustration-stats` uses only `margin-bottom: 2rem` (no top
     margin) and lets the grid fill the card's inner width. We mirror that
     so stats spread across the dark navy card the same way. */
  margin: 0 auto 2rem;
}
.illustration-stat {
  padding: 0 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}
.illustration-stat:last-child { border-right: 0; }
.illustration-stat-number {
  font-size: 46px;
  font-weight: 700;
  color: var(--hoycall-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.illustration-stat p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-small);
  font-weight: 300;
}
.illustration-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}
/* Outline-light variant is the secondary CTA on the dark card. White
   outline + white text against the navy panel, fills to white on hover. */
.cta-button.cta-button-outline-light {
  background-color: transparent;
  color: var(--hoycall-white);
  border-color: var(--hoycall-white);
}
/* Buttons inside the final illustration card live on a dark navy panel.
   Production inverts both CTAs to white-bg / navy-text on hover so they
   stand out against the dark background. Overrides the generic
   .cta-button:hover (which would go to navy bg and disappear). */
.illustration-buttons .cta-button:hover,
.illustration-buttons .cta-button:focus-visible,
.cta-button.cta-button-outline-light:hover,
.cta-button.cta-button-outline-light:focus-visible {
  background-color: var(--hoycall-white);
  color: var(--hoycall-text-primary);
  border-color: var(--hoycall-white);
}
@media (max-width: 1024px) {
  /* P1 only nudges the illustration up to -70px at 1024px and keeps the
     full 270×200 image (hoycall-landing-pages-styles.scss:283-285). */
  .illustration-image { top: -70px; }
}
@media (max-width: 768px) {
  /* Narrow-mobile: P1 floats the illustration back near its desktop
     position (top: -180px) at a slightly smaller 250px width, and adds
     80px top margin on the heading so it clears the floating image
     (hoycall-landing-pages-styles.scss:288-309). Mirror that here so
     the card's hero illustration keeps visual presence on phones
     instead of shrinking to a thumbnail. */
  .illustration-card { padding: 2rem 1rem; }
  .illustration-image { top: -170px; }
  .illustration-image img { width: 250px; }
  .illustration-card h2 { margin-top: 80px; font-size: var(--font-size-xlarge); }
  .illustration-stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .illustration-stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.5); padding: 0 0 1rem; }
  .illustration-stat:last-child { border-bottom: 0; }
  /* Mirror P1 hoycall-landing-pages-styles.scss:297-300: stack the two
     CTAs and tighten the gap so both fit without wrapping awkwardly on
     narrow screens. Each button stays its native width because P2's
     .cta-button is inline-block; we don't force full-width since P2's
     renderer never emits the P1-only `.book-demo-btn` class. */
  .illustration-buttons { flex-direction: column; align-items: center; gap: 10px; margin-top: 2rem; }
}

/* ----------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------- */

/* Footer — ported from /hoycall/.../hoycall-footer.component.scss.
   Dark primary-blue background with overflow:hidden so the rotated
   mascot can stick out of the white CTA pill. */
.site-footer {
  background: var(--hoycall-text-primary);
  color: var(--hoycall-white);
  padding: 6rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.site-footer h3 {
  color: var(--hoycall-white);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  letter-spacing: 0;
}
/* Footer link styling — excluded from .register-btn / .cta-button so
   button-shaped CTAs in the footer keep their 700-weight / no-underline
   treatment. */
.site-footer a:not(.register-btn):not(.cta-button) {
  color: var(--hoycall-white);
  font-weight: 300;
  font-size: var(--font-size-small);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.site-footer a:not(.register-btn):not(.cta-button):hover,
.site-footer a:not(.register-btn):not(.cta-button):focus-visible {
  opacity: 1;
  text-decoration: underline;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li {
  margin-bottom: 0.5rem;
}

/* CTA pill — a white rounded card holding the Get Started button + a
   white-on-dark tagline, with the try_for_free mascot rotated -10deg
   and parked off the right edge. Ported from .cta-div-1 in Angular. */
.footer-cta {
  position: relative;
  background: var(--hoycall-white);
  border-radius: 2rem;
  padding: 2rem;
  margin: 0 auto 4rem;
  max-width: 885px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.footer-cta-tagline {
  color: var(--hoycall-text-primary);
  font-size: var(--font-size-small);
  font-weight: 400;
  line-height: 1.6;
}
.footer-cta-mascot {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%) rotate(-10.49deg);
  flex-shrink: 0;
  z-index: 1;
  pointer-events: none;
}
.footer-cta-mascot img {
  width: 150px;
  height: 140px;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .footer-cta {
    flex-direction: column;
    gap: 1rem;
    margin: 0 auto 2rem;
    /* Extra top padding so the mascot — which straddles the pill's top
       border (its centre sits on the edge, ~50px protrudes inside) —
       doesn't overlap the Get Started button below it. */
    padding: 4.5rem 1.5rem 1.5rem;
  }
  .footer-cta-inner { flex-direction: column; text-align: center; gap: 1rem; }
  /* On mobile the mascot straddles the top border of the pill: its
     vertical centre sits on the pill's top edge so roughly half of the
     mascot sits above and half overlaps the rounded top — same effect
     P1 gets via top: -7px + translateY(-50%). Centred horizontally on
     the pill's centreline. */
  .footer-cta-mascot {
    position: absolute;
    top: 0;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) rotate(-10.49deg);
    margin: 0;
  }
  .footer-cta-mascot img { width: 100px; height: 100px; }
}

/* Main link columns: 3.5fr brand + 1.3fr + 1.5fr + 1.5fr per Angular. */
.footer-grid {
  display: grid;
  grid-template-columns: 3.5fr 1.3fr 1.5fr 1.5fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}
.footer-col,
.footer-brand { padding: 1.2rem; box-sizing: border-box; }
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col,
  .footer-brand { padding: 0 1.2rem; }
}

.footer-brand img {
  /* Brand logo is dark blue on white; the footer is dark, so invert. */
  filter: brightness(0) invert(1);
  display: block;
  height: 32px;
  width: auto;
  max-width: none;
}
@media (max-width: 768px) {
  .footer-brand img { margin-top: 40px; }
}
.footer-company-tagline {
  margin: 0;
  font-size: var(--font-size-small);
  font-weight: 400;
  line-height: 1.6;
  color: var(--hoycall-white);
}

.footer-bottom {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 1.2rem;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; gap: 0.75rem; padding: 1.2rem; }
}

/* Footer language switcher — native <details> open above the company line.
   Plan §5.2 lists this in the footer copy; chrome-only, no client-side JS
   beyond the document-level outside-click handler in render.ts. */
.language-switcher {
  position: relative;
  margin-left: auto;
}
.language-switcher > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-large);
  color: var(--hoycall-white);
  font-size: 0.9rem;
  transition: background-color 0.15s, border-color 0.15s;
}
.language-switcher .lang-flag { font-size: 1.2rem; line-height: 1; }
.language-switcher .lang-name { font-size: 0.9rem; white-space: nowrap; }
/* The summary lives on the dark navy footer, so its lang-name uses white;
   dropdown items live on the white pill, so their lang-name uses navy. The
   .footer-bottom { color: rgba(255,255,255,0.7) } cascade otherwise leaks
   into the dropdown spans through inheritance. */
.site-footer .language-switcher > summary .lang-name { color: var(--hoycall-white); }
.site-footer .language-switcher ul .lang-name,
.site-footer .language-switcher ul .lang-flag { color: var(--hoycall-text-primary); }
.language-switcher > summary::-webkit-details-marker { display: none; }
.language-switcher > summary:hover,
.language-switcher[open] > summary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}
.language-switcher ul {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.5rem);
  z-index: 10;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  background: var(--hoycall-white);
  border-radius: var(--border-radius-small);
  border: 0.3px solid #D9D9D9;
  box-shadow: 0 6px 7px 0 rgba(0, 0, 0, 0.15);
  min-width: 180px;
}
.language-switcher ul li { margin: 0; }
/* Scoped under .site-footer to beat the (0,3,1)-specificity footer-link
   override (.site-footer a:not(.register-btn):not(.cta-button)) which
   would otherwise paint dropdown items white-on-white. */
.site-footer .language-switcher ul a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius-small);
  color: var(--hoycall-text-primary);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  opacity: 1;
}
.site-footer .language-switcher ul a:hover,
.site-footer .language-switcher ul a:focus-visible {
  background: var(--hoycall-lightest-blue);
  color: var(--hoycall-text-primary);
  opacity: 1;
  text-decoration: none;
}
@media (max-width: 640px) {
  .language-switcher { margin-left: 0; }
  .language-switcher ul { left: 0; right: auto; }
}

/* ----------------------------------------------------------------------
   Partners page (/partners) — agency-pivot landing.
   Section layout mirrors the welcome/landing pattern: a centred hero,
   prose-width text sections, three-up card grid for archetypes, numbered
   onboarding steps, native <details> FAQs, and a navy closing CTA.
   ---------------------------------------------------------------------- */

.partners-hero {
  text-align: center;
}
.partners-hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  max-width: 760px;
  margin: 0 auto 1rem;
}
@media (max-width: 768px) {
  .partners-hero h1 { font-size: 2.5rem; }
}
.partners-hero .lede {
  max-width: 680px;
  margin: 0 auto 2rem;
}

.partners-short-version {
  padding: 1rem 0 3rem;
}
.partners-short-version p {
  font-size: var(--font-size-medium);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.partners-short-version p:last-child { margin-bottom: 0; }

.partners-built-for {
  padding: 4rem 0;
  background-color: var(--hoycall-gray-100);
}
.archetype-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.archetype-card {
  background: var(--hoycall-white);
  border-radius: var(--border-radius-large);
  padding: 2rem;
}
.archetype-card h3 {
  font-size: var(--font-size-medium);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 0.75rem 0;
  color: var(--hoycall-primary-blue);
}
.archetype-card p {
  font-size: var(--font-size-small);
  line-height: 1.6;
  margin: 0;
  color: var(--hoycall-primary-blue);
}
@media (max-width: 768px) {
  .archetype-grid { grid-template-columns: 1fr; gap: 1rem; }
}

.partners-economics {
  padding: 4rem 0 2rem;
}
.partners-economics h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.partners-economics-note {
  color: var(--hoycall-text-secondary);
  font-size: var(--font-size-small);
}

.partners-white-label {
  padding: 2rem 0 4rem;
}
.partners-white-label h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.white-label-bullets {
  list-style: none;
  padding-left: 0;
}
.white-label-bullets li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--hoycall-gray-100);
  font-size: var(--font-size-medium);
  line-height: 1.5;
}
.white-label-bullets li:last-child { border-bottom: 0; }
.white-label-bullets code {
  background: var(--hoycall-gray-100);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.95em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.partners-onboarding {
  padding: 4rem 0;
  background-color: var(--hoycall-gray-100);
}
.partners-onboarding h2 { text-align: center; }
.onboarding-steps {
  list-style: none;
  padding-left: 0;
  max-width: 760px;
  margin: 0 auto;
}
.onboarding-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hoycall-white);
  align-items: flex-start;
}
.onboarding-step:last-child { border-bottom: 0; }
.onboarding-step-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--hoycall-main-blue);
  color: var(--hoycall-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-large);
  font-weight: 600;
}
.onboarding-step-body { flex: 1; min-width: 0; }
.onboarding-step-body h3 {
  font-size: var(--font-size-medium);
  font-weight: 500;
  margin: 0 0 0.5rem 0;
}
.onboarding-step-duration {
  font-size: var(--font-size-small);
  font-weight: 300;
  color: var(--hoycall-text-secondary);
  margin-left: 0.5rem;
}
.onboarding-step-body p {
  margin: 0;
  line-height: 1.6;
}

.partners-faqs { padding: 4rem 0; }
.partners-faqs h2 { text-align: center; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--hoycall-white);
  border: 1px solid var(--hoycall-gray-100);
  border-radius: 12px;
  margin-bottom: 0.75rem;
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--hoycall-main-blue);
  margin-left: 1rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary h3 {
  display: inline;
  font-size: var(--font-size-medium);
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}
.faq-answer {
  padding: 0 1.25rem 1rem;
  border-top: 1px solid var(--hoycall-gray-100);
}
.faq-answer p {
  margin: 1rem 0 0;
  line-height: 1.6;
}

.partners-closing-cta {
  padding: 4rem 0;
  text-align: center;
  background-color: var(--hoycall-primary-blue);
  color: var(--hoycall-white);
}
.partners-closing-cta h2 {
  color: var(--hoycall-white);
  margin-bottom: 2rem;
}
.closing-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Booking page — hero plus Calendly inline widget. Widget is sized via
   inline style (min-width/height) per Calendly's embed spec; the section
   gives it breathing room above and below. */
.booking-hero { text-align: center; }
.booking-hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  max-width: 760px;
  margin: 0 auto 1rem;
}
@media (max-width: 768px) {
  .booking-hero h1 { font-size: 2.5rem; }
}
.booking-hero .lede {
  max-width: 680px;
  margin: 0 auto 0;
}
.booking-widget { padding: 2rem 0 4rem; }
.booking-noscript {
  text-align: center;
  padding: 2rem;
  background: var(--hoycall-gray-100);
  border-radius: 12px;
}
