/* Hallmark · shape: Map / Diagram · genre: modern-minimal · theme: Coral (deal 1/3, seed medishift-rkiye-deki-hastaneler-5ab8·a7099b59·2026-10-27·r0) · job: sign up · draw: a63e31
 * hero: Stage · nav: banner over a retracting bar · footer: index columns · imagery: the product, built as stationery (no photographs) · signature: the month's nöbet çizelgesi filling itself on a cotton sheet, then "Onaylandı" pressed in coral
 * axes: light/grotesk-sans/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P2 H1 E1 S1 R1 V1 · weakest: P (pictures), the product has no screenshots yet so the sheet is built in CSS at full fidelity and reused below
 * waive: F4 (two filled recipes .btn--card + .btn--ink) — Coral's controls are letterpress cards by definition (cotton card = secondary, ink board = primary); the hero carries one filled action and a typographic link
 * waive: 58 (visible words) — the two built sheets contribute ~180 one-letter shift codes and day numbers that the counter reads as words; prose is under 300 words
 * swap: draw's "code sample / integration" → the WhatsApp istek linki flow (the product's integration is a link, not an API)
 * answered: 46a no metrics, quotes or logos; prices are the product's own list prices (MEDISHIFT_PRICES) */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --sheet-cell: 22px;
  --nav-h: 64px;
}

body { background-color: var(--color-paper); }

/* ---------- nav: banner over a retracting bar ---------- */
.banner { background: var(--color-board); color: var(--color-board-type); font-size: var(--text-sm); text-align: center; padding: var(--space-xs) var(--gutter); }
.banner a { color: inherit; }
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: var(--rule-hair) solid var(--color-rule); transition: transform var(--dur-short) var(--ease-out); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__row { display: flex; align-items: center; gap: var(--space-lg); min-height: var(--nav-h); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-xs); text-decoration: none; font-weight: 600; font-size: var(--text-lg); letter-spacing: -0.02em; }
.wordmark__mark { width: 26px; height: 26px; border-radius: 6px; background: var(--color-board); position: relative; }
.wordmark__mark::after { content: ""; position: absolute; inset: 7px; border-radius: 2px; background: var(--color-accent); }
.nav__links { display: flex; gap: var(--space-lg); margin-left: auto; font-size: var(--text-sm); }
.nav__links a { text-decoration: none; color: var(--color-ink-2); padding: var(--space-xs) 0; }
.nav__links a:hover { text-decoration: underline; text-decoration-color: var(--color-accent-2); }
.nav__cta { margin-left: var(--space-md); }
@media (max-width: 60rem) { .nav__links { display: none; } }

/* ---------- controls: letterpress cards ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-stock); font-weight: 500; font-size: var(--text-md); text-decoration: none; cursor: pointer; transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.btn--card { background-color: var(--color-cotton); background-image: var(--tex-cotton); color: var(--color-print); text-shadow: 0.5px 0.75px 0 var(--color-cotton); box-shadow: var(--edge-stock), var(--cast-stock); }
.btn--ink { background: var(--color-board); color: var(--color-board-type); text-shadow: 0 -0.75px 0 var(--color-ink); box-shadow: var(--cast-stock); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--edge-stock), var(--cast-stock-lift); }
.btn--ink:hover { box-shadow: var(--cast-stock-lift); }
.btn:active { transform: translateY(1px); box-shadow: var(--edge-stock), var(--shadow-card); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--sm { min-height: 38px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn--loading { position: relative; color: transparent; }
.btn--loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--color-board-type); border-top-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.stock { background-color: var(--color-cotton); background-image: linear-gradient(100deg, var(--color-cotton), transparent 45%), var(--tex-cotton); color: var(--color-print); box-shadow: var(--edge-stock), var(--cast-stock); border-radius: var(--radius-stock); }
.desk { background-color: var(--color-desk); background-image: radial-gradient(90% 120% at 0% 30%, var(--color-cotton), transparent 62%), var(--tex-desk); }
.fig { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.label { font-size: var(--text-sm); color: var(--color-muted); font-weight: 500; }
.muted { color: var(--color-muted); }

/* ---------- hero: Stage ---------- */
.hero { padding-block: var(--space-xl) var(--space-2xl); }
.hero h1 { font-size: var(--text-display-s); max-width: 14ch; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.hero__copy { grid-column: 1 / 6; display: grid; gap: var(--space-lg); }
.hero__stage { grid-column: 6 / 13; min-width: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero__note { font-size: var(--text-sm); color: var(--color-muted); }
.hero__link { align-self: center; padding: var(--space-sm) var(--space-xs); font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 0.2em; border-radius: var(--radius-input); }
.hero__link:hover { text-decoration-color: var(--color-accent-2); }
@media (max-width: 60rem) { .hero__copy, .hero__stage { grid-column: 1 / -1; } .hero { padding-block: var(--space-xl) var(--space-2xl); } }

/* the sheet: a cotton nöbet çizelgesi built in CSS */
.sheet { padding: var(--space-md) var(--space-md) var(--space-lg); position: relative; transform: rotate(-0.6deg); }
.sheet__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); padding-bottom: var(--space-xs); border-bottom: var(--rule-hair) solid var(--color-rule-2); margin-bottom: var(--space-xs); }
.sheet__title { font-weight: 600; font-size: var(--text-sm); }
.sheet__meta { font-size: var(--text-xs); color: var(--color-muted); }
.sheet table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 11px; }
.sheet th, .sheet td { border: 0.5px solid var(--color-rule); height: var(--sheet-cell); text-align: center; padding: 0; overflow: hidden; }
.sheet th { font-weight: 500; color: var(--color-muted); font-family: var(--font-outlier); font-size: 10px; }
.sheet th.wk, .sheet td.wk { background: var(--color-paper-2); }
.sheet th:first-child, .sheet td.name { width: 96px; }
.sheet td.name { text-align: left; padding-left: var(--space-xs); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet th:last-child, .sheet td.sum { width: 34px; }
.sheet td.sum { font-family: var(--font-outlier); color: var(--color-muted); }
.sheet .cell { display: inline-block; min-width: 16px; line-height: 16px; border-radius: 3px; font-weight: 600; font-size: 10px; }
.sheet .cell.g { background: color-mix(in oklab, var(--color-success) 14%, var(--color-cotton)); color: var(--color-success); }
.sheet .cell.n { background: var(--color-board); color: var(--color-board-type); }
.sheet .cell.off { color: var(--color-muted); font-weight: 400; }
.js .sheet.is-live .cell { opacity: 0; transform: translateY(2px); animation: drop var(--dur-long) var(--ease-out) forwards; animation-delay: calc(var(--i) * 28ms + 300ms); }
@keyframes drop { to { opacity: 1; transform: translateY(0); } }
.stamp { position: absolute; right: 7%; bottom: 10%; padding: var(--space-2xs) var(--space-sm); font-weight: 600; font-size: var(--text-lg); letter-spacing: -0.02em; color: var(--color-paid); border: 2px solid var(--color-paid); border-radius: 6px; transform: rotate(-7deg); opacity: 0.92; filter: url(#press); mix-blend-mode: multiply; }
.js .sheet.is-live .stamp { opacity: 0; animation: press var(--dur-long) var(--ease-out) forwards; animation-delay: 5.2s; }
@keyframes press { from { opacity: 0; transform: rotate(-7deg) scale(1.25); } to { opacity: 0.92; transform: rotate(-7deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .js .sheet.is-live .cell { animation: none; opacity: 1; transform: none; } .js .sheet.is-live .stamp { animation: none; opacity: 0.92; } }
@media (max-width: 40rem) { .sheet td.name { width: 64px; font-size: 10px; } .sheet .day-late { display: none; } }

/* ---------- sections ---------- */
.section { padding-block: var(--section-gap-s); }
.section__head { display: grid; gap: var(--space-sm); margin-bottom: var(--space-xl); max-width: 60ch; }
.section--board { background: var(--color-board); color: var(--color-board-type); }
.section--board .label { color: color-mix(in oklab, var(--color-board-type) 70%, transparent); }
.section--board .muted { color: color-mix(in oklab, var(--color-board-type) 72%, transparent); }

/* map: three stationery pieces connected by a hairline */
.map { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); position: relative; align-items: start; }
.map__step { grid-column: span 4; display: grid; gap: var(--space-sm); position: relative; }
.map__step::before { content: ""; position: absolute; top: 20px; left: calc(100% + 4px); width: var(--gap-columns); height: 0; border-top: 1px dashed var(--color-rule-2); }
.map__step:last-child::before { display: none; }
.map__no { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-muted); }
.map__piece { min-height: 190px; padding: var(--space-md); display: grid; align-content: start; gap: var(--space-xs); }
.map__piece p { max-width: none; }
@media (max-width: 60rem) { .map__step { grid-column: 1 / -1; } .map__step::before { display: none; } }

/* index cards (requests) */
.cards { display: grid; gap: var(--space-xs); }
.card { padding: var(--space-xs) var(--space-sm); font-size: var(--text-sm); display: flex; justify-content: space-between; gap: var(--space-sm); background-color: var(--color-cotton); background-image: var(--tex-cotton); box-shadow: var(--edge-stock), var(--shadow-card); border-radius: 6px; transform: rotate(var(--r, 0deg)); }
.card .fig { color: var(--color-muted); }

/* envelope (export) */
.envelope { position: relative; padding: var(--space-md); min-height: 150px; display: grid; align-content: end; }
.envelope::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 44%; background: linear-gradient(170deg, var(--color-paper-2), var(--color-cotton)); clip-path: polygon(0 0, 100% 0, 50% 100%); box-shadow: var(--shadow-card); border-radius: var(--radius-stock) var(--radius-stock) 0 0; }
.envelope__addr { position: relative; font-size: var(--text-sm); display: grid; gap: var(--space-3xs); }

/* pinned run: the engine */
.pinned { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.pinned__sticky { grid-column: 1 / 7; position: sticky; top: calc(var(--nav-h) + var(--space-lg)); }
.pinned__list { grid-column: 7 / 13; display: grid; gap: 0; }
.rule { padding: var(--space-lg) 0; border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-board-type) 18%, transparent); display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-md); }
.rule:last-child { border-bottom: var(--rule-hair) solid color-mix(in oklab, var(--color-board-type) 18%, transparent); }
.rule__code { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-accent); padding-top: var(--space-2xs); }
.rule h3 { font-size: var(--text-lg); margin-bottom: var(--space-2xs); color: inherit; }
.rule p { max-width: 48ch; }
.section--board .sheet { transform: rotate(0.4deg); box-shadow: var(--edge-stock), 12px 12px 24px -10px oklch(var(--deep) / 0.6); }
.warn-list { margin: var(--space-md) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-2xs); font-size: var(--text-xs); }
.warn-list li { padding: var(--space-xs) var(--space-sm); border: var(--rule-hair) solid var(--color-accent-2); border-radius: var(--radius-input); background: var(--color-cotton); }
@media (max-width: 60rem) { .pinned__sticky, .pinned__list { grid-column: 1 / -1; } .pinned__sticky { position: static; } }

/* integration: the istek link */
.link-flow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.link-flow__copy { grid-column: 1 / 6; display: grid; gap: var(--space-md); }
.link-flow__demo { grid-column: 7 / 13; display: grid; gap: var(--space-md); }
.linkcard { padding: var(--space-md); display: grid; gap: var(--space-xs); }
.linkcard__url { font-family: var(--font-outlier); font-size: var(--text-sm); word-break: break-all; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-input); box-shadow: var(--press-groove); background: var(--color-paper); }
.mini-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-2xs); }
.mini-cal span { aspect-ratio: 1; display: grid; place-items: center; font-family: var(--font-outlier); font-size: 12px; border-radius: 5px; background: var(--color-paper); box-shadow: var(--edge-stock); }
.mini-cal span.wk { background: var(--color-paper-2); }
.mini-cal span.pick { background: var(--color-board); color: var(--color-board-type); }
.mini-cal span.head { aspect-ratio: auto; box-shadow: none; background: none; color: var(--color-muted); font-size: 11px; }
@media (max-width: 60rem) { .link-flow__copy, .link-flow__demo { grid-column: 1 / -1; } }

/* pricing table with period switch */
.groove { display: inline-grid; grid-auto-flow: column; position: relative; padding: var(--space-2xs); border-radius: 12px; background: var(--color-paper-2); box-shadow: var(--press-groove); }
.groove input { position: absolute; opacity: 0; pointer-events: none; }
.groove label { position: relative; z-index: 1; padding: var(--space-xs) var(--space-md); border-radius: 8px; font-size: var(--text-sm); font-weight: 500; cursor: pointer; color: var(--color-muted); transition: color var(--dur-short) var(--ease-out); }
.groove input:checked + label { color: var(--color-print); }
.groove input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.groove__ride { position: absolute; top: var(--space-2xs); bottom: var(--space-2xs); left: var(--space-2xs); width: var(--w, 33%); border-radius: 8px; background-color: var(--color-cotton); background-image: var(--tex-cotton); box-shadow: var(--edge-stock), var(--shadow-card); transform: translateX(var(--x, 0)); transition: transform var(--dur-short) var(--ease-out); }
.pricing { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; margin-top: var(--space-xl); }
.plan { grid-column: span 6; padding: var(--space-lg); display: grid; gap: var(--space-md); }
.plan__name { font-weight: 600; font-size: var(--text-lg); }
.price { display: flex; align-items: baseline; gap: var(--space-xs); line-height: 0.9; }
.price__amount { font-size: var(--text-display-s); font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price__unit { font-size: var(--text-md); color: var(--color-muted); }
.price__per { font-size: var(--text-sm); color: var(--color-muted); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2xs); font-size: var(--text-sm); }
.plan li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: var(--space-xs); padding: var(--space-xs) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.plan li svg { width: 16px; height: 16px; margin-top: var(--space-2xs); }
.plan li.no { color: var(--color-muted); }
.pressed { display: inline-block; color: var(--color-paid); font-weight: 600; transform: rotate(-3deg); filter: url(#press); }
[data-period] { display: none; }
[data-period].is-on { display: inline; }
@media (max-width: 60rem) { .plan { grid-column: 1 / -1; } }

/* close band */
.close { padding-block: var(--section-gap-s); }
.close__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); padding: var(--space-xl); }
.close__row h2 { font-size: var(--text-xl); }

/* footer: index columns */
.footer { border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-2xl); font-size: var(--text-sm); }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.footer__col { grid-column: span 3; display: grid; gap: var(--space-xs); align-content: start; }
.footer__col a { text-decoration: none; color: var(--color-ink-2); }
.footer__col a:hover { text-decoration: underline; }
.footer__col .label { margin-bottom: var(--space-2xs); }
.footer__fine { margin-top: var(--space-xl); color: var(--color-muted); font-size: var(--text-xs); }
@media (max-width: 60rem) { .footer__col { grid-column: span 6; } }

/* ---------- auth forms (login/register) ---------- */
.auth { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; padding-block: var(--space-2xl); }
.auth__card { width: min(100%, 440px); padding: var(--space-xl); display: grid; gap: var(--space-md); }
.field { display: grid; gap: var(--space-2xs); }
.field label { font-size: var(--text-sm); font-weight: 500; }
.input { min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-cotton); color: var(--color-print); width: 100%; }
.input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-focus); }
.input[aria-invalid="true"] { border-color: var(--color-error); }
.error { color: var(--color-error); font-size: var(--text-sm); padding: var(--space-xs) var(--space-sm); border: var(--rule-hair) solid var(--color-error); border-radius: var(--radius-input); background: var(--color-cotton); }
.success { color: var(--color-success); font-size: var(--text-sm); padding: var(--space-xs) var(--space-sm); border: var(--rule-hair) solid var(--color-success); border-radius: var(--radius-input); background: var(--color-cotton); }
.auth__alt { font-size: var(--text-sm); color: var(--color-muted); }
