/* Jepp Tech: generated by build.rb from templates/styles.css.erb. Edit the template, not this file. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations"),
       url("assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gabarito";
  src: url("assets/fonts/gabarito-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f7f7f9;
  --surface-2: #f1f1fb;
  --card: #ffffff;
  --text: #1f2333;
  --muted: #464b5e;
  --subtle: #5a5f72;
  --line: #e1e3ea;
  --accent: #3438a8;
  --accent-strong: #22256f;
  --on-accent: #ffffff;
  --hidden: #8a4b00;
  --hidden-bg: #fff3e0;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12141c;
  --surface: #1a1d28;
  --surface-2: #1f2232;
  --card: #232738;
  --text: #eceef4;
  --muted: #c1c5d3;
  --subtle: #aeb3c3;
  --line: #343a4f;
  --accent: #a9adff;
  --accent-strong: #cfd1ff;
  --on-accent: #12141c;
  --hidden: #ffc480;
  --hidden-bg: #3a2a14;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-strong); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.015em; margin: 0; }
h2 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 700; line-height: 1.2; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 40px; }
@media (max-width: 600px) { .wrap { padding-inline: 20px; } }

.skip-link {
  position: absolute; left: 16px; top: 16px; z-index: 10; transform: translateY(-200%);
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { transform: none; }

.preview-bar {
  background: var(--hidden-bg); color: var(--hidden); font-weight: 700;
  text-align: center; padding: 10px 20px; font-size: 15px;
}

/* Header */
.site-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 28px; padding-bottom: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 22px;
}
.brand__name { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 16px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 16px; border-radius: 999px; text-decoration: none; color: var(--text);
}
.site-nav a:hover { background: var(--surface-2); }
.site-nav .site-nav__cta { background: var(--accent); color: var(--on-accent); }
.site-nav .site-nav__cta:hover { background: var(--accent-strong); color: var(--on-accent); }
@media (max-width: 600px) { .site-nav { margin-left: -12px; } .site-nav a { padding: 0 12px; } }
.site-header__end { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 600px) {
  /* Brand and switch share the top row; the links go underneath. */
  .site-header__end { display: contents; }
  .theme-switch { order: 2; }
  .site-nav { order: 3; flex-basis: 100%; }
}

/* Light and dark switch: shown by theme.js, so it never appears without JavaScript */
.theme-switch {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--text); cursor: pointer;
}
.theme-switch[hidden] { display: none; }
.theme-switch:hover { background: var(--surface-2); }
.theme-switch:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.theme-switch svg { width: 20px; height: 20px; }
.theme-switch__sun, [data-theme="dark"] .theme-switch__moon { display: none; }
[data-theme="dark"] .theme-switch__sun { display: block; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 48px; padding-bottom: 64px; }
.hero__text { flex: 999 1 520px; min-width: 0; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; }
.lede { margin-top: 24px; font-size: 20px; color: var(--muted); max-width: 600px; }
.quick-links {
  flex: 0 1 360px; background: var(--surface-2); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.quick-links__title { font-weight: 700; margin-bottom: 4px; }
.quick-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 18px; background: var(--card); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text);
}
.quick-links a:hover { color: var(--accent); }

/* Sections */
.section { padding-bottom: 56px; }
.section > h2 { margin-bottom: 24px; }

/* Products */
.product-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.product {
  flex: 1 1 420px; min-width: 0; border-radius: var(--radius-lg); padding: 36px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: var(--tint); color: var(--ink);
}
.product__audience {
  padding: 4px 12px; border-radius: 999px; background: #ffffff; font-size: 14px; color: var(--colour);
}
.product__name { margin-top: 4px; font-size: 34px; font-weight: 700; color: var(--colour); line-height: 1.2; }
.product__name--gabarito { font-family: "Gabarito", var(--display); letter-spacing: 0; }
.product__summary { color: var(--ink); }
.product__button {
  margin-top: auto; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px;
  border-radius: 999px; background: var(--colour); color: #ffffff; text-decoration: none; font-weight: 700;
}
.product__button:hover { color: #ffffff; filter: brightness(1.15); }
@media (max-width: 600px) { .product { padding: 28px 24px; } .product__name { font-size: 30px; } }

.product--homecarefront {
  --colour: #17322a;
  --tint: #eef5f1;
  --ink: color-mix(in srgb, #17322a 85%, #ffffff);
}

[data-theme="dark"] .product {
  background: color-mix(in srgb, var(--colour) 45%, var(--bg));
  color: var(--text);
}
[data-theme="dark"] .product__name { color: #ffffff; }
[data-theme="dark"] .product__summary { color: var(--muted); }
[data-theme="dark"] .product__audience { background: color-mix(in srgb, var(--colour) 25%, var(--bg)); color: var(--text); }
[data-theme="dark"] .product__button,
[data-theme="dark"] .product__button:hover { background: var(--tint); color: var(--colour); }

/* Card charges */
.charges { background: var(--surface); border-radius: 28px; padding: 44px; }
.charges__intro { margin-top: 12px; margin-bottom: 28px; color: var(--muted); max-width: 680px; }
.charge-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.charge {
  flex: 1 1 400px; min-width: 0; background: var(--card); border-radius: var(--radius-md);
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
}
.charge__icon { flex: 0 0 auto; margin-top: 2px; color: var(--accent); }
.charge__statement { font-family: var(--mono); font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.charge__text { margin-top: 6px; color: var(--muted); }
@media (max-width: 600px) { .charges { padding: 28px 20px; } .quick-links { flex-basis: 100%; } }

/* Who we are */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.about__icon {
  flex: 0 0 auto; width: 88px; height: 88px; border-radius: var(--radius-lg);
  background: var(--surface-2); color: var(--accent); display: flex; align-items: center; justify-content: center;
}
.about__text { flex: 1 1 480px; min-width: 0; }
.about__text p { margin-top: 8px; color: var(--muted); max-width: 720px; }

/* Contact */
.contact-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
}
.contact-card { border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 24px; overflow-wrap: anywhere; }
.contact-card__label { font-size: 15px; color: var(--subtle); }
.contact-card a, .contact-card__value { font-weight: 700; }

/* Hidden products, preview only */
.hidden-badge {
  display: inline-block; margin-bottom: 4px; padding: 4px 12px; border-radius: 999px;
  background: var(--hidden-bg); color: var(--hidden); font-size: 14px; font-weight: 700;
}
.is-hidden { outline: 2px dashed var(--hidden); outline-offset: 4px; }
.charge .hidden-badge, .contact-card .hidden-badge { margin: 10px 0 0; }

/* Footer */
.site-footer { padding-bottom: 48px; font-size: 15px; color: var(--subtle); }
.site-footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 28px; border-top: 1.5px solid var(--line);
}
.site-footer__legal { max-width: 720px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Text pages */
.prose { max-width: 760px; padding-top: 32px; padding-bottom: 64px; }
.prose h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 700; line-height: 1.1; }
.prose h2 { font-size: 28px; margin-top: 40px; margin-bottom: 8px; }
.prose h3 { font-size: 21px; margin-top: 24px; margin-bottom: 6px; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose__meta { margin-top: 12px; margin-bottom: 24px; color: var(--subtle); }
.not-found p { margin-top: 14px; }
.not-found__home { background: var(--accent); color: var(--on-accent); margin-top: 12px; }
.not-found__home:hover { color: var(--on-accent); }
