:root {
  --ink: #f7f3ea;
  --muted: #d3c8b8;
  --coal: #12100e;
  --red: #b51f29;
  --gold: #d7a64a;
  --blue: #174678;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--coal);
}

.hero {
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 48px 18px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/5/54/Cluj_Napoca_Hotel_Continental.jpg/1280px-Cluj_Napoca_Hotel_Continental.jpg"),
    url("assets/continental-hero.png");
  background-size: cover;
  background-position: center;
  filter: saturate(0.86) contrast(1.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at center, rgba(18, 16, 14, 0.42), rgba(18, 16, 14, 0.78) 62%),
    linear-gradient(180deg, rgba(18, 16, 14, 0.2), rgba(18, 16, 14, 0.9));
}

.hero__content {
  width: min(820px, 100%);
  text-align: center;
}

.kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 9vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.55;
}

.action {
  width: min(560px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

label {
  justify-self: start;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(247, 243, 234, 0.25);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(18, 16, 14, 0.72);
  font: inherit;
  outline: none;
}

input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(215, 166, 74, 0.16);
}

button {
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  color: #fff8ee;
  background: linear-gradient(135deg, var(--red), #7f1420);
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 44px rgba(181, 31, 41, 0.36);
}

button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #d02531, #931622);
}

button:active {
  transform: translateY(0);
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

.choices[hidden] {
  display: none;
}

.choice {
  display: inline-grid;
  place-items: center;
  min-width: 0;
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid rgba(247, 243, 234, 0.18);
  border-radius: 8px;
  color: #fff8ee;
  box-shadow: none;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.choice--gmail {
  background: #d93025;
}

.choice--yahoo {
  background: #5f01d1;
}

.choice--outlook {
  background: var(--blue);
}

.choice--default {
  background: #3c3730;
}

.mobile-choice {
  display: none;
}

.status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.steps,
.preview {
  padding: 44px 18px;
}

.steps {
  background: #f2eee6;
  color: #211c18;
}

.preview {
  background: #161411;
}

.credit {
  padding: 14px 18px;
  color: #bcb1a1;
  background: #0d0c0b;
  font-size: 0.78rem;
  text-align: center;
}

.section-inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 24px;
  font-size: 1.08rem;
  line-height: 1.5;
}

.note {
  color: var(--muted);
  line-height: 1.5;
}

pre {
  width: 100%;
  max-height: 62vh;
  margin: 22px 0 0;
  padding: 20px;
  overflow: auto;
  border: 1px solid rgba(247, 243, 234, 0.14);
  border-radius: 8px;
  color: #efe8dc;
  background: #0d0c0b;
  white-space: pre-wrap;
  font: 0.94rem/1.6 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

@media (min-width: 720px) {
  .action {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  label {
    grid-column: 1 / -1;
  }

  button {
    min-width: 230px;
    padding: 0 22px;
  }

  .choices {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .choices {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .desktop-choice,
  .status {
    display: none;
  }

  .mobile-choice {
    display: inline-grid;
    min-height: 54px;
    font-size: 1rem;
    padding: 0 18px;
  }
}

@media (max-width: 380px) {
  .mobile-choice {
    font-size: 0.94rem;
  }
}
