:root {
  --black: #0b0b0b;
  --ink: #171717;
  --white: #ffffff;
  --muted: #a6a6a6;
  --orange: #ff6508;
  --orange-deep: #d94e00;
  --line: rgba(255, 255, 255, 0.14);
  --card: rgba(20, 20, 20, 0.88);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--black); }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 28px 20px;
  isolation: isolate;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.08;
  filter: blur(90px);
  pointer-events: none;
}

.ambient-one { top: -260px; right: -160px; }
.ambient-two { bottom: -330px; left: -220px; opacity: 0.05; }

.transition-card {
  width: min(100%, 760px);
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  text-align: center;
  backdrop-filter: blur(10px);
}

.eyebrow {
  margin-bottom: 30px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.brand-transition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 0 auto clamp(34px, 5vw, 56px);
}

.brand-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #050505;
}

.brand-panel-diretto { padding: 0; }
.brand-panel-mental { padding: 28px; }

.logo { display: block; max-width: 100%; }
.logo-diretto { width: 100%; height: 210px; object-fit: contain; }
.logo-mental { width: min(100%, 250px); max-height: 156px; object-fit: contain; }
.brand-caption {
  margin-top: 10px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.045em;
}

.transition-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.transition-line {
  width: 34px;
  height: 1px;
  background: var(--orange);
}

.transition-arrow {
  margin-left: -2px;
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1;
}

.copy-block h1 {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 18px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.stacked-title span { display: block; color: var(--white); }
.stacked-title span:nth-child(2) { color: var(--white); }
.copy-block h1 strong {
  display: block;
  color: var(--orange);
  font-size: clamp(28px, 4.8vw, 54px);
  font-weight: 700;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.copy-block p {
  margin: 0;
  color: #e8e8e8;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.copy-block .fallback-copy {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

.fallback-copy a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  margin-top: 30px;
  padding: 0 25px;
  border-radius: 999px;
  color: var(--black);
  background: var(--orange);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: #ff7c2c;
  box-shadow: 0 10px 30px rgba(255, 101, 8, 0.24);
  outline: none;
  transform: translateY(-2px);
}

.button-arrow { font-size: 20px; line-height: 0; }

.countdown {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.countdown span {
  display: inline-block;
  min-width: 1.3em;
  color: var(--orange);
  font-weight: 700;
}

.url-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.url-arrow { color: var(--orange); }
.page-footer { position: absolute; bottom: 18px; color: #666; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }

@media (max-width: 700px) {
  .page-shell { padding: 18px 14px 54px; }
  .transition-card { border-radius: 18px; padding: 26px 18px 24px; }
  .brand-transition { grid-template-columns: 1fr; gap: 12px; margin-bottom: 34px; }
  .brand-panel { min-height: 130px; }
  .logo-diretto { height: 130px; }
  .brand-panel-mental { min-height: 120px; padding: 20px; }
  .logo-mental { max-height: 82px; }
  .brand-caption { margin-top: 4px; font-size: 18px; }
  .transition-mark { height: 22px; transform: rotate(90deg); }
  .transition-line { width: 24px; }
  .copy-block h1 { font-size: clamp(30px, 9vw, 42px); }
  .primary-button { width: 100%; }
  .url-line { flex-direction: column; gap: 5px; }
  .url-arrow { transform: rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  .primary-button { transition: none; }
}
