@font-face {
  font-family: Plex;
  src: url("./assets/ui.ttf");
}
@font-face {
  font-family: Myeongjo;
  src: url("./assets/serif.ttf");
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #0f1a2b;
  color: #eef1f6;
  font:
    15px/1.7 Plex,
    system-ui,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a.button {
  min-height: 46px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #e3a857;
  outline-offset: 4px;
}
h1,
h2,
h3 {
  font-family: Myeongjo, Georgia, serif;
  font-weight: 400;
  line-height: 1.35;
}
h1 {
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: -1.8px;
}
h2 {
  font-size: clamp(30px, 4vw, 46px);
}
p {
  margin: 0 0 20px;
}
small,
.muted {
  color: #a9b4c6;
}
.kicker {
  font-size: 10px;
  letter-spacing: 2.8px;
  color: #e3a857;
  text-transform: uppercase;
}
.wrap {
  max-width: 1120px;
  margin: auto;
  padding: 0 32px;
}
.seal {
  border: 2px solid #b33a2e;
  color: #b33a2e;
  font-family: Myeongjo, serif;
  font-size: 20px;
  line-height: 1.1;
  width: 43px;
  height: 48px;
  padding: 4px;
  text-align: center;
  transform: rotate(-4deg);
}
.wordmark {
  font-family: Myeongjo, serif;
  font-size: 25px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  gap: 20px;
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 40px 0 70px;
}
.hero h1 {
  margin: 23px 0 25px;
}
.hero p {
  font-size: 15px;
  line-height: 1.9;
  color: #a9b4c6;
  max-width: 400px;
}
.hero-photo {
  height: 660px;
  position: relative;
  overflow: hidden;
  border-radius: 180px 180px 3px 3px;
  background: #0b1322;
}
.hero-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 27%;
}
.photo-caption {
  position: absolute;
  bottom: 25px;
  left: 25px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #f3ede1;
}
.photo-note {
  position: absolute;
  right: 25px;
  bottom: 100px;
  width: 220px;
  background: #f3ede1;
  color: #2a2620;
  padding: 25px;
  transform: rotate(-5deg);
  box-shadow: 0 8px 40px #0005;
  font-family: Myeongjo, serif;
  font-size: 19px;
  line-height: 1.7;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b33a2e;
  color: #f3ede1;
  border: 0;
  border-radius: 4px;
  padding: 13px 22px;
  font-size: 13px;
  gap: 18px;
}
.button.secondary {
  background: none;
  border: 1px solid #34465b;
}
.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.quiet {
  font-size: 10px;
  color: #a9b4c6;
  margin-top: 15px;
}
.section {
  padding: 85px 0;
  border-top: 1px solid #2b3a50;
}
.section h2 {
  max-width: 620px;
  margin: 20px 0 30px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin-top: 45px;
}
.step {
  border-top: 1px solid #2b3a50;
  padding-top: 24px;
}
.step .number {
  font-size: 11px;
  color: #e3a857;
}
.step h3 {
  font-size: 24px;
}
.step p {
  font-size: 13px;
  color: #a9b4c6;
}
.paper {
  background: #f3ede1;
  color: #2a2620;
  padding: 35px;
  border-radius: 3px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.paper h3 {
  font-size: 28px;
}
.paper p {
  font-family: Myeongjo, serif;
  font-size: 18px;
  line-height: 1.95;
}
.paper small {
  color: #6b6357;
}
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.feature {
  border-left: 1px solid #2b3a50;
  padding-left: 18px;
  font-size: 13px;
}
.feature b {
  display: block;
  font-weight: 400;
  color: #e3a857;
  margin-bottom: 10px;
}
.faq details {
  border-bottom: 1px solid #2b3a50;
  padding: 21px 0;
}
.faq summary {
  cursor: pointer;
  min-height: 30px;
}
.faq p {
  color: #a9b4c6;
  font-size: 13px;
  max-width: 760px;
  margin: 18px 0 0;
}
.footer {
  border-top: 1px solid #2b3a50;
  padding: 35px 0;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  color: #a9b4c6;
  font-size: 11px;
}
.legal {
  max-width: 800px;
  padding: 70px 25px;
  margin: auto;
}
.legal h1 {
  font-size: 38px;
}
.legal h2 {
  font-size: 23px;
  margin-top: 35px;
}
.legal p,
.legal li {
  font-size: 14px;
  color: #a9b4c6;
}
.draft {
  border-left: 2px solid #e3a857;
  padding: 15px 20px;
  background: #16233a;
  font-size: 12px;
}
.demo-banner {
  font-size: 10px;
  letter-spacing: 1px;
  background: #0b1322;
  text-align: center;
  padding: 9px 15px;
  color: #a9b4c6;
}
@media (max-width: 760px) {
  .wrap {
    padding: 0 23px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 12px;
  }
  .hero-photo {
    height: 520px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .nav {
    gap: 18px;
    font-size: 11px;
  }
  .nav .hide-mobile {
    display: none;
  }
  .steps,
  .two {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .features {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .section {
    padding: 55px 0;
  }
  .footer {
    flex-direction: column;
  }
  .photo-note {
    width: 210px;
  }
  .hero-photo {
    border-radius: 140px 140px 3px 3px;
  }
}
.admin {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
.sidebar {
  padding: 30px 22px;
  border-right: 1px solid #2b3a50;
  background: #0b1322;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 40px;
}
.sidebar button {
  border: 0;
  background: none;
  color: #a9b4c6;
  text-align: left;
  padding: 11px 15px;
  border-left: 2px solid transparent;
  font-size: 13px;
}
.sidebar button.active {
  color: #f3ede1;
  background: #16233a;
  border-left-color: #b33a2e;
}
.admin-main {
  padding: 38px 42px;
  max-width: 1200px;
  width: 100%;
}
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2b3a50;
  padding-bottom: 20px;
  margin-bottom: 35px;
  gap: 15px;
}
.admin-head h1 {
  font-size: 30px;
  margin: 0;
}
.local-tag {
  font-size: 10px;
  color: #e3a857;
  border: 1px solid #465064;
  padding: 6px 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat {
  background: #16233a;
  padding: 24px;
  border-radius: 4px;
}
.stat strong {
  display: block;
  font-family: Myeongjo, serif;
  font-size: 36px;
  font-weight: 400;
  margin-top: 10px;
}
.stat small {
  font-size: 11px;
}
.panel {
  background: #16233a;
  padding: 25px;
  border-radius: 4px;
  margin-top: 20px;
}
.panel h2 {
  font-size: 22px;
  margin: 0 0 20px;
}
.panel label {
  display: block;
  margin-bottom: 15px;
  color: #a9b4c6;
  font-size: 12px;
}
.panel input,
.panel textarea,
.panel select {
  display: block;
  width: 100%;
  padding: 12px;
  color: #eef1f6;
  background: #0f1a2b;
  border: 1px solid #34465b;
  border-radius: 3px;
  margin-top: 7px;
}
.panel textarea {
  min-height: 130px;
  resize: vertical;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 18px 12px;
  border-bottom: 1px solid #2b3a50;
}
.data-table th {
  color: #a9b4c6;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 400;
}
.data-table button {
  background: none;
  color: #e3a857;
  border: 0;
  padding: 8px 0;
  font-size: 12px;
}
.admin-help {
  font-size: 12px;
  color: #a9b4c6;
  line-height: 1.9;
  max-width: 720px;
}
.status {
  font-size: 10px;
  color: #e3a857;
}
.notice {
  border-left: 2px solid #e3a857;
  padding: 14px 18px;
  background: #16233a;
  margin-bottom: 25px;
  font-size: 12px;
  color: #a9b4c6;
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #f3ede1;
  color: #2a2620;
  padding: 15px 25px;
  border-radius: 4px;
  font-size: 12px;
  box-shadow: 0 8px 30px #0005;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.gate-card {
  width: 420px;
  background: #16233a;
  padding: 38px;
}
.gate h1 {
  font-size: 30px;
}
.empty-state {
  padding: 40px;
  text-align: center;
  color: #a9b4c6;
}
.hidden {
  display: none !important;
}
@media (max-width: 800px) {
  .admin {
    grid-template-columns: 1fr;
  }
  .sidebar {
    padding: 15px 20px;
    border-right: 0;
    border-bottom: 1px solid #2b3a50;
  }
  .sidebar nav {
    flex-direction: row;
    overflow: auto;
    margin-top: 15px;
    gap: 0;
  }
  .sidebar button {
    white-space: nowrap;
    font-size: 11px;
    padding: 10px;
  }
  .admin-main {
    padding: 25px 20px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .data-table {
    min-width: 580px;
  }
  .table-wrap {
    overflow: auto;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
