﻿/* Hookme signup page.
   Shares the customer design tokens with the account pages
   (public/customer-profile/styles.css) so the three read as one product. */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  color: #f7f6fa;
  background: #09090d;
  color-scheme: dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --pink: #ff2d7b;
  --violet: #8b5cf6;
  --cyan: #00e5ef;
  --muted: #898894;
  --line: rgba(255, 255, 255, 0.085);
  --panel: #14141b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 76% 0, rgba(139, 92, 246, 0.1), transparent 36%),
    radial-gradient(ellipse at 5% 22%, rgba(255, 45, 123, 0.07), transparent 30%),
    #09090d;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(0, 229, 239, 0.8);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* ---------- shell ---------- */

.auth-shell {
  display: flex;
  flex-direction: column;
  width: min(1120px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 26px 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1.1px;
  text-decoration: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
}

.brand-label span {
  color: var(--pink);
}

.auth-layout {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  align-items: center;
  gap: 56px;
  padding: 34px 0 28px;
}

.auth-shell footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #56535f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

/* ---------- story ---------- */

.story {
  position: relative;
  isolation: isolate;
  padding: 26px 0;
}

.story h1 {
  position: relative;
  margin: 14px 0 0;
  color: #fff;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -2px;
}

.story h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--pink), var(--violet));
  background-clip: text;
  color: transparent;
}

.story-copy {
  position: relative;
  max-width: 420px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.story-foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  color: #6d6a77;
  font-size: 12px;
}

.story-foot span {
  color: var(--pink);
}

.orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.orb-one {
  top: -60px;
  right: 4%;
  width: 320px;
  height: 320px;
  background: rgba(139, 92, 246, 0.32);
}

.orb-two {
  bottom: -50px;
  left: -30px;
  width: 260px;
  height: 260px;
  background: rgba(255, 45, 123, 0.22);
}

/* ---------- card ---------- */

.auth-card {
  position: relative;
  padding: 32px 30px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(28, 28, 38, 0.9), rgba(18, 18, 24, 0.94));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.auth-card h2 {
  margin: 10px 0 0;
  color: #fff;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.6px;
}

.auth-card .muted {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.eyebrow {
  margin: 0;
  color: #8d899a;
  font-size: 9px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 1.4px;
}

/* ---------- form ---------- */

.auth-form {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.auth-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0 7px;
  color: #d4d2da;
  font-size: 10px;
  font-weight: 700;
}

.auth-form label span {
  color: #777480;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.auth-form input,
.auth-form select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: #f5f3f8;
  font-size: 12px;
  transition: border-color 0.15s, background 0.15s;
}

.auth-form input::placeholder {
  color: #625f6b;
}

.auth-form input:focus,
.auth-form select:focus {
  border-color: rgba(139, 92, 246, 0.58);
  background: rgba(255, 255, 255, 0.05);
}

.auth-form select {
  appearance: none;
  padding-right: 32px;
  background-image:
    linear-gradient(45deg, transparent 50%, #999 50%),
    linear-gradient(135deg, #999 50%, transparent 50%);
  background-position: calc(100% - 16px) 18px, calc(100% - 12px) 18px;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}

.auth-form select option {
  background: #17161f;
  color: #f5f3f8;
}

.auth-form input[type='date']::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(0.75);
}

.auth-form label.terms {
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  color: #9d9aa6;
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.55;
}

.auth-form label.terms span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
}

.auth-form input[type='checkbox'] {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--pink);
}

.form-error {
  margin: 12px 0 0;
  color: #ff99b5;
  font-size: 10.5px;
  line-height: 1.5;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 45px;
  margin-top: 20px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--pink), var(--violet));
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(255, 45, 123, 0.25);
  transition: filter 0.15s, box-shadow 0.15s, transform 0.15s;
}

.submit-button:hover {
  filter: brightness(1.07);
  box-shadow: 0 14px 36px rgba(255, 45, 123, 0.34);
}

.submit-button:active {
  transform: scale(0.99);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.switch-copy {
  margin: 20px 0 0;
  color: #9d9aa6;
  font-size: 11px;
  text-align: center;
}

.switch-copy a {
  color: #ff8ab0;
  text-decoration: none;
}

.switch-copy a:hover {
  text-decoration: underline;
}

.privacy-copy {
  margin: 14px 0 0;
  color: #5f5c68;
  font-size: 9.5px;
  line-height: 1.6;
  text-align: center;
}

/* ---------- location prompt ---------- */

.location-prompt {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 5, 10, 0.78);
  backdrop-filter: blur(8px);
}

.location-prompt-card {
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #15131b;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.location-prompt-card h2 {
  margin: 6px 0 0;
  color: #fff;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
}

.location-prompt-card > p:not(.eyebrow) {
  color: #aaa7b3;
  font-size: 12px;
  line-height: 1.65;
}

.location-prompt-card .submit-button {
  margin-top: 18px;
}

.location-prompt-card #location-feedback:not([hidden]) {
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(255, 45, 123, 0.08);
  color: #ffb3ca;
  font-size: 11px;
}

.location-skip {
  width: 100%;
  margin-top: 12px;
  padding: 9px;
  border: 0;
  background: transparent;
  color: #d6d2dd;
  font-size: 11px;
}

.location-skip:hover {
  text-decoration: underline;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .auth-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-top: 18px;
  }

  .story {
    padding: 0;
  }

  .story h1 {
    font-size: clamp(40px, 11vw, 58px);
    letter-spacing: -1.4px;
  }

  .story-copy {
    font-size: 14px;
  }

  .orb-one {
    top: -80px;
    right: -40px;
  }

  .orb-two {
    bottom: -70px;
    left: -60px;
  }
}

@media (max-width: 480px) {
  .auth-shell {
    padding: 20px 18px;
  }

  .auth-card {
    padding: 26px 20px 22px;
    border-radius: 18px;
  }

  .auth-card h2 {
    font-size: 29px;
  }

  .auth-shell footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
