/* Copyright (c) 2026 Romzally Enterprises. All rights reserved. */

/* One stylesheet for the whole site. Same-origin, no webfonts, no external
   requests of any kind -- a carrier compliance reviewer screenshots these pages
   with an automated fetcher, and anything that loads slowly or fails from a
   third party is a page that renders wrong at exactly the wrong moment.

   Headings use a SYSTEM serif stack for the editorial feel. There is no font
   file to host and nothing to fetch: every family named below already exists on
   the machine rendering the page, and the stack degrades to the platform serif.
   Do not replace this with a webfont -- see the paragraph above. */

:root {
  /* Ink and paper. Slightly warm neutrals read as printed rather than screen. */
  --ink:        #101720;
  --body:       #414b59;
  --muted:      #6d7887;
  --rule:       #e4e7ec;
  --rule-soft:  #eef1f5;
  --bg:         #ffffff;
  --tint:       #f7f8fa;
  --tint-warm:  #faf9f6;

  --accent:      #1b4a72;
  --accent-deep: #12314b;
  --accent-soft: #eaf1f7;
  --gold:        #9a6a15;
  --gold-soft:   #f6efe0;
  --on-accent:   #ffffff;

  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:  ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --measure: 36rem;
  --shadow-card: 0 1px 2px rgba(16, 23, 32, .04), 0 8px 24px -12px rgba(16, 23, 32, .10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:        #eef1f6;
    --body:       #bdc6d2;
    --muted:      #8792a1;
    --rule:       #262d38;
    --rule-soft:  #1e242d;
    --bg:         #0f1319;
    --tint:       #151a21;
    --tint-warm:  #16191e;

    --accent:      #85b8e4;
    --accent-deep: #a8cdee;
    --accent-soft: #17242f;
    --gold:        #d8a648;
    --gold-soft:   #24201a;
    --on-accent:   #0b0e13;

    --shadow-card: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px -12px rgba(0, 0, 0, .55);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: 60rem; margin: 0 auto; padding: 0 1.75rem; }
.wrap.narrow { max-width: 44rem; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.011em;
}

p { max-width: var(--measure); }

a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: .06em; }
a:hover { color: var(--accent-deep); }

ul { padding-left: 1.15rem; }
li { margin-bottom: .35rem; max-width: var(--measure); }

strong { color: var(--ink); font-weight: 650; }

code {
  font-family: var(--mono);
  background: var(--tint);
  border: 1px solid var(--rule-soft);
  padding: .08rem .34rem;
  border-radius: 4px;
  font-size: .88em;
  color: var(--ink);
}

hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

::selection { background: var(--accent-soft); color: var(--ink); }

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

/* ---- site chrome ---- */

.topbar {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1.25rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -.015em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { color: var(--accent); }
.topbar nav a {
  font-size: .9rem;
  text-decoration: none;
  color: var(--muted);
  letter-spacing: .005em;
}
.topbar nav a:hover { color: var(--ink); }
.topbar nav a + a { margin-left: 1.6rem; }

.pagehead {
  background: var(--tint-warm);
  border-bottom: 1px solid var(--rule);
  padding: 3.5rem 0 3rem;
}
.pagehead h1 { font-size: clamp(1.9rem, 4vw, 2.4rem); margin: 0 0 .5rem; }
.pagehead .sub { color: var(--muted); margin: 0; font-size: 1.05rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .85rem;
}

main { padding: 3rem 0 4rem; }
main h2 {
  font-size: 1.45rem;
  margin: 3rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--rule-soft);
}
main h2:first-child { margin-top: 0; }
main h3 { font-size: 1.13rem; margin: 2rem 0 .4rem; }

footer {
  border-top: 1px solid var(--rule);
  background: var(--tint-warm);
  padding: 2.75rem 0 3.5rem;
  font-size: .9rem;
  color: var(--muted);
}
footer a { color: inherit; text-decoration-color: var(--rule); }
footer a:hover { color: var(--ink); }
footer nav { margin-top: 1rem; }
footer nav a + a { margin-left: 1.4rem; }
footer p { max-width: none; }

/* ---- hero (home + product) ---- */

.hero {
  background: var(--tint-warm);
  border-bottom: 1px solid var(--rule);
  padding: 5.5rem 0 4.75rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.4rem);
  letter-spacing: -.024em;
  margin: 0 0 .9rem;
  max-width: 20ch;
}
.hero .tagline {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  max-width: 32rem;
  margin: 0 0 1.5rem;
}
.hero .lede {
  max-width: 34rem;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
  color: var(--body);
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -.035em;
  margin: 0 0 .6rem;
}

.badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid transparent;
  border-radius: 100px;
  padding: .34rem .95rem;
  margin-bottom: 1.5rem;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: .97rem;
  letter-spacing: .005em;
  padding: .82rem 1.6rem;
  border-radius: 5px;
  margin-right: .6rem;
  border: 1px solid var(--accent);
  transition: background-color .15s ease, border-color .15s ease;
}
.cta:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--on-accent); }
.cta.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--rule);
}
.cta.ghost:hover { background: var(--tint); border-color: var(--accent); color: var(--accent); }
.cta-note { display: inline-block; color: var(--muted); font-size: .92rem; }

/* ---- blocks ---- */

section.band { padding: 4rem 0; border-bottom: 1px solid var(--rule); }
section.band.soft { background: var(--tint); }
section.band h2 {
  font-size: 1.65rem;
  margin: 0 0 .6rem;
  letter-spacing: -.015em;
}
.section-lede {
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 2.5rem;
  font-size: 1.02rem;
}

/* A block that follows a heading directly has no lede to space it, and the
   step rules read as crowded against the h2 without this. */
section.band h2 + .grid,
section.band h2 + .steps,
section.band h2 + .pills,
section.band h2 + .stat-row { margin-top: 2.25rem; }

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: start;
}
/* Cards are a flex column so the tag can be re-ordered BELOW the heading.
   Only some cards carry a tag, and with the tag above the heading those
   cards' titles sat a line lower than their tagless neighbours -- the row
   read as misaligned. Ordering the heading first lines every title up at
   the top of the card whether or not a tag is present. */
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.6rem 1.65rem;
  background: var(--bg);
  box-shadow: var(--shadow-card);
  height: 100%;
}
.card h3 { order: 1; font-size: 1.14rem; margin: 0; }
.card .tag {
  order: 2;
  display: inline-block;
  font-family: var(--sans);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  border-radius: 100px;
  padding: .2rem .6rem;
  margin: .5rem 0 0;
}
.card p {
  order: 3;
  margin: .7rem 0 0;
  font-size: .96rem;
  color: var(--body);
  max-width: none;
}

.steps {
  display: grid;
  gap: 2rem 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.step { border-top: 2px solid var(--accent); padding-top: 1.1rem; }
.step .n {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
}
.step h3 { font-size: 1.1rem; margin: .4rem 0 .45rem; }
.step p { margin: 0; font-size: .96rem; max-width: none; }

.stat-row {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--rule);
}
.stat .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.stat .label { font-size: .92rem; color: var(--muted); margin-top: .25rem; }

.pills { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.pills li {
  border: 1px solid var(--rule);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .9rem;
  background: var(--bg);
  color: var(--ink);
  margin: 0;
}

.box {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--tint);
}
.box p { max-width: none; }
.box.legal {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
}
.box.legal p { color: var(--ink); }

.fine { font-size: .89rem; color: var(--muted); }
.fmt { font-family: var(--mono); font-size: .88rem; }

/* ---- CITE-FROM-DOI interface illustration (homepage) ----
   A STATIC PICTURE of the tool drawn in CSS. Deliberately contains no <form>,
   no <input> and no <button> — it must never be mistakable for a live control
   or for a place to type personal data. If you make it interactive, it stops
   being an illustration and needs the same scrutiny as signup.html. */

.showcase { margin-top: 2.25rem; }

.app-shot {
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-card);
  max-width: 42rem;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem .9rem;
  background: var(--tint);
  border-bottom: 1px solid var(--rule);
}
.app-dot {
  width: .58rem; height: .58rem; border-radius: 50%;
  background: var(--rule); flex: 0 0 auto;
}
.app-title {
  margin-left: .5rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--muted);
}
.app-body { padding: 1.4rem 1.5rem 1.6rem; }

.app-step {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
}
.app-step + .app-step { margin-top: 1.15rem; }
.app-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.25rem; height: 1.25rem; margin-right: .5rem;
  border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  font-size: .7rem; font-weight: 700;
  vertical-align: -.2rem;
}
.app-field {
  margin-top: .45rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: .6rem .7rem;
  background: var(--tint);
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--body);
  overflow-wrap: anywhere;
}
.app-tall { min-height: 5.5rem; }
.app-ghost { color: var(--muted); font-family: var(--sans); font-style: italic; }

.app-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.app-chip {
  border: 1px solid var(--rule);
  border-radius: 100px;
  padding: .26rem .75rem;
  font-size: .78rem;
  font-weight: 400;
  color: var(--muted);
  background: var(--bg);
}
.app-chip.on {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.app-submit {
  display: inline-block;
  margin-top: 1.4rem;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  padding: .6rem 1.5rem;
  border-radius: 5px;
}
.app-caption { margin-top: .9rem; max-width: 42rem; }

/* ---- consent form ----
   The styling here is ordinary. The MARKUP is not: see the comment at the top
   of signup.html before changing anything about the checkbox. Nothing in this
   block changes which elements exist, only how they look. */

form.consent-form {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
  background: var(--bg);
  box-shadow: var(--shadow-card);
  max-width: 34rem;
}
form.consent-form label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .4rem;
  font-size: .92rem;
  letter-spacing: .005em;
}
form.consent-form input[type=text],
form.consent-form input[type=email],
form.consent-form input[type=tel] {
  width: 100%;
  padding: .7rem .8rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  margin-bottom: 1.35rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
form.consent-form input[type=text]:focus,
form.consent-form input[type=email]:focus,
form.consent-form input[type=tel]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.consent-row {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  background: var(--tint);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.15rem;
  margin: 1.5rem 0;
}
.consent-row input {
  margin-top: .3rem;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent-row label {
  font-weight: 400;
  font-size: .92rem;
  line-height: 1.6;
  margin: 0;
  color: var(--body);
  cursor: pointer;
}

button {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: .8rem 1.75rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
button:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ---- small screens ---- */

@media (max-width: 34rem) {
  body { font-size: 1rem; }
  .wrap { padding: 0 1.25rem; }
  .hero { padding: 3.5rem 0 3rem; }
  section.band { padding: 2.75rem 0; }
  main { padding: 2rem 0 3rem; }
  form.consent-form { padding: 1.35rem; }
  .cta { display: block; margin: 0 0 .75rem; text-align: center; }
  .cta-note { display: block; }
  .topbar nav a + a { margin-left: 1.1rem; }
}

/* ---- print: a reviewer may print or PDF these pages ---- */

@media print {
  .topbar nav, footer nav { display: none; }
  .hero, .pagehead, section.band.soft, footer { background: #fff; }
  .card, .box, form.consent-form { box-shadow: none; }
  a { color: #000; }
  body { font-size: 11pt; color: #000; }
}
