/* exforms.eu — one stylesheet for the three pages. Brand tokens from brand-pack/tokens/brand.css.
   Fonts are served from this site (IBM Plex, SIL OFL), so a visit sends nothing to a third party. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/ibm-plex-sans.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/ibm-plex-mono-500.woff2") format("woff2"); }

:root {
  --blue: #016de3; --blue-deep: #0a4fa3;
  --bg: #ffffff; --surface: #f4f6fa; --tint: #e8f1fc; --text: #1a2333; --head: #0f172a;
  --muted: #5b6b80; --rule: #d9e1ec; --link: #006fc4; --eyebrow: #0a4fa3;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220; --surface: #121b2e; --tint: #14243f; --text: #e6edf7; --head: #f2f6fc;
    --muted: #9fb0c6; --rule: #253352; --link: #7fb8ff; --eyebrow: #7fb8ff; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1220; --surface: #121b2e; --tint: #14243f; --text: #e6edf7; --head: #f2f6fc;
  --muted: #9fb0c6; --rule: #253352; --link: #7fb8ff; --eyebrow: #7fb8ff; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px;
       line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-underline-offset: 2px; }
h1, h2, h3 { margin: 0; color: var(--head); line-height: 1.2; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: -.015em; }
h2 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -.01em; }
h3 { font-size: 18px; }
p { margin: 0; max-width: 66ch; }
p + p { margin-top: .75em; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px 12px; z-index: 10; }

/* Header: the blue band carries the reversed lockup, as on the brochure's cover. */
.band { background: var(--blue); }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.band .logo img { height: 40px; width: auto; }
.band nav { display: flex; gap: 20px; font-size: 15px; font-weight: 500; }
.band nav a { color: #ffffff; text-decoration: none; }
.band nav a:hover, .band nav a:focus-visible { text-decoration: underline; }
.band nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* Home: the opening, on a pale wash that runs into the blue band. */
.hero-bg { background: linear-gradient(180deg, var(--tint) 0%, var(--bg) 100%); }
.hero { padding-block: 48px 40px; display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero { grid-template-columns: 1fr 1.15fr; padding-block: 72px 56px; } }
.hero-text { display: grid; gap: 20px; }
.hero .lede { font-size: 20px; color: var(--muted); max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.button { display: inline-block; background: var(--link-solid, #006fc4); color: #ffffff; text-decoration: none; font-weight: 600;
          font-size: 16px; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent; }
.button:hover, .button:focus-visible { background: #0a4fa3; }
.button.ghost { background: transparent; color: var(--link); border-color: var(--rule); }
.button.ghost:hover, .button.ghost:focus-visible { background: var(--surface); }
.button.light { background: #ffffff; color: #0f172a; }
.button.light:hover, .button.light:focus-visible { background: #e8f1fc; }
.hero-shot { margin: 0; }
.hero-shot .ipad { box-shadow: 0 24px 60px rgba(15, 23, 42, .28); }

section { padding-block: 48px; }
.eyebrow { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-top: 2px solid var(--blue);
           padding-top: 8px; margin-bottom: 24px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
           color: var(--eyebrow); font-weight: 600; }
.eyebrow span:last-child { color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: none; }
.belief { margin-top: 20px; border-left: 4px solid var(--blue); padding: 4px 0 4px 18px; font-size: 21px; line-height: 1.45;
          color: var(--head); font-weight: 500; max-width: 52ch; }
.lead { font-size: 19px; color: var(--muted); margin-top: 12px; max-width: 60ch; }

/* The iPad and browser frames the screenshots sit in. */
.ipad { background: #0f172a; border-radius: 22px; padding: 11px; box-shadow: 0 14px 40px rgba(15, 23, 42, .18); }
.ipad img { border-radius: 11px; width: 100%; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ipad { box-shadow: 0 0 0 1px #2a3957, 0 14px 40px rgba(0, 0, 0, .4); } }
:root[data-theme="dark"] .ipad { box-shadow: 0 0 0 1px #2a3957, 0 14px 40px rgba(0, 0, 0, .4); }
.browser { border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: #ffffff;
           box-shadow: 0 10px 30px rgba(15, 23, 42, .12); }
.browser::before { content: ""; display: block; height: 22px; background: #eef1f6; border-bottom: 1px solid #d9e1ec;
  background-image: radial-gradient(circle, #c3ccd9 4px, transparent 4.5px), radial-gradient(circle, #c3ccd9 4px, transparent 4.5px), radial-gradient(circle, #c3ccd9 4px, transparent 4.5px);
  background-size: 16px 22px; background-repeat: no-repeat; background-position: 8px 0, 24px 0, 40px 0; }
.browser img { width: 100%; }
.caption { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.caption.center { text-align: center; margin-inline: auto; margin-top: 24px; }

/* How: one row per stage, text beside its screen, alternating sides. */
.stage-row { display: grid; gap: 24px; align-items: center; }
.stage-row + .stage-row { margin-top: 48px; }
@media (min-width: 860px) {
  .stage-row { grid-template-columns: 1fr 1.25fr; gap: 56px; }
  .stage-row.flip .stage { order: 2; }
  .stage-row + .stage-row { margin-top: 72px; }
}
.stage { border-top: 2px solid var(--rule); padding-top: 14px; }
.stage .n { font-family: var(--mono); font-size: 13px; color: var(--eyebrow); letter-spacing: .06em; }
.stage h2 { margin: 4px 0 10px; font-size: clamp(24px, 3vw, 30px); }
.stage .note { margin-top: 14px; font-size: 15px; color: var(--muted); }
.shot { margin: 0; }
.shot.portrait { max-width: 340px; justify-self: center; width: 100%; }
/* A close-up of the Check stage, cropped from the workspace screenshot. */
.shot.detail { border-radius: 16px; overflow: hidden; border: 1px solid var(--rule);
               box-shadow: 0 14px 40px rgba(15, 23, 42, .14); }
.shot.detail img { width: 100%; }

/* What: the portal, three screens. */
.portal { display: grid; gap: 32px; margin-top: 32px; }
@media (min-width: 860px) { .portal { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.portal figure { margin: 0; display: grid; gap: 14px; align-content: start; }
.portal .browser img { aspect-ratio: 16 / 11; object-fit: cover; object-position: 0 0; }
.portal figcaption { font-size: 15px; line-height: 1.55; }
.portal figcaption b { color: var(--head); display: block; font-size: 17px; margin-bottom: 4px; }

.what { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 860px) { .what { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--tint); border-radius: 12px; padding: 24px; }
.panel h3 + p { margin-top: 6px; }
.panel p + h3 { margin-top: 20px; }

/* The one navy block: the closing "Talk to us". */
.contact { background: #0f172a; color: #c9d4e4; border-radius: 14px; padding: 32px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .contact { grid-template-columns: 1fr auto; padding: 40px 44px; gap: 40px; } }
.contact h2 { color: #ffffff; margin-bottom: 10px; }
.contact .button.light { font-size: 18px; padding: 14px 22px; }

/* Text pages: support and privacy. */
.doc { padding-block: 48px 56px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); }
.doc .lede { font-size: 19px; color: var(--muted); margin-top: 14px; }
.doc h2 { font-size: 22px; margin-top: 40px; padding-top: 12px; border-top: 1px solid var(--rule); }
.doc h2 + p, .doc h2 + ul { margin-top: 10px; }
.doc ul { max-width: 66ch; padding-left: 20px; margin: 10px 0 0; }
.doc li + li { margin-top: 6px; }
.doc ul + p { margin-top: 14px; }
.doc .panel { margin-top: 24px; max-width: 66ch; }
.table-scroll { overflow-x: auto; margin-top: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
th { color: var(--head); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.updated { font-size: 14px; color: var(--muted); margin-top: 40px; }

footer.site { border-top: 1px solid var(--rule); margin-top: 24px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 24px 40px;
                    font-size: 14px; color: var(--muted); }
footer.site nav { display: flex; gap: 20px; }
