/* Hallmark · shape: Price Split · genre: editorial · theme: brand (bierlich.) · deal: manual · hero: Counter, the headline on paper left, the two entry prices on a violet slab that runs off the right edge · nav: edge bar · footer: mast · signature: the two entry prices, 79 € and 590 €, set huge in white on the violet slab of the first screen
 * axes: light paper/Geist/violet · contrast: checked by hand (ink on paper 17.1:1, muted on paper 6.8:1, muted on paper-2 6.2:1, violet on paper 6.3:1, violet on paper-2 5.7:1, white on violet 6.5:1, soft label on violet 5.0:1, footer labels at 85 % on violet 5.1:1) · sweep: manual, sloplint not run · v2.0.0 */
/* critique: the price is the offer, so it owns half of the first screen; after that every screen is one list on hairlines, each at its own scale (numbered uses, the priced packages, three steps, the questions). Violet appears as the slab, the numerals, the actions and the closing mast, nowhere else. */

/* Mark: the dot keeps the lime of the live mark, the page signal stays violet */
.mark .mark-dot { fill: var(--color-dot); }

h4 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.02; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.tap { display: inline-flex; align-items: center; min-height: 44px; }

/* Opening: paper left, the violet price slab right */
.open > .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); min-height: min(calc(100svh - 73px), 860px); }
.open-say { grid-column: span 7; align-self: center; padding-block: var(--space-2xl); }
.open h1 { font-size: clamp(3.25rem, 7.4vw, 7.25rem); line-height: 0.92; max-width: none; }
.open h1 span { display: block; }
.open h1 .open-ki { color: var(--color-accent-ink); }
.open .lead { margin-top: var(--space-lg); max-width: 34ch; }
.open-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); margin-top: var(--space-xl); }
.open-note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.tariff { --color-focus: var(--color-on-accent); grid-column: span 5; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-xl); padding: var(--space-2xl) 0 var(--space-lg) clamp(24px, 4vw, 64px); color: var(--color-on-accent); }
.tariff::before { content: ''; position: absolute; inset: 0 calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2 + var(--gutter))) 0 0; z-index: -1; background: var(--color-accent); }
.tariff-say { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); letter-spacing: -0.02em; line-height: 1.2; }
.tariff-say span { display: block; }
.tariff-rows li { border-top: 1px solid color-mix(in oklab, var(--color-on-accent) 36%, transparent); }
.tariff-rows a { display: block; padding-block: var(--space-md) var(--space-lg); text-decoration: none; }
.tariff-rows span { display: block; margin-bottom: var(--space-sm); font-size: var(--text-md); font-weight: 500; color: var(--color-on-accent-soft); }
.tariff .price { margin-left: -0.04em; font-size: clamp(5.5rem, 10.5vw, 10.5rem); line-height: 0.84; white-space: nowrap; transition: transform var(--dur-short) var(--ease-out); }
.tariff-rows a:hover .price { transform: translateX(8px); }

/* Section heads: the heading left, its one paragraph right */
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.head > :first-child { grid-column: span 7; }
.head > :last-child { grid-column: span 5; }
.head h2 { font-size: clamp(2.375rem, 4.6vw, 4.5rem); line-height: 0.96; max-width: 15ch; }
.head-note { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

/* What you can do with it: one numbered list on hairlines */
.uses { padding-top: var(--section-gap); }
.uses-group + .uses-group { margin-top: var(--space-3xl); }
.uses-group > h3, .group { max-width: none; padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-ink); font-size: var(--text-xl); line-height: 1.2; letter-spacing: -0.02em; }
.uses-list { counter-reset: use; }
.uses-list > li { counter-increment: use; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xs) var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: 1px solid var(--color-rule); }
.uses-list > li::before { grid-column: span 2; content: counter(use); font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(3.5rem, 6.6vw, 6.75rem); line-height: 0.78; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--color-accent-ink); }
.uses-list h4 { grid-column: span 5; font-size: clamp(1.875rem, 3.3vw, 3.25rem); line-height: 1; hyphens: manual; }
.uses-list p { grid-column: span 5; max-width: 40ch; color: var(--color-muted); }
.uses-own { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); align-items: center; padding-top: var(--space-xl); }
.uses-own p { grid-column: 3 / span 5; font-weight: 500; }
.uses-own .btn { grid-column: span 5; justify-self: start; }

/* From knowing to doing: the one picture beside the three habits */
.can { padding-top: var(--section-gap); }
.can > .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--space-2xl); align-items: start; }
.can-picture { margin: 0; }
.can-picture .picture { aspect-ratio: 4 / 5; }
.can-picture img { object-position: 34% 50%; }
.can-picture figcaption { margin-top: var(--space-sm); }
.can-picture figcaption b { display: block; margin-bottom: var(--space-2xs); font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); letter-spacing: -0.02em; line-height: 1.2; color: var(--color-ink); }
.can h2 { font-size: clamp(2.75rem, 5.7vw, 5.75rem); line-height: 0.92; max-width: none; }
.can h2 span { display: block; }
.can h2 span:last-child { color: var(--color-accent-ink); }
.can .lead { margin-top: var(--space-lg); font-weight: 500; }
.can .rows { margin-top: var(--space-xl); }
.can .rows p { color: var(--color-muted); }
.can-note { margin-top: var(--space-lg); font-weight: 600; }

/* Prices: every package one row, the figure large at the right edge */
.prices { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.group { margin-top: var(--space-2xl); }
.head + .group { margin-top: 0; }
.pack { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); align-items: start; padding-block: var(--space-xl); border-bottom: 1px solid var(--color-rule); }
.pack-name { grid-column: span 4; }
.pack-items { grid-column: span 5; }
.pack-buy { grid-column: span 3; }
.pack h4 { font-size: clamp(1.75rem, 2.7vw, 2.625rem); }
.pack-tag { margin-top: var(--space-sm); font-weight: 600; color: var(--color-accent-ink); }
.pack-dur { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
.pack-items li { padding-block: 9px; border-bottom: 1px solid var(--color-rule); }
.pack-items li:first-child { padding-top: 0; }
.pack-items li:last-child { border-bottom: 0; padding-bottom: 0; }
.pack-buy { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-md); text-align: right; }
.pack .price { font-size: clamp(3.25rem, 6vw, 5.75rem); line-height: 0.82; white-space: nowrap; }
.price-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); margin-block: var(--space-xl) var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

/* Steps: a real ordered list, three across */
.steps { padding-top: var(--section-gap); }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; border-top: 1px solid var(--color-ink); }
.steps-list > li { counter-increment: step; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-md); align-items: baseline; align-content: start; padding: var(--space-lg) var(--space-lg) var(--space-xl) 0; }
.steps-list > li + li { padding-left: var(--space-lg); border-left: 1px solid var(--color-rule); }
.steps-list > li::before { content: counter(step); font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(4.5rem, 9vw, 9rem); line-height: 0.86; letter-spacing: -0.05em; }
.step-name { font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; color: var(--color-accent-ink); }
.steps-list h3 { grid-column: 1 / -1; margin-top: var(--space-xl); font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1.05; }
.steps-list h3 + p { grid-column: 1 / -1; margin-top: var(--space-sm); color: var(--color-muted); }
.steps-more { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-lg) var(--gap-columns); align-items: center; margin-top: var(--space-xl); padding: var(--space-xl); border-radius: var(--radius-picture); background: var(--color-paper-2); }
.steps-more p { margin-top: var(--space-xs); color: var(--color-muted); }
.steps-more .btn { justify-self: end; }

/* Questions: the heading stays beside the list */
.asks { padding-top: var(--section-gap); }
.asks > .container { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.asks h2 { position: sticky; top: var(--space-3xl); font-size: clamp(2.375rem, 4.6vw, 4.5rem); line-height: 0.96; max-width: 7ch; }

/* Contact: the draft is prepared in the browser, the visitor sends it */
.reach { padding-top: var(--section-gap); }
.reach > .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--space-2xl); align-items: start; }
.reach h2 { font-size: clamp(2.75rem, 5.4vw, 5.5rem); line-height: 0.92; max-width: 9ch; margin-bottom: var(--space-lg); }
.reach-say p + p { margin-top: var(--space-sm); color: var(--color-muted); }
.reach-tel { display: inline-flex; align-items: center; min-height: 52px; margin-top: var(--space-lg); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-3xl); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 3px; text-underline-offset: 0.18em; transition: color var(--dur-short); }
.reach-tel:hover { color: var(--color-accent-ink); }
.draft { padding: clamp(24px, 4vw, 56px); border-radius: var(--radius-picture); background: var(--color-paper-2); }
.draft-chosen { padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-ink); font-size: var(--text-lg); line-height: 1.3; }
.draft label { display: block; margin: var(--space-lg) 0 var(--space-xs); font-size: var(--text-sm); font-weight: 600; }
.draft label span { font-weight: 400; color: var(--color-muted); }
.draft input, .draft textarea { display: block; width: 100%; min-height: 52px; padding: 14px var(--space-md); border: 1px solid color-mix(in oklab, var(--color-ink) 48%, var(--color-paper)); border-radius: var(--radius-control); background: var(--color-paper); line-height: 1.4; transition: border-color var(--dur-short), box-shadow var(--dur-short); }
.draft textarea { resize: vertical; }
.draft input:hover, .draft textarea:hover { border-color: var(--color-ink); }
.draft input:focus-visible, .draft textarea:focus-visible { border-color: var(--color-accent); outline-offset: 1px; }
.draft ::placeholder { color: var(--color-muted); opacity: 1; }
.draft-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-md); margin-top: var(--space-lg); }
.draft-note { margin-top: var(--space-md); max-width: 62ch; font-size: var(--text-sm); color: var(--color-muted); }
.draft-note a { color: var(--color-ink); font-weight: 600; }

/* Mast in violet: four columns, labels readable on the field */
.foot { --color-focus: var(--color-foot-ink); }
.foot-grid > .foot-say { grid-column: span 3; }
.foot h2, .foot-legal { opacity: 0.85; }
.foot li { overflow-wrap: anywhere; }
.foot-legal { align-items: center; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 44px; background-position: 0 calc(50% + 0.8em); }
.legal-back a { font-weight: 600; }

@media (max-width: 60rem) {
  .open > .container, .head, .can > .container, .asks > .container, .reach > .container, .steps-more, .price-notes { grid-template-columns: minmax(0, 1fr); }
  .open-say, .tariff, .head > :first-child, .head > :last-child { grid-column: auto; }
  .open > .container { min-height: 0; gap: 0; }
  .open-say { padding-block: var(--space-2xl) var(--space-xl); }
  .tariff { margin-inline: calc(var(--gutter) * -1); padding: var(--space-xl) var(--gutter) var(--space-md); }
  .tariff::before { inset: 0; }
  .tariff-say { max-width: none; }
  .head { align-items: start; margin-bottom: var(--space-xl); }
  .uses-list > li { grid-template-columns: 3.5rem minmax(0, 1fr); padding-block: var(--space-lg); }
  .uses-list > li::before { grid-column: 1; font-size: 3.5rem; }
  .uses-list h4, .uses-list p { grid-column: 2; }
  .uses-own { grid-template-columns: minmax(0, 1fr); }
  .uses-own p, .uses-own .btn { grid-column: 1; }
  .can-picture { order: 2; }
  .can-picture .picture { aspect-ratio: 3 / 2; }
  .pack { grid-template-columns: minmax(0, 1fr); padding-block: var(--space-lg); }
  .pack-name, .pack-items, .pack-buy { grid-column: auto; }
  .pack-buy { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .steps-list { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .steps-list > li, .steps-list > li + li { padding: var(--space-lg) 0; border-left: 0; border-top: 1px solid var(--color-rule); }
  .steps-list > li::before { font-size: 4.5rem; }
  .steps-list > li:first-child { border-top-color: var(--color-ink); }
  .steps-list h3 { margin-top: var(--space-md); }
  .steps-more { padding: var(--space-lg); }
  .steps-more .btn { justify-self: start; }
  .asks h2 { position: static; max-width: none; }
  .reach h2 { max-width: none; }
  .foot-grid > .foot-say { grid-column: span 6; }
}
@media (max-width: 40rem) {
  .foot-grid > .foot-say { grid-column: 1 / -1; }
  .draft-actions .btn { flex: 1 1 100%; }
  .reach-tel { font-size: var(--text-2xl); }
}
/* Touch: list links in the mast get a full 44 px target */
@media (pointer: coarse), (max-width: 60rem) {
  .foot li { padding-block: 0; }
  .foot li a { display: inline-flex; align-items: center; min-height: 44px; background-position: 0 calc(50% + 0.8em); }
  .draft-note a { display: inline-block; padding-block: 12px; margin-block: -12px; }
}
