/* The company website - one stylesheet, no scripts or requests of its own (company-site/README.md). A template:
   build.py fills the brand_* colours from product_identity.json - the LivingRoom brand guide's (brand/README.md,
   FU-2055) - and checks the text colour pairs for WCAG AA (4.5:1) in the light and the dark scheme. Primary buttons:
   the brand teal with the computed text (navy), hover the dark teal with navy. Links on light backgrounds: the
   accent. On the navy header and hero: white, the guide's gray for the secondary text (never text on a light
   background), the teal. Headings, the hero and the wordmark: Poppins (500 / 600 / 700) from fonts/ (copied by the
   build from brand/fonts/poppins/, with its OFL); body text the system font. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root {
  --bg: #FFFFFF;
  --bg-soft: #f4f6f9;
  --text: #0E1D33;
  --text-soft: #4d5868;
  --line: #d9dfe7;
  --accent: #0F7D6D;
  --accent-hover: #0D6A5D;
  --button: #1CC4A8;
  --button-text: #0E1D33;
  --button-hover: #089E8F;
  --button-hover-text: #0E1D33;
  --navy: #0E1D33;
  --navy-raised: #1a2c47;
  --on-navy: #FFFFFF;
  --on-navy-soft: #A8ACB2;
  --on-navy-accent: #1CC4A8;
  --teal: #1CC4A8;
  --teal-dark: #089E8F;
  --wrap: 1040px;
  --radius: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1D33;
    --bg-soft: #142640;
    --text: #FFFFFF;
    --text-soft: #A8ACB2;
    --line: #2b4365;
    --accent: #1CC4A8;
    --accent-hover: #1CC4A8;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; overflow-wrap: break-word; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 1.4em 0 0.5em; overflow-wrap: break-word; }
/* the brand guide's typeface: Poppins for headlines, page titles, the hero and the wordmark (500 / 600 / 700 only) */
h1, h2, h3 { font-family: var(--font-heading); }
h1 { font-weight: 700; }
h2, h3 { font-weight: 600; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
p, ul, dl { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow > * { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--bg); color: var(--accent); padding: 6px 10px; z-index: 10; }
.small { font-size: 0.9rem; }
.muted { color: var(--text-soft); }
.lead { font-size: 1.2rem; }

/* the text wordmark (no logo of its own); the name and the suffix each stay on one line, the suffix may wrap below */
.wordmark { font-family: var(--font-heading); text-decoration: none; color: var(--text); line-height: 1.1; }
.wm-name, .wm-suffix { white-space: nowrap; }
.wm-name { font-weight: 700; letter-spacing: -0.01em; }
.wm-suffix { font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72em; color: var(--accent); }
.site-header { background: var(--navy); border-bottom: 1px solid var(--navy-raised); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; }
.site-header .wordmark { font-size: 1.25rem; color: var(--on-navy); }
.site-header .wm-suffix { color: var(--on-navy-accent); }
.site-header nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
.site-header nav a { color: var(--on-navy-soft); text-decoration: none; font-weight: 500; }
.site-header nav a:hover { color: var(--on-navy); text-decoration: underline; text-underline-offset: 6px; }
.site-header :focus-visible { outline-color: var(--on-navy-accent); }

/* hero: the brand navy, the logo's gradient (teal -> dark teal) as a bar */
.hero { background: var(--navy); color: var(--on-navy); position: relative; }
.hero .wrap { padding-top: 56px; padding-bottom: 72px; }
.hero h1 { margin-top: 0; max-width: 20ch; font-size: 2.8rem; }
.hero .lead { font-family: var(--font-heading); font-weight: 500; color: var(--on-navy-soft); max-width: 56ch; }
.hero-bar { height: 8px; background: linear-gradient(90deg, var(--teal), var(--teal-dark)); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
/* a primary button is an action: the brand teal with navy text, hover the dark teal with navy text (white is 3.3:1
   there, below the 4.5:1 its normal-size text needs); the hero's second button is a ghost on the navy */
.button { display: inline-block; background: var(--button); color: var(--button-text); border: 1px solid var(--button); border-radius: 8px; padding: 0.6em 1.2em; font-weight: 600; text-decoration: none; }
.button:hover { background: var(--button-hover); color: var(--button-hover-text); border-color: var(--button-hover); }
.hero .button.ghost { background: transparent; color: var(--on-navy); border-color: var(--on-navy-soft); }
.hero .button.ghost:hover { background: var(--navy-raised); color: var(--on-navy); border-color: var(--on-navy); }

.section { padding: 56px 0 40px; }
.section h2:first-child, .section h1:first-child { margin-top: 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6em; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.product-logo { display: inline-block; margin-bottom: 1em; line-height: 0; }
.product-logo img { display: block; height: 44px; width: auto; max-width: none; }   /* never squeezed */
.card.more { border-style: dashed; color: var(--text-soft); }
#about .wrap { display: flow-root; }
.founder { float: right; width: min(220px, 40%); margin: 0 0 1em 1.6em; }      /* the founder's photo (website/site.json) */
.founder img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.founder figcaption { font-size: 0.9rem; color: var(--text-soft); margin-top: 0.5em; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.45em 1.6em; }
.facts dt { color: var(--text-soft); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--text-soft); font-size: 0.92rem; margin-top: 32px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 24px; }
.footer-inner p { margin: 0; }
.footer-inner ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.site-footer a { color: var(--text-soft); }
.footer-inner .fineprint { flex-basis: 100%; }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero .wrap { padding-top: 44px; padding-bottom: 44px; }
  .hero h1 { font-size: 2rem; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0 0; }
  .facts dd { margin-bottom: 0.7em; }
  .founder { float: none; width: min(240px, 100%); margin: 0 0 1em; }
}
