/* Schedloop marketing site — shared stylesheet (landing + privacy).
   Design tokens as CSS variables; components below. No inline style attributes in the HTML. */

:root {
  --text-primary: #172B4D;
  --text-body: #42526E;
  --text-secondary: #44546F;
  --text-subtle: #626F86;
  --text-muted: #7A869A;
  --border: #DFE1E6;
  --divider: #F1F2F4;
  --surface: #F7F8F9;
  --white: #FFFFFF;
  --accent: #0C66E4;
  --accent-hover: #0055CC;
  --accent-tint-bg: #F0F6FF;
  --accent-tint-border: #C1D8F5;
  --navy: #091E42;
  --navy-border: #22355C;
  --navy-body: #B6C2CF;
  --navy-muted: #8C9BAB;
  --pad: 40px;           /* horizontal container padding; drops to 20px on mobile */
  --sans: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text-primary);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--divider);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
  color: var(--text-primary);
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

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

/* ---------- containers ---------- */
.wrap-1240 { max-width: 1240px; margin: 0 auto; }
.wrap-1120 { max-width: 1120px; margin: 0 auto; }
.wrap-900  { max-width: 900px;  margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; text-decoration: none; font-weight: 600;
  border: 1px solid transparent; font-family: inherit; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn--primary { height: 48px; padding: 0 24px; background: var(--accent); color: #fff; font-size: 16px; font-weight: 700; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--secondary { height: 48px; padding: 0 20px; background: #fff; border-color: var(--border); color: var(--text-primary); font-size: 16px; }
.btn--secondary:hover { background: var(--surface); color: var(--text-primary); }
.btn--sm { height: 36px; padding: 0 16px; background: var(--accent); color: #fff; font-size: 14px; }
.btn--sm:hover { background: var(--accent-hover); color: #fff; }
.btn--sec44 { height: 44px; padding: 0 18px; background: #fff; border-color: var(--border); color: var(--text-primary); font-size: 15px; }
.btn--sec44:hover { background: var(--surface); color: var(--text-primary); }
.btn--white { height: 50px; padding: 0 26px; background: #fff; color: var(--navy); font-size: 16px; font-weight: 700; flex: none; }
.btn--white:hover { background: #DFE1E6; color: var(--navy); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--pad);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text-primary); }
.brand:hover { text-decoration: none; color: var(--text-primary); }
.brand__mark { width: 26px; height: 26px; display: block; }
.brand__name { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.brand__sep { font-size: 13px; font-weight: 500; color: var(--text-subtle); padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.header-back { font-size: 14px; font-weight: 600; color: var(--text-secondary); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr);
  gap: 56px; align-items: center; padding: 88px var(--pad) 72px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 3px; background: var(--surface);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-secondary);
}
.hero__title { margin: 20px 0 0; font-size: 58px; line-height: 1.04; letter-spacing: -0.028em; font-weight: 800; text-wrap: balance; }
.hero__sub { margin: 22px 0 0; font-size: 20px; line-height: 1.55; color: var(--text-secondary); max-width: 37ch; text-wrap: pretty; }
.hero__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 26px; }
.roa-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px 7px 10px; border: 1px solid var(--accent-tint-border); border-radius: 4px; background: var(--accent-tint-bg); }
.roa-badge__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); display: inline-block; flex: none; }
.roa-badge__strong { font-size: 13px; font-weight: 700; color: var(--accent-hover); letter-spacing: -0.005em; }
.roa-badge__note { font-size: 13px; color: var(--text-secondary); }
.free-note { font-size: 13px; color: var(--text-subtle); }
.hero__media { min-width: 0; }
.frame { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); padding: 8px; box-shadow: 0 12px 32px -12px rgba(9,30,66,0.22); }
.frame__bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px 10px; }
.frame__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); display: inline-block; }
.frame__label { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--text-muted); }
.frame__zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 5px; }
.frame__img { width: 100%; height: auto; aspect-ratio: 684 / 730; object-fit: cover; border-radius: 5px; display: block; }
.frame__caption { margin: 12px 2px 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: var(--text-muted); }
.frame__hint { font-family: var(--sans); }

/* lightbox (click hero screenshot to enlarge) */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(9,30,66,0.82); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92vw; max-height: 92vh; border-radius: 8px; background: #fff; box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6); }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border-radius: 8px; border: 0; background: rgba(255,255,255,0.16); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.lightbox__close:hover { background: rgba(255,255,255,0.28); }

/* ---------- differentiators ---------- */
.diff-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.diff-grid {
  padding: 64px var(--pad);
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
}
.diff-cell { background: #fff; padding: 28px 24px 30px; }
.diff-cell__num { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 500; }
.diff-cell__title { margin: 12px 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.diff-cell__body { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); }
.mono-inline { font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--text-primary); }

/* ---------- compare ---------- */
.compare { padding: 88px var(--pad) 80px; }
.compare__grid { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: 56px; align-items: start; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.compare__title { margin: 14px 0 0; font-size: 36px; line-height: 1.15; letter-spacing: -0.022em; font-weight: 800; text-wrap: balance; }
.compare__title em { font-style: italic; }
.compare__lead { margin: 18px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--text-secondary); max-width: 40ch; text-wrap: pretty; }
.table-wrap { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp-table thead tr { background: var(--surface); }
.cmp-table th { padding: 14px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-subtle); border-bottom: 1px solid var(--border); text-align: center; }
.cmp-table th.col-cap { text-align: left; padding: 14px 18px; }
.cmp-table th.col-auto { width: 150px; }
.cmp-table th.col-sl { width: 130px; color: var(--accent-hover); background: var(--accent-tint-bg); }
.cmp-table td { border-bottom: 1px solid var(--divider); }
.cmp-table td.cell-cap { padding: 15px 18px; color: var(--text-primary); font-weight: 500; }
.cmp-table td.cell-auto { padding: 15px 14px; text-align: center; color: var(--text-muted); font-size: 14px; }
.cmp-table td.cell-sl { padding: 15px 14px; text-align: center; background: var(--accent-tint-bg); color: var(--accent-hover); font-weight: 700; font-size: 14px; }

/* ---------- use cases ---------- */
.usecases { border-top: 1px solid var(--border); background: var(--surface); }
.usecases__inner { padding: 76px var(--pad); }
.usecases__title { margin: 0; font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; }
.usecases__sub { margin: 12px 0 0; font-size: 16.5px; color: var(--text-secondary); }
.uc-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 34px; }
.uc-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 26px 24px; }
.uc-card__title { margin: 0; font-size: 17px; font-weight: 700; }
.uc-card__body { margin: 10px 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); }
.uc-card__body em { font-style: normal; font-weight: 600; }
.uc-rule { font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--text-secondary); background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 10px 12px; }

/* ---------- security ---------- */
.security { padding: 84px var(--pad) 76px; }
.security__grid { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 56px; align-items: start; }
.security__title { margin: 14px 0 0; font-size: 34px; line-height: 1.15; letter-spacing: -0.022em; font-weight: 800; text-wrap: balance; }
.security__lead { margin: 18px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--text-secondary); max-width: 42ch; text-wrap: pretty; }
.security__lead strong { font-weight: 700; color: var(--text-primary); }
.security__cta { margin-top: 26px; }
.sec-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.sec-row { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--divider); background: #fff; }
.sec-row__k { font-size: 13px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-subtle); }
.sec-row__v { font-size: 15px; line-height: 1.55; color: var(--text-primary); }
.sec-scopes { padding: 16px 20px; background: var(--surface); }
.sec-scopes code, .sec-scopes__mono { font-family: var(--mono); font-size: 12.5px; line-height: 1.8; color: var(--text-secondary); background: none; border: 0; padding: 0; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--border); background: var(--surface); }
.faq__inner { padding: 76px var(--pad) 84px; }
.faq__title { margin: 0 0 30px; font-size: 30px; letter-spacing: -0.02em; font-weight: 800; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 22px 26px; }
.faq-card__q { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.005em; }
.faq-card__a { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); text-wrap: pretty; }

/* ---------- CTA + footer (navy) ---------- */
.cta-band { background: var(--navy); color: #fff; }
.cta-band__inner { padding: 72px var(--pad); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band__title { margin: 0; font-size: 32px; line-height: 1.2; letter-spacing: -0.022em; font-weight: 800; color: #fff; }
.cta-band__sub { margin: 12px 0 0; font-size: 16.5px; color: var(--navy-body); }
.footer-divider { border-top: 1px solid var(--navy-border); }
.footer-row { padding: 24px var(--pad); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--navy-muted); }
.footer-links { display: flex; align-items: center; gap: 22px; }
.footer-links a { color: var(--navy-body); font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-band { background: var(--navy); color: var(--navy-muted); }
.footer-band a { color: var(--navy-body); font-weight: 600; }
.footer-band a:hover { color: #fff; }

/* ---------- privacy ---------- */
.legal-head { padding: 64px var(--pad) 24px; }
.privacy-title { margin: 18px 0 0; font-size: 44px; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; }
.privacy-updated { margin: 12px 0 0; font-family: var(--mono); font-size: 13px; color: var(--text-muted); }
.privacy-layout { padding: 0 var(--pad) 96px; display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 56px; align-items: start; }
.privacy-article { min-width: 0; font-size: 16.5px; line-height: 1.7; color: var(--text-body); }
.privacy-article p { margin: 0 0 36px; }
.privacy-article p.mb-22 { margin: 0 0 22px; }
.privacy-article p.mb-14 { margin: 0 0 14px; }
.privacy-article p.mb-40 { margin: 0 0 40px; }
.privacy-article h2 { margin: 0 0 12px; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; color: var(--text-primary); }
.privacy-article ul { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.privacy-article strong { font-weight: 700; }
.summary-callout { border: 1px solid var(--accent-tint-border); background: var(--accent-tint-bg); border-radius: 6px; padding: 22px 24px; margin: 0 0 34px; }
.summary-callout__head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.summary-callout__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); display: inline-block; flex: none; }
.summary-callout__label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-hover); }
.summary-callout__body { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--text-primary); }
.toc { position: sticky; top: 96px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); padding: 20px; }
.toc__label { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 14px; }
.toc__nav { display: flex; flex-direction: column; gap: 11px; }
.toc__nav a { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.toc__mono { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 11.5px; line-height: 1.7; color: var(--text-muted); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .compare__grid { grid-template-columns: 1fr; gap: 40px; }
  .security__grid { grid-template-columns: 1fr; gap: 40px; }
  .uc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .privacy-layout { display: flex; flex-direction: column; }
  .toc { position: static; order: -1; }
}

@media (max-width: 768px) {
  :root { --pad: 20px; }
  .nav__links { display: none; }
  .diff-grid { grid-template-columns: 1fr; }
  .uc-grid { grid-template-columns: 1fr; }
  .table-wrap { overflow-x: auto; }
  .hero__title { font-size: 38px; }
  .compare__title, .security__title, .usecases__title, .faq__title, .cta-band__title { font-size: 26px; }
  .privacy-title { font-size: 32px; }
}
