/* Hallmark · shape: Workbench (product first, then the record) · genre: modern-minimal · theme: brand · redesign: full
 * paper: var(--bg) (brand, five palettes) · accent: var(--acc) · display: Bricolage Grotesque · body: Manrope · hero: Stage (building on 5 of 11) · nav: dense bar · footer: wordmark over links · signature: the building whose floors are the nine project stages, live in the hero
 * axes: brand paper/brand display/brand gold · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E3 S4 R4 V3 · weakest: E, the screens carry the page so copy stays the owner's own lines */
/* Hallmark · waive 80 · svg#lbld has role=img, nine floors with aria-labels and data-ls click handlers · it is the product's own stage selector, the same building the app shows on its home screen */
/* Hallmark · dropped the stage marquee, the floating notice chips, the aurora glow and the hero's third link (teklif is in the nav) · decoration and a third action */
/* Hallmark · scope: only the landing (#lp); app screens keep the inline stylesheet */
/* Hallmark · reworded "Projeleriniz kat kat yükselirken hiçbir iş gözden kaçmasın" to "Kat kat yükselen projeler, gözden kaçmayan işler" · 58 names the hero head (9 words) */
/* Hallmark · reworded the hero paragraph (25 words) to "Ruhsat, revizyon, görev, takvim, teklif ve tahsilat; aşama aşama tek ekranda." · 58 caps the hero at twelve words */

:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 4.2vw + 1rem, 4.75rem);
  --text-section: clamp(2rem, 2.2vw + 1rem, 3.25rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.5rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.3125rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --dur-micro: 120ms; --dur-short: 220ms;
  --container: 1280px; --gutter: 64px; --gap-columns: 32px; --section-gap: 144px; --nav-h: 68px;
  --z-sticky-nav: 300;
  /* brand tokens, switched by the palette button (PAL in app.js) */
  --color-paper: var(--bg); --color-paper-2: var(--sf); --color-ink: var(--ink); --color-muted: var(--mut);
  --color-rule: var(--ln); --color-accent: var(--acc); --color-accent-ink: var(--acc-ink, oklch(19% 0.02 245)); --color-focus: var(--tl);
  --font-display: var(--fd); --font-body: var(--fb);
  --radius-ctl: 10px; --radius-card: 14px; --radius-shot: 12px;
  --tracking-display: -0.025em;
}
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap: 96px; --nav-h: 60px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap: 72px; --gap-columns: 16px; } }

html, body { overflow-x: clip; }
[hidden] { display: none !important; }
body.lp { padding-bottom: 0; background: var(--color-paper); }
body.lp > header, body.lp #db { position: static; }
body.lp .app { display: none; }
#lp { font-family: var(--font-body); color: var(--color-ink); caret-color: var(--color-accent); }
#lp ::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); color: var(--color-ink); }
#lp :focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
#lp h1, #lp h2, #lp h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: var(--tracking-display); text-wrap: balance; overflow-wrap: break-word; min-width: 0; margin: 0; }
#lp p { margin: 0; text-wrap: pretty; }
#lp .lw { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* the JS reveal stays off: the page is composed, content is visible by default */
#lp .rv, #lp .rv.in { opacity: 1; transform: none; transition: none; }
#lp .ic { display: none; }

/* controls: one primary (gold), one outlined secondary */
#lp .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-ctl); font-weight: 600; font-size: var(--text-md); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
#lp .btn.ac { background: var(--color-accent); color: var(--color-accent-ink); }
#lp .btn.ac:hover { background: color-mix(in oklab, var(--color-accent) 86%, var(--color-ink)); }
#lp .btn.g { background: transparent; color: var(--color-ink); border-color: var(--color-muted); }
#lp .btn.g:hover { border-color: var(--color-ink); background: var(--color-paper-2); }
#lp .btn:active { transform: translateY(1px); }
#lp .btn:disabled { background: var(--color-paper-2); color: var(--color-muted); border-color: var(--color-rule); cursor: not-allowed; transform: none; }
#lp .btn.s { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
#lp a:not(.btn) { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
#lp a:not(.btn):hover { text-decoration-color: var(--color-accent); }

/* nav: a dense bar */
#lp .lt { position: relative; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: 1px solid var(--color-rule); }
#lp .lr { display: flex; align-items: center; gap: var(--space-lg); height: var(--nav-h); max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
#lp .lmark { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; }
#lp .logo { width: 36px; height: 36px; border-radius: var(--radius-ctl); background: var(--color-ink); color: var(--color-paper); display: grid; place-items: center; flex-shrink: 0; }
#lp .lb { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: -0.01em; }
#lp .lnav { position: static; display: flex; gap: var(--space-lg); margin-right: auto; padding: 0; background: none; border: 0; z-index: auto; }
#lp .la { color: var(--color-muted); font-size: var(--text-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
#lp .la:hover { color: var(--color-ink); }
#lp .sx { display: flex; align-items: center; gap: var(--space-xs); }
#lp .pal2 { min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--radius-ctl); border: 1px solid var(--color-rule); background: transparent; color: var(--color-ink); display: inline-flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
#lp .pal2:hover { border-color: var(--color-muted); }
#lp .pal2:active { transform: translateY(1px); }
#lp .pal2 i { width: 16px; height: 16px; border-radius: 50%; background: var(--color-accent); box-shadow: inset -8px 0 0 var(--color-focus); flex-shrink: 0; }
#lp .pal2 .pn { display: inline; font-weight: 600; }
@media (max-width: 60rem) { #lp .lnav { display: none; } #lp .lmark { margin-right: auto; } }
@media (max-width: 40rem) { #lp .pal2 .pn, #lp .sx .btn.g { display: none; } #lp .lr { gap: var(--space-sm); } }

/* hero: Stage, the text on six, the building on five */
#lp .lh { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; min-height: min(calc(100svh - var(--nav-h)), 860px); padding-block: var(--space-xl) var(--space-2xl); }
#lp .lh h1 { font-size: var(--text-display); line-height: 1.02; max-width: 15ch; }
#lp .lh .lead { margin-top: var(--space-lg); font-size: var(--text-lead); line-height: 1.45; color: var(--color-muted); max-width: 40ch; }
#lp .lh-a { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
#lp .nt2 { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); max-width: 48ch; }
#lp .lh-v { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--space-md); }
#lp #bw { width: 100%; display: grid; justify-items: center; transition: transform var(--dur-short) var(--ease-out); }
#lp .bld { width: auto; height: min(58svh, 560px); max-width: 100%; margin: 0; }
#lp figcaption { width: 100%; max-width: 420px; border-top: 1px solid var(--color-rule); padding-top: var(--space-sm); }
#lp .lh-ip { display: block; font-size: var(--text-sm); color: var(--color-muted); }
#lp .sp { background: none; border: 0; border-radius: 0; padding: 0; margin-top: var(--space-2xs); }
#lp .sp h2 { font-size: var(--text-title); letter-spacing: -0.01em; }
#lp .sp p { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) {
  #lp .lh { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; padding-block: var(--space-xl); }
  #lp .bld { height: min(52svh, 440px); }
}

/* the product at work: a switcher over real screens */
#lp .lsec { padding-top: var(--section-gap); scroll-margin-top: var(--nav-h); }
#lp .lsec h2 { font-size: var(--text-section); line-height: 1.05; max-width: 22ch; margin: 0; }
#lp .ek-b { display: flex; justify-content: space-between; align-items: end; gap: var(--space-lg); flex-wrap: wrap; }
#lp .ek-s { display: flex; flex-wrap: wrap; gap: var(--space-2xs); padding: var(--space-2xs); border: 1px solid var(--color-rule); border-radius: var(--radius-ctl); }
#lp .ek-s button { min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: 7px; background: transparent; color: var(--color-muted); font-weight: 600; font-size: var(--text-sm); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
#lp .ek-s button:hover { color: var(--color-ink); }
#lp .ek-s button:active { transform: translateY(1px); }
#lp .ek-s button[aria-selected="true"] { background: var(--color-paper-2); color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-muted); }
#lp .ek-p { margin-top: var(--space-xl); }
#lp .ek-p > p { font-size: var(--text-lead); color: var(--color-muted); margin-bottom: var(--space-lg); max-width: 52ch; }
#lp .shot { border: 1px solid var(--color-rule); border-radius: var(--radius-shot); overflow: hidden; background: var(--color-paper-2); aspect-ratio: 16 / 10; }
#lp .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
#lp .shot .sh-l { display: none; }
:root[data-theme="light"] #lp .shot .sh-d { display: none; }
:root[data-theme="light"] #lp .shot .sh-l { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) #lp .shot .sh-d { display: none; }
  :root:not([data-theme="dark"]) #lp .shot .sh-l { display: block; }
}

/* what it does: rows beside a head */
#lp .oz { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
#lp .oz h2 { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); }
#lp .fg { list-style: none; margin: 0; padding: 0; display: block; }
#lp .oz .card { background: none; border: 0; border-top: 1px solid var(--color-rule); border-radius: 0; padding: var(--space-lg) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-lg); overflow: visible; }
#lp .oz .card:last-child { border-bottom: 1px solid var(--color-rule); }
#lp .oz .card::after { content: none; }
#lp .oz .card:hover { transform: none; }
#lp .oz h3 { font-size: var(--text-title); line-height: 1.2; letter-spacing: -0.01em; }
#lp .oz .card p { margin: 0; color: var(--color-muted); font-size: var(--text-md); }
@media (max-width: 60rem) {
  #lp .oz { grid-template-columns: minmax(0, 1fr); }
  #lp .oz h2 { position: static; margin-bottom: var(--space-lg); }
  #lp .oz .card { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
}

/* getting started: three stages across */
#lp .stps { list-style: none; counter-reset: n; margin: var(--space-xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
#lp .stps li { counter-increment: n; border-top: 2px solid var(--color-ink); padding-top: var(--space-lg); display: grid; gap: var(--space-xs); align-content: start; background: none; border-radius: 0; }
#lp .stps li::before { content: counter(n); font-family: var(--font-display); font-weight: 700; font-size: var(--text-display-s); line-height: 1; color: var(--color-ink); position: static; width: auto; height: auto; background: none; display: block; margin-bottom: var(--space-sm); }
#lp .stps b { font-family: var(--font-display); font-size: var(--text-title); font-weight: 700; letter-spacing: -0.01em; }
#lp .stps span { color: var(--color-muted); }
@media (max-width: 60rem) { #lp .stps { grid-template-columns: minmax(0, 1fr); } }

/* the quote request: a change of paper */
#lp .tk-w { margin-top: var(--section-gap); padding-block: var(--space-3xl); background: var(--color-paper-2); border-block: 1px solid var(--color-rule); }
#lp .tfw { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
#lp .ilt { display: grid; gap: var(--space-lg); align-content: start; }
#lp .ilt p { color: var(--color-muted); max-width: 44ch; }
#lp .ilt p b { color: var(--color-ink); }
#lp .ilt .btn { justify-self: start; }
#lp .tf { background: none; border: 0; padding: 0; border-radius: 0; display: grid; gap: var(--space-md); }
#lp .tf2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
#lp .tf label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); margin: 0 0 var(--space-2xs); }
#lp .tf input, #lp .tf select, #lp .tf textarea { width: 100%; min-height: 48px; padding: var(--space-sm); border-radius: var(--radius-ctl); border: 1px solid var(--color-muted); background: var(--color-paper); color: var(--color-ink); font: inherit; transition: border-color var(--dur-micro) var(--ease-out); }
#lp .tf textarea { min-height: 120px; resize: vertical; }
#lp .tf input:hover, #lp .tf select:hover, #lp .tf textarea:hover { border-color: var(--color-ink); }
#lp .tf input:focus-visible, #lp .tf select:focus-visible, #lp .tf textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-focus); }
#lp .tf input:user-invalid { border-color: var(--bad); }
#lp .tf .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#lp .tf-s { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
#lp .tf-s .nt2 { margin: 0; }
#lp .nt2.ok2 { color: var(--ok); }
#lp .nt2.kr { color: var(--bad); }
@media (max-width: 60rem) { #lp .tfw { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }
@media (max-width: 40rem) { #lp .tf2 { grid-template-columns: minmax(0, 1fr); } }

/* blog: an index of posts */
#lp .blg h2 { margin-bottom: var(--space-lg); }
#lp .fl2 { display: flex; gap: var(--space-xs); flex-wrap: wrap; overflow: visible; padding: 0; margin: 0 0 var(--space-lg); }
#lp .fl2 button { min-height: 44px; padding: 0 var(--space-md); border-radius: 999px; border: 1px solid var(--color-rule); background: transparent; color: var(--color-ink); font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
#lp .fl2 button:hover { border-color: var(--color-muted); }
#lp .fl2 button.on { background: var(--color-paper-2); color: var(--color-ink); border-color: var(--color-ink); }
#lp .bg2 { display: block; margin: 0; }
#lp .bc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-2xs) var(--gap-columns); padding: var(--space-lg) 0; border: 0; border-top: 1px solid var(--color-rule); border-radius: 0; background: none; color: var(--color-ink); text-decoration: none; }
#lp .bc:last-child { border-bottom: 1px solid var(--color-rule); }
#lp .bc .mt { grid-row: span 2; color: var(--color-muted); font-size: var(--text-sm); white-space: normal; }
#lp .bc b { font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); line-height: 1.2; letter-spacing: -0.01em; }
#lp .bc p { grid-column: 2; color: var(--color-muted); max-width: 70ch; }
#lp .bc .oku { display: none; }
#lp .bc:hover b { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
#lp #lbl > .mt { color: var(--color-muted); }
@media (max-width: 40rem) { #lp .bc { grid-template-columns: minmax(0, 1fr); } #lp .bc .mt { grid-row: auto; } #lp .bc p { grid-column: 1; } }

/* close: the action again, on ink */
#lp .band { margin: var(--section-gap) 0 0; padding: var(--space-3xl) var(--space-2xl); border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-paper); text-align: left; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-sm) var(--space-2xl); align-items: end; }
#lp .band h2 { font-size: var(--text-section); line-height: 1.05; color: var(--color-paper); max-width: 18ch; }
#lp .band p { grid-column: 1; color: var(--color-paper); opacity: 1; margin: 0; max-width: 44ch; }
#lp .bd-a { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: flex-end; }
#lp .band .btn.g { color: var(--color-paper); border-color: var(--color-paper); background: transparent; }
#lp .band .btn.g:hover { background: color-mix(in oklab, var(--color-paper) 12%, var(--color-ink)); }
@media (max-width: 60rem) { #lp .band { grid-template-columns: minmax(0, 1fr); padding: var(--space-2xl) var(--space-lg); } #lp .bd-a { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: var(--space-md); } }

/* footer: the wordmark over the links */
#lp .lf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md) var(--space-xl); padding: var(--space-2xl) 0 var(--space-xl); color: var(--color-muted); font-size: var(--text-sm); }
#lp .lf-m { display: grid; gap: var(--space-2xs); }
#lp .lf-m .lb { color: var(--color-ink); }
#lp .lf-l { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-lg); align-items: center; }
#lp .lf-l .lnk { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; cursor: pointer; min-height: 44px; }
#lp .lf-l a { display: inline-flex; align-items: center; min-height: 44px; }
#lp .lf-c { grid-column: 1 / -1; }

@media (prefers-reduced-motion: reduce) {
  #lp *, #lp *::before, #lp *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  #lp #bw { transform: none !important; }
}
