:root {
  --ink: #101820;
  --muted: #51606f;
  --lime: #dbff4d;
  --lime-soft: #efffaf;
  --line: rgba(16, 24, 32, 0.16);
  --blue: #0a66c2;
  --danger: #b42318;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(16, 24, 32, 0.2);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.08) 0 1px, transparent 1px 22px),
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.86), transparent 20rem),
    linear-gradient(180deg, var(--lime) 0%, #f4ffc4 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
}

.access-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(24px, 5vw, 72px);
}

.access-panel {
  max-width: 520px;
  display: grid;
  gap: 22px;
}

.screen-card {
  display: grid;
  gap: 12px;
}

.access-shell[data-screen="linkedin"] #codeStep,
.access-shell[data-screen="linkedin"] #codeForm {
  display: none !important;
}

.access-shell[data-screen="code"] #linkedinStep,
.access-shell[data-screen="code"] #linkedinScreen {
  display: none !important;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 900;
}

.brand span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--ink), #087f5b);
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.22);
}

.intro {
  display: grid;
  gap: 12px;
}

.eyebrow {
  margin: 0;
  color: #245200;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
p {
  margin: 0;
}

h1 {
  max-width: 500px;
  font-size: clamp(46px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

.intro p:not(.eyebrow),
.step-card p,
.business-note {
  color: var(--muted);
  line-height: 1.5;
}

.steps {
  display: grid;
  gap: 10px;
}

.step-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
}

.step-card span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--lime-soft);
  font-weight: 900;
}

.step-card.active {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(16, 24, 32, 0.1);
}

.step-card strong {
  display: block;
  margin-bottom: 4px;
}

.linkedin-button,
.primary {
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.linkedin-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 18px 36px rgba(10, 102, 194, 0.24);
}

.linkedin-button span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: var(--blue);
  background: #ffffff;
  font-weight: 900;
}

.primary {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 18px 36px rgba(16, 24, 32, 0.22);
}

.code-form {
  display: grid;
  gap: 12px;
}

.code-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.code-form input {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 20px;
  letter-spacing: 0.18em;
  outline: none;
}

.code-form input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(16, 24, 32, 0.12);
}

.message {
  min-height: 22px;
  color: var(--muted);
  font-weight: 700;
}

.form-help {
  color: var(--muted);
  line-height: 1.45;
}

.message.error {
  color: var(--danger);
}

.business-note a {
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.preview-panel {
  display: grid;
  place-items: center;
}

.mini-window {
  width: min(100%, 720px);
  overflow: hidden;
  border: 1px solid rgba(16, 24, 32, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  transform: rotate(1.3deg);
}

.mini-top {
  height: 48px;
  background: var(--ink);
}

.mini-content {
  min-height: 430px;
  display: grid;
  grid-template-columns: 190px 1fr;
}

.mini-sidebar {
  border-right: 1px solid var(--line);
  background:
    linear-gradient(#ffffff 0 0) 18px 24px / 118px 16px no-repeat,
    linear-gradient(#dfffb1 0 0) 18px 70px / 138px 62px no-repeat,
    linear-gradient(#dbeafe 0 0) 18px 150px / 138px 62px no-repeat,
    rgba(247, 255, 211, 0.78);
}

.mini-main {
  padding: 28px;
  background: linear-gradient(180deg, #ffffff, #f1ffc3);
}

.mini-line {
  height: 28px;
  border-radius: 999px;
  background: #dbeafe;
}

.mini-line.wide {
  width: 70%;
}

.mini-card {
  height: 104px;
  margin-top: 22px;
  border-radius: 14px;
  background: #ffffff;
  border-left: 6px solid #087f5b;
  box-shadow: 0 16px 34px rgba(16, 24, 32, 0.08);
}

.mini-card.muted {
  border-left-color: #2563eb;
  opacity: 0.72;
}

@media (max-width: 900px) {
  .access-shell {
    grid-template-columns: 1fr;
  }

  .access-panel {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .access-shell {
    padding: 22px;
  }

  .mini-content {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    display: none;
  }
}
