:root {
  --bg: #f4f2ee;
  --paper: rgba(255, 255, 255, 0.82);
  --paper-solid: #ffffff;
  --ink: #141414;
  --muted: #6f6f6f;
  --line: rgba(20, 20, 20, 0.12);
  --red: #e9343f;
  --red-dark: #bd1e28;
  --graphite: #202020;
  --soft: #ebe7df;
  --shadow: 0 24px 70px rgba(19, 17, 15, 0.14);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 0%, rgba(233, 52, 63, 0.09), transparent 28%),
    linear-gradient(180deg, #fbfaf7 0%, var(--bg) 48%, #fbfaf7 100%);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.site-footer,
main {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 5px;
  min-width: 360px;
}

.brand-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #68686f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
}

.brand-kicker span {
  width: 32px;
  height: 2px;
  background: var(--red);
}

.brand-title {
  max-width: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.08;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
}

.header-actions a {
  border-radius: 6px;
  padding: 7px 10px;
  color: #555555;
  font-size: 13px;
  font-weight: 700;
}

.header-actions a:hover {
  background: var(--ink);
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 34px;
  align-items: center;
  min-height: 560px;
  padding: 34px 0 34px;
}

.eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
  line-height: 1.45;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-copy h1,
.section-heading h2,
.form-copy h2,
.split h2,
.admin-lock h1 {
  margin: 16px 0 18px;
  color: var(--ink);
  max-width: none;
  font-size: clamp(30px, 3.7vw, 44px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lead,
.split p,
.form-copy p,
.admin-lock p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.46;
}

.hero-copy h1 {
  max-width: none;
  font-size: clamp(26px, 2.9vw, 36px);
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(233, 52, 63, 0.28);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: var(--graphite);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.44) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 48%);
  pointer-events: none;
}

.hero-visual img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  animation: imageDrift 12s ease-in-out infinite alternate;
}

.floating-card {
  position: absolute;
  z-index: 2;
  width: min(174px, 42%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 14px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  animation: floatCard 5.5s ease-in-out infinite;
}

.floating-card span,
.conditions span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  margin-top: 7px;
  color: var(--red);
  font-size: 36px;
  line-height: 0.95;
}

.floating-card small {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.card-earn {
  left: 18px;
  bottom: 18px;
}

.card-discount {
  right: 18px;
  top: 18px;
  animation-delay: 900ms;
}

.conditions {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 10px;
  margin-top: 0;
  padding-bottom: 28px;
}

.conditions article,
.benefits div,
.form,
.result,
.ref-banner,
.admin-summary div,
.table-wrap,
.admin-login {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 20px 48px rgba(21, 19, 17, 0.07);
  backdrop-filter: blur(16px);
}

.conditions article {
  min-height: 134px;
  padding: 16px;
}

.conditions .condition-main {
  background: var(--ink);
  color: #ffffff;
}

.conditions .condition-main span,
.conditions .condition-main p {
  color: rgba(255, 255, 255, 0.68);
}

.conditions strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 0.98;
}

.conditions .condition-main strong {
  color: #ffffff;
  font-size: clamp(26px, 3.1vw, 38px);
}

.conditions .condition-main strong small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.2px;
}

.conditions .condition-main strong .income-period {
  text-transform: lowercase;
}

.conditions p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.32;
}

.conditions .income-note {
  font-size: 12px;
  white-space: nowrap;
}

.section {
  padding: 42px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.section-heading {
  margin-bottom: 14px;
}

.section-heading h2,
.form-copy h2,
.split h2 {
  max-width: 740px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1;
}

.split h2.two-line-title {
  max-width: none;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.split h2.two-line-title span {
  white-space: normal;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 26px 70px rgba(23, 23, 27, 0.08);
  backdrop-filter: blur(16px);
}

.steps article {
  position: relative;
  min-height: 164px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(150deg, #ffffff, #f6f3ef);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.steps article::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(233, 52, 63, 0.22);
  border-radius: 50%;
}

.steps article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(21, 19, 17, 0.09);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.steps h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.12;
}

.steps p {
  margin: 10px 0 0;
  max-width: 170px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  overflow: visible;
}

.benefits div {
  min-height: 96px;
  padding: 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.28;
  overflow: visible;
  white-space: normal;
  overflow-wrap: break-word;
}

.benefits span {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 14px;
  background: var(--red);
}

.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.material-card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(30, 30, 35, 0.1);
  border-radius: 28px;
  background: var(--paper-solid);
  box-shadow: 0 22px 58px rgba(23, 23, 27, 0.07);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.material-card::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--ink);
  transform: rotate(-8deg);
}

.material-card::before {
  content: "";
  position: absolute;
  right: 36px;
  bottom: 36px;
  width: 18px;
  height: 2px;
  background: #ffffff;
  z-index: 1;
  box-shadow: 6px 6px 0 #ffffff;
}

.material-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 52, 63, 0.38);
  box-shadow: 0 28px 74px rgba(23, 23, 27, 0.1);
}

.material-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(239, 51, 64, 0.1);
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.material-card strong {
  display: block;
  max-width: 310px;
  margin-top: 42px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.04;
}

.material-card-graphite {
  background: var(--graphite);
  color: #ffffff;
}

.material-card-graphite span {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.material-card-graphite strong {
  color: #ffffff;
}

.material-card-graphite::after {
  background: var(--red);
}

.form-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(520px, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 26px 70px rgba(23, 23, 27, 0.08);
  backdrop-filter: blur(16px);
}

.form-copy {
  position: relative;
  min-height: 100%;
  padding: 26px 26px 26px 18px;
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}

.form-copy::after {
  display: none;
}

.form-copy .eyebrow {
  color: var(--red);
}

.form-copy h2.register-title {
  max-width: 420px;
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(24px, 2.35vw, 30px);
  line-height: 1.02;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: normal;
}

.form-copy p:not(.eyebrow) {
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.register-points {
  display: grid;
  gap: 11px;
  margin-top: 24px;
}

.register-points span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 24px;
  padding: 0 0 0 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.register-points span::before {
  content: "";
  position: absolute;
  left: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(233, 52, 63, 0.1);
}

.register-form {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 22px 0 22px 28px;
  border-left: 1px solid var(--line);
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
}

.form label {
  display: grid;
  gap: 7px;
  color: #616168;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.form label:has(textarea),
.form .checkbox,
.form button,
.form-note {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 14px;
  background: #f8f7f5;
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus,
textarea:focus {
  border-color: var(--red);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(233, 52, 63, 0.12);
}

textarea {
  resize: vertical;
}

.checkbox {
  grid-template-columns: 18px 1fr;
  align-items: center;
  padding: 4px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.checkbox input {
  width: 18px;
  height: 18px;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.result,
.ref-banner {
  margin-top: 18px;
  padding: 16px;
  line-height: 1.45;
}

.result strong,
.ref-banner strong {
  display: block;
  margin-bottom: 8px;
}

.copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.copy-row input {
  font-size: 14px;
}

.hidden {
  display: none !important;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 32px;
  color: var(--muted);
}

.site-footer span {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 2px;
}

.admin-main {
  min-height: calc(100vh - 110px);
}

.admin-lock {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 28px;
  align-items: end;
}

.admin-login {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 18px;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 240px));
  gap: 16px;
  margin-bottom: 28px;
}

.admin-summary div {
  padding: 16px;
}

.admin-summary strong {
  display: block;
  font-size: 30px;
}

.admin-summary span {
  color: var(--muted);
}

.admin-grid {
  display: grid;
  gap: 36px;
}

.admin-grid h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.lead-payout-form {
  display: grid;
  gap: 8px;
  min-width: 180px;
}

.lead-payout-form label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.lead-payout-form input,
.lead-payout-form select {
  min-height: 34px;
  padding: 7px 8px;
}

.lead-payout-form .button {
  min-height: 34px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status-accrued {
  border-color: rgba(239, 51, 64, 0.28);
  background: rgba(239, 51, 64, 0.08);
  color: #b51f2a;
}

.status-paid {
  border-color: rgba(35, 121, 82, 0.28);
  background: rgba(35, 121, 82, 0.1);
  color: #237952;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(20, 20, 20, 0.05);
  font-size: 13px;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  line-height: 1.45;
}

td strong {
  color: var(--ink);
}

code {
  border-radius: 4px;
  background: #ececec;
  padding: 2px 6px;
}

.reveal {
  opacity: 1;
  transform: none;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes imageDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-12px, -8px, 0);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  .hero,
  .split,
  .form-section,
  .admin-lock {
    grid-template-columns: 1fr;
  }

  .form-section {
    gap: 14px;
  }

  .form {
    padding-left: 0;
    border-left: 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }

  .form-copy h2.register-title {
    max-width: 430px;
    font-size: clamp(24px, 4.4vw, 28px);
  }

  .hero {
    min-height: 0;
    padding: 26px 0 30px;
  }

  .conditions {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  main {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    overflow: hidden;
    gap: 4px;
  }

  .header-actions a {
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-title {
    max-width: none;
    font-size: 12px;
    white-space: nowrap;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 24px;
    line-height: 1;
    white-space: nowrap;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 1.35;
  }

  .hero,
  .hero-copy,
  .conditions,
  .steps,
  .form-section,
  .form {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .site-footer {
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-lead,
  .split p,
  .form-copy p {
    font-size: 14px;
    line-height: 1.42;
    width: 100%;
    max-width: 100%;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-visual img {
    min-height: 300px;
  }

  .floating-card {
    width: 126px;
    padding: 10px;
  }

  .floating-card strong {
    font-size: 26px;
  }

  .floating-card small {
    font-size: 11px;
  }

  .floating-card span {
    font-size: 10px;
    letter-spacing: 0.8px;
  }

  .conditions,
  .steps,
  .materials-grid,
  .benefits,
  .form,
  .admin-login,
  .admin-summary {
    grid-template-columns: 1fr;
  }

  .conditions article {
    min-height: 0;
    padding: 14px;
  }

  .section {
    padding: 32px 0;
  }

  .section-heading h2,
  .form-copy h2,
  .split h2,
  .admin-lock h1 {
    max-width: 100%;
    font-size: 22px;
    line-height: 1.05;
  }

  .form-copy h2.register-title {
    max-width: 100%;
    font-size: 23px;
    line-height: 1.08;
  }

  .split h2.two-line-title {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.18;
  }

  .steps article,
  .benefits div,
  .material-card {
    min-height: 0;
  }

  .steps article,
  .material-card {
    aspect-ratio: auto;
    border-radius: 28px;
  }

  .steps article {
    min-height: 148px;
  }

  .material-card {
    min-height: 132px;
    padding: 24px;
  }

  .benefits div {
    padding: 14px;
    font-size: 12px;
    line-height: 1.32;
    overflow-wrap: anywhere;
  }

  .steps p,
  .hero-lead,
  .split p,
  .form-copy p {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .steps h3,
  .benefits div,
  .material-card,
  .conditions p,
  .floating-card small {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .copy-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .site-header,
  .site-footer,
  main {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 26px;
  }

  .split h2.two-line-title {
    font-size: 17px;
    line-height: 1.18;
  }

  .form-copy h2.register-title {
    max-width: 100%;
    font-size: 21px;
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-visual img {
    min-height: 280px;
  }

  .card-earn {
    left: 12px;
    bottom: 12px;
  }

  .card-discount {
    right: 12px;
    top: 12px;
  }
}
