:root {
  --apple-blue: #0071e3;
  --apple-link-blue: #0066cc;
  --bg-dark: #000000;
  --bg-light: #f5f5f7;
  --text-dark: #1d1d1f;
  --text-soft: rgba(0, 0, 0, 0.8);
  --focus: #0071e3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text-dark);
  font-family: "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.2px;
}

.page-light {
  background: var(--bg-light);
  min-height: 100vh;
}

.glass-nav {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  z-index: 100;
}

.nav-inner {
  max-width: 980px;
  height: 48px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.12px;
}

.hero {
  min-height: calc(100vh - 48px);
  display: grid;
  place-items: center;
}

.hero-dark {
  background: var(--bg-dark);
  color: #ffffff;
}

.hero-content {
  text-align: center;
  padding: 24px;
}

.hero-content h1 {
  font-family: "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(40px, 8vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.28px;
  margin: 0 0 12px;
}

.hero-content p {
  margin: 0 0 24px;
  font-size: 21px;
  line-height: 1.19;
  letter-spacing: 0.2px;
}

.center-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 16px 72px;
}

.card {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0;
}

.title {
  font-family: "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 20px;
}

.form {
  display: grid;
  gap: 10px;
}

.form label {
  font-size: 14px;
  color: var(--text-soft);
}

.form input {
  height: 44px;
  border: none;
  border-radius: 11px;
  background: #fafafc;
  padding: 0 14px;
  font-size: 17px;
  color: var(--text-dark);
  outline: 3px solid rgba(0, 0, 0, 0.04);
}

.form input:focus {
  outline: 2px solid var(--focus);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 15px;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--apple-blue);
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-dark {
  background: var(--text-dark);
  color: #ffffff;
}

.btn-pill {
  border-radius: 980px;
  background: transparent;
  border-color: var(--apple-link-blue);
  color: var(--apple-link-blue);
}

.full-width {
  width: 100%;
  margin-top: 12px;
}

.message {
  min-height: 22px;
  margin: 2px 0 0;
  color: var(--apple-link-blue);
  font-size: 14px;
}

.message.error {
  color: #b42318;
}

.link-reset {
  text-decoration: none;
}

@media (max-width: 640px) {
  .title {
    font-size: 32px;
  }
}
