:root {
  --base: #F4F6F8;
  --surface: #FFFFFF;
  --ink: #13213A;
  --slate: #5B6B82;
  --line: #D9DFE7;
  --signal: #F2541B;
  --signal-deep: #C93F0E;
  --won: #0F7B6C;
  --tg: #E7EEF6;
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --measure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--signal-deep); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; color: #fff; }

/* Header */
.site-head { padding: 1.25rem 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: baseline; gap: .5rem; text-decoration: none; }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em; color: var(--ink); }
.brand-word span { color: var(--signal); }
.brand-sub { font-size: .8rem; color: var(--slate); letter-spacing: .02em; }
.head-nav { display: flex; gap: 1.5rem; align-items: center; font-size: .95rem; }
.head-nav a { text-decoration: none; }
.head-nav .quiet { color: var(--slate); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--body); padding: .95rem 1.35rem; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--signal-deep); border-color: var(--signal-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-small { padding: .6rem 1rem; font-size: .9rem; }

/* Hero */
.hero { padding: 3.5rem 0 5rem; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero h1 {
  font-family: var(--display); font-weight: 800; font-stretch: 90%;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: .98; letter-spacing: -.035em; margin: 0 0 1.5rem;
}
.hero h1 .strike { position: relative; white-space: nowrap; }
.hero .lede { font-size: 1.2rem; color: #2A3A55; max-width: 34ch; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-note { margin-top: 1.25rem; font-size: .9rem; color: var(--slate); }

/* The live alert — the one memorable element */
.phone {
  background: var(--ink); border-radius: 38px; padding: 14px; max-width: 360px; margin-inline: auto;
  box-shadow: 0 30px 60px -30px rgba(19, 33, 58, .55);
}
.phone-screen { background: var(--tg); border-radius: 28px; padding: 1rem .9rem 1.2rem; min-height: 470px; display: flex; flex-direction: column; gap: .7rem; }
.chat-top { display: flex; align-items: center; gap: .6rem; padding: .2rem .3rem .6rem; border-bottom: 1px solid #D3DDE9; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--signal); display: grid; place-items: center; color: #fff; font: 800 .9rem var(--display); }
.chat-name { font-weight: 600; font-size: .92rem; line-height: 1.2; }
.chat-name small { display: block; font-weight: 400; color: var(--slate); font-size: .75rem; }
.alert {
  background: var(--surface); border-radius: 16px 16px 16px 6px; padding: .85rem .95rem; font-size: .9rem; line-height: 1.5;
  opacity: 0; transform: translateY(14px);
  animation: arrive .5s cubic-bezier(.2, .8, .2, 1) .6s forwards;
}
.alert b { font-weight: 700; }
.alert .hot { color: var(--signal-deep); font-weight: 700; }
.alert .wa { color: var(--won); text-decoration: underline; }
.alert .meta { color: var(--slate); font-size: .8rem; }
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin-top: .6rem; }
.key { background: var(--tg); border-radius: 8px; text-align: center; padding: .45rem .3rem; font-size: .82rem; font-weight: 600; color: #2B5278; }
.key.won { animation: tap .4s ease 4.2s forwards; }
.reply {
  align-self: flex-start; background: var(--surface); border-radius: 16px 16px 16px 6px; padding: .6rem .85rem; font-size: .85rem;
  border-left: 3px solid var(--won); opacity: 0; transform: translateY(10px);
  animation: arrive .45s ease 4.6s forwards;
}
.timer { align-self: center; font-size: .78rem; color: var(--slate); background: rgba(255, 255, 255, .7); padding: .25rem .7rem; border-radius: 999px; opacity: 0; animation: arrive .4s ease 2.2s forwards; }
.timer strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.phone-caption { text-align: center; font-size: .8rem; color: var(--slate); margin-top: .9rem; }

@keyframes arrive { to { opacity: 1; transform: none; } }
@keyframes tap { 40% { transform: scale(.94); } 100% { background: var(--won); color: #fff; transform: none; } }

/* Sections */
section { padding: 5rem 0; }
.section-head { max-width: 44rem; margin-bottom: 2.75rem; }
h2 { font-family: var(--display); font-weight: 800; font-stretch: 92%; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 1rem; }
h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.015em; margin: 0 0 .4rem; line-height: 1.2; }
.section-head p { color: #2A3A55; margin: 0; font-size: 1.1rem; }

/* Lead journey — a real sequence, so it is numbered */
.journey { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); counter-reset: step; }
.journey li { position: relative; padding: 0 0 2.2rem 2.6rem; counter-increment: step; max-width: 46rem; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before {
  content: counter(step); position: absolute; left: -1.05rem; top: -.1rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--base); border: 2px solid var(--ink); display: grid; place-items: center; font: 700 .9rem var(--display);
}
.journey li.key-step::before { background: var(--signal); border-color: var(--signal); color: #fff; }
.journey p { margin: 0; color: #2A3A55; }
.journey .time { display: inline-block; margin-left: .4rem; font-size: .85rem; color: var(--signal-deep); font-weight: 600; }

/* Services */
.services { background: var(--ink); color: #E9EEF5; }
.services h2, .services h3 { color: #fff; }
.services .section-head p { color: #B9C4D4; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #2E3F5C; }
.service { padding: 1.75rem 1.75rem 1.9rem 0; border-bottom: 1px solid #2E3F5C; }
.service:not(:nth-child(3n + 1)) { padding-left: 1.75rem; border-left: 1px solid #2E3F5C; }
.service p { margin: 0; color: #B9C4D4; font-size: .98rem; }

/* Industries */
.fit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.fit-list { margin: 0; padding: 0; list-style: none; }
.fit-list li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.fit-list li:first-child { border-top: 1px solid var(--line); }
.fit-list strong { font-family: var(--display); font-size: 1.05rem; }
.fit-list span { color: #2A3A55; }

/* Weekly report sample */
.report { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem 1.6rem; font-size: .95rem; line-height: 1.75; max-width: 30rem; }
.report .r-title { font-weight: 700; }
.report .up { color: var(--won); font-weight: 600; }
.report .tip { margin-top: .6rem; padding-top: .6rem; border-top: 1px dashed var(--line); color: #2A3A55; }

/* FAQ */
.faq-list { max-width: 48rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--signal); }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { margin: 0 0 1.2rem; color: #2A3A55; max-width: 60ch; }

/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; }
.contact-points { margin: 1.5rem 0 0; padding: 0; list-style: none; color: #2A3A55; }
.contact-points li { padding: .45rem 0; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .92rem; }
label .opt { font-weight: 400; color: var(--slate); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--base); border: 1.5px solid var(--line);
  border-radius: 10px; padding: .75rem .85rem; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(242, 84, 27, .25); }
textarea { min-height: 7rem; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-foot small { color: var(--slate); max-width: 36ch; }
.form-status { grid-column: 1 / -1; border-radius: 10px; padding: .9rem 1rem; display: none; }
.form-status.ok { display: block; background: #E3F3F0; color: #0B5A4F; }
.form-status.err { display: block; background: #FDECE6; color: #8E2C09; }
.field-error { color: #8E2C09; font-size: .85rem; min-height: 1.1em; }

/* Footer */
.site-foot { padding: 2.5rem 0 3rem; font-size: .9rem; color: var(--slate); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-foot nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-foot a { color: var(--slate); }

/* Legal pages */
.legal { padding: 2rem 0 5rem; }
.legal article { max-width: var(--measure); }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 3.2rem); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 .5rem; }
.legal .updated { color: var(--slate); margin: 0 0 2.5rem; }
.legal h2 { font-size: 1.45rem; margin: 2.5rem 0 .75rem; }
.legal p, .legal li { color: #24344E; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin: .35rem 0; }
.legal .callout { background: var(--surface); border-left: 4px solid var(--signal); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; }

/* 404 */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: left; }
.lost h1 { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.03em; margin: 0 0 1rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .fit, .contact .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .service:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid #2E3F5C; }
  .head-nav .quiet { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  section { padding: 3.5rem 0; }
  .hero { padding: 1.5rem 0 3.5rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service:nth-child(even) { padding-left: 0; border-left: 0; }
  .fit-list li { grid-template-columns: 1fr; gap: .2rem; }
  form { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .alert, .reply, .timer { animation: none; opacity: 1; transform: none; }
  .key.won { animation: none; background: var(--won); color: #fff; }
}
