/* Hallmark · shape: Workbench · genre: editorial · theme: custom, highlighter on paper (the user picked comp A of four) · redesign: full · job: try (open beta, the web app at /app/)
 * hero: Stage (the sample ad marked up with a highlighter) · nav: edge-aligned, mark and wordmark, one text link, language buttons, one black action · footer: colophon with mark · imagery: the sample ad set in type, 12 captures of the real app (puppeteer, mock AI, de/en/zh) · signature: the job ad read with a highlighter, yellow for what fits, pink for what is missing, a black 73 stamped on the corner
 * photo: one generated still (Seedream 5.5) in the problem section, a German Altbau window at night over a stack of applications; no person, no face
 * axes: light/roman-serif/warm · posture: Restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H5 E4 S5 R4 V4 · weakest: E, the marked-up ad is set in type from the real sample job, so its highlights are exactly the quotes the app found; the real app appears in the solution and the steps */
/* Hallmark · added at the user's request: logo, a problem section, a solution section, a closing band, a language switch (de/en/zh) · the old English and Chinese paragraphs became the switch */
/* Hallmark · dropped #en, #zh, #beta · the English and Chinese rows became the language switch; #en and #zh in the address still pick the language */
/* Hallmark · dropped check-result.png, check-profile.png, check-text.png, check-evidence.png · replaced by fresh captures of the renamed app in three languages */
/* Hallmark · reworded "So funktioniert es" to "In drei Schritten zum Ergebnis" · the nav and the hero's second action say "So funktioniert es" and point at the steps */
/* Hallmark · waive 38iii · one highlighted phrase in the hero head only · the highlighter is the page's signature and the product's own act of marking the ad */
/* Hallmark · waive 8 · hero, problem, solution, steps, close in that order · the user asked for exactly pain, solution and steps with screenshots */
/* Hallmark · waive 26b · no form control and no aria-disabled on the landing page · every control here is a link or a language button that is never disabled */
/* Hallmark · waive 77 · the close is one line and one action, once on the page · it repeats the try action after the steps */
/* Hallmark · answered F24 · the ad is a sheet of paper lying on the page; the hairline is its edge and the shadow its lift */
/* Hallmark · dismissed 58 · the linter counts all three languages; one language shows at a time */
@import url("./landing-tokens.css");
@import url("./landing-base.css");

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* Languages: German is the page without scripts; the switch shows one language at a time */
html:not([data-l="en"]):not([data-l="zh"]) .t:not([lang="de"]),
html[data-l="en"] .t:not([lang="en"]),
html[data-l="zh"] .t:not([lang="zh"]) { display: none; }
html:not(.js) .langs { display: none; }

h1, h2, h3 { font-variation-settings: "opsz" 72; }
html[data-l="zh"] h1, html[data-l="zh"] h2, html[data-l="zh"] h3 { letter-spacing: 0; line-height: 1.2; }

/* The highlighter: yellow for what fits, pink for what is missing */
mark { color: inherit; padding: 0 var(--space-3xs); border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
mark.ok { background: var(--color-hi); }
mark.gap { background: var(--color-gap); }
mark.hl { padding: 0; background: linear-gradient(transparent 58%, var(--color-hi) 58%, var(--color-hi) 92%, transparent 92%); }

/* Skip link */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-accent-ink); border-radius: var(--radius-control); }
.skip:focus-visible { top: var(--space-md); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

/* Controls: one black primary, text links for the rest */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 var(--space-lg); border-radius: var(--radius-control); background: var(--color-ink); color: var(--color-accent-ink); font: 600 var(--text-md)/1.2 var(--font-body); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-micro) var(--ease-out), translate var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-ink-2); color: var(--color-accent-ink); }
.btn:active { translate: 0 1px; }
.btn--small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.textlink, .nav__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; white-space: nowrap; transition: text-decoration-color var(--dur-micro) var(--ease-out); }
.textlink:hover, .nav__link:hover { text-decoration-color: var(--color-hi); text-decoration-thickness: 3px; }
.nav__link { font-weight: 500; color: var(--color-ink-2); text-decoration: none; }
.nav__link:hover { color: var(--color-ink); text-decoration: underline; }

/* Nav: mark and wordmark, then one link, the languages and one action */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; text-decoration: none; color: var(--color-ink); border-radius: var(--radius-control); }
.brand:hover .wordmark { text-decoration: underline; text-decoration-color: var(--color-hi); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.mark { width: 34px; height: 34px; flex: none; }
.mark__lens { fill: var(--color-sheet); stroke: var(--color-ink); stroke-width: 4; }
.mark__line { stroke: var(--color-mark-line); stroke-width: 2.6; stroke-linecap: round; }
.mark__hit { stroke: var(--color-mark-hit); stroke-width: 4; stroke-linecap: round; }
.mark__handle { stroke: var(--color-ink); stroke-width: 5.5; stroke-linecap: round; }
.wordmark { font: 600 1.5rem/1 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }
.nav__end { display: flex; align-items: center; gap: var(--space-lg); }
.langs { display: flex; gap: var(--space-3xs); }
.lang { min-height: 44px; min-width: 44px; padding: 0 var(--space-xs); border: 0; border-radius: var(--radius-control); background: transparent; color: var(--color-ink-2); font: 500 var(--text-sm)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.lang:hover { background: var(--color-paper-3); color: var(--color-ink); }
.lang:active { translate: 0 1px; }
.lang[aria-pressed="true"] { color: var(--color-ink); font-weight: 700; background: var(--color-hi-soft); }

/* Hero: the question on the left, the sample ad marked up on the right */
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; min-height: min(calc(100dvh - 76px), 52rem); padding-block: var(--space-xl) var(--space-2xl); }
.hero__text { display: grid; gap: var(--space-lg); justify-items: start; }
.hero h1 { font-size: var(--text-display); line-height: 1.02; max-width: 10ch; }
html[data-l="zh"] .hero h1 { max-width: 6em; }
.hero .lead { color: var(--color-ink-2); max-width: 32ch; }
html[data-l="zh"] .hero .lead { max-width: 20em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); margin-top: var(--space-xs); }
.hero__note { font-size: var(--text-sm); color: var(--color-muted); }

/* The sample ad: one sheet, the highlights and a stamp */
.ad { margin: 0; display: grid; gap: var(--space-sm); }
.ad__paper { position: relative; padding: var(--space-xl) var(--space-xl) var(--space-lg); background: var(--color-sheet); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); box-shadow: var(--shadow-sheet); }
.ad__title { font: 600 1.625rem/1.2 var(--font-display); font-variation-settings: "opsz" 36; padding-right: var(--space-3xl); }
.ad__meta { margin-top: var(--space-2xs); color: var(--color-ink-2); font-size: var(--text-sm); }
.ad__sub { margin-top: var(--space-md); font-weight: 700; font-size: var(--text-sm); }
.ad__list { margin: var(--space-2xs) 0 0; padding-left: var(--space-md); display: grid; gap: var(--space-2xs); font-size: 1rem; line-height: 1.6; }
.ad__list li::marker { color: var(--color-muted); }
.stamp { position: absolute; right: calc(-1 * var(--space-lg)); top: calc(-1 * var(--space-xl)); width: 132px; height: 132px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--color-ink); color: var(--color-accent-ink); box-shadow: var(--shadow-stamp); }
.stamp__n { font: 600 3.25rem/1 var(--font-display); font-variant-numeric: lining-nums; }
.stamp__of { margin-top: var(--space-2xs); font-size: var(--text-xs); }
.notes { list-style: none; margin: var(--space-lg) 0 0; padding: var(--space-md) 0 0; border-top: var(--rule-hair) dashed var(--color-rule); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs) var(--space-lg); font-size: var(--text-sm); }
.note { display: flex; justify-content: space-between; gap: var(--space-xs); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-control); }
.note--ok { background: var(--color-hi-soft); }
.note--gap { background: var(--color-gap-soft); }
.note span { color: var(--color-ink-2); text-align: right; }
.ad figcaption, .solution__visual figcaption { font-size: var(--text-xs); color: var(--color-muted); }

/* Problem: the three questions as rows */
.problem { padding-block: var(--section-gap) var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.problem__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: start; }
.problem__head { display: grid; gap: var(--space-lg); align-content: start; }
.problem h2 { font-size: var(--text-section); max-width: 11ch; }
.problem__lead { color: var(--color-ink-2); font-size: var(--text-lead); max-width: 30ch; }
.problem__photo { margin: var(--space-md) 0 0; }
.problem__photo img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-sheet); }
html[data-l="zh"] .problem h2 { max-width: 7em; }
.pains { margin: 0; padding: 0; list-style: none; border-top: var(--rule-bar) solid var(--color-ink); }
.pain { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl); padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.pain__q { font-size: var(--text-2xl); line-height: 1.15; }
.pain__a { color: var(--color-ink-2); font-size: var(--text-lg); line-height: 1.55; max-width: 44ch; }

/* Solution: what the tool does, beside the real result */
.solution { background: var(--color-paper-3); padding-block: var(--section-gap-s); }
.solution__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.solution__text { display: grid; gap: var(--space-xl); }
.solution h2 { font-size: var(--text-section); max-width: 16ch; }
html[data-l="zh"] .solution h2 { max-width: 12em; }
.points { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-xl); }
.point { padding-top: var(--space-md); border-top: var(--rule-bar) solid var(--color-ink); }
.point h3 { font-size: var(--text-title); margin-bottom: var(--space-xs); }
.point p { color: var(--color-ink-2); max-width: 45ch; }
.solution__visual { margin: 0; display: grid; gap: var(--space-sm); }

/* Screenshots of the real app: white sheets with a hairline */
.shot { overflow: hidden; background: var(--color-sheet); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); box-shadow: var(--shadow-sheet); }
.shot--evidence { width: min(100%, 440px); }

/* Steps: three numbered columns, each with its real screen */
.steps { padding-block: var(--section-gap) var(--section-gap-s); }
.steps h2 { font-size: var(--text-section); margin-bottom: var(--space-2xl); }
.steps__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.step { display: grid; grid-template-rows: auto auto auto 1fr; gap: var(--space-xs); align-content: start; }
.step__n { font: 600 3.5rem/1 var(--font-display); color: var(--color-mark-line); font-variant-numeric: lining-nums; }
.step h3 { font-size: var(--text-xl); margin-top: var(--space-xs); }
.step__text { color: var(--color-ink-2); max-width: 45ch; }
.step .shot { height: 320px; margin-top: var(--space-md); box-shadow: none; }

/* Close: one line and the action again */
.close { padding-block: var(--space-3xl); border-top: var(--rule-bar) solid var(--color-ink); }
.close__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); flex-wrap: wrap; }
.close h2 { font-size: var(--text-section); max-width: 20ch; }
html[data-l="zh"] .close h2 { max-width: 14em; }

/* Footer: colophon */
.footer { padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.footer__grid { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; }
.brand--small .wordmark { font-size: 1.125rem; }
.brand--small .mark { width: 26px; height: 26px; }
.footer__colophon { color: var(--color-muted); font-size: var(--text-sm); margin-right: auto; }
.footer__links { display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); color: var(--color-ink-2); }
.footer__links a:hover { color: var(--color-ink); }

@media (max-width: 64rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: var(--space-3xl); }
  .ad { max-width: 620px; }
  .problem__grid, .solution__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .steps__list { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); max-width: 520px; }
}
@media (max-width: 40rem) {
  .nav__link, .nav__end .btn--small { display: none; }
  .nav__end { gap: var(--space-xs); }
  .lang { min-width: 40px; padding: 0 var(--space-2xs); }
  .ad__paper { padding: var(--space-lg) var(--space-md) var(--space-md); }
  .stamp { width: 96px; height: 96px; right: calc(-1 * var(--space-xs)); top: calc(-1 * var(--space-2xl)); }
  .stamp__n { font-size: 2.25rem; }
  .ad__title { padding-right: var(--space-2xl); font-size: 1.375rem; }
  .notes, .points, .pain { grid-template-columns: minmax(0, 1fr); }
  .pain { gap: var(--space-sm); padding-block: var(--space-lg); }
}
@media (max-width: 23rem) { .wordmark { display: none; } }
@media (prefers-reduced-motion: reduce) { .btn:active, .lang:active { translate: none; } }
