﻿/* Brett Strength — home / sign-in */

:root {
  --blue: #1565c0;
  --blue-hot: #1e74d8;
  --blue-deep: #0d47a1;
  --ink: #0f0f0f;
  --muted: #5a6572;
  --line: #d5dbe5;
  --card: #ffffff;
  --field: #eef1f5;
  --font: "Montserrat", "Segoe UI", sans-serif;
  --display: "Oswald", "Montserrat", sans-serif;
  --safe: env(safe-area-inset-bottom, 0px);
  --shadow: 0 28px 70px rgba(12, 28, 58, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  background: #dfe3e8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; font-weight: 600; }
a:hover { color: var(--blue-deep); }

/* Full-bleed background — plate anchored bottom-left like the mockup */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.72) 0%, rgba(245, 247, 250, 0.35) 38%, rgba(245, 247, 250, 0.08) 58%, rgba(0, 0, 0, 0.18) 100%),
    url("/images/background.webp") left bottom / cover no-repeat;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.header {
  padding: 1.15rem clamp(1rem, 3vw, 2rem) 0.15rem;
}

.logo img {
  height: clamp(72px, 12vw, 118px);
  width: auto;
  max-width: min(560px, 94vw);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.08));
}

.main {
  flex: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0.35rem clamp(1rem, 3vw, 2rem) 1.75rem;
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.pitch h1 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(2.35rem, 8.5vw, 4rem);
  line-height: 0.98;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.pitch h1 .accent { color: var(--blue); }

.lead {
  margin: 0 0 1.6rem;
  max-width: 28rem;
  font-size: 1.05rem;
  color: #1c1c1c;
  line-height: 1.5;
  font-weight: 500;
}

.features {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 1.05rem;
}

.features li {
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.12rem;
}

.features .ico {
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(21, 101, 192, 0.12);
  border: 1px solid rgba(21, 101, 192, 0.16);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.features .ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.features strong {
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  align-self: end;
}

.features span {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

/* Fold: quote overlaps blue bar (mockup #2) */
.fold {
  position: relative;
  margin-top: auto;
}

.quote {
  position: relative;
  z-index: 3;
  width: min(420px, calc(100% - 1.5rem));
  margin: 0 0 -2.75rem clamp(0.75rem, 3vw, 1.75rem);
  padding: 1.15rem 1.5rem 1.25rem 1.35rem;
  color: #fff;
  background: url("/images/blacklablebackground.png") left center / 100% 100% no-repeat;
  border: 0;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.quote .qmark {
  position: absolute;
  top: 0.15rem;
  left: 0.85rem;
  font-family: Georgia, serif;
  font-size: 3.2rem;
  line-height: 1;
  color: #6ea8ff;
  opacity: 0.95;
  pointer-events: none;
}

.quote p {
  position: relative;
  margin: 0.35rem 0 0;
  padding-left: 0.15rem;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.6vw, 1.28rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.quote .q-line {
  display: block;
}

.quote em {
  font-style: italic;
  color: #6ea8ff;
}

.quote cite {
  display: block;
  position: relative;
  margin-top: 0.45rem;
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  text-transform: none;
  letter-spacing: 0.02em;
}

.auth { width: 100%; }

.card {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--blue);
  padding: 1.55rem 1.35rem 1.55rem;
  backdrop-filter: blur(6px);
}

.card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--blue);
}

.card h2::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  margin-top: 0.45rem;
  background: var(--blue);
  border-radius: 2px;
}

.card-lead {
  margin: 0.65rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.field { display: block; margin-bottom: 0.9rem; }

.field > span:first-child {
  display: block;
  margin-bottom: 0.38rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.control {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 0.9rem;
  border-radius: 12px;
  background: var(--field);
  border: 1px solid transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.control:focus-within {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.14);
}

.control svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.control input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  min-height: 50px;
  -webkit-appearance: none;
  appearance: none;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.15rem 0 1.05rem;
  font-size: 0.9rem;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #333;
  user-select: none;
  font-weight: 500;
}

.check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--blue);
}

.btn {
  width: 100%;
  min-height: 54px;
  border-radius: 12px;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: translateY(1px); }

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-solid {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(21, 101, 192, 0.32);
}

.btn-solid:hover { background: var(--blue-hot); }

.btn-outline {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover { background: rgba(21, 101, 192, 0.06); }

.divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.05rem 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.card-foot {
  margin: 1.05rem 0 0;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer {
  position: relative;
  z-index: 1;
  background: var(--blue);
  color: #fff;
  padding: 3.25rem clamp(1rem, 3vw, 2rem) calc(1.05rem + var(--safe));
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
}

.footer-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}

.trust-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.7rem;
  align-items: start;
}

.trust-item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 0.1rem;
}

.trust-item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.trust-item span {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.35;
}

.legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.legal strong {
  display: block;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 900px) {
  .header { padding-top: 1.5rem; }

  .main {
    grid-template-columns: 1.2fr 0.9fr;
    gap: 2.25rem;
    padding-top: 0.75rem;
    padding-bottom: 2.25rem;
    align-items: center;
    min-height: calc(100dvh - 210px);
  }

  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    max-width: 34rem;
  }

  .features li {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .features .ico {
    grid-row: auto;
    margin-bottom: 0.45rem;
  }

  .card {
    padding: 2rem 1.85rem 1.9rem;
    max-width: 440px;
    margin-left: auto;
  }

  .quote {
    width: min(460px, 42vw);
    margin: 0 0 -3.1rem clamp(1rem, 4vw, 2.5rem);
    padding: 1.35rem 1.75rem 1.4rem 1.5rem;
  }

  .footer {
    padding-top: 3.5rem;
  }

  .footer-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.75rem);
    /* leave left clear so quote can sit over the bar */
    padding-left: min(38%, 28rem);
  }

  .legal {
    border-top: 0;
    padding-top: 0;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    text-align: left;
  }
}

@media (min-width: 1200px) {
  .pitch h1 { font-size: 4.25rem; }
  .logo img { height: 124px; max-width: 620px; }
}
