:root {
  --bg: #0c1016;
  --elev: #151b24;
  --ink: #f4f1ea;
  --muted: #b4b0a6;
  --faint: #8b877e;
  --line: rgba(244, 241, 234, 0.1);
  --line-strong: rgba(244, 241, 234, 0.2);
  --accent: #e4c27a;
  --accent-ink: #2a2112;
  --solid: #f4f1ea;
  --solid-ink: #16130e;
  --danger: #ffb4ae;
  --ok: #b7e4c7;
  --font: "Manrope", "Segoe UI", sans-serif;
  --page: min(1120px, calc(100% - 48px));
  --radius: 18px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 100% -10%, rgba(228, 194, 122, 0.16), transparent 55%),
    radial-gradient(700px 420px at -10% 20%, rgba(96, 132, 196, 0.14), transparent 50%),
    linear-gradient(rgba(244, 241, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 88%);
}

body > *:not(.atmosphere) { position: relative; z-index: 1; }

html[data-view="sub"] #home { display: none; }
html[data-view="sub"] #view { display: block; }

::selection { background: rgba(228, 194, 122, 0.35); color: #1a160f; }

a { color: inherit; }

.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(12, 16, 22, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav,
.page,
.foot {
  width: var(--page);
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 0 0 1px rgba(228, 194, 122, 0.55);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  padding: 8px 14px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a.is-on {
  color: var(--ink);
  background: rgba(244, 241, 234, 0.06);
}

.page { padding: 48px 0 28px; flex: 1 0 auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 28px;
  align-items: stretch;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker i {
  width: 18px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.045em; }

h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  max-width: 12ch;
}

.lede {
  max-width: 42ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(244, 241, 234, 0.03);
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.btn-solid {
  background: linear-gradient(180deg, #f7f1e4, #e7d7b4);
  color: var(--solid-ink);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(228, 194, 122, 0.12);
}

.btn:hover { transform: translateY(-1px); }
.btn[disabled] { opacity: 0.55; cursor: default; transform: none; }

.identity {
  margin: 0;
  border-radius: 28px;
  border: 1px solid rgba(228, 194, 122, 0.28);
  background:
    radial-gradient(280px 180px at 50% 0%, rgba(228, 194, 122, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(12, 16, 22, 0.2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 340px;
  padding: 28px 20px;
}

.identity img {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow:
    0 0 0 6px rgba(228, 194, 122, 0.18),
    0 0 0 1px rgba(228, 194, 122, 0.7),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.identity figcaption { text-align: center; }
.identity strong { display: block; font-size: 18px; letter-spacing: -0.03em; }
.identity span { color: var(--muted); font-size: 13px; font-weight: 650; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  max-width: 460px;
}
.facts li { padding-top: 12px; border-top: 1px solid var(--line); }
.facts b { display: block; font-size: 13px; letter-spacing: -0.02em; }
.facts span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 650; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.metrics article {
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.metrics span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.metrics strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 16px;
  letter-spacing: -0.03em;
}

.metrics p { margin: 0; color: var(--muted); font-size: 14px; }

.block { margin-top: 64px; }

.block-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.block-head h2,
.panel h2,
.gate h2,
.app-view h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.block-head .kicker { margin-bottom: 8px; }
.block-head p,
.muted { margin: 0; color: var(--muted); }

.bento {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
}

.line {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 32%),
    #141a22;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.line-adisyon {
  grid-row: span 2;
  min-height: 440px;
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(228, 194, 122, 0.22), transparent 60%),
    linear-gradient(165deg, #1c2430, #121820 70%);
}

.line-tools {
  grid-column: 1 / -1;
  min-height: 168px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 18px 28px;
  align-items: center;
}
.line-tools .line-copy { display: flex; flex-direction: column; min-width: 0; }
.line-tools h3 { margin-top: 10px; }
.line:hover {
  border-color: rgba(228, 194, 122, 0.45);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 40px rgba(0, 0, 0, 0.28);
}

.line-index {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.line h3 {
  margin: 14px 0 8px;
  font-size: clamp(26px, 3vw, 40px);
  max-width: 14ch;
}

.line p { margin: 0; color: var(--muted); max-width: 36ch; }
.line em {
  margin-top: 0;
  padding-top: 16px;
  font-style: normal;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
}

.scene-adisyon {
  flex: 1;
  display: flex;
  margin-top: 22px;
}
.ticket {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(228, 194, 122, 0.28);
  background:
    linear-gradient(180deg, rgba(228, 194, 122, 0.08), transparent 28%),
    rgba(8, 10, 14, 0.5);
  overflow: hidden;
}
.ticket-head, .ticket-sum, .ticket li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ticket-head { padding: 14px 16px 12px; border-bottom: 1px solid rgba(244, 241, 234, 0.08); }
.ticket-head span { color: var(--faint); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.ticket-head b { display: block; margin-top: 2px; font-size: 22px; letter-spacing: -0.04em; }
.ticket .open {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(228, 194, 122, 0.16);
  color: var(--accent);
  letter-spacing: 0.08em;
}
.ticket ul { margin: 0; padding: 6px 0; list-style: none; }
.ticket li { padding: 10px 16px; }
.ticket li div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ticket li span { font-size: 15px; font-weight: 750; }
.ticket li small { color: var(--muted); font-size: 12px; font-weight: 650; }
.ticket li b { font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.ticket-sum {
  margin-top: auto;
  padding: 14px 16px;
  background: #e4c27a;
  color: #2a2112;
}
.ticket-sum span, .ticket-sum b { color: #2a2112; }
.ticket-sum span { font-size: 13px; font-weight: 800; }
.ticket-sum b { font-size: 22px; letter-spacing: -0.04em; }
.masa {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 74px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  background: rgba(8, 10, 14, 0.38);
}
.masa b { font-size: 20px; letter-spacing: -0.04em; }
.masa span { color: var(--faint); font-size: 12px; font-weight: 750; }
.masa.on {
  border-color: rgba(228, 194, 122, 0.5);
  background: rgba(228, 194, 122, 0.14);
}
.masa.on span, .masa.pay span { color: var(--accent); }

.scene-app, .scene-web {
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid rgba(244, 241, 234, 0.12);
  background: rgba(8, 10, 14, 0.42);
  overflow: hidden;
}
.appbar, .webbar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
}
.appbar i, .webbar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(228, 194, 122, 0.9);
}
.appbar i:nth-child(2) { background: rgba(244, 241, 234, 0.38); }
.appbar i:nth-child(3) { background: rgba(244, 241, 234, 0.18); }
.appbar b, .webbar b {
  margin-left: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}
.approw {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
}
.approw + .approw { border-top: 1px solid rgba(244, 241, 234, 0.06); }
.approw em { font-style: normal; color: var(--accent); font-size: 12px; }
.webbody {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 8px;
  padding: 12px;
}
.webbody span {
  display: block;
  height: 28px;
  border-radius: 8px;
  background: rgba(244, 241, 234, 0.06);
}
.webbody span:first-child {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(228, 194, 122, 0.75), rgba(228, 194, 122, 0.15));
}
.scene-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.scene-tools div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 84px;
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(228, 194, 122, 0.28);
  background: rgba(228, 194, 122, 0.08);
}
.scene-tools b {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.scene-tools span { font-size: 15px; font-weight: 750; }

.points, .chips {
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
}
.points { display: flex; flex-direction: column; gap: 10px; max-width: 280px; }
.points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}
.points b {
  width: 22px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 234, 0.12);
  background: rgba(8, 10, 14, 0.28);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.close-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.close-row a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 118px;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 46%),
    #141a22;
}
.close-row a:hover { border-color: rgba(228, 194, 122, 0.45); }
.close-row span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.close-row strong { font-size: 22px; letter-spacing: -0.04em; }
.close-row em {
  margin-top: auto;
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.close-row a:last-child {
  background:
    radial-gradient(280px 120px at 100% 0%, rgba(228, 194, 122, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 46%),
    #141a22;
}
.close-row a:last-child em { color: var(--accent); }

.bill, .window, .browser, .tools {
  position: absolute;
  right: 22px;
  top: 22px;
}

.bill {
  width: 92px;
  padding: 12px 10px 10px;
  border-radius: 10px 10px 4px 4px;
  background: #f6f1e6;
  color: #2a2112;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}
.bill i, .bill b { display: block; }
.bill i {
  height: 6px;
  margin-bottom: 6px;
  border-radius: 99px;
  background: rgba(42, 33, 18, 0.16);
}
.bill i:nth-child(2) { width: 72%; }
.bill i:nth-child(3) { width: 48%; }
.bill b {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.window, .browser {
  width: 108px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  background: rgba(8, 10, 14, 0.45);
}
.window { display: flex; gap: 5px; align-items: center; padding: 8px; }
.window i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(228, 194, 122, 0.8);
}
.window i:nth-child(2) { background: rgba(244, 241, 234, 0.35); }
.window i:nth-child(3) { background: rgba(244, 241, 234, 0.2); }
.browser i {
  display: block;
  height: 16px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
}
.browser b {
  display: block;
  width: 64%;
  height: 8px;
  margin: 14px 10px;
  border-radius: 99px;
  background: rgba(228, 194, 122, 0.7);
}
.tools { display: flex; gap: 8px; }
.tools i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(228, 194, 122, 0.35);
  background: rgba(228, 194, 122, 0.08);
}

.shelves { display: flex; flex-direction: column; gap: 28px; }
.shelf-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 12px;
}
.shelf-head h3 { margin: 0; font-size: 22px; }
.shelf-head span { color: var(--faint); font-size: 13px; font-weight: 700; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card,
.app-card,
.comment,
.request,
.empty {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    rgba(21, 27, 36, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 196px;
  padding: 18px;
  text-decoration: none;
}

.app-card:hover {
  border-color: rgba(228, 194, 122, 0.45);
  transform: translateY(-2px);
}

.app-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(228, 194, 122, 0.14);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.app-card strong { font-size: 18px; letter-spacing: -0.03em; }
.app-card span { color: var(--muted); font-size: 14px; }
.app-card em {
  margin-top: auto;
  font-style: normal;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
}

.empty {
  grid-column: 1 / -1;
  padding: 28px;
}

.empty strong { display: block; margin-bottom: 4px; }
.empty span { color: var(--muted); }

.request-block {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 240px at 0% 0%, rgba(228, 194, 122, 0.1), transparent 60%),
    rgba(255, 255, 255, 0.02);
}

.request-copy h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 40px); }
.request-copy > p { margin: 0; color: var(--muted); max-width: 36ch; }
.request-copy ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.request-copy li {
  color: var(--ink);
  font-weight: 650;
  font-size: 14px;
}
.request-copy li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-1px);
}

.form, .stack { display: flex; flex-direction: column; gap: 14px; }
.card { padding: 20px; }

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(8, 10, 14, 0.55);
  color: var(--ink);
  border-radius: 12px;
  padding: 13px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.011em;
}

textarea { min-height: 140px; resize: vertical; }
select { appearance: none; }
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(228, 194, 122, 0.55);
  outline-offset: 1px;
  border-color: transparent;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-error, .form-ok { margin: 0; font-size: 14px; font-weight: 700; }
.form-error { color: var(--danger); }
.form-ok { color: var(--ok); }

.foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
  font-weight: 650;
}

.foot-top,
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px 28px;
  flex-wrap: wrap;
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.foot-brand strong {
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.03em;
}

.foot-brand span {
  color: var(--muted);
  font-weight: 550;
  max-width: 36ch;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  justify-content: flex-end;
}

.foot a {
  color: var(--muted);
  text-decoration: none;
}

.foot-links a {
  padding: 7px 12px;
  border-radius: 999px;
}

.foot a:hover,
.foot a.is-on {
  color: var(--ink);
}

.foot-links a:hover,
.foot-links a.is-on {
  background: rgba(244, 241, 234, 0.06);
}

.legal {
  width: min(760px, 100%);
  margin: 0 auto;
  padding-bottom: 8px;
}

.legal h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
}

.legal-lede {
  margin: 0 0 22px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 17px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.legal-nav a {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 750;
}

.legal-nav a.is-on,
.legal-nav a:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.legal-block {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.legal-block h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.legal-block p {
  margin: 0;
  color: var(--muted);
}

.legal-note {
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 13px;
  font-weight: 650;
}

html[data-view="sub"] #view.page {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
}

.gate {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(280px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.gate-aside {
  border-radius: 28px;
  border: 1px solid rgba(228, 194, 122, 0.24);
  padding: 28px 26px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(320px 200px at 20% 0%, rgba(228, 194, 122, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(12, 16, 22, 0.35));
}

.member-art {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(228, 194, 122, 0.14);
  margin-bottom: 28px;
}

.gate-aside h2 { margin: 0; }
.gate-aside .sub { margin: 10px 0 0; }

.gate .card { padding: 22px; }
.gate form > .btn,
.member-card form > .btn,
.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}
.auth-actions:not(:has(.google-btn)),
.auth-actions:not(:has(.btn)) { grid-template-columns: 1fr; }
.auth-actions .btn,
.auth-actions .google-btn { width: 100%; margin: 0; min-height: 48px; }
.google-btn { width: 100%; }
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  margin-bottom: 4px;
  border-radius: 12px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  background: #f4f1ea;
  color: #1c1914;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}
.google-btn svg { width: 18px; height: 18px; display: block; }
.google-btn:hover { filter: brightness(0.96); }
.or-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.or-line::before,
.or-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.switch { margin: 2px 0 0; font-size: 14px; }
.switch a { color: var(--accent); font-weight: 750; }

.member-card {
  width: min(480px, 100%);
  margin: 0 auto;
}

.member-card .who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.member-card .who img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(228, 194, 122, 0.16);
}

.member-card h2 { margin: 0; }
.sub { color: var(--muted); margin: 0 0 18px; }

.app-view { width: min(760px, 100%); margin: 0 auto; align-self: flex-start; }
.panel { width: 100%; align-self: flex-start; }
.panel > form.card { max-width: 520px; }
.app-view h2 { margin-bottom: 8px; }
.role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(228, 194, 122, 0.14);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comment, .request { padding: 14px 16px; }
.comment header, .request header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.person { display: flex; align-items: center; gap: 10px; }
.bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(228, 194, 122, 0.16);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.comment header strong, .request header strong { font-size: 14px; }
.comment time, .request time, .meta { color: var(--faint); font-size: 12px; font-weight: 700; }
.comment p, .request p { margin: 0; white-space: pre-wrap; }
.linkish {
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.list { display: flex; flex-direction: column; gap: 10px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.app-view .download { margin: 18px 0; }

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
  margin-top: 18px;
}

.panel-top {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.brand:focus-visible,
.nav-links a:focus-visible,
.btn:focus-visible,
.foot a:focus-visible,
.linkish:focus-visible {
  outline: 2px solid rgba(228, 194, 122, 0.85);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .cards, .metrics, .bento { grid-template-columns: 1fr; }
  .line-adisyon, .line-tools { grid-row: auto; grid-column: auto; min-height: 220px; }
  .line-tools { grid-template-columns: 1fr; }
  .scene-adisyon { margin-top: 16px; }
  .hero, .request-block, .gate, .panel-grid, .close-row { grid-template-columns: 1fr; }
  .identity { min-height: 0; }
  .gate-aside { min-height: 0; }
  h1 { max-width: 14ch; }
}

@media (max-width: 700px) {
  :root { --page: min(1120px, calc(100% - 28px)); }
  .page { padding-top: 28px; }
  h1 { max-width: none; font-size: 38px; }
  .cards, .metrics, .split, .facts { grid-template-columns: 1fr; }
  .hero-actions .btn, .form .btn { width: 100%; }
  .auth-actions { grid-template-columns: 1fr 1fr; }
  .block { margin-top: 42px; }
  .block-head { flex-direction: column; align-items: flex-start; }
  .request-block { padding: 16px; }
  .foot { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .foot-links { justify-content: flex-start; }
}

@media (min-width: 1500px) {
  :root { --page: 1160px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .app-card:hover, .product:hover, .line:hover { transform: none; }
}

html[data-view="sub"] #view.page.is-wide {
  display: block;
  align-items: stretch;
}

.catalog .block-head {
  flex-direction: column;
  align-items: flex-start;
}
.catalog .block-head p { max-width: 46ch; }
.catalog .cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.filter {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.filter.is-on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    rgba(21, 27, 36, 0.92);
}
.product:hover { border-color: rgba(228, 194, 122, 0.45); transform: translateY(-2px); }
.product-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #10161e;
  display: block;
}
.product-fallback {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 32px;
  font-weight: 800;
  background:
    radial-gradient(140px 90px at 50% 40%, rgba(228, 194, 122, 0.22), transparent 70%),
    #10161e;
}
.product-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.product-body strong { font-size: 18px; letter-spacing: -0.03em; }
.product-body > span { color: var(--muted); font-size: 14px; }
.product-body .badge {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product-body em {
  margin-top: auto;
  font-style: normal;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
}

.steps { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 14px; }
.steps li::before { content: none; }
.steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; }
.steps b {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(228, 194, 122, 0.16);
  color: var(--accent);
  font-size: 11px;
}
.steps strong { display: block; font-size: 14px; }
.steps span { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.hint { margin: 0; color: var(--faint); font-size: 12px; font-weight: 650; }
.request-copy h3, .form h3 { margin: 0; font-size: 18px; }

.back { color: var(--muted); font-size: 13px; font-weight: 750; text-decoration: none; }
.back:hover { color: var(--ink); }
.meta-line { margin: 10px 0 0; color: var(--faint); font-size: 13px; font-weight: 700; }
.app-view .detail { white-space: pre-wrap; margin-top: 16px; }
.gallery { margin: 18px 0; }
.gallery-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  background: #10161e;
  display: block;
}
.gallery-row { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.gallery-thumb {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: none;
  cursor: pointer;
}
.gallery-thumb img { width: 84px; height: 60px; object-fit: cover; display: block; border-radius: 9px; }

.metrics.stats { margin-top: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metrics.stats strong { font-size: 28px; }
.panel-top { justify-content: space-between; }
.panel-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.console {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  margin-top: 22px;
  align-items: start;
}
.rail { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 88px; }
.rail button {
  text-align: left;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 750;
  padding: 12px 14px;
  cursor: pointer;
}
.rail button small { display: block; margin-top: 3px; color: var(--faint); font-size: 12px; font-weight: 650; }
.rail button.is-on {
  background: rgba(228, 194, 122, 0.14);
  color: var(--ink);
  border-color: rgba(228, 194, 122, 0.28);
}
.work { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.account-pane { max-width: 520px; }
.block-head.tight { margin-bottom: 4px; }
.block-head.tight h3 { margin: 0; font-size: 22px; }

input[type="file"] { padding: 10px; }
input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 750;
  padding: 8px 12px;
  cursor: pointer;
}
.progress { height: 4px; border-radius: 99px; background: rgba(244, 241, 234, 0.08); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs figure { margin: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.thumbs img { width: 92px; height: 68px; object-fit: cover; border-radius: 8px; display: block; }
.thumbs button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; padding: 0; }

.software-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}
.software-row > div { min-width: 0; }
.software-row .row-actions { grid-column: 2; }
.software-row img, .software-row .shot {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
}
.software-row p { margin: 4px 0 0; }
.software-row .meta { margin-top: 6px; }
.btn-quiet { color: var(--danger); background: transparent; }

.purchase { gap: 8px; }
.purchase header { margin-bottom: 0; }
.purchase time, .kv { color: var(--faint); font-size: 13px; font-weight: 700; }
.kv { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.kv a { color: var(--accent); text-decoration: none; }
.lead-line { font-weight: 750; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.chip-yeni { background: rgba(244, 241, 234, 0.08); color: var(--ink); }
.chip-inceleniyor { background: rgba(96, 132, 196, 0.22); color: #d5e2ff; }
.chip-teklif { background: rgba(228, 194, 122, 0.16); color: var(--accent); }
.chip-onaylandi { background: rgba(183, 228, 199, 0.16); color: var(--ok); }
.chip-reddedildi { background: rgba(255, 180, 174, 0.12); color: var(--danger); }
textarea.short { min-height: 88px; }
.note-form { margin-top: 6px; }

@media (max-width: 980px) {
  .metrics.stats { grid-template-columns: 1fr 1fr; }
  .console, .work { grid-template-columns: 1fr; }
  .rail { position: static; flex-direction: row; flex-wrap: wrap; }
  .rail button { flex: 1 1 140px; }
  .software-row { grid-template-columns: 64px minmax(0, 1fr); }
  .software-row .row-actions { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .metrics.stats { grid-template-columns: 1fr; }
}
