/* ===== 1. Design tokens (light theme only for the marketing site) ===== */
/* notasis design tokens — generated from tokens.json. Themes: "Paper" (light, default) and "Ink" (dark). */
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root, [data-theme="light"] {
  --paper: #F8F6F1;
  --paper-sunken: #F1EEE7;
  --paper-raised: #FFFEFB;
  --line: #DDD8CC;
  --line-strong: #B9B2A3;
  --line-control: #8A8475;
  --ink: #191C23;
  --ink-muted: #474C57;
  --ink-subtle: #646A77;
  --accent: #2F3B8C;
  --accent-hover: #252F72;
  --accent-tint: #E9EBF5;
  --on-accent: #FFFFFF;
  --suggest: #5F6573;
  --applied: #0E6B74;
  --applied-tint: #E3F0F0;
  --review: #8F5200;
  --review-tint: #F7EBD9;
  --conflict: #AE3424;
  --conflict-tint: #F7E4E0;
  --group-a: #3E5BA9;
  --group-b: #8A4B86;
  --group-c: #5F7A2E;
  --group-d: #8C5A3C;
  --group-e: #4F6475;
  --shadow-float: 0 1px 2px rgba(25,28,35,0.06), 0 8px 24px rgba(25,28,35,0.08);
  /* Ink-theme values for text and lines on the dark "For institutions" block */
  --inverse-muted: #B9BCC5;
  --inverse-line: #30343D;
  --inverse-line-control: #686D79;
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-16: 64px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --stroke-hairline: 1px;
  --stroke-region: 1.5px;
  --stroke-focus: 2px;
  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
}

/* Type styles */
.t-display { font-family: var(--font-sans); font-size: 64px; line-height: 64px; font-weight: 560; letter-spacing: -0.035em; }  /* Landing-page hero only; one per page. Sentence case, ends with a full stop. */
.t-headline { font-family: var(--font-sans); font-size: 40px; line-height: 44px; font-weight: 560; letter-spacing: -0.025em; }  /* Marketing section headings and slide titles. */
.t-lede { font-family: var(--font-sans); font-size: 19px; line-height: 30px; font-weight: 400; letter-spacing: -0.005em; }  /* Intro paragraph under display or headline, in ink-muted. Max 60ch. */
.t-title { font-family: var(--font-sans); font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; }  /* Page and modal titles in the app. */
.t-heading { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: -0.005em; }  /* Panel and section headings in the app. */
.t-body { font-family: var(--font-sans); font-size: 14px; line-height: 21px; font-weight: 400; }  /* Default UI and long-reading text: rubric descriptions, comments, settings. */
.t-body-strong { font-family: var(--font-sans); font-size: 14px; line-height: 21px; font-weight: 550; }  /* Emphasis inside body; labels of rows and buttons. */
.t-small { font-family: var(--font-sans); font-size: 12.5px; line-height: 18px; font-weight: 400; letter-spacing: 0.005em; }  /* Metadata, helper text, table secondary lines. ink-subtle or ink-muted. */
.t-label { font-family: var(--font-sans); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }  /* Overlines and column headers only, uppercase. Never for sentences. */
.t-score { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 500; }  /* Scores, point values, counts in tables. Tabular by nature: columns align. */
.t-score-lg { font-family: var(--font-mono); font-size: 28px; line-height: 32px; font-weight: 500; letter-spacing: -0.02em; }  /* The score shown on a group or answer header. */
.t-code { font-family: var(--font-mono); font-size: 12.5px; line-height: 18px; font-weight: 400; }  /* Student IDs, question references, keyboard hints. */

/* ===== 2. notasis components (static versions of the design-system components) ===== */
/* notasis components — reads tokens.css custom properties */
:focus-visible { outline: var(--stroke-focus) solid var(--accent); outline-offset: 2px; }

/* Logo */
.nt-logo { display: inline-flex; align-items: center; gap: .34em; color: var(--ink); line-height: 1; }
.nt-logo-word { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.025em; transform: translateY(-0.04em); }
.nt-mark { display: block; flex: none; }
.nt-mark-ink { fill: var(--ink); }
.nt-mark-accent { fill: var(--accent); }

/* Button */
.nt-btn { font: 550 14px/20px var(--font-sans); display: inline-flex; align-items: center; gap: var(--space-2); height: 32px; padding: 0 var(--space-3); border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color 80ms linear, border-color 80ms linear; }
.nt-btn-sm { height: 26px; padding: 0 var(--space-2); font-size: 12.5px; }
.nt-btn-lg { height: 40px; padding: 0 var(--space-4); font-size: 15px; }
.nt-btn-primary { background: var(--accent); color: var(--on-accent); }
.nt-btn-primary:hover { background: var(--accent-hover); }
.nt-btn-secondary { background: var(--paper-raised); color: var(--ink); border-color: var(--line-control); }
.nt-btn-secondary:hover { background: var(--paper-sunken); }
.nt-btn-quiet { background: transparent; color: var(--ink-muted); }
.nt-btn-quiet:hover { background: var(--paper-sunken); color: var(--ink); }
.nt-btn-danger { background: var(--paper-raised); color: var(--conflict); border-color: var(--line-control); }
.nt-btn-danger:hover { background: var(--conflict-tint); }
.nt-btn:disabled { opacity: .45; cursor: not-allowed; }
.nt-kbd { font: 500 11px/16px var(--font-mono); padding: 0 5px; border-radius: var(--radius-xs); border: 1px solid var(--line); color: var(--ink-subtle); background: var(--paper); }
.nt-btn-primary .nt-kbd { background: transparent; border-color: currentColor; color: inherit; opacity: .8; }

/* Status tag */
.nt-tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 var(--space-2); border-radius: var(--radius-sm); font: 550 12px/16px var(--font-sans); white-space: nowrap; }
.nt-tag-glyph { width: 8px; height: 8px; border-radius: 1px; flex: none; box-sizing: border-box; }
.nt-tag-applied { background: var(--applied-tint); color: var(--applied); }
.nt-tag-applied .nt-tag-glyph { background: currentColor; }
.nt-tag-review { background: var(--review-tint); color: var(--review); }
.nt-tag-review .nt-tag-glyph { border: 1.5px solid currentColor; }
.nt-tag-conflict { background: var(--conflict-tint); color: var(--conflict); }
.nt-tag-conflict .nt-tag-glyph { background: currentColor; transform: rotate(45deg) scale(.85); }
.nt-tag-suggested { background: transparent; color: var(--suggest); border: 1px dashed var(--suggest); }
.nt-tag-suggested .nt-tag-glyph { border: 1px dashed currentColor; }
.nt-tag-draft { background: var(--paper-sunken); color: var(--ink-muted); }
.nt-tag-draft .nt-tag-glyph { border: 1px solid currentColor; }

/* Rubric item */
.nt-rubric { display: grid; grid-template-columns: 16px 1fr auto auto; gap: var(--space-3); align-items: start; padding: 10px var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-raised); cursor: default; }
.nt-rubric[role=checkbox] { cursor: pointer; }
.nt-rubric-box { width: 14px; height: 14px; margin-top: 3px; border-radius: var(--radius-xs); border: 1px solid var(--line-control); box-sizing: border-box; background: var(--paper-raised); }
.nt-rubric-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nt-rubric-title { font-weight: 550; color: var(--ink); }
.nt-rubric-desc { color: var(--ink-muted); font-size: 13px; line-height: 19px; }
.nt-rubric-note { color: var(--suggest); font-size: 12px; line-height: 16px; }
.nt-rubric-pts { font: 500 14px/21px var(--font-mono); color: var(--ink); }
.nt-rubric-pts.is-neg { color: var(--conflict); }
.nt-rubric .nt-kbd { margin-top: 2px; }
.nt-rubric-applied { border-color: var(--accent); background: var(--accent-tint); }
.nt-rubric-applied .nt-rubric-box { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2.5px var(--accent-tint); }
.nt-rubric-suggested { border-style: dashed; border-color: var(--suggest); }
.nt-rubric-suggested .nt-rubric-box { border-style: dashed; border-color: var(--suggest); }

/* Answer region (the rectangle motif) */
.nt-region { position: relative; box-sizing: border-box; border-radius: var(--radius-xs); min-height: 40px; padding: 22px var(--space-2) var(--space-2); }
.nt-region-label { position: absolute; top: -1px; left: -1px; display: inline-flex; align-items: center; gap: 6px; padding: 0 6px 0 0; font: 550 11px/18px var(--font-sans); letter-spacing: .02em; border-radius: var(--radius-xs) 0 var(--radius-xs) 0; }
.nt-region-confirmed { border: var(--stroke-region) solid var(--ink); background: transparent; }
.nt-region-confirmed .nt-region-label { background: var(--ink); color: var(--paper); padding-left: 6px; }
.nt-region-confirmed.has-group { border-color: var(--nt-group); }
.nt-region-confirmed.has-group .nt-region-label { background: var(--nt-group); color: var(--paper-raised); padding-left: 0; }
.nt-region-selected { border: var(--stroke-region) solid var(--accent); background: color-mix(in srgb, var(--accent-tint) 55%, transparent); box-shadow: 0 0 0 3px var(--accent-tint); }
.nt-region-selected .nt-region-label { background: var(--accent); color: var(--on-accent); padding-left: 6px; }
.nt-region-selected.has-group .nt-region-label { padding-left: 0; }
.nt-region-suggested { border: 1px dashed var(--suggest); }
.nt-region-suggested .nt-region-label { color: var(--suggest); background: var(--paper-raised); padding-left: 6px; top: -9px; left: 6px; border-radius: 0; }
.nt-region-suggested.has-group .nt-region-label { padding-left: 2px; }
.nt-chip { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: var(--radius-xs); font: 600 11px/1 var(--font-mono); background: var(--nt-group, var(--ink)); color: var(--paper-raised); }
.nt-region-suggested .nt-chip { background: transparent; color: var(--nt-group, var(--suggest)); border: 1px dashed currentColor; box-sizing: border-box; height: 16px; min-width: 16px; }
.nt-chip-lg { min-width: 28px; height: 28px; font-size: 13px; }

/* Answer group */
.nt-group { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper-raised); overflow: hidden; }
.nt-group.is-selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.nt-group-head { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); }
.nt-group-meta { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.nt-group-title { font-weight: 600; font-size: 15px; line-height: 22px; letter-spacing: -0.005em; }
.nt-group-count { color: var(--ink-subtle); font-size: 12.5px; line-height: 18px; }
.nt-group-score { font: 500 24px/28px var(--font-mono); letter-spacing: -0.02em; color: var(--ink); }
.nt-group-max { color: var(--ink-subtle); font-size: 14px; }
.nt-group-items { list-style: none; margin: 0; padding: 0 var(--space-4) var(--space-3); display: flex; flex-direction: column; gap: 4px; }
.nt-group-items li { display: flex; justify-content: space-between; gap: var(--space-3); padding: 6px var(--space-2); border-radius: var(--radius-xs); background: var(--paper-sunken); color: var(--ink-muted); font-size: 13px; line-height: 19px; border: 1px solid transparent; }
.nt-group-items li.is-suggested { background: transparent; border: 1px dashed var(--suggest); color: var(--suggest); }
.nt-group-pts { font-family: var(--font-mono); color: var(--ink); }
.nt-group-items li.is-suggested .nt-group-pts { color: var(--suggest); }
.nt-group-samples { display: flex; gap: 6px; padding: 0 var(--space-4) var(--space-3); }
.nt-group-foot { display: flex; gap: var(--space-2); justify-content: flex-end; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--line); background: var(--paper); }

/* scan swatch used in samples: a stand-in for a cropped answer image */
.nt-scan { width: 64px; height: 36px; border-radius: var(--radius-xs); background: var(--paper); border: 1px solid var(--line); background-image: repeating-linear-gradient(transparent 0 7px, var(--line) 7px 8px); }

/* ===== 3. Landing page ===== */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:16px;z-index:10;background:var(--paper-raised);padding:8px 12px;border:1px solid var(--line-control);border-radius:4px}
.nt-group-head{flex-wrap:wrap}
.hero-mock .nt-btn{cursor:default}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-sans);-webkit-font-smoothing:antialiased}
a{color:var(--accent)}a:hover{color:var(--accent-hover)}
.wrap{max-width:1120px;margin:0 auto;padding:0 32px}
.navlink{color:var(--ink-muted);text-decoration:none;font-size:14px;font-weight:500}
.navlink:hover{color:var(--ink)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 18px;border-radius:4px;font:550 15px/20px var(--font-sans);text-decoration:none;box-sizing:border-box;border:1px solid transparent}
.btn-primary{background:var(--accent);color:var(--on-accent)}.btn-primary:hover{background:var(--accent-hover);color:var(--on-accent)}
.btn-secondary{background:var(--paper-raised);color:var(--ink);border-color:var(--line-control)}.btn-secondary:hover{background:var(--paper-sunken);color:var(--ink)}
.overline{font:600 11px/14px var(--font-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-subtle);margin:0}
.h2{font-size:40px;line-height:44px;font-weight:560;letter-spacing:-0.025em;margin:0}
.lede{font-size:19px;line-height:30px;color:var(--ink-muted);margin:0;max-width:60ch}
.rule{border-top:1px solid var(--line-strong);padding-top:20px}
.g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.g4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px}
.card{background:var(--paper-raised);border:1px solid var(--line);border-radius:6px;padding:24px;display:flex;flex-direction:column;gap:10px}
.card h3{margin:0;font-size:16px;line-height:22px;font-weight:600;letter-spacing:-0.005em}
.card p{margin:0;font-size:14px;line-height:21px;color:var(--ink-muted)}
.mono{font-family:var(--font-mono)}
.lang{display:inline-flex;border:1px solid var(--line-control);border-radius:4px;overflow:hidden;font:500 12px/1 var(--font-mono)}
.lang a,.lang span{display:inline-flex;align-items:center;height:28px;padding:0 9px;text-decoration:none;color:var(--ink-muted)}
.lang .on{background:var(--ink);color:var(--paper)}
.navlinks{display:flex;gap:28px;align-items:center}
.ph{color:var(--ink-subtle);font-family:var(--font-mono);font-size:12.5px}
.faq{border-top:1px solid var(--line);padding:20px 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:24px}
.faq h3{margin:0;font-size:16px;line-height:24px;font-weight:600}
.faq p{margin:0;font-size:15px;line-height:24px;color:var(--ink-muted)}
.foot a{color:var(--ink-muted);text-decoration:none;font-size:14px;line-height:28px}
.foot a:hover{color:var(--ink)}
@media (max-width:900px){.g3,.g4,.hero-grid{grid-template-columns:minmax(0,1fr)}.g2{grid-template-columns:minmax(0,1fr)}.navlinks{display:none}.faq{grid-template-columns:minmax(0,1fr)}.wrap{padding:0 16px}.display{font-size:44px !important;line-height:46px !important}.h2{font-size:30px;line-height:34px}}

.hdr-actions .btn{white-space:nowrap}
@media (max-width:600px){
  .hdr-login{display:none}
  .wrap > .hdr-actions{gap:8px}
  .mock-bar{font-size:12px !important;gap:8px !important}
  .mock-bar .mono{margin-left:0 !important;width:100%}
  .hero-mock .hero-grid{padding:12px !important}
}

/* Inner pages (about, contact, privacy) */
.page{padding:88px 0 112px}
.page-body{display:flex;flex-direction:column;gap:40px}
.page-head{display:flex;flex-direction:column;gap:16px}
.prose{max-width:68ch;display:flex;flex-direction:column;gap:14px;font-size:16px;line-height:26px;color:var(--ink-muted)}
.prose h2{margin:20px 0 0;font-size:22px;line-height:28px;font-weight:600;letter-spacing:-0.015em;color:var(--ink)}
.prose h2:first-child{margin-top:0}
.prose h3{margin:6px 0 0;font-size:16px;line-height:24px;font-weight:600;color:var(--ink)}
.prose p,.prose ul{margin:0}
.prose ul{padding-left:20px;display:flex;flex-direction:column;gap:6px}
.prose .meta{font:400 12.5px/18px var(--font-mono);color:var(--ink-subtle)}
.card-link{margin-top:auto;padding-top:6px;font-size:14px;font-weight:550}
.contact-mail{align-self:flex-start;font-size:32px;line-height:38px;font-weight:560;letter-spacing:-0.02em;text-decoration:none}
.contact-mail:hover{text-decoration:underline}
@media (max-width:900px){.page{padding:56px 0 80px}.contact-mail{font-size:24px;line-height:30px}}
