/* LyncLync - one-page site styles.
   Pure ASCII. All styling lives here: the Content-Security-Policy of this site
   forbids inline styles, so index.html carries no style attributes. */

:root {
  --ink: #152A3B;            /* Harbour Ink: headings, marks, dark bands */
  --teal: #167A6E;           /* Lync Teal: accent, buttons (5.2:1 on white) */
  --teal-deep: #0F5A51;      /* Lync Teal, deep: small text on tints (6.9:1 on Mist) */
  --teal-light: #5FC4B6;     /* Lync Teal, light: accent on Ink (7.0:1) */
  --mist: #E3F0ED;           /* tint for pills and soft panels */
  --paper: #FFFFFF;
  --fog: #F4F6F7;
  --line: #D5DBE0;
  --slate: #52606B;          /* secondary text (6.5:1 on white) */
  --graphite: #1E262C;       /* body text */
  --on-dark: #E9EFF2;
  --on-dark-muted: #B9C6CE;  /* 8.4:1 on Ink */
  --shadow: 0 1px 2px rgba(21, 42, 59, 0.05), 0 16px 40px -28px rgba(21, 42, 59, 0.45);
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1120px;
  --gutter: 20px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--graphite);
  background: var(--paper);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-deep); }
a:hover { color: var(--teal); }

svg { display: block; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

.band :focus-visible,
.site-footer :focus-visible { outline-color: var(--teal-light); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip-link:focus {
  top: 0;
  outline-color: var(--teal-light);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

/* Anchor targets stop clear of the header (sticky from 900px up). */
[id] { scroll-margin-top: 16px; }

@media (min-width: 900px) {
  .site-header { position: sticky; top: 0; }
  [id] { scroll-margin-top: 92px; }
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: 68px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 6px;
}

.brand .logo-svg {
  width: 133px;
  height: 36px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
}

.site-nav a {
  display: inline-block;
  padding: 6px 2px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover { border-bottom-color: var(--teal); color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, var(--fog) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 1.1rem + 3vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 20px;
}

.hero .lead {
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem);
  color: var(--slate);
  max-width: 54ch;
  margin-bottom: 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }

.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.hero-art {
  margin: 0;
  padding: 20px 20px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-art svg {
  width: 100%;
  height: auto;
}

.art-ink { stroke: var(--ink); }
.art-teal { stroke: var(--teal); }
.art-line { stroke: var(--line); }
.art-paper { fill: var(--paper); }
.art-mist { fill: var(--mist); }
.art-dot { fill: var(--teal); }
.art-board { fill: #F8FAFA; }

.art-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 0;
  margin-top: 12px;
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--slate);
  text-align: center;
}

.art-legend span { padding: 0 6px; }
.art-legend span + span { border-left: 1px solid var(--line); }

@media (max-width: 480px) {
  .art-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-legend span + span { border-left: 0; }
  .art-legend span:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ---------- sections ---------- */

.section { padding: 80px 0; }

.section-alt {
  background: var(--fog);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 66ch;
  margin-bottom: 40px;
}

.section h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin: 0 0 14px;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--slate);
}

/* what we do */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  padding: 28px 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--mist);
  color: var(--teal-deep);
}

.card-icon svg,
.icon svg { width: 24px; height: 24px; }

.card h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.card p { color: var(--graphite); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chips li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink);
  background: var(--fog);
}

.note {
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--mist);
  color: var(--graphite);
}

/* turnkey */

.lifecycle { margin-top: 56px; }

.lifecycle-title {
  font-size: 1.2rem;
  margin: 0 0 26px;
}

/* The six steps are an ordered list.  Each item draws its own numbered disc
   (::after, a CSS counter) and the line to the next item (::before); below
   960px the list runs down the page, from 960px up it is a row. */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
}

.step {
  position: relative;
  counter-increment: step;
  padding: 0 0 26px 58px;
}

.step:last-child { padding-bottom: 0; }

.step::after {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.step::before {
  content: "";
  position: absolute;
  top: 44px;
  bottom: 4px;
  left: 19px;
  width: 2px;
  background: var(--line);
}

.step:last-child::before { display: none; }

.step h4 {
  margin: 0 0 6px;
  padding-top: 8px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}

.step p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--slate);
}

@media (min-width: 960px) {
  .timeline {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0 18px;
  }
  .step { padding: 58px 0 0; }
  .step::before {
    top: 19px;
    right: -18px;
    bottom: auto;
    left: 40px;
    width: auto;
    height: 2px;
  }
  .step h4 {
    min-height: 2.6em;
    padding-top: 0;
  }
}

.proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
  padding: 22px 28px;
  background: var(--mist);
  border-radius: var(--radius-sm);
  text-align: center;
}

.proof .icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal-deep);
}

.proof .icon svg { width: 22px; height: 22px; }

.proof p {
  max-width: 64ch;
  font-size: 1.05rem;
  color: var(--graphite);
  text-wrap: balance;
}

.proof strong { color: var(--ink); }

.turnkey-close {
  max-width: 40ch;
  margin: 40px auto 0;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--ink);
  text-wrap: balance;
}

/* security band */

.band {
  padding: 80px 0;
  background: var(--ink);
  color: var(--on-dark);
}

.band .eyebrow { color: var(--teal-light); }
.band h2 { color: #fff; }
.band .section-lead { color: var(--on-dark-muted); }
.band a { color: var(--teal-light); }

.band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.band-item {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.band-item .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: var(--teal-light);
}

.band-item .icon svg { width: 28px; height: 28px; }

.band-item h3 {
  color: #fff;
  font-size: 1.12rem;
  margin: 0 0 8px;
}

.band-item p { color: var(--on-dark-muted); }

.band-statement {
  max-width: 44ch;
  margin: 44px 0 0;
  padding-left: 20px;
  border-left: 3px solid var(--teal-light);
  font-size: 1.3rem;
  line-height: 1.4;
  color: #fff;
}

/* principles */

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 44px;
}

.principle {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
}

.principle .icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--fog);
  border: 1px solid var(--line);
  color: var(--teal-deep);
}

.principle h3 {
  font-size: 1.12rem;
  margin: 8px 0 6px;
}

.principle p { color: var(--graphite); }

/* product */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--teal-deep);
  font-size: 0.85rem;
  font-weight: 600;
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.product-parts {
  display: grid;
  gap: 14px;
}

.part {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.part .icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--mist);
  color: var(--teal-deep);
}

.part h3 {
  font-size: 1.05rem;
  margin: 2px 0 4px;
}

.part p { color: var(--slate); font-size: 0.97rem; }

.invite {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--slate);
}

/* founder */

.founder {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}

.founder-role {
  font-size: 1.05rem;
  color: var(--slate);
  margin: 0 0 18px;
}

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--teal-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--teal-light);
  padding-bottom: 1px;
}

.founder-link:hover { color: var(--teal); border-bottom-color: var(--teal); }
.founder-link svg { width: 18px; height: 18px; }

.founder blockquote {
  margin: 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--teal);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
}

.attribution {
  margin-top: 14px;
  color: var(--slate);
  font-size: 0.95rem;
}

/* contact */

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-box h2 { margin-bottom: 10px; }
.contact-box p { color: var(--slate); max-width: 50ch; }

.contact-email {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-link {
  color: var(--teal-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--teal-light);
}

.contact-link:hover { color: var(--teal); border-bottom-color: var(--teal); }

.contact-legal {
  margin-top: 28px;
  text-align: center;
  color: var(--slate);
  font-size: 0.92rem;
}

/* footer */

.site-footer {
  padding: 40px 0;
  background: var(--ink);
  color: var(--on-dark-muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}

.footer-brand .logo-svg { width: 118px; height: 32px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer a {
  color: var(--teal-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer a:hover { border-bottom-color: var(--teal-light); color: var(--teal-light); }

.footer-legal {
  margin: 0;
  font-size: 0.92rem;
}

/* 404 */

.simple-page {
  padding: 96px 0;
  text-align: center;
}

.simple-page h1 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  margin: 0 0 14px;
}

.simple-page p { color: var(--slate); margin-bottom: 26px; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero { padding: 48px 0 44px; }
  .hero-grid,
  .product,
  .founder,
  .contact-box { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 32px; }
  .cards,
  .principles,
  .band-grid { grid-template-columns: minmax(0, 1fr); }
  .section,
  .band { padding: 60px 0; }
  .section-head { margin-bottom: 30px; }
  .contact-box { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .header-row { min-height: 60px; }
  .brand .logo-svg { width: 111px; height: 30px; }
  .site-nav { gap: 0 16px; font-size: 0.95rem; }
  .card { padding: 22px 20px; }
  .hero-art { padding: 14px 14px 10px; }
  .band-statement,
  .turnkey-close { font-size: 1.15rem; }
  .proof { padding: 20px 18px; }
  .founder blockquote { font-size: 1.08rem; }
  .contact-email { font-size: 1.15rem; }
  .actions .btn { flex: 1 1 auto; }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
