/* agentiqrm — landing page
 *
 * The palette is lifted from the product's own theme (lib/theme/brand.dart) so
 * that clicking "Anmelden" does not feel like leaving for a different company.
 * Warm paper ground, near-black ink, one blue accent and nothing else.
 *
 * Hand-written CSS, no framework and no build step: this is a static site on
 * S3 and every kilobyte of framework would be shipped to every visitor to save
 * an afternoon once.
 */

:root {
  --paper: #e9e3d6;
  --paper2: #e3dccc;
  --paper3: #dcd4c1;
  --ink: #131a24;
  --body: #2b3542;
  --muted: #8b8f97;
  --blue: #3b51ee;
  --blue-soft: #6e7ff3;
  --ok: #3f7d5c;
  --warn: #b8863b;
  --danger: #b4453c;

  --radius: 6px;
  --max: 1080px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* The all-caps mono label the product uses for every section heading. */
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* ------------------------------------------------------------------ header */

header {
  border-bottom: 1px solid var(--paper3);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 10;
}
header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
}
.brand .mark {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}
header nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
header nav a { color: var(--body); text-decoration: none; font-size: .95rem; }
header nav a:hover { color: var(--ink); }

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 500;
  border: 1px solid var(--blue);
  cursor: pointer;
}
.btn:hover { background: var(--blue-soft); border-color: var(--blue-soft); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--paper3); }
.btn.ghost:hover { background: var(--paper2); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* -------------------------------------------------------------------- hero */

.hero { padding: 88px 0 64px; }
.hero p.lead { font-size: 1.15rem; max-width: 62ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.trial-note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* ---------------------------------------------------------------- sections */

section { padding: 56px 0; border-top: 1px solid var(--paper3); }
section.plain { border-top: none; }

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--paper2);
  border: 1px solid var(--paper3);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ prices */

.prices { align-items: stretch; }
.price {
  background: var(--paper2);
  border: 1px solid var(--paper3);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.price.featured { border-color: var(--blue); }
.price .amount {
  font-size: 2.1rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 6px 0 2px;
}
.price .amount span { font-size: .95rem; font-weight: 400; color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.price li { padding: 5px 0 5px 22px; position: relative; font-size: .95rem; }
.price li::before {
  content: "";
  position: absolute; left: 4px; top: 13px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.price .btn { margin-top: auto; text-align: center; }

/* --------------------------------------------------------------- vacancies */

.role {
  background: var(--paper2);
  border: 1px solid var(--paper3);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
}
.role-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.role-head h3 { margin: 0; }
.role-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.chip {
  background: var(--paper3);
  color: var(--body);
  border-radius: var(--radius);
  padding: 3px 9px;
  font-size: 12.5px;
}
.role .btn { margin-top: 6px; }
.empty { color: var(--muted); font-style: italic; }

/* -------------------------------------------------------------------- form */

form { max-width: 620px; }
.field { margin-bottom: 16px; }
label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--paper2);
  border: 1px solid var(--paper3);
  border-radius: var(--radius);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: -1px;
}
textarea { min-height: 130px; resize: vertical; }
.hint { font-size: .85rem; color: var(--muted); margin-top: 6px; }

.notice {
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 16px 0;
  font-size: .95rem;
  display: none;
}
.notice.ok { background: rgba(63,125,92,.14); color: var(--ok); display: block; }
.notice.bad { background: rgba(180,69,60,.12); color: var(--danger); display: block; }

/* ------------------------------------------------------------------ footer */

footer {
  border-top: 1px solid var(--paper3);
  padding: 34px 0;
  color: var(--muted);
  font-size: .9rem;
}
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { margin-left: auto; display: flex; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--body); }

@media (max-width: 640px) {
  header nav a:not(.btn) { display: none; }
  .hero { padding: 56px 0 40px; }
}

/* --- public project cards: contact and id -------------------------------- */
/* The contact block is deliberately quieter than the apply button: a candidate
 * should apply through the form, which files the application against the
 * project, and only reach for the phone when they need to ask something the
 * advert does not answer. */
.role-contact {
  margin: 14px 0 4px;
  font-size: 14px;
  color: var(--muted, #5b6472);
}
.role-contact a { color: inherit; }

/* Quoted on the phone and in e-mail subject lines, so it is selectable text
 * rather than an attribute nobody can copy. */
.role-id {
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--muted, #5b6472);
}

/* --- marketing layer ------------------------------------------------------
 *
 * Added after the first pass, which was correct and read like documentation.
 * A landing page has about four seconds to say what the thing is and why it is
 * different; paragraphs cannot do that, so this adds the shapes that can —
 * a stated claim, a worked example, and a demo somebody can click.
 */

/* THE ONE CLAIM. Oversized on purpose: it is the only sentence most visitors
 * will read, so it gets the room a headline deserves. */
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.08;
  letter-spacing: -.022em; color: var(--ink); margin: 10px 0 18px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 62ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.btn.ghost { background: transparent; color: var(--ink);
  border: 1px solid rgba(19,26,36,.22); }
.btn.ghost:hover { border-color: var(--ink); }

/* --- the worked example ---------------------------------------------------
 * Showing beats claiming. This renders the actual dictation loop: what you
 * type on the left, what the assistant prepares on the right. Every string in
 * it is a real turn from the running system, not a mock-up.
 */
.demo { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 860px) { .demo { grid-template-columns: 1fr 1fr; gap: 26px; } }

.demo-side { background: var(--paper2); border: 1px solid rgba(19,26,36,.10);
  border-radius: var(--radius); padding: 20px 22px; }
.demo-side h3 { margin: 0 0 4px; font-size: 13px; text-transform: uppercase;
  letter-spacing: .10em; color: var(--muted); font-weight: 600; }
.demo-typed { font-family: var(--mono); font-size: 14.5px; line-height: 1.65;
  color: var(--ink); margin: 12px 0 0; white-space: pre-wrap; }

.demo-card { background: var(--paper); border: 1px solid rgba(19,26,36,.14);
  border-left: 3px solid var(--blue); border-radius: 4px;
  padding: 12px 14px; margin-top: 12px; }
.demo-card .k { font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); }
.demo-card .t { color: var(--ink); font-weight: 600; margin-top: 2px; }
.demo-card .d { font-size: 14px; margin-top: 4px; }
.demo-actions { display: flex; gap: 8px; margin-top: 10px; }
.pill { font-size: 12px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid rgba(19,26,36,.22); color: var(--body); }
.pill.on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* --- feature grid --------------------------------------------------------- */
.grid3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper2); border: 1px solid rgba(19,26,36,.10);
  border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.card p { margin: 0; font-size: 15px; }
.card .num { font-family: var(--mono); font-size: 12px; color: var(--blue);
  letter-spacing: .08em; }

/* A claim with a number in it is a claim somebody can check. */
.facts { display: flex; flex-wrap: wrap; gap: 28px 44px; margin-top: 30px;
  padding-top: 26px; border-top: 1px solid rgba(19,26,36,.12); }
.fact .n { font-size: 26px; font-weight: 650; color: var(--ink);
  font-family: var(--mono); letter-spacing: -.01em; }
.fact .l { font-size: 13px; color: var(--muted); }

/* --- pricing -------------------------------------------------------------- */
.tiers { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .tiers { grid-template-columns: 1fr 1fr; } }
.tier { background: var(--paper2); border: 1px solid rgba(19,26,36,.12);
  border-radius: var(--radius); padding: 26px; }
.tier.lead { border-color: var(--blue); }
.tier .price { font-size: 32px; font-weight: 650; color: var(--ink);
  letter-spacing: -.02em; }
.tier .per { font-size: 14px; color: var(--muted); }
.tier ul { margin: 16px 0 0; padding-left: 18px; }
.tier li { margin-bottom: 7px; font-size: 15px; }

/* --- legal pages ---------------------------------------------------------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); margin: 34px 0 8px; font-weight: 600; }
.legal p { margin: 0; }
.legal a { color: var(--ink); }

/* A demo has to say so. Anything that could be mistaken for a real vacancy on
 * a real job board is a promise to a jobseeker that nobody can keep. */
.demo-banner { background: var(--paper3); border: 1px solid rgba(19,26,36,.16);
  border-left: 3px solid var(--warn); border-radius: 4px;
  padding: 14px 16px; margin: 0 0 26px; font-size: 15px; }
.demo-banner strong { color: var(--ink); }
