:root {
  --black: #050505;
  --ink: #111111;
  --yellow: #f8c900;
  --yellow-bright: #ffec00;
  --amber: #d38400;
  --rust: #9c3500;
  --wine: #670014;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, .76);
  --line: rgba(255, 255, 255, .16);
  --surface: #101010;
  --surface-2: #181818;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(122deg, rgba(248, 201, 0, .98) 0 42%, rgba(211, 132, 0, .98) 42% 62%, rgba(156, 53, 0, .98) 62% 82%, var(--wine) 82%),
    var(--black);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background: rgba(0, 0, 0, .93);
  clip-path: polygon(49% 0, 100% 0, 100% 100%, 42% 100%);
}

body::after {
  z-index: 1;
  background:
    repeating-linear-gradient(
      132deg,
      transparent 0 26px,
      rgba(255, 236, 0, .18) 26px 42px,
      transparent 42px 66px
    );
  clip-path: polygon(49% 0, 100% 0, 100% 100%, 42% 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding: 28px;
}

.shell {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.brand-mark {
  color: var(--black);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", system-ui, sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero {
  min-height: calc(100svh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  align-items: center;
  gap: 58px;
}

.save {
  display: grid;
  color: var(--black);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", system-ui, sans-serif;
  font-size: clamp(4.2rem, 10vw, 8.8rem);
  line-height: .8;
  text-transform: uppercase;
}

.save span:nth-child(2) {
  margin-left: .8em;
}

.identity {
  width: min(620px, 100%);
  margin-top: 58px;
  padding: 28px 34px;
  background: var(--black);
}

.brand-logo {
  width: min(460px, 100%);
  margin: 0 auto;
}

.realization {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 2px solid var(--yellow);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rodasc-logo {
  width: 180px;
}

.content {
  padding-block: 36px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
.impact {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", system-ui, sans-serif;
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  max-width: 8ch;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.date-block {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: 30px;
  padding-block: 16px;
  border-block: 3px solid var(--yellow);
  color: var(--yellow);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", system-ui, sans-serif;
  text-transform: uppercase;
}

.date-day {
  font-size: clamp(6rem, 11vw, 11rem);
  line-height: .72;
}

.date-text {
  display: grid;
  gap: 2px;
  padding-bottom: 6px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: .82;
}

.date-text small {
  color: var(--white);
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

.lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--yellow);
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.button:hover,
.button:focus-visible {
  background: var(--yellow-bright);
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  color: var(--white);
}

.button.danger {
  border-color: #ff6b6b;
  background: #ff6b6b;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.band {
  position: relative;
  z-index: 2;
  padding: 54px 28px;
  background: var(--black);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.panel {
  border: 1px solid var(--line);
  background: var(--surface);
}

.card {
  padding: 20px;
}

.card h3,
.panel h2,
.panel h3 {
  margin: 0 0 10px;
}

.price {
  color: var(--yellow);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", system-ui, sans-serif;
  font-size: 2.6rem;
  line-height: 1;
}

.form-page {
  background: var(--black);
}

.form-page::before,
.form-page::after,
.admin-page::before,
.admin-page::after {
  display: none;
}

.layout {
  display: grid;
  grid-template-columns: minmax(260px, .55fr) minmax(0, 1fr);
  gap: 22px;
}

.panel {
  padding: 22px;
}

.panel + .panel {
  margin-top: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: #0b0b0b;
  color: var(--white);
  padding: 10px 12px;
  outline: none;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--yellow);
}

.notice {
  margin-top: 14px;
  color: var(--yellow);
  font-weight: 800;
}

.admin-page {
  background: #090909;
}

.admin-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.admin-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
}

.list {
  display: grid;
  gap: 10px;
}

.list-item {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--white);
  padding: 12px;
  text-align: left;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  font-size: .9rem;
}

th {
  color: var(--yellow);
  text-transform: uppercase;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  body::before,
  body::after {
    clip-path: polygon(0 43%, 100% 37%, 100% 100%, 0 100%);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .identity {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 18px;
  }

  .date-block {
    align-items: flex-start;
    flex-direction: column;
  }

  .realization {
    align-items: flex-start;
    flex-direction: column;
  }
}
