/* site/style.css - fieldtoboard.com, the company's home. Ink on white, one accent (the brand sheet of 26 Oct 2026:
   ink #111111, white, accent #1F6FB2 on white and #5CB8F2 on black). Barlow for the wordmark and headings, IBM Plex
   Mono for the product tags, IBM Plex Sans for everything else; the fonts ship in fonts/ (OFL), so a plain copy of the
   site works offline. The variables keep the names the shared scripts' styles use (--card, --soft, --line, --accent). */
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/Barlow-Medium.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/Barlow-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("fonts/Barlow-Bold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url("fonts/IBMPlexMono-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 700; font-display: swap; src: url("fonts/IBMPlexMono-Bold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 100 900; font-display: swap; src: url("fonts/IBMPlexSans-Variable.woff2") format("woff2"); }

:root {
  --bg: #ffffff; --fg: #111111; --soft: #444444; --mute: #6b6b6b; --line: #d9d9d9; --card: #f4f4f4;
  --accent: #1F6FB2; --accent-fg: #ffffff; --ink: #111111; --on-ink: #ffffff; --on-ink-soft: #cccccc; --accent-on-ink: #5CB8F2;
  --heading: "Barlow", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--body); }
main { max-width: 1120px; margin: 0 auto; padding: 0 20px 48px; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p { margin: 0 0 12px; max-width: 68ch; }
h1, h2, h3, h4 { font-family: var(--heading); line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: 1.6rem; font-weight: 600; margin: 40px 0 12px; }
h3 { font-size: 1.15rem; font-weight: 600; margin: 22px 0 6px; }
.tag { font: 600 .85rem var(--mono); letter-spacing: .08em; }
.wordmark { font: 600 1.25rem/1 var(--heading); letter-spacing: -0.01em; color: var(--fg); }

/* the header, as the mock of 3 Nov: the mark and the wordmark (the tagline stays under the logo elsewhere), the links;
   on a phone a Menu button opens the links. The signal line draws itself from the field bubble to the screen on the
   first visit; later visits show the mark at once. */
.top { display: flex; align-items: center; gap: 12px 28px; padding: 16px 0; border-bottom: 1px solid var(--line); position: relative; }
.top .lockup { display: flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none; }
.top .lockup svg { width: 96px; height: 26px; flex: none; --mark-ink: var(--fg); --mark-accent: var(--accent); }
.top .lockup .words { display: flex; flex-direction: column; line-height: 1.1; }
.top .lockup .wordmark { font-size: 1.2rem; white-space: nowrap; }
.top .lockup .tagline { display: none; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 4px 26px; flex-wrap: wrap; font-size: 1rem; }
.top nav a { color: var(--fg); text-decoration: none; font-weight: 500; white-space: nowrap; }
.top nav a:hover, .top nav a.here { color: var(--accent); }
.top nav a.signin { color: var(--accent); font-weight: 500; }
.top .menu { display: none; margin-left: auto; font: 500 .95rem var(--body); color: var(--fg); background: transparent; border: 1px solid var(--fg); border-radius: 6px; padding: 7px 14px; cursor: pointer; }
.top .signal { stroke-dasharray: 7 5; }
.first .top .signal { stroke-dasharray: 80 80; stroke-dashoffset: 80; animation: signal .9s ease-out .2s forwards; }
@keyframes signal { to { stroke-dashoffset: 0; } }
.first .top .screen { opacity: 0; animation: appear .4s ease-out 1s forwards; }
.first .top .words { opacity: 0; animation: appear .5s ease-out 1.2s forwards; }
@keyframes appear { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .first .top .signal, .first .top .screen, .first .top .words { animation: none; stroke-dashoffset: 0; opacity: 1; stroke-dasharray: 7 5; } }
@media (max-width: 720px) {
  .top { flex-wrap: wrap; }
  .top .menu { display: inline-block; }
  .top nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 6px 0 2px; border-top: 1px solid var(--line); }
  .top nav a { padding: 10px 2px; border-bottom: 1px solid var(--line); }
  .top nav a:last-child { border-bottom: 0; }
  .top.open nav { display: flex; }
}

/* the first screen: the headline and the two buttons left, the three faceplate tiles right */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 64px; align-items: center; padding: 64px 0 56px; }
.hero h1 { font: 700 clamp(2.2rem, 4.8vw, 3.6rem)/1.08 var(--heading); letter-spacing: -0.02em; margin: 0 0 20px; max-width: 13ch; }
.hero .sub { font-size: 1.12rem; color: var(--soft); max-width: 46ch; margin-bottom: 28px; }
.hero .row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; font: 600 1rem var(--body); text-decoration: none; padding: 12px 24px; border-radius: 4px; background: var(--ink); color: var(--on-ink); border: 1px solid var(--ink); cursor: pointer; }
.btn:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn.line { background: transparent; color: var(--fg); }
.btn.line:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn:disabled { opacity: .5; cursor: default; }
/* the exam door (Jeff, 4 Nov 2026): two menus and Go, under the hero */
.door { padding: 0 0 56px; }
.door h2 { font: 600 1.35rem/1.2 var(--heading); margin: 0 0 14px; }
.door-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.door-row label { display: flex; flex-direction: column; gap: 6px; font: 500 .9rem var(--body); color: var(--soft); min-width: 0; flex: 1 1 220px; max-width: 360px; }
.door-row select { font: 500 1rem var(--body); color: var(--fg); background: var(--bg); border: 1px solid var(--fg); border-radius: 6px; padding: 10px 36px 10px 12px; width: 100%; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.door-row .btn { padding: 11px 28px; }
.door-note { margin: 12px 0 0; color: var(--soft); font-size: .95rem; min-height: 1.4em; }
@media (max-width: 720px) { .door-row { flex-direction: column; align-items: stretch; } .door-row select { width: 100%; } }
.tiles { display: grid; gap: 16px; }
.tile { display: block; text-decoration: none; padding: 22px 24px 24px; border-radius: 6px; background: var(--ink); color: var(--on-ink); }
.tile .tag { color: var(--accent-on-ink); display: block; margin-bottom: 26px; }
.tile .name { display: block; font: 600 1.75rem/1.1 var(--heading); margin-bottom: 6px; }
.tile .what { display: block; font-size: .95rem; color: var(--on-ink-soft); max-width: none; margin: 0; }
.tile.accent { background: var(--accent); }
.tile.accent .tag { color: #ffffff; }
.tile.accent .what { color: #e6f1fb; }
.tile:hover { outline: 2px solid var(--accent-on-ink); outline-offset: 2px; }
.tile.accent:hover { outline-color: var(--fg); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 28px; } .hero h1 { max-width: none; } .hero .row { flex-direction: column; } .hero .row .btn { text-align: center; } .tile .tag { margin-bottom: 16px; } }

/* the second screen, on a grey band: the house method, one column per product, three cards each */
.method { background: #f2f4f6; margin: 0 calc(50% - 50vw); padding: 56px max(20px, calc(50vw - 50%)) 64px; }
.method .in { max-width: 1120px; margin: 0 auto; }
.method h2 { font: 600 2rem/1.15 var(--heading); letter-spacing: -0.02em; margin: 0 0 6px; }
.method .lead { color: var(--soft); margin: 0 0 36px; }
.method .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.method h3 { margin: 0 0 14px; font: 600 1.25rem var(--heading); display: flex; align-items: baseline; gap: 10px; }
.method h3 .tag { color: var(--accent); font-size: .78rem; }
.method ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.method li { display: grid; grid-template-columns: 34px 1fr; gap: 6px 10px; background: #ffffff; border: 1px solid #e2e5e9; border-radius: 6px; padding: 16px 18px 18px; }
.method li .n { grid-row: 1 / 3; font: 600 1.5rem/1 var(--heading); color: var(--accent); }
.method li b { font: 600 1.05rem var(--body); }
.method li p { margin: 0; font-size: .92rem; color: var(--soft); }
.method li.last { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.method li.last .n { color: var(--accent-on-ink); }
.method li.last p { color: var(--on-ink-soft); }
@media (max-width: 860px) { .method .cols { grid-template-columns: 1fr; gap: 36px; } }

/* a notice box, and the small print pages */
.callout { border-left: 3px solid var(--accent); background: var(--card); border-radius: 0 6px 6px 0; padding: 12px 16px; margin: 28px 0 0; }
.callout p:last-child { margin-bottom: 0; }
.doc { max-width: 720px; margin: 0 auto; padding: 8px 0 0; }
.doc h1 { font: 700 2.1rem/1.15 var(--heading); letter-spacing: -0.02em; margin: 32px 0 4px; }
.doc .when { color: var(--soft); margin-bottom: 24px; }
.doc li { margin-bottom: 6px; max-width: 66ch; }
.doc table { border-collapse: collapse; margin: 8px 0 16px; font-size: .95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 6px 14px 6px 0; border-bottom: 1px solid var(--line); }
.pill { display: inline-block; font: 600 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--soft); color: var(--soft); border-radius: 999px; padding: 1px 9px; margin-left: 6px; vertical-align: 2px; }
.pill.live { border-color: var(--accent); color: var(--accent); }
.note { color: var(--soft); font-size: .9rem; }

/* the footer, light and small, as the mock: the company line and the NCEES notice */
footer { border-top: 1px solid var(--line); margin: 0 calc(50% - 50vw); padding: 28px max(20px, calc(50vw - 50%)) 32px; color: var(--mute); font-size: .86rem; }
footer .in { max-width: 1120px; margin: 0 auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 12px; }
footer nav a, footer nav span { color: var(--mute); text-decoration: none; }
footer nav a:hover { color: var(--accent); }
footer nav .sep { padding: 0 8px; }
footer p { max-width: 100ch; }
footer .copy { margin-top: 10px; }

/* ======== kept from the first site: signed in (account.js) and Your products; the review builder's block follows ======== */
/* signed in (account.js, 22 Oct 2026): "Signed in as <address> · Sign out" in the bar, where "Sign in" was */
.acct { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; min-width: 0; font-size: .92rem; color: var(--soft); }
.acct[hidden], .signin[hidden] { display: none !important; }
.acct .who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct .who b { color: var(--fg); font-weight: 600; }
.acct .sep { white-space: pre; }
.acct .out { font: inherit; font-weight: 600; color: var(--fg); background: transparent; border: 1px solid var(--soft); border-radius: 8px; padding: 4px 12px; cursor: pointer; white-space: nowrap; }
.acct .out:hover { border-color: var(--accent); color: var(--accent); }
.bar-home { display: flex; align-items: center; }
.top .acct { flex: 0 1 auto; }

/* Your products (index.html, signed in) */
.mine { margin: 4px 0 28px; }
.mine h2 { margin-top: 8px; }
.mine-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.mine-group { background: var(--card); border: 1px solid var(--accent); border-radius: 10px; padding: 14px 16px 6px; min-width: 0; }
.mine-group h3 { margin: 0 0 6px; }
.mine-list { list-style: none; margin: 0; padding: 0; }
.mine-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.mine-item:first-child { border-top: 0; }
.mine-txt { min-width: 0; display: flex; flex-direction: column; }
.mine-note { color: var(--soft); font-size: .86rem; }
.mine-note + .mine-note { margin-top: 4px; }   /* PTEC's second line (for companies) */
.mine-act { flex: none; }
.mine-act .btn { padding: 6px 14px; font-size: .92rem; }
.mine-warn { color: #b3261e; margin-top: 10px; }
.btn.line { background: transparent; color: var(--fg); border: 1px solid var(--soft); }
.btn.line:hover { border-color: var(--accent); color: var(--accent); }
button.btn { font: inherit; font-weight: 600; border: 0; cursor: pointer; }
button.btn.line { border: 1px solid var(--soft); }
.btn:disabled { opacity: .5; cursor: default; }

/* the sign-in page (signin.html) */
/* ======== THE REVIEW BUILDER'S BLOCK (agreed with the website builder, 22 Oct 2026): the sign-in page (.signin-page, .signin-form, .signin-row) and
   "Delete my account" (.acct-delete, .acct-dialog). Only the review builder edits inside it. ======== */
.signin-page { max-width: 34rem; }
.signin-page h1 { overflow-wrap: anywhere; }
.signin-page .btn.google { display: inline-flex; align-items: center; gap: 10px; background: #ffffff; color: #1f1f1f; border: 1px solid #747775; padding: 9px 18px; }
.signin-page .btn.google:hover { background: #f2f2f2; }
.signin-page .gwrap { min-height: 44px; display: flex; align-items: center; }   /* Google's own button replaces ours here, without a jump */
.signin-page .or { display: flex; align-items: center; gap: 12px; color: var(--soft); margin: 18px 0 6px; max-width: none; }
.signin-page .or::before, .signin-page .or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.signin-form { margin: 8px 0 10px; }
.signin-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.signin-row { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.signin-row input { font: inherit; flex: 1 1 14rem; min-width: 0; padding: 8px 10px; border: 1px solid var(--soft); border-radius: 8px; background: var(--card); color: var(--fg); }
.signin-row input.code { flex: 0 1 11rem; font-size: 1.3rem; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.signin-row input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.signin-page .note { color: var(--soft); font-size: .95rem; margin-top: 8px; }
.signin-page .note.bad, .signin-page .bad { color: #f08a76; }
.signin-page .small { color: var(--soft); font-size: .86rem; }
.signin-page .row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
/* "Delete my account" under Your products, and its box (site/account.js; the review builder's, with .signin-page) */
.acct-delete:hover { color: #f08a76; }   /* the footer link (the footer's own link style otherwise) */
.acct-dialog { max-width: min(34rem, calc(100vw - 32px)); box-sizing: border-box; background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.acct-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.acct-dialog h2 { margin-top: 0; }
.acct-dialog ul { padding-left: 20px; }
.acct-dialog .small { color: var(--soft); font-size: .88rem; }
.acct-dialog .acct-sure { display: block; margin: 14px 0 4px; font-weight: 600; }
.acct-dialog .note { color: var(--soft); font-size: .95rem; min-height: 1.2em; }
.acct-dialog .note.bad { color: #f08a76; }
.acct-dialog .row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.acct-dialog .btn { font: inherit; font-weight: 600; cursor: pointer; border: 0; }
.acct-dialog .btn.danger { background: #c4422c; color: #ffffff; }
.acct-dialog .btn:disabled { opacity: .45; cursor: default; }
.acct-dialog .btn.line { border: 1px solid var(--soft); }
/* ======== END OF THE REVIEW BUILDER'S BLOCK ======== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
