:root {
  --ink: #17221c;
  --muted: #657168;
  --paper: #f4f1e8;
  --card: #fffdf8;
  --line: #d9d8cd;
  --green: #214f3b;
  --green-dark: #173a2b;
  --lime: #c7f36b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: relative;
  min-height: 82px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.header-offer { position: absolute; left: 50%; top: 50%; min-height: 52px; transform: translate(-50%, -50%); padding: 13px 22px; border: 1px solid var(--green); border-radius: 999px; background: var(--green); color: white; display: inline-flex; align-items: center; gap: 14px; box-shadow: 0 8px 22px rgba(33,79,59,.16); cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.header-offer:hover { transform: translate(-50%, calc(-50% - 2px)); border-color: var(--green-dark); background: var(--green-dark); box-shadow: 0 11px 26px rgba(33,79,59,.22); }
.header-offer:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.header-offer strong { color: var(--lime); font-size: 16px; font-weight: 900; white-space: nowrap; }
.header-offer span { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.3); color: #f0f5f1; font-size: 13px; font-weight: 750; white-space: nowrap; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.04em; font-size: 20px; }
.brand > span:last-child > span { color: var(--green); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--lime); font-size: 17px; letter-spacing: 0; }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); font-size: 14px; font-weight: 650; }
.site-header nav a:not(.nav-button):hover { color: var(--green); }
.nav-button, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 750; }
.nav-button { padding: 11px 19px; }
.nav-button:hover, .primary-button:hover { background: var(--green-dark); }

.market-intro { padding: clamp(58px, 6vw, 88px) clamp(20px, 5vw, 72px) 36px; }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; color: var(--green); }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 28px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); border: 2px solid var(--green); }
.intro-grid { width: min(100%, 1260px); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 1160px; margin: 0 auto; font-size: clamp(48px, 6.2vw, 94px); line-height: .96; letter-spacing: -.065em; font-weight: 720; }
.brand-slogan { margin: 24px auto 0; color: var(--green); font-size: clamp(18px, 1.55vw, 23px); line-height: 1.35; letter-spacing: -.02em; font-weight: 650; }
.brand-slogan strong { font-weight: 900; }
.intro-copy { width: 100%; max-width: 760px; padding-bottom: 7px; }
.intro-copy > p { color: var(--muted); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; }
.intro-actions { display: flex; align-items: center; justify-content: center; gap: 23px; margin-top: 28px; }
.primary-button { padding: 14px 21px; }
.primary-button svg, .light-button svg { width: 18px; height: 18px; }
.featured-showcase { width: min(100%, 1600px); margin: clamp(56px, 6vw, 86px) auto 0; padding: clamp(28px, 3vw, 46px); border-radius: 30px; background: var(--green-dark); color: white; }
.featured-showcase-header { margin-bottom: clamp(28px, 3vw, 42px); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 6vw, 90px); align-items: end; }
.featured-kicker { margin-bottom: 13px; color: var(--lime); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 850; }
.featured-showcase h2 { max-width: 720px; margin-bottom: 0; font-size: clamp(36px, 3.8vw, 58px); line-height: 1; letter-spacing: -.05em; }
.featured-showcase-copy { width: 100%; max-width: 460px; justify-self: end; }
.featured-showcase-copy > p { margin-bottom: 22px; color: #bdd0c4; font-size: 16px; line-height: 1.55; }
.featured-cta { display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border: 0; border-radius: 999px; background: var(--lime); color: var(--green-dark); font-weight: 850; cursor: pointer; }
.featured-cta:hover { background: white; }
.featured-cta svg { width: 18px; height: 18px; }
.featured-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.featured-card { position: relative; min-width: 0; height: clamp(220px, 14vw, 280px); padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; overflow: hidden; text-align: left; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.featured-card:hover { transform: translateY(-5px); border-color: rgba(199,243,107,.75); box-shadow: 0 20px 38px rgba(3, 13, 8, .28); }
.featured-card:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.featured-card-live { display: flex; align-items: end; color: white; background: #101714; }
.featured-card-live img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.featured-card-live:hover img { transform: scale(1.035); }
.featured-card-live::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,7,.04) 20%, rgba(5,8,7,.9) 100%); }
.featured-status { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 8px 11px; border-radius: 999px; background: var(--lime); color: var(--green-dark); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 900; }
.featured-live-content { position: relative; z-index: 1; width: 100%; padding: 22px; display: grid; gap: 5px; }
.featured-live-content > small { color: #d0dad3; text-transform: uppercase; letter-spacing: .11em; font-size: 9px; font-weight: 800; }
.featured-live-content > strong { padding-right: 52px; overflow: hidden; text-overflow: ellipsis; font-size: 24px; letter-spacing: -.035em; white-space: nowrap; }
.featured-card-arrow { position: absolute; right: 22px; bottom: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--green-dark); }
.featured-card-arrow svg { width: 19px; height: 19px; }
.featured-card-open { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: #f1f1e8; color: var(--ink); }
.featured-open-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.featured-open-top > small { color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 900; }
.featured-plus { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--lime); font-size: 27px; line-height: 1; }
.featured-open-content { display: grid; gap: 8px; }
.featured-open-content > strong { max-width: 220px; font-size: 22px; line-height: 1.05; letter-spacing: -.035em; }
.featured-open-content > small { color: var(--muted); font-size: 12px; font-weight: 750; }
.principles { margin-top: clamp(56px, 7vw, 88px); padding: 23px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principles span { color: var(--muted); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; font-weight: 650; }
.principles span::before { content: "✓"; color: var(--green); margin-right: 9px; font-weight: 900; }

.marketplace { padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px); background: #fbfaf5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-kicker { margin-bottom: 12px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 58px); letter-spacing: -.045em; line-height: 1; }
.section-heading > p { margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.filters { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(180px, 240px) auto; align-items: stretch; border: 1px solid var(--line); border-radius: 16px; background: white; margin-bottom: 34px; overflow: hidden; }
.search-field { min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.search-field svg { width: 20px; height: 20px; color: var(--muted); flex: 0 0 auto; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-field input::placeholder { color: #8c948e; }
.select-field { border-left: 1px solid var(--line); display: flex; }
.select-field select { width: 100%; padding: 0 18px; border: 0; outline: 0; background: transparent; color: var(--ink); cursor: pointer; }
.filters > button { border: 0; border-left: 1px solid var(--line); padding: 0 20px; background: #f2f1eb; color: var(--green); font-weight: 750; cursor: pointer; }
.filters > button:hover { background: #e9e8df; }

.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.listing-card { min-width: 0; border: 1px solid var(--line); background: var(--card); border-radius: 20px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28, 48, 37, .09); }
.listing-image { position: relative; aspect-ratio: 16 / 9; background: #19241e; overflow: hidden; }
.listing-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage-badge, .example-badge { position: absolute; top: 16px; border-radius: 999px; padding: 8px 12px; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.stage-badge { left: 14px; background: var(--lime); color: var(--green-dark); }
.example-badge { right: 14px; background: rgba(255,255,255,.9); color: var(--muted); }
.placeholder-art { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(140deg, #dfe9d2, #f5e6ce); }
.listing-card:nth-child(3) .placeholder-art { background: linear-gradient(140deg, #d6e9e1, #dfe3f4); }
.placeholder-art::before, .placeholder-art::after { content: ""; position: absolute; border: 1px solid rgba(33,79,59,.18); border-radius: 20px; }
.placeholder-art::before { width: 54%; height: 52%; transform: translate(-20px, 8px) rotate(-5deg); background: rgba(255,255,255,.36); }
.placeholder-art::after { width: 54%; height: 52%; transform: translate(24px, -8px) rotate(5deg); background: rgba(255,255,255,.48); }
.placeholder-art span { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--lime); display: grid; place-items: center; font-size: 25px; }
.listing-body { padding: clamp(25px, 2.2vw, 32px); }
.listing-category { margin-bottom: 13px; color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 850; }
.listing-title-row { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.listing-title-row h3 { margin-bottom: 6px; font-size: clamp(27px, 2vw, 32px); letter-spacing: -.04em; line-height: 1.06; }
.domain { color: #526158; font-size: 14px; font-weight: 650; margin-bottom: 22px; }
.description { min-height: 92px; color: #526158; font-size: 16px; line-height: 1.65; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 27px; }
.tag-list span { border: 1px solid var(--green); border-radius: 999px; padding: 8px 11px; color: white; background: var(--green); font-size: 12px; font-weight: 800; }
.listing-footer { padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.listing-footer > span { font-size: 15px; font-weight: 850; }
.listing-footer button, .listing-footer a { flex: 0 0 auto; padding: 13px 17px; border: 0; border-radius: 999px; background: var(--green); color: white; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 850; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.listing-footer button:hover, .listing-footer a:hover { background: var(--green-dark); transform: translateY(-2px); }
.listing-footer button:focus-visible, .listing-footer a:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.listing-footer button svg, .listing-footer a svg { width: 18px; height: 18px; }
.empty-state { padding: 70px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 20px; }
.empty-state h3 { margin-bottom: 8px; font-size: 23px; }
.empty-state p { color: var(--muted); }
.empty-state button { border: 0; border-radius: 999px; padding: 12px 17px; background: var(--green); color: white; font-weight: 750; cursor: pointer; }

.how-section { padding: clamp(76px, 9vw, 126px) clamp(20px, 5vw, 72px); background: var(--green-dark); color: white; }
.how-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(30px, 7vw, 100px); align-items: start; margin-bottom: clamp(48px, 6vw, 78px); }
.how-heading .section-kicker { color: var(--lime); padding-top: 9px; }
.how-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 72px); line-height: 1.01; letter-spacing: -.055em; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.steps-grid article { padding: 28px clamp(20px, 3vw, 42px) 8px 0; }
.steps-grid article + article { padding-left: clamp(20px, 3vw, 42px); border-left: 1px solid rgba(255,255,255,.22); }
.steps-grid article > span { display: block; color: var(--lime); font-size: 12px; font-weight: 850; letter-spacing: .12em; margin-bottom: 48px; }
.steps-grid h3 { font-size: 23px; letter-spacing: -.025em; margin-bottom: 13px; }
.steps-grid p { color: #b9cabf; line-height: 1.65; font-size: 13px; margin-bottom: 0; }

.manifesto { padding: clamp(68px, 8vw, 112px) clamp(20px, 9vw, 145px); background: #e7e5dc; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.manifesto > p { color: var(--green); text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 850; }
.manifesto h2 { max-width: 1050px; margin: 0 auto; font-size: clamp(38px, 5.7vw, 80px); line-height: 1.02; letter-spacing: -.055em; }
.sell-teaser { padding: clamp(52px, 6vw, 78px) clamp(20px, 5vw, 72px); background: var(--green); color: white; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.sell-teaser .section-kicker { color: var(--lime); }
.sell-teaser h2 { margin-bottom: 0; font-size: clamp(38px, 4.5vw, 66px); letter-spacing: -.05em; }
.light-button { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; background: var(--lime); color: var(--green-dark); padding: 14px 20px; border: 0; border-radius: 999px; font-weight: 800; cursor: pointer; }

footer { padding: 38px clamp(20px, 5vw, 72px); background: var(--ink); color: white; display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 30px; align-items: center; }
.footer-brand > span:last-child > span { color: var(--lime); }
footer > p { margin: 0; color: #aebcb3; font-size: 12px; line-height: 1.5; }
footer > p:last-child { text-align: right; }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; padding: 24px; display: grid; place-items: center; background: rgba(8, 17, 12, .68); backdrop-filter: blur(7px); overflow-y: auto; }
.detail-modal, .seller-modal { position: relative; width: min(720px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; border-radius: 24px; background: #fffdf8; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.detail-modal { padding: 28px; }
.seller-modal { width: min(760px, 100%); padding: clamp(26px, 4vw, 46px); }
.modal-close { position: absolute; top: 15px; right: 15px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(23,34,28,.88); color: white; font-size: 25px; line-height: 1; cursor: pointer; }
.modal-image { width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; display: block; border-radius: 15px; margin-bottom: 27px; }
.detail-modal > h2, .seller-modal h2 { margin-bottom: 5px; font-size: clamp(34px, 5vw, 54px); line-height: 1; letter-spacing: -.055em; }
.modal-domain { color: var(--green); font-size: 13px; font-weight: 750; }
.modal-description { color: var(--muted); font-size: 15px; line-height: 1.65; }
.project-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 26px 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.project-facts div { padding: 16px; }
.project-facts div + div { border-left: 1px solid var(--line); }
.project-facts dt { margin-bottom: 7px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.project-facts dd { margin: 0; font-size: 12px; font-weight: 750; }
.included-block { padding: 22px; border-radius: 15px; background: #f0f2e9; }
.included-block h3 { margin-bottom: 14px; font-size: 18px; }
.included-block ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 9px; }
.included-block li { color: #4e5f54; font-size: 13px; }
.included-block li::before { content: "✓"; margin-right: 9px; color: var(--green); font-weight: 900; }
.modal-action { margin-top: 24px; border: 0; padding: 13px 19px; cursor: pointer; }
.prototype-note { padding: 18px; border-radius: 14px; background: #f0f2e9; color: var(--muted); font-size: 13px; line-height: 1.55; }

.seller-modal > p:not(.section-kicker) { max-width: 560px; color: var(--muted); line-height: 1.6; }
.seller-modal form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.seller-modal label { display: grid; gap: 8px; color: #425047; font-size: 12px; font-weight: 800; }
.seller-modal input, .seller-modal select, .seller-modal textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); outline: 0; padding: 12px 13px; font-weight: 500; }
.seller-modal input:focus, .seller-modal select:focus, .seller-modal textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(33,79,59,.1); }
.seller-modal textarea { resize: vertical; }
.seller-modal .full-field, .seller-modal .form-note, .seller-modal form > button { grid-column: 1 / -1; }
.form-note { margin: 0; color: var(--muted); font-size: 11px; }
.seller-modal form > button { width: max-content; border: 0; padding: 13px 19px; cursor: pointer; }
.form-success { padding: 35px 10px 18px; text-align: center; }
.form-success > span { width: 58px; height: 58px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green); font-size: 26px; font-weight: 900; }
.form-success h2 { margin-bottom: 15px; }
.form-success p { max-width: 500px; margin: 0 auto 28px; color: var(--muted); line-height: 1.6; }
.form-success button { border: 0; padding: 13px 19px; margin: auto; cursor: pointer; }

@media (max-width: 1180px) {
  .header-offer span { display: none; }
  .header-offer { min-height: 46px; padding: 11px 18px; }
  .header-offer strong { font-size: 14px; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-grid { gap: 28px; }
  .intro-copy { max-width: 680px; }
  .featured-showcase-header { grid-template-columns: 1fr; }
  .featured-showcase-copy { max-width: 620px; justify-self: start; }
  .featured-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-card { height: 260px; }
}

@media (max-width: 980px) {
  .header-offer { display: none; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 11px); }
  footer { grid-template-columns: 1fr 1fr; }
  footer > p:nth-child(2) { display: none; }
  .how-heading { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { min-height: 70px; }
  .site-header nav a:not(.nav-button) { display: none; }
  .nav-button { padding: 10px 14px; font-size: 12px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; }
  .market-intro { padding-top: 58px; }
  h1 { font-size: clamp(46px, 13.5vw, 68px); }
  .intro-grid { gap: 24px; }
  .featured-showcase { border-radius: 24px; }
  .intro-actions { align-items: center; flex-direction: column; }
  .principles { grid-template-columns: 1fr; gap: 13px; }
  .section-heading { align-items: start; }
  .filters { grid-template-columns: 1fr; }
  .select-field, .filters > button { min-height: 50px; border-left: 0; border-top: 1px solid var(--line); }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-card:last-child { grid-column: auto; max-width: none; }
  .description { min-height: auto; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid article { padding: 24px 0; }
  .steps-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .steps-grid article > span { margin-bottom: 20px; }
  .sell-teaser { align-items: start; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
  footer > p:last-child { text-align: left; }
  .project-facts { grid-template-columns: 1fr 1fr; }
  .project-facts div + div { border-left: 0; }
  .project-facts div:nth-child(even) { border-left: 1px solid var(--line); }
  .project-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .seller-modal form { grid-template-columns: 1fr; }
  .seller-modal .full-field, .seller-modal .form-note, .seller-modal form > button { grid-column: auto; }
}

@media (max-width: 440px) {
  .site-header nav { gap: 0; }
  .nav-button { padding: 9px 12px; }
  .brand > span:last-child { font-size: 15px; }
  .featured-showcase { padding: 24px 18px; }
  .featured-slots { grid-template-columns: 1fr; }
  .featured-card { height: 240px; }
  .section-heading > p { display: none; }
  .modal-backdrop { padding: 10px; align-items: end; }
  .detail-modal, .seller-modal { max-height: calc(100vh - 20px); border-radius: 22px 22px 14px 14px; }
  .detail-modal { padding: 18px; }
  .modal-image { margin-bottom: 22px; }
}

/* Simply-versionens dynamiske sider */
.featured-image-placeholder, .project-image-empty { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg, #173a2b, #2d6a4d); color: var(--lime); font-size: 72px; font-weight: 900; }
.search-symbol { color: var(--green); font-size: 25px; line-height: 1; transform: rotate(-15deg); }
.filter-reset { min-height: 58px; padding: 0 20px; display: grid; place-items: center; border-left: 1px solid var(--line); background: #fff; color: var(--green); font-size: 13px; font-weight: 800; }
.filters:has(.filter-reset) { grid-template-columns: minmax(280px, 1fr) minmax(180px, 240px) auto auto; }
.footer-admin-link { color: #d8e2dc; text-decoration: underline; text-underline-offset: 3px; }

.content-page, .project-page { min-height: calc(100vh - 160px); }
.content-page { padding: clamp(48px, 7vw, 96px) clamp(20px, 7vw, 112px) clamp(76px, 9vw, 130px); }
.page-hero { width: min(1240px, 100%); margin: 0 auto clamp(44px, 6vw, 78px); }
.form-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: clamp(34px, 7vw, 96px); align-items: end; }
.form-hero h1, .setup-card h1, .not-found h1 { max-width: none; margin: 0; font-size: clamp(48px, 6.5vw, 88px); }
.form-hero > div > p:last-child { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 19px; line-height: 1.6; }
.price-callout { padding: 28px; border-radius: 22px; background: var(--green); color: white; display: grid; gap: 5px; }
.price-callout strong { color: var(--lime); font-size: 52px; line-height: 1; letter-spacing: -.05em; }
.price-callout span { font-size: 17px; font-weight: 800; }
.price-callout small { margin-top: 13px; color: #d2dfd7; font-size: 13px; line-height: 1.55; }

.project-form, .submission-success { width: min(1060px, 100%); margin: 0 auto; }
.project-form { display: grid; gap: 22px; }
.project-form fieldset, .setup-form fieldset { margin: 0; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 22px; background: #fffdf8; }
.project-form legend, .setup-form legend { padding: 0 12px; color: var(--ink); font-size: 22px; font-weight: 850; letter-spacing: -.025em; }
.project-form legend span { margin-right: 10px; color: var(--green); font-size: 12px; letter-spacing: .1em; }
.form-grid, .setup-form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.project-form label, .setup-form label, .contact-form label { display: grid; gap: 9px; color: #3b4a41; font-size: 13px; font-weight: 800; }
.project-form label small, .setup-form label small, .contact-form label small { color: var(--muted); font-weight: 600; }
.project-form input, .project-form select, .project-form textarea, .setup-form input, .contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--ink); padding: 14px 15px; outline: 0; font: inherit; font-weight: 500; }
.project-form textarea, .contact-form textarea { resize: vertical; line-height: 1.55; }
.project-form input:focus, .project-form select:focus, .project-form textarea:focus, .setup-form input:focus, .contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(33,79,59,.1); }
.full-field { grid-column: 1 / -1; }
.fieldset-intro { margin: 0 0 22px; color: var(--muted); line-height: 1.6; }
.feature-choice { display: grid; gap: 18px; }
.choice-card, .terms-check { grid-template-columns: auto 1fr !important; align-items: start; gap: 13px !important; cursor: pointer; }
.choice-card { padding: 20px; border: 1px solid #b9ca9d; border-radius: 14px; background: #f1f6e8; }
.choice-card input, .terms-check input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--green); }
.choice-card span { display: grid; gap: 5px; }
.choice-card strong { font-size: 16px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-submit-row { position: sticky; bottom: 14px; z-index: 10; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,248,.96); box-shadow: 0 16px 50px rgba(22,43,31,.16); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.form-submit-row > div { display: grid; gap: 4px; }
.form-submit-row > div span { color: var(--muted); font-size: 12px; }
.form-submit-row button { border: 0; cursor: pointer; }
.form-notice { width: min(1060px, 100%); margin: 0 auto 22px; }

.notice { padding: 18px 20px; border-radius: 14px; display: grid; gap: 6px; line-height: 1.45; }
.error-notice { border: 1px solid #e0b7ac; background: #fff0ec; color: #773628; }
.success-notice { border: 1px solid #b8d792; background: #eef8df; color: var(--green-dark); }
.submission-success { padding: clamp(40px, 7vw, 78px); border: 1px solid var(--line); border-radius: 28px; background: #fffdf8; text-align: center; }
.success-mark { width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green); font-size: 30px; font-weight: 900; }
.submission-success h2 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 64px); letter-spacing: -.05em; }
.submission-success > p:not(.section-kicker) { color: var(--muted); line-height: 1.6; }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border: 1px solid var(--green); border-radius: 999px; color: var(--green); font-weight: 800; }
.setup-actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.project-page { padding: 30px clamp(20px, 6vw, 90px) clamp(76px, 9vw, 130px); background: #fbfaf5; }
.breadcrumb { width: min(1240px, 100%); margin: 0 auto 28px; display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 12px; }
.breadcrumb a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.project-detail { width: min(1240px, 100%); margin: 0 auto; }
.project-detail-media { position: relative; aspect-ratio: 16 / 7.7; border-radius: 26px; background: #17221c; overflow: hidden; }
.project-detail-media > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.project-detail-header { padding: clamp(30px, 5vw, 62px) 0 24px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.project-detail-header h1 { max-width: 850px; margin: 0; font-size: clamp(52px, 7vw, 96px); }
.project-domain { margin: 14px 0 0; color: var(--green); font-size: 18px; font-weight: 800; }
.project-price { min-width: 210px; padding: 22px; border-radius: 18px; background: var(--green); color: white; display: grid; gap: 5px; }
.project-price small { color: var(--lime); text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.project-price strong { font-size: 20px; }
.project-lead { max-width: 900px; margin: 0 0 34px; color: #526158; font-size: clamp(18px, 2vw, 23px); line-height: 1.6; }
.project-facts-large { grid-template-columns: repeat(3, 1fr); margin-bottom: 34px; background: white; }
.project-facts-large div:nth-child(4) { border-left: 0; }
.project-facts-large div:nth-child(n+4) { border-top: 1px solid var(--line); }
.project-facts-large dt { font-size: 11px; }
.project-facts-large dd { font-size: 14px; }
.project-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.project-included, .contact-card { min-height: 100%; padding: clamp(26px, 4vw, 42px); border-radius: 22px; }
.project-included h2, .contact-card h2 { margin-bottom: 22px; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.04em; }
.project-included li { font-size: 15px; }
.contact-card { border: 1px solid var(--line); background: white; }
.contact-card > p:not(.section-kicker) { color: var(--muted); line-height: 1.55; }
.contact-form { margin-top: 24px; display: grid; gap: 16px; }
.contact-form button { width: max-content; border: 0; cursor: pointer; }
.contact-success { padding: 28px 5px; text-align: center; }
.contact-success p { color: var(--muted); line-height: 1.6; }
.project-tags { margin-top: 26px; }
.not-found { min-height: 60vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 25px; }

.utility-page { min-height: 100vh; background: #e7e5dc; }
.setup-shell { width: min(940px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 80px; }
.setup-brand { margin-bottom: 28px; }
.setup-card { padding: clamp(28px, 6vw, 64px); border: 1px solid var(--line); border-radius: 28px; background: #fffdf8; box-shadow: 0 24px 70px rgba(30,51,39,.12); }
.setup-card h1 { margin-bottom: 24px; }
.setup-intro { max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.setup-form { margin-top: 34px; display: grid; gap: 23px; }
.setup-form fieldset { padding: 28px; }
.setup-form fieldset label:first-of-type:last-of-type { grid-column: 1 / -1; }
.setup-form > button { width: max-content; border: 0; cursor: pointer; }

@media (max-width: 860px) {
  .form-hero, .project-info-grid { grid-template-columns: 1fr; }
  .project-detail-header { align-items: start; flex-direction: column; }
  .project-price { min-width: 0; width: 100%; }
  .project-facts-large { grid-template-columns: 1fr 1fr; }
  .project-facts-large div:nth-child(4) { border-left: 1px solid var(--line); }
  .project-facts-large div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .filters:has(.filter-reset) { grid-template-columns: 1fr; }
  .filter-reset { min-height: 50px; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .content-page { padding-left: 16px; padding-right: 16px; }
  .form-grid, .setup-form fieldset { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .project-form fieldset, .setup-form fieldset { padding: 22px 17px; }
  .form-submit-row { position: static; align-items: stretch; flex-direction: column; }
  .form-submit-row button { width: 100%; }
  .project-detail-media { aspect-ratio: 4 / 3; border-radius: 19px; }
  .project-facts-large { grid-template-columns: 1fr; }
  .project-facts-large div, .project-facts-large div:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .project-facts-large div:first-child { border-top: 0; }
  .setup-actions { align-items: stretch; flex-direction: column; }
}
