:root {
  --navy: #10233f;
  --navy-2: #17365f;
  --blue: #2f6fae;
  --blue-soft: #eaf3fb;
  --ice: #f5f9fd;
  --ink: #162033;
  --muted: #66758a;
  --line: #d8e3ee;
  --white: #ffffff;
  --error: #9d2b2b;
  --shadow: 0 24px 60px rgba(16,35,63,.12);
}

* { box-sizing: border-box; }

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

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 18px;
  top: 18px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--navy);
  color: white;
}

.site-header {
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: white;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
}

.brand span:last-child {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 14px;
  letter-spacing: .08em;
}

.brand small,
.back-link {
  color: var(--muted);
  font-size: 12px;
}

.back-link {
  font-weight: 800;
  text-decoration: none;
}

main {
  padding: clamp(28px, 4vw, 54px);
}

.signup-shell {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(520px, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.intro-panel {
  position: relative;
  padding: clamp(36px, 5vw, 70px);
  background:
    radial-gradient(circle at 20% 10%, rgba(47,111,174,.16), transparent 34%),
    linear-gradient(160deg, #f5f9fd 0%, #eaf3fb 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

h1,
h2 {
  margin: 0;
  color: var(--navy);
}

h1 {
  max-width: 620px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.05em;
}

h2 {
  font-size: 36px;
  letter-spacing: -.035em;
}

.lead,
.form-heading p,
.support-note {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 17px;
}

.sage-visual {
  position: relative;
  height: 330px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #c8d9e8;
  background: white;
}

.office-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245,249,253,.58), rgba(255,255,255,.06)),
    url("/assets/sage-reception-office-v1.png") center / cover no-repeat;
}

.sage-visual img {
  position: absolute;
  z-index: 2;
  left: 43%;
  bottom: 12px;
  transform: translateX(-50%);
  width: min(310px, 62%);
  max-height: 305px;
  object-fit: contain;
}

.next-steps {
  margin-top: 28px;
}

.next-steps ol {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.next-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.next-steps li > span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-weight: 900;
  font-size: 13px;
}

.next-steps li div {
  display: grid;
  gap: 2px;
}

.next-steps strong {
  color: var(--navy);
  font-size: 14px;
}

.next-steps small {
  color: var(--muted);
  line-height: 1.45;
}

.form-panel {
  padding: clamp(36px, 5vw, 70px);
}

.form-heading {
  margin-bottom: 30px;
}

.form-heading p {
  margin: 10px 0 0;
}

form {
  display: grid;
  gap: 24px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
}

label > span,
legend {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c6d5e3;
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input,
select {
  min-height: 48px;
  padding: 0 13px;
}

textarea {
  padding: 13px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47,111,174,.13);
}

fieldset {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

legend {
  padding: 0 7px;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.check-grid label,
.preview-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-grid input,
.preview-confirm input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: 0 0 auto;
}

.preview-confirm {
  padding: 16px;
  border-radius: 14px;
  background: var(--blue-soft);
}

.preview-confirm span {
  color: #405267;
  line-height: 1.55;
  font-weight: 700;
}

.form-status {
  min-height: 20px;
  color: var(--error);
  font-size: 13px;
  font-weight: 800;
}

.submit-button {
  min-height: 54px;
  padding: 14px 20px;
  border: 0;
  border-radius: 13px;
  background: var(--navy);
  color: white;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(16,35,63,.2);
}

.submit-button:hover,
.submit-button:focus-visible {
  background: var(--navy-2);
}

.submit-button:disabled {
  opacity: .7;
  cursor: wait;
}

.support-note {
  margin: 0;
  font-size: 12px;
  text-align: center;
}

footer {
  padding: 24px clamp(20px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1000px) {
  .signup-shell {
    grid-template-columns: 1fr;
  }

  .sage-visual {
    height: 300px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand small {
    display: none;
  }

  main {
    padding: 14px;
  }

  .signup-shell {
    border-radius: 20px;
  }

  .intro-panel,
  .form-panel {
    padding: 34px 22px;
  }

  .field-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .sage-visual {
    height: 260px;
  }

  .sage-visual img {
    left: 48%;
    width: min(300px, 82%);
  }

  footer {
    flex-direction: column;
  }
}
/* Official AI Tasklets.com logo standard v1 */
.site-logo {
  display: block;
  width: 230px;
  height: 86px;
  object-fit: cover;
  object-position: center 82%;
}
@media (max-width: 700px) {
  .site-logo {
    width: 190px;
    height: 70px;
    object-position: center 82%;
  }
}
