/* SendNotification Prof — public site. Same identity as the CRM (orange mark, Manrope); no scripts, no external assets. */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #1a1f2b;
  --ink-2: #4a5262;
  --paper: #ffffff;
  --mist: #f3f5f8;
  --line: #e2e6ec;
  --brand: #ea580c;
  --brand-fill: #c2410c;     /* 5.2:1 with white: buttons */
  --brand-text: #b23c0a;     /* orange text on white / mist */
  --brand-soft: #fff1e8;
  --night: #1b2130;
  --night-2: #262d3e;
  --night-text: #c9cfdb;
  --ok: #15803d;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 18px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "tnum" 0;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-s); }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-m); border: 1px solid var(--brand-fill);
  background: var(--brand-fill); color: #fff;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #a5370a; border-color: #a5370a; text-decoration: none; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { background: var(--mist); border-color: #cfd5de; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.02em; }
.brand-prof { color: var(--brand-text); }
.nav a:not(.btn) { color: var(--ink-2); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav-wide { display: flex; align-items: center; gap: 26px; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }

@media (max-width: 959px) {
  /* not sticky on phones: the menu has no script to close itself, so after a tap it scrolls away with the header */
  .site-header { position: relative; }
  html { scroll-padding-top: 16px; }
  .nav-wide { display: none; }
  .menu { display: block; }
  .menu summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-m); font-weight: 700; font-size: .9375rem; }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -5px; }
  .menu-bars::after { top: 5px; }
  .menu nav { display: none; }
  .menu[open] nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 68px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; box-shadow: 0 18px 30px -24px rgba(26,31,43,.4);
  }
  .menu[open] nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .menu[open] nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 104px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.hero h1 { font-size: clamp(2.15rem, 5.6vw, 4.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; max-width: 15ch; }
.lead { margin-top: 22px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 54ch; }
.hero .actions { margin-top: 32px; }

/* The conversation: the page's one bold element */
.thread { margin: 0; position: relative; }
.thread-list {
  list-style: none; margin: 0; padding: 22px 18px 24px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-l);
  position: relative;
}
/* the rail that connects payment to delivery: from this dot's centre to the next one's */
.event-paid::after {
  content: ""; position: absolute; left: 17px; top: 50%; width: 2px; height: calc(100% + 10px);
  background: linear-gradient(var(--brand), var(--ok));
}
.msg { max-width: 84%; padding: 10px 14px 8px; border-radius: 16px; font-size: .96875rem; line-height: 1.45; position: relative; }
.msg p { margin: 0 0 2px; }
.msg-in { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg-out { align-self: flex-end; background: var(--brand-soft); border: 1px solid #fbd6bd; border-bottom-right-radius: 5px; }
.msg-time { display: block; text-align: right; font-size: .75rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.offer { display: flex; justify-content: space-between; gap: 16px; margin: 8px 0 4px; padding: 10px 12px; background: var(--paper); border-radius: var(--radius-m); border: 1px solid #fbd6bd; font-weight: 700; }
.offer-price { color: var(--brand-text); font-variant-numeric: tabular-nums; }
.event { position: relative; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; padding: 6px 4px; font-size: .9375rem; color: var(--ink-2); }
.event strong { color: var(--ink); font-weight: 700; }
.event-dot { width: 12px; height: 12px; border-radius: 50%; justify-self: center; background: var(--paper); border: 3px solid var(--brand); position: relative; z-index: 1; }
.event-sent .event-dot { border-color: var(--ok); background: var(--ok); }
.event .msg-time { text-align: right; }
.thread figcaption { margin-top: 12px; font-size: .8125rem; color: var(--ink-2); }

@media (prefers-reduced-motion: no-preference) {
  .thread-list > li { animation: arrive .45s cubic-bezier(.2,.7,.2,1) both; }
  .thread-list > li:nth-child(2) { animation-delay: .35s; }
  .thread-list > li:nth-child(3) { animation-delay: .8s; }
  .thread-list > li:nth-child(4) { animation-delay: 1.1s; }
  .thread-list > li:nth-child(5) { animation-delay: 1.5s; }
  @keyframes arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-night { background: var(--night); color: #fff; }
.section h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 72px; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .split-head { position: sticky; top: 108px; align-self: start; }
}
.split-head p { margin-top: 16px; color: var(--ink-2); max-width: 42ch; }
.section-night .split-head p { color: var(--night-text); }

/* Features: a ruled list, not cards */
.features { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.features li { padding: 24px 0 24px 40px; border-bottom: 1px solid var(--line); position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 28px; width: 22px; height: 22px; background: url("/assets/mark.svg") center / contain no-repeat; }
.features h3 { font-size: 1.1875rem; font-weight: 750; }
.features p { margin-top: 8px; color: var(--ink-2); max-width: 62ch; }
.feature-soon::before { filter: grayscale(1); opacity: .45; }
.tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-size: .75rem; font-weight: 700; letter-spacing: 0; color: var(--ink-2); vertical-align: 3px; }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); display: block; font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--brand); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.125rem; font-weight: 750; }
.steps p { margin-top: 8px; color: var(--ink-2); }

/* Commitments on the dark band */
.commitments { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
@media (min-width: 720px) { .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.commitments li { padding: 22px 0; border-top: 1px solid var(--night-2); }
.commitments h3 { font-size: 1.0625rem; font-weight: 750; color: #fff; }
.commitments p { margin-top: 8px; color: var(--night-text); }
.link-light { color: #ffb68a; font-weight: 700; }
.split-head .link-light { display: inline-block; margin-top: 20px; }

/* Facts (company, contact) */
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .facts > div { grid-template-columns: 220px 1fr; } }
.facts dt { font-weight: 700; color: var(--ink-2); font-size: .9375rem; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* Pending data: visible in preview, blocked by `site:check --release` */
.pending { display: inline; padding: 1px 6px; border-radius: 4px; background: #fff4cc; color: #6b4e00; border: 1px dashed #c9a227; font-weight: 600; font-size: .9em; }
.section-night .pending { color: #6b4e00; }
.draft-banner { background: #fff4cc; border-bottom: 1px solid #e6c65c; color: #4d3800; }
.draft-banner p { padding: 12px 0; font-size: .9375rem; font-weight: 600; }

/* Legal documents */
.doc { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.doc h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -0.035em; }
.doc-meta { margin-top: 10px; color: var(--ink-2); font-size: .9375rem; }
.doc h2 { margin-top: 44px; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; }
.doc h3 { margin-top: 24px; font-size: 1.0625rem; font-weight: 750; }
.doc p, .doc ul, .doc ol { margin-top: 14px; max-width: 70ch; }
.doc li { margin-top: 8px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.toc { margin-top: 32px; padding: 20px 22px; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-m); }
.toc h2 { margin: 0; font-size: 1rem; }
.toc ol { margin-top: 10px; columns: 2 240px; column-gap: 32px; }
.toc li { margin-top: 2px; break-inside: avoid; }
.toc a { display: inline-block; padding: 4px 0; }

.notfound { text-align: left; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.035em; }
.notfound p { margin: 16px 0 28px; color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 0; font-size: .9375rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 4fr 2fr 2fr 4fr; } }
.footer-brand p { margin-top: 12px; color: var(--ink-2); max-width: 36ch; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.site-footer h2 { font-size: .9375rem; font-weight: 800; letter-spacing: 0; color: var(--ink); margin-bottom: 4px; }
.footer-links a { color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal p { margin-top: 10px; color: var(--ink-2); line-height: 1.7; overflow-wrap: anywhere; }
.footer-base { margin-top: 44px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .875rem; }
/* contact links stand alone (not inside a sentence): give them a full-size tap target */
.facts dd a, .footer-legal a { display: inline-block; padding: 4px 0; }
