/* ===========================================================
   30 Tips landing page — The Lab series
   Spec: Nova White bg, Void Blue card. DM Serif 400 only.
   ===========================================================*/

.tt-root {
  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 160px;

  /* Brand */
  --tt-nova: #EDEDED;
  --tt-cosmic: #22263B;
  --tt-void: #0D2D49;
  --tt-cobalt: #052D8A;
  --tt-orbit: #9DB9FB;
  --tt-cryo: #89D2DC;
  --tt-plasma: #BB3A76;

  background: var(--tt-nova);
  color: var(--tt-cosmic);
  /* The site header / announcement bar already sit above the hero;
     the spec calls for 160px hero padding which is preserved. */
}

/* ---------- Hero ---------- */
.tt-hero {
  position: relative;
  padding: var(--space-8) 0;
  overflow: hidden;
  background: var(--tt-nova);
}

.tt-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-6);
  align-items: start;
}

/* ---------- Animated entry ---------- */
.tt-copy, .tt-card-wrap {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.tt-copy.is-in, .tt-card-wrap.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Left copy ---------- */
.tt-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tt-cryo);
}

.tt-h1 {
  margin: var(--space-3) 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--tt-cosmic);
  max-width: 18ch;
}

.tt-lead {
  margin: var(--space-5) 0 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(34, 38, 59, 0.72);
  max-width: 44ch;
}

.tt-body {
  margin: var(--space-3) 0 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(34, 38, 59, 0.65);
  max-width: 480px;
}

/* ---------- Proof row ---------- */
.tt-proof {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.tt-proof__cell {
  padding-right: var(--space-4);
}
.tt-proof__cell + .tt-proof__cell {
  border-left: 1px solid rgba(34, 38, 59, 0.12);
  padding-left: var(--space-4);
}
.tt-proof__v {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--tt-cobalt);
}
.tt-proof__l {
  margin-top: var(--space-2);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
  color: rgba(34, 38, 59, 0.5);
}

/* ---------- Card ---------- */
.tt-card-wrap {
  position: relative;
}
.tt-card {
  position: relative;
  background: var(--tt-void);
  border-radius: 4px;
  padding: 44px;
  color: var(--tt-nova);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 60px -30px rgba(13, 45, 73, 0.45),
    0 8px 20px -12px rgba(13, 45, 73, 0.35);
}
/* Decorative corner brackets — Cryo at 10% opacity */
.tt-card__corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(137, 210, 220, 0.10);
  pointer-events: none;
}
.tt-card__corner--tl { top: 14px;    left: 14px;    border-right: 0; border-bottom: 0; }
.tt-card__corner--tr { top: 14px;    right: 14px;   border-left: 0;  border-bottom: 0; }
.tt-card__corner--bl { bottom: 14px; left: 14px;    border-right: 0; border-top: 0; }
.tt-card__corner--br { bottom: 14px; right: 14px;   border-left: 0;  border-top: 0; }

.tt-card__eyebrow {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(137, 210, 220, 0.70);
}
.tt-card__title {
  margin: var(--space-3) 0 var(--space-2);
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--tt-nova);
  max-width: 16ch;
}
.tt-card__sub {
  margin: 0 0 var(--space-5);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(237, 237, 237, 0.5);
}

/* ---------- Form ---------- */
.tt-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.tt-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.tt-field__label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(237, 237, 237, 0.45);
}
.tt-field input {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--tt-nova);
  background: rgba(237, 237, 237, 0.06);
  border: 1px solid rgba(137, 210, 220, 0.20);
  border-radius: 4px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  width: 100%;
}
.tt-field input::placeholder { color: rgba(237, 237, 237, 0.25); }
.tt-field input:hover { background: rgba(237, 237, 237, 0.08); }
.tt-field input:focus {
  border-color: var(--tt-cryo);
  background: rgba(237, 237, 237, 0.08);
}

.tt-form__error {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--tt-plasma);
  padding: 6px 10px;
  background: rgba(187, 58, 118, 0.10);
  border: 1px solid rgba(187, 58, 118, 0.30);
  border-radius: 4px;
}

.tt-submit {
  margin-top: var(--space-2);
  width: 100%;
  border: 0;
  background: var(--tt-orbit);
  color: var(--tt-cosmic);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  padding: 14px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.tt-submit:hover { background: #b1c8fb; }
.tt-submit:active { transform: translateY(1px); }
.tt-submit:focus-visible {
  outline: 2px solid var(--tt-cryo);
  outline-offset: 2px;
}

/* ---------- Check list ---------- */
.tt-checks {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.tt-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  color: rgba(237, 237, 237, 0.55);
}
.tt-checks__sq {
  flex: 0 0 4px;
  width: 4px;
  height: 4px;
  background: var(--tt-cryo);
  display: inline-block;
}

.tt-card__note {
  margin: var(--space-5) 0 0;
  text-align: center;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(237, 237, 237, 0.28);
}

/* ---------- Confirmation state ---------- */
.tt-confirm {
  padding: var(--space-3) 0;
  animation: ttFadeIn 0.4s ease;
}
@keyframes ttFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tt-confirm__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tt-cryo);
}
.tt-confirm__title {
  margin: var(--space-3) 0 var(--space-3);
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--tt-nova);
  max-width: 14ch;
}
.tt-confirm__sub {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(237, 237, 237, 0.45);
}
.tt-checks--confirm {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(137, 210, 220, 0.12);
}

/* ---------- Footer ---------- */
.tt-foot {
  background: var(--tt-nova);
  border-top: 1px solid rgba(34, 38, 59, 0.10);
  padding: var(--space-4) 0;
}
.tt-foot__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(34, 38, 59, 0.35);
  gap: var(--space-4);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .tt-hero { padding: var(--space-7) 0; }
  .tt-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .tt-h1 { font-size: 44px; }
  .tt-card { padding: 32px; }
  .tt-card__title { font-size: 28px; }
}
@media (max-width: 560px) {
  .tt-hero { padding: var(--space-6) 0; }
  .tt-h1 { font-size: 36px; }
  .tt-proof { grid-template-columns: 1fr; gap: var(--space-3); }
  .tt-proof__cell + .tt-proof__cell {
    border-left: 0;
    border-top: 1px solid rgba(34, 38, 59, 0.12);
    padding-left: 0;
    padding-top: var(--space-3);
  }
  .tt-card { padding: 24px; }
  .tt-card__title { font-size: 24px; }
  .tt-foot__inner { flex-direction: column; align-items: flex-start; gap: var(--space-2); text-align: left; }
}
