/* Hallmark · shape: custom · genre: modern-minimal · theme: custom (Apple-like, by request; Terrazzo deal 1/3 set aside) · job: sign up · draw: a4f18e
 * hero: Corridor · nav: solid bar, wordmark · four section links centred · account links, lifts with a shadow on scroll · footer: dark close, the name at display size, the two actions again, four short columns, legal line · imagery: the product, 6 captures of the running app with placeholder data · signature: the uploaded profile document read into the form, floating under the head · direction: white and light-grey bands, one blue pill, product shots with 18px corners and one soft shadow, a dark band for the dashboard
 * axes: light/grotesk-sans/neutral · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V4 · weakest: P, the register is borrowed from Apple; the argument is the product's own: one profile, any form, and every section shows the real screen doing it */
/* 2026-11-05 · type reset by CTO request: Paperlogy (geometric) for display and the wordmark, Wanted Sans Variable for body · two faces, the limit */
/* Hallmark · dismissed 25 · footer and lede measures are in em because Hangul glyphs are a full em wide; 40ch of Latin is about 22 Hangul characters */
/* Hallmark · waive 44c · the hero is exactly one screen: the capture fills the hero's last grid row and the next band starts at the fold · Corridor with the product under the head, as the draw asked */
/* Hallmark · waive 6b · the hero is one centred column by posture (Corridor): head, one sentence, two actions · the capture beneath breaks the axis with its full width */
@import url("./tokens.css");
@import url("./base.css");

/* Hangul wraps between words, never inside one; measures in em, since a Hangul glyph is an em wide */
h1, h2, h3, p, dt, dd, li, figcaption { word-break: keep-all; }
h2 { max-width: 14em; }
.lead { max-width: 28em; color: var(--color-muted); font-weight: 400; }
p:not([class]) { max-width: 34em; }
h1, h2, h3 { color: var(--color-ink); }

/* ---------- chrome ---------- */
/* a plain solid bar: wordmark · section links centred · account links. It lifts with a shadow only once the page scrolls under it. */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); transition: box-shadow var(--dur-short) var(--ease-out); }
.nav--scrolled { box-shadow: 0 1px 0 color-mix(in oklab, var(--color-rule) 70%, transparent), 0 12px 32px oklch(20% 0.01 260 / 0.07); }
.nav .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-lg); min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-xs); font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: -0.02em; text-decoration: none; color: var(--color-ink); }
.wordmark svg { width: 22px; height: 22px; flex-shrink: 0; }
.nav__menu { display: flex; align-items: center; gap: var(--space-xl); font-size: var(--text-sm); font-weight: 500; }
.nav__menu a { text-decoration: none; color: var(--color-ink-2); padding-block: var(--space-xs); white-space: nowrap; transition: color var(--dur-micro) var(--ease-out); }
.nav__menu a:hover { color: var(--color-ink); }
.nav__links { display: flex; align-items: center; justify-self: end; gap: var(--space-lg); font-size: var(--text-sm); font-weight: 500; }
.nav__links a { white-space: nowrap; text-decoration: none; color: var(--color-ink-2); }
.nav__links a:hover { color: var(--color-ink); }
.nav__links .btn { color: var(--color-accent-ink); }

.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: var(--space-sm) var(--space-lg); border: 0; border-radius: var(--radius-pill); font-weight: 500; font-size: var(--text-md); text-decoration: none; color: inherit; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 88%, var(--color-ink)); }
.btn--secondary { background: var(--color-paper-2); color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-paper-3); }
.btn--small { min-height: 32px; padding: var(--space-2xs) var(--space-md); font-size: var(--text-sm); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.band--ink .btn--secondary { background: color-mix(in oklab, var(--color-paper) 14%, transparent); color: var(--color-paper); }

/* ---------- hero: Corridor, the capture floating in its last row ---------- */
.hero { height: calc(100dvh - 64px); min-height: 680px; display: grid; grid-template-rows: auto minmax(220px, 1fr); gap: var(--space-2xl); padding-block: var(--space-3xl) 0; }
.hero__text { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-lg); margin-inline: auto; max-width: 760px; }
.hero__text h1 { max-width: 12em; font-size: var(--text-display); letter-spacing: -0.025em; line-height: 1.06; }
.hero__text .lead { max-width: 26em; font-size: var(--text-xl); line-height: 1.35; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); }
.hero__terms { color: var(--color-muted); font-size: var(--text-sm); }
.hero__shot { min-height: 0; margin-inline: auto; width: min(100%, 1180px); }
.hero__shot .shot { height: 100%; border-radius: var(--radius-card) var(--radius-card) 0 0; box-shadow: var(--shadow-float); }
.hero__shot .shot img { position: absolute; inset: 0; }

/* ---------- the product: rounded, one soft shadow, no border ---------- */
.shot { position: relative; display: block; margin: 0; background: var(--color-plate); border-radius: var(--radius-card); box-shadow: var(--shadow-float); overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 0 0); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-xs) var(--space-md); background: color-mix(in oklab, var(--color-paper) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: var(--text-sm); color: var(--color-muted); }
.shot--flat { box-shadow: var(--shadow-tile); }

/* ---------- bands and sections ---------- */
.band { padding-block: var(--section-gap-s); }
.band--grey { background: var(--color-paper-2); }
.band--ink { background: var(--color-field); color: var(--color-paper); }
.band--ink h2, .band--ink h3 { color: var(--color-paper); }
.band--ink .lead, .band--ink .facts dd, .band--ink .facts dt { color: color-mix(in oklab, var(--color-paper) 70%, var(--color-field)); }
.band--ink .facts dt { color: var(--color-paper); }
.band--ink .facts, .band--ink .facts > div { border-color: color-mix(in oklab, var(--color-paper) 18%, transparent); }
.band + .band:not(.band--grey):not(.band--ink) { padding-top: var(--section-gap); }

.head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-md); margin-inline: auto; margin-bottom: var(--space-2xl); }
.head h2 { font-size: var(--text-section); letter-spacing: -0.03em; }
.head .lead { font-size: var(--text-lg); }

.showcase { margin-inline: auto; width: min(100%, 1180px); aspect-ratio: 16 / 9; }
.showcase--auto { aspect-ratio: auto; }
.showcase--auto img { height: auto; object-fit: contain; }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.split__text { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: var(--space-lg); }
.split__text h2 { font-size: var(--text-section); letter-spacing: -0.03em; }
.split__visual { grid-column: 7 / span 6; aspect-ratio: 4 / 3; }
.split--reverse .split__text { grid-column: 8 / span 5; }
.split--reverse .split__visual { grid-column: 1 / span 6; grid-row: 1; }
.facts { display: grid; gap: var(--space-sm); margin: 0; border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-md); }
.facts > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: var(--space-md); padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--color-muted); }

/* ---------- bento: four tiles, the lead one wide ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-lg); }
.tile { display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-xl) var(--space-xl) 0; background: var(--color-paper); border-radius: var(--radius-tile); box-shadow: var(--shadow-tile); overflow: hidden; min-height: 460px; }
.tile h3 { font-size: var(--text-xl); letter-spacing: -0.02em; max-width: 14em; }
.tile p { color: var(--color-muted); max-width: 30em; }
.tile .shot { margin-top: auto; border-radius: 12px 12px 0 0; box-shadow: var(--shadow-float); aspect-ratio: 16 / 9; width: 100%; }
.tile--wide { grid-column: span 7; }
.tile--narrow { grid-column: span 5; }
.tile--half { grid-column: span 6; }
.tile--ink { background: var(--color-field); color: var(--color-paper); }
.tile--ink h3 { color: var(--color-paper); }
.tile--ink p { color: color-mix(in oklab, var(--color-paper) 70%, var(--color-field)); }

/* ---------- plans: two cards ---------- */
.plans { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-lg); }
.plan { grid-column: span 6; display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-xl); background: var(--color-paper); border-radius: var(--radius-tile); box-shadow: var(--shadow-tile); }
.plan h3 { font-size: var(--text-xl); letter-spacing: -0.02em; }
.plan .price { font-size: var(--text-3xl); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-xs); color: var(--color-ink-2); }
.plan li { padding-left: var(--space-lg); position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 6px; border-left: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); transform: rotate(-45deg); }
.plan .btn { align-self: flex-start; margin-top: var(--space-sm); }
.fill { color: var(--color-muted); outline: 1px dashed var(--color-rule); outline-offset: 2px; }

/* ---------- footer: a dark close. The name returns large, the two actions once more, then four short columns and the legal line. ---------- */
.footer { background: var(--color-field); color: var(--color-paper); padding-block: var(--space-3xl) var(--space-xl); }
.footer .container { display: flex; flex-direction: column; gap: var(--space-2xl); }
.footer__close { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; }
.footer__name { grid-column: 1 / span 6; font-family: var(--font-display); font-weight: 700; font-size: var(--text-display); letter-spacing: -0.03em; line-height: 0.95; max-width: none; }
.footer__tag { grid-column: 7 / span 6; font-size: var(--text-lead); line-height: 1.45; max-width: 24em; color: color-mix(in oklab, var(--color-paper) 72%, var(--color-field)); }
.footer__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.footer .btn--secondary { background: color-mix(in oklab, var(--color-paper) 14%, transparent); color: var(--color-paper); }
.footer .btn--secondary:hover { background: color-mix(in oklab, var(--color-paper) 22%, transparent); }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); padding-top: var(--space-xl); }
.footer__col h3 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; color: var(--color-paper); margin-bottom: var(--space-sm); }
.footer__col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-xs); font-size: var(--text-sm); color: color-mix(in oklab, var(--color-paper) 70%, var(--color-field)); }
.footer__col a { text-decoration: none; color: inherit; transition: color var(--dur-micro) var(--ease-out); }
.footer__col a:hover { color: var(--color-paper); }
.footer__col .fill { color: color-mix(in oklab, var(--color-paper) 55%, var(--color-field)); outline-color: color-mix(in oklab, var(--color-paper) 30%, transparent); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-md); font-size: var(--text-xs); color: color-mix(in oklab, var(--color-paper) 55%, var(--color-field)); }
.footer__legal p { max-width: none; }
.footer__top { color: inherit; text-decoration: none; }
.footer__top:hover { color: var(--color-paper); }

.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-paper); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- under 60rem everything stacks ---------- */
@media (max-width: 60rem) {
  .nav .container { grid-template-columns: auto 1fr; min-height: 56px; }
  .nav__menu { display: none; }
  .hero { height: auto; min-height: 0; gap: var(--space-xl); padding-block: var(--space-2xl) 0; }
  .hero__text h1 { font-size: var(--text-display-s); }
  .hero__text .lead { font-size: var(--text-lg); }
  .footer { padding-block: var(--space-2xl) var(--space-lg); }
  .footer__close { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .footer__name { font-size: var(--text-display-s); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); padding-top: var(--space-xl); }
  .hero__shot { aspect-ratio: 4 / 3; }
  .hero__shot .shot img { position: static; }
  .showcase { aspect-ratio: 4 / 3; }
  .showcase--auto { aspect-ratio: auto; }
  .split, .split--reverse { display: flex; flex-direction: column; gap: var(--space-xl); }
  .split__visual, .split--reverse .split__visual { aspect-ratio: 4 / 3; width: 100%; order: 1; }
  .bento, .plans { display: flex; flex-direction: column; }
  .tile { min-height: 0; padding: var(--space-lg) var(--space-lg) 0; }
  .plan { padding: var(--space-lg); }
}
@media (max-width: 40rem) {
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .footer__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
}
