/* Cermes marketing site.
   Light, document-like. One accent (brand green) used only for Ana's lines, outcomes and links.
   Radius: 8px for boxes, 6px for buttons. 1px hairlines instead of shadows. */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 200 800; font-display: swap;
  src: url("fonts/PlusJakartaSans-latin-ext.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: "Plus Jakarta Sans"; font-weight: 200 800; font-display: swap;
  src: url("fonts/PlusJakartaSans-latin.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; }

:root {
  --bg: #fbfbfa;
  --paper: #ffffff;
  --ink: #161817;
  --muted: #676c69;
  --line: #e5e6e3;
  --accent: #127a45;
  --accent-bg: #edf3ec;
  --r: 8px;
  --wrap: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Lenis handles smooth scrolling; native smooth scroll is the fallback without it. */
html:not(.lenis) { scroll-behavior: smooth; }
[id] { scroll-margin-top: 5rem; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
svg { display: block; }
a { color: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(18, 122, 69, .15); }
p, dd, li { text-wrap: pretty; }
p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.01em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow > * { max-width: 860px; }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 56ch; margin-top: .8rem; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; padding: .6rem 1rem; background: var(--ink); color: #fff; border-radius: 6px; }
.skip:focus { top: .8rem; }

/* Buttons and links */
.btn {
  display: inline-block; padding: .55rem 1rem; border-radius: 6px; background: var(--ink); color: #fff;
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: #333735; }
.btn:active { transform: scale(.98); }
.btn-lg { padding: .85rem 1.4rem; font-size: 1rem; }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px #c9cbc7; }
.btn-outline:hover { background: #f0f0ee; }
.hint { margin-top: .9rem; font-size: .88rem; color: var(--muted); }
.link { color: var(--accent); font-weight: 600; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 2rem; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top-in { display: flex; align-items: center; gap: 2rem; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; text-decoration: none; }
.brand .ic { color: var(--accent); }
.top nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .94rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.lang { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--muted); padding: .3rem .55rem; border: 1px solid var(--line); border-radius: 6px; }
.lang:hover { color: var(--ink); border-color: #c9cbc7; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 15ch; }

/* References: logo strip under the hero */
.refs { border-bottom: 1px solid var(--line); }
.refs-in { padding-block: 1.8rem; }
.refs ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.refs img { height: 34px; width: auto; }

/* Transcript document */
.doc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); font-size: .96rem; }
.doc-head { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.3rem; border-bottom: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.doc ol { list-style: none; padding: .6rem 1.3rem 1rem; }
.doc li { display: grid; grid-template-columns: 2.6rem 4.4rem 1fr; gap: .4rem; padding: .45rem 0; }
.doc time { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; padding-top: .12rem; }
.doc b { font-weight: 600; font-size: .86rem; padding-top: .05rem; }
.doc li.ai b { color: var(--accent); }
.doc li.note p { color: var(--muted); font-style: italic; font-size: .9rem; }
.transcript figcaption, .records figcaption { margin-top: .7rem; font-size: .82rem; color: var(--muted); }
.js .doc li { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .doc.is-shown li { opacity: 1; transform: none; transition-delay: calc(var(--n) * .55s); }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; border-bottom: 1px solid var(--line); }
.section > .wrap > h2 + .jobs, .section > .wrap > h2 + .faq { margin-top: 2rem; }

/* Voice samples: plays like a voice message, the waveform fills as it speaks */
.voices { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: .8rem; max-width: 860px; }
.voice { display: grid; grid-template-columns: auto 10rem 1fr 3rem; align-items: center; gap: 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1.2rem; }
.voice audio { grid-column: 1 / -1; width: 100%; }
.js .voice audio { display: none; }
.voice-btn { width: 44px; height: 44px; border: 0; border-radius: 6px; background: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s var(--ease), transform .2s var(--ease); }
.voice-btn:hover { background: #333735; }
.voice-btn:active { transform: scale(.96); }
.voice-btn span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.voice.playing .voice-btn span { width: 12px; height: 14px; border: 0; margin: 0; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.voice-meta b { display: block; font-weight: 600; }
.voice-meta span { color: var(--muted); font-size: .9rem; }
.wave { width: 100%; height: 40px; cursor: pointer; }
.voice-time { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; text-align: right; }

/* What it does: one large, two small */
.jobs { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.job { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; }
.job p { color: var(--muted); margin-top: .5rem; }
.job-main { grid-row: span 2; background: var(--accent-bg); border-color: #d9e6d8; }
.job-main p { color: #3f4a43; }
.job-main ul { list-style: none; padding: 0; margin-top: 1.4rem; border-top: 1px solid #d3e1d1; }
.job-main li { padding: .7rem 0; border-bottom: 1px solid #d3e1d1; font-weight: 500; }

/* Who it is for: a table */
.uses { width: 100%; border-collapse: collapse; margin-top: 2rem; text-align: left; }
.uses th, .uses td { padding: 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.uses thead th { font-size: .8rem; font-weight: 600; color: var(--muted); padding-top: 0; }
.uses tbody th { width: 34%; font-weight: 600; padding-right: 1.5rem; }
.uses td { color: #3b403d; }
.aside { margin-top: 1.4rem; color: var(--muted); }

/* After the call */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.plain { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; gap: .9rem; }
.plain li { color: var(--muted); }
.plain b { color: var(--ink); font-weight: 600; }
.records table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .92rem; }
.records th, .records td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.records tr:last-child td { border-bottom: 0; }
.records th { font-size: .78rem; font-weight: 600; color: var(--muted); background: #f6f6f4; }
.records td { font-variant-numeric: tabular-nums; }
.tag { display: inline-block; padding: .15rem .55rem; border-radius: 4px; background: #f0f0ee; font-size: .82rem; font-weight: 500; color: #4a4f4c; }
.tag.ok { background: var(--accent-bg); color: var(--accent); }

/* Steps */
.steps { list-style: none; padding: 0; margin-top: 2.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(s); display: block; font-size: .85rem; font-weight: 700; color: var(--accent); margin-bottom: .4rem; }
.steps p { color: var(--muted); margin-top: .35rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.faq div { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.faq dt { font-weight: 600; margin-bottom: .3rem; }
.faq dd { color: var(--muted); }

/* Contact */
.contact { border-bottom: 0; }
.contact h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 18ch; }
.contact-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.reach { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.8rem; }
.reach h3 { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: .4rem; }
.reach p { margin-bottom: 1.4rem; font-size: 1.05rem; }
.phones { list-style: none; padding: 0; }
.phones li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.phones span { color: var(--muted); }
.phones a { font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phones a:hover { color: var(--accent); }

footer { border-top: 1px solid var(--line); padding: 1.6rem 0 2.4rem; font-size: .9rem; color: var(--muted); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.foot .brand { color: var(--ink); font-size: 1rem; }
.company { display: grid; gap: .15rem; text-align: right; }

/* Narrow screens */
@media (max-width: 960px) {
  .hero-in, .split, .contact-in { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .top .lang { margin-left: auto; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .jobs, .steps, .faq { grid-template-columns: 1fr; }
  .company { text-align: left; }
  .job-main { grid-row: auto; }
  .steps { gap: 1.6rem; }
  .doc li { grid-template-columns: 2.4rem 1fr; }
  .doc li b { grid-column: 2; }
  .doc li p { grid-column: 2; }
  .doc li.note b { display: none; }
  .uses thead { display: none; }
  .uses tr { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .uses th, .uses td { display: block; width: auto; padding: 0; border: 0; }
  .uses tbody th { width: auto; margin-bottom: .2rem; }
  .records { overflow-x: auto; }
  .voice { grid-template-columns: auto 1fr auto; gap: .8rem 1rem; }
  .voice .wave { grid-column: 1 / -1; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  .voice-btn { transition: none; }
  .js .doc li { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
