/* Projeyeri tasarım sistemi */

@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jakarta-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jakarta-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jakarta-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jakarta-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/jakarta-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/jakarta-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/jakarta-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/jakarta-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/jakarta-latin-ext-800.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/jakarta-latin-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0d1b38;
  --ink-2: #2b3a57;
  --muted: #56627a;
  --line: #e2e7ef;
  --line-strong: #cdd5e1;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f1f4f9;
  --brand: #047857;
  --brand-hover: #065f46;
  --brand-soft: #e7f6ef;
  --brand-ink: #035c43;
  --info: #1d4ed8;
  --info-soft: #e8efff;
  --warning: #92400e;
  --warning-soft: #fdf3e2;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 56, .06);
  --shadow: 0 1px 2px rgba(13, 27, 56, .05), 0 6px 20px rgba(13, 27, 56, .06);
  --shadow-lg: 0 2px 6px rgba(13, 27, 56, .06), 0 18px 44px rgba(13, 27, 56, .10);
  --focus: 0 0 0 3px #fff, 0 0 0 5px #0d1b38;
  --font: "Jakarta", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
code { font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.btn:focus-visible, .input:focus-visible, select:focus-visible, textarea:focus-visible { box-shadow: var(--focus); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); }
.section-head h2 { margin-bottom: 4px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.xsmall { font-size: .8rem; }
.strong { font-weight: 700; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.pre-line { white-space: pre-line; }
.grow { flex: 1; }

/* Buttons */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-border: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-border); border-radius: 10px;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { background: var(--surface-2); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-primary { --btn-bg: var(--brand); --btn-fg: #fff; --btn-border: var(--brand); }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn-dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-border: var(--ink); }
.btn-dark:hover { background: #1b2c50; color: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-border: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { --btn-bg: #fff; --btn-fg: var(--danger); --btn-border: #f1c4bf; }
.btn-danger:hover { background: var(--danger-soft); color: var(--danger); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .875rem; border-radius: 8px; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; }
.brand-mark svg { width: 18px; height: 18px; }
.brand-name span { color: var(--brand); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.user-menu summary::-webkit-details-marker { display: none; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: inline-grid; place-items: center; font-weight: 800; font-size: .85rem; flex: none; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.5rem; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; }
.menu-pop a, .menu-pop button { display: flex; width: 100%; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font: inherit; font-size: .93rem; background: none; border: 0; cursor: pointer; text-align: left; justify-content: space-between; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--surface-2); }
.menu-pop hr { margin: 6px 0; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 800; }

.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] .mobile-panel { display: block; }
.mobile-panel { position: fixed; left: 0; right: 0; top: 68px; bottom: 0; background: #fff; padding: 20px; overflow-y: auto; border-top: 1px solid var(--line); }
.mobile-panel a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.mobile-panel .btn { margin-top: 16px; }

@media (max-width: 960px) {
  .main-nav, .header-actions .hide-mobile { display: none; }
  .mobile-nav { display: block; }
  .header-inner { gap: 12px; }
}

/* Flash & alerts */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); border: 1px solid; font-size: .95rem; }
.alert p:last-child { margin-bottom: 0; }
.alert-success { background: var(--brand-soft); border-color: #b9e5d2; color: var(--brand-ink); }
.alert-info { background: var(--info-soft); border-color: #c7d6fb; color: #1e3a8a; }
.alert-warning { background: var(--warning-soft); border-color: #f2d7a7; color: var(--warning); }
.alert-danger { background: var(--danger-soft); border-color: #f4c7c2; color: var(--danger); }
.flash-wrap { margin-top: 20px; }
.test-banner { background: #fff7e6; border-bottom: 1px solid #f2d7a7; color: var(--warning); font-size: .85rem; font-weight: 600; text-align: center; padding: 6px 12px; }

/* Badges & chips */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; line-height: 1.5; background: var(--surface-2); color: var(--ink-2); border: 1px solid transparent; white-space: nowrap; }
.badge-success { background: var(--brand-soft); color: var(--brand-ink); }
.badge-info { background: var(--info-soft); color: #1e40af; }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-neutral { background: var(--surface-2); color: var(--ink-2); }
.badge-sample { background: #fff; color: var(--warning); border-color: #f2d7a7; }
.badge-live { background: #fff; color: var(--brand-ink); border-color: #b9e5d2; }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #10b981; }
.badge-pick { background: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink-2); font-size: .9rem; font-weight: 600; text-decoration: none; transition: border-color .15s, background-color .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }
.chip.is-active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.tag { display: inline-block; font-size: .78rem; color: var(--muted); background: var(--surface-2); padding: 2px 8px; border-radius: 6px; }

/* Cards & surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px; }
.card-tight { padding: 16px; }
.card h2, .card h3 { margin-top: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.surface-muted { background: var(--surface-2); border-radius: var(--radius); padding: 16px; }
.divider-list > * + * { border-top: 1px solid var(--line); }
.kv { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 10px 16px; margin: 0; }
.kv dt { color: var(--muted); font-size: .92rem; }
.kv dd { margin: 0; font-weight: 600; }

/* Grid */
.grid { display: grid; gap: 24px; }
.grid-cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* Project card */
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--line-strong); }
.pcard-media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.025); }
.pcard-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.pcard-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 0; flex: 1; }
.pcard-cat { font-size: .78rem; font-weight: 700; color: var(--brand-ink); text-transform: uppercase; letter-spacing: .06em; }
.pcard-title { font-size: 1.12rem; margin: 0; }
.pcard-title a { color: var(--ink); text-decoration: none; }
.pcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard-summary { color: var(--muted); font-size: .93rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-seller { font-size: .85rem; color: var(--ink-2); }
.pcard-feats { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px 18px; margin-top: 12px; border-top: 1px solid var(--line); }
.pcard-price { line-height: 1.25; }
.pcard-price strong { display: block; font-size: 1.1rem; }
.pcard-price span { font-size: .78rem; color: var(--muted); }
.pcard-actions { display: flex; gap: 6px; position: relative; z-index: 2; }

/* Hero */
.hero { padding: 64px 0 48px; background: radial-gradient(1200px 400px at 85% -10%, #e3f5ec 0%, rgba(227, 245, 236, 0) 60%), var(--bg); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lead { font-size: 1.12rem; color: var(--ink-2); max-width: 560px; margin-bottom: 28px; }
.search-box { display: flex; gap: 8px; background: #fff; border: 1px solid var(--line-strong); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); max-width: 620px; }
.search-box:focus-within { border-color: var(--ink); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1.02rem; padding: 10px 12px; background: transparent; color: var(--ink); }
.search-box input:focus-visible { box-shadow: none; }
.examples { margin-top: 16px; }
.examples-label { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.hero-slider { background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-radius: 22px; padding: 16px; box-shadow: var(--shadow-lg); backdrop-filter: blur(6px); min-width: 0; }
.slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 2px 4px 12px; }
.slider-kicker { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); }
.slider-title { font-size: 1rem; font-weight: 700; margin: 2px 0 0; color: var(--ink); letter-spacing: -.01em; }
.slider-count { font-size: .82rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.slider-viewport { position: relative; display: grid; }
.slide { grid-area: 1 / 1; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.js .slide { animation: slide-in .45s var(--ease) both; }
@keyframes slide-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.slide-media { position: relative; display: block; background: var(--surface-2); }
.slide-media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.slide-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.slide-body { display: grid; gap: 14px; padding: 16px 18px 18px; }
.slide-name { font-size: 1.15rem; margin: 4px 0 4px; letter-spacing: -.01em; }
.slide-name a { color: var(--ink); text-decoration: none; }
.slide-name a:hover { color: var(--brand); }
.slide-summary { color: var(--ink-2); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 14px; }
.slider-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.slider-arrow:hover { border-color: var(--ink); background: var(--surface-2); }
.slider-dots { display: flex; gap: 2px; }
.slider-dot { width: 24px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slider-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line-strong); transition: width .25s var(--ease), background-color .25s; }
.slider-dot[aria-current="true"]::before { width: 22px; background: var(--brand); }
.slider-pause { margin-left: 6px; border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 600; color: var(--muted); cursor: pointer; padding: 6px 4px; text-decoration: underline; text-underline-offset: 3px; }
.slider-pause:hover { color: var(--ink); }
html:not(.js) .slider-controls, html:not(.js) .slider-count { display: none; }
.slider-arrow:focus-visible, .slider-dot:focus-visible, .slider-pause:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 999px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .hero { padding-top: 40px; } }
@media (max-width: 480px) { .hero-slider { padding: 12px; border-radius: 18px; } .slide-foot { align-items: stretch; } .slide-foot .pcard-actions { width: 100%; } .slide-foot .pcard-actions .btn { flex: 1; } }
@media (max-width: 560px) { .search-box { flex-direction: column; } .search-box .btn { width: 100%; } }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; min-height: 108px; }
.cat-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.cat-tile strong { font-size: .98rem; line-height: 1.3; }
.cat-tile span { font-size: .82rem; color: var(--muted); margin-top: auto; }
.cat-glyph { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; font-size: .9rem; margin-bottom: 6px; }
@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* CTA band */
.cta-band { background: var(--ink); color: #dbe3f0; border-radius: 22px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cta-band li { display: flex; gap: 10px; }
.cta-band li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: #10b981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8.1 13.6 4.5 10l-1.1 1.1 4.7 4.7L17 6.9l-1.1-1.1z'/%3E%3C/svg%3E") center / 13px no-repeat; }
.cta-band .btn-light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-border: #fff; }
@media (max-width: 800px) { .cta-band { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; } }

/* Listing */
.page-head { padding: 36px 0 20px; }
.page-head p { color: var(--muted); max-width: 680px; margin: 0; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumbs a { color: var(--muted); }
.listing { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 64px; }
.filters { position: sticky; top: 88px; }
.filters-toggle { display: none; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group > legend, .filter-title { font-weight: 700; font-size: .92rem; margin-bottom: 10px; padding: 0; }
.filter-group fieldset { border: 0; padding: 0; margin: 0; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.results-bar select { width: auto; min-width: 190px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
@media (max-width: 960px) {
  .listing { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; }
  .js .filters-toggle { display: flex; margin-bottom: 8px; }
  .js .filters-body.is-collapsed { display: none; }
}

/* Pager */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; }
.pager a:hover { border-color: var(--brand); }
.pager [aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Empty state */
.empty { text-align: center; padding: 48px 24px; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty h2, .empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 520px; margin: 0 auto 20px; }

/* Forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > label, .label { font-weight: 700; font-size: .93rem; color: var(--ink); }
.field .hint { font-size: .84rem; color: var(--muted); margin: 0; }
.optional { font-weight: 500; color: var(--muted); font-size: .85rem; }
.input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 11px 13px; min-height: 46px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.input:hover, select:hover, textarea:hover { border-color: #b4bfcf; }
.input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
.input-validation-error { border-color: var(--danger) !important; background: #fffafa; }
.field-error, .field-validation-error { color: var(--danger); font-size: .85rem; font-weight: 600; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1em; }
.validation-summary-errors { background: var(--danger-soft); border: 1px solid #f4c7c2; color: var(--danger); border-radius: var(--radius); padding: 12px 16px; font-size: .92rem; }
.validation-summary-valid { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; padding: 4px 0; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--brand); flex: none; }
.check small { display: block; color: var(--muted); }
.radio-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.radio-card { position: relative; display: block; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-card span { display: block; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; font-weight: 600; transition: border-color .15s, background-color .15s; }
.radio-card span small { display: block; font-weight: 500; color: var(--muted); }
.radio-card input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.radio-card input:focus-visible + span { box-shadow: var(--focus); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding-top: 8px; }
.form-section { padding: 24px 0; border-top: 1px solid var(--line); }
.form-section:first-child { border-top: 0; padding-top: 0; }
.form-section > h2, .form-section > h3 { margin-bottom: 4px; }
.form-section > p.muted { margin-bottom: 16px; }
.two-col { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.toggle-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; }
.toggle-block .toggle-body { margin-top: 14px; display: grid; gap: 16px; }
[hidden] { display: none !important; }
input[type="file"] { font: inherit; font-size: .92rem; max-width: 100%; min-width: 0; }

/* Auth */
.auth-wrap { min-height: calc(100vh - 68px - 200px); display: grid; place-items: center; padding: 48px 20px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 1.8rem; }

/* Project detail */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-bottom: 64px; }
.detail-grid.aside-wide { grid-template-columns: minmax(0, 1fr) 420px; }
.detail-grid.aside-narrow { grid-template-columns: minmax(0, 1fr) 340px; padding-bottom: 0; }
.detail-aside { position: sticky; top: 88px; display: grid; gap: 16px; min-width: 0; }
.only-narrow { display: none; }
.detail-aside { scroll-margin-top: 88px; }
@media (max-width: 1000px) { .detail-grid, .detail-grid.aside-wide, .detail-grid.aside-narrow { grid-template-columns: minmax(0, 1fr); } .detail-aside { position: static; } .only-narrow { display: flex; } }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: none; width: 112px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: #fff; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--brand); }
.gallery-thumbs img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.detail-title { margin-top: 28px; }
.detail-title h1 { margin-bottom: 10px; }
.detail-meta { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .92rem; }
.detail-section { padding: 28px 0; border-top: 1px solid var(--line); }
.detail-section:first-of-type { border-top: 0; }
.detail-section h2 { font-size: 1.3rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23047857'%3E%3Cpath d='M8.1 13.6 4.5 10l-1.1 1.1 4.7 4.7L17 6.9l-1.1-1.1z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cols-2 { columns: 2; column-gap: 32px; }
.cols-2 li { break-inside: avoid; margin-bottom: 10px; }
@media (max-width: 640px) { .cols-2 { columns: 1; } }

.buy-panel { padding: 0; overflow: hidden; }
.buy-option { padding: 20px 22px; border-top: 1px solid var(--line); }
.buy-option:first-child { border-top: 0; }
.buy-option h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: 1.05rem; }
.opt-letter { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 800; }
.buy-option.is-off .opt-letter { background: var(--line-strong); }
.buy-option.is-off h3, .buy-option.is-off .muted { color: #8792a6; }
.buy-option.is-primary { background: linear-gradient(180deg, #f3fbf7 0%, #fff 100%); }
.price-big { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 2px; }
.price-from { font-size: 1.25rem; font-weight: 800; }
.buy-facts { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.buy-facts li { display: flex; gap: 8px; }
.buy-facts li::before { content: "•"; color: var(--brand); font-weight: 800; }
.seller-box { display: flex; gap: 14px; align-items: center; }
.seller-box strong { display: block; }
.notice { font-size: .86rem; color: var(--ink-2); background: var(--surface-2); border-radius: var(--radius); padding: 14px 16px; }
.notice strong { color: var(--ink); }

/* Panel */
.panel-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; padding: 32px 0 64px; align-items: start; }
.panel-nav { position: sticky; top: 88px; display: grid; gap: 20px; }
.panel-nav h2 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px 12px; }
.panel-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.panel-nav a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .93rem; }
.panel-nav a:hover { background: #fff; color: var(--ink); }
.panel-nav a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.panel-main { min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.panel-head h1 { font-size: 1.75rem; margin-bottom: 4px; }
.panel-head p { margin: 0; color: var(--muted); }
@media (max-width: 960px) {
  .panel-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; }
  .panel-nav { position: static; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .panel-nav section { display: contents; }
  .panel-nav h2 { display: none; }
  .panel-nav ul { display: contents; }
  .panel-nav a { white-space: nowrap; background: #fff; border: 1px solid var(--line); }
}
.stat { padding: 18px 20px; }
.stat strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .88rem; }
.stat a { text-decoration: none; color: inherit; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table td.actions { white-space: nowrap; text-align: right; }
.table .title-cell a { font-weight: 700; color: var(--ink); text-decoration: none; }
.table .title-cell a:hover { color: var(--brand); }
.list-item { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 0; flex-wrap: wrap; }
.list-item:first-child { padding-top: 0; }
.list-item:last-child { padding-bottom: 0; }
.list-item h3 { margin: 0 0 4px; font-size: 1.02rem; }
.list-item h3 a { color: var(--ink); text-decoration: none; }
.list-item h3 a:hover { color: var(--brand); }
.thumb { width: 96px; flex: none; aspect-ratio: 16 / 10; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); background: var(--surface-2); }

/* Wizard */
.wizard-progress { display: flex; gap: 6px; margin-bottom: 24px; }
.wizard-progress span { flex: 1; height: 6px; border-radius: 99px; background: var(--line); transition: background-color .25s; }
.wizard-progress span.is-done { background: var(--brand); }
.wizard-step { border: 0; padding: 0; margin: 0; }
.wizard-step legend { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; padding: 0; }
.wizard-step + .wizard-step { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.js .wizard-step + .wizard-step { margin-top: 0; padding-top: 0; border-top: 0; }
.js .wizard-step[hidden] { display: none; }
.wizard-count { font-size: .85rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.no-js-only { display: block; }
.js .no-js-only { display: none; }
.js-only { display: none; }
.js .js-only { display: flex; }

/* Offer comparison */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .92rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.compare thead th { background: var(--surface-2); position: sticky; top: 0; }
.compare tbody th { width: 170px; color: var(--muted); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; background: #fcfdfe; }
.compare .offer-head strong { display: block; font-size: 1rem; }
.compare .price { font-size: 1.25rem; font-weight: 800; }
.compare ul { margin: 0; padding-left: 1.1em; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }

/* Timeline / order */
.status-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 24px; }
.status-track li { list-style: none; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); }
.status-track li.is-done { border-color: #b9e5d2; background: var(--brand-soft); color: var(--brand-ink); }
.status-track li.is-current { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.status-track { padding: 0; margin-top: 0; }
@media (max-width: 640px) { .status-track { grid-template-columns: 1fr 1fr; } }
.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.file-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .92rem; flex-wrap: wrap; }
.file-name { font-weight: 600; word-break: break-all; }

/* Messages */
.thread { display: grid; gap: 12px; margin-bottom: 20px; }
.bubble { max-width: 78%; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.bubble.is-mine { margin-left: auto; background: var(--brand-soft); border-color: #c9eadb; }
.bubble-meta { font-size: .76rem; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.bubble p { margin: 0; white-space: pre-line; word-wrap: break-word; }
@media (max-width: 640px) { .bubble { max-width: 92%; } }
.unread { font-weight: 800; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 40px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-2); text-decoration: none; }
.footer-grid a:hover { color: var(--brand); text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Status pages */
.status-page { text-align: center; padding: 96px 20px; }
.status-code { font-size: 5rem; font-weight: 800; letter-spacing: -.04em; color: var(--brand); line-height: 1; margin-bottom: 12px; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 32px; font-size: 1.35rem; }
.prose p, .prose li { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.card-link { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.card-link:hover { color: inherit; border-color: var(--line-strong); box-shadow: var(--shadow); }

