/* ==========================================================================
   The Financial Floor — landing page
   Standalone stylesheet (self-contained; does not depend on styles.css).
   Design matched to the Financial Floor product page.
   ========================================================================== */

:root {
  --paper:      #f7f6f4;   /* off-white ground                     */
  --ink:        #121116;   /* near-black (dark sections + cards)    */
  --powder:     #b8d4e8;   /* powder-blue band                     */
  --lav:        #c9b8e8;   /* light lavender — accents on dark      */
  --violet:     #7d6ba6;   /* dusty violet — italic accents on light*/
  --muted:      #69636f;   /* mono kickers / fine print             */
  --body:       #3a3a42;   /* body copy on light                    */
  --line:       #e4dfd8;   /* hairline borders on light             */

  --on-dark-label: #9a94a6;
  --on-dark-body:  #e7e6f2;
  --on-dark-fine:  #8a8794;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1180px;
  --pad:  40px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

em { font-style: italic; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* --- shared type helpers ------------------------------------------------- */

.kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.serif { font-family: var(--serif); }

.italic-accent { font-style: italic; color: var(--violet); }

/* ==========================================================================
   NAV
   ========================================================================== */

.floor-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 244, 0.9);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.floor-nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { text-decoration: none; color: inherit; display: block; }
.brand__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}
.brand__word {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__word em { color: var(--violet); }

.floor-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.floor-nav__links a {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--body);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.floor-nav__links a:hover { color: var(--ink); }

.signin {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 16px;
  background: #fff;
  white-space: nowrap;
  transition: border-color .15s ease;
}
.signin:hover { border-color: #cfc7bd; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink); display: block;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 14px 22px;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .arw { width: 15px; height: 15px; }

.btn--dark  { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero { padding: 92px 0 96px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.hero__kicker { margin-bottom: 26px; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero__eyebrow .kicker { margin: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  border: 1px solid #d8cfe6;
  background: #efeaf6;
  border-radius: 999px;
  padding: 5px 12px;
}
.badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet);
  display: inline-block;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.hero__body {
  font-size: 18px;
  line-height: 1.62;
  color: var(--body);
  max-width: 30em;
  margin: 0 0 36px;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero__trust {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.example-wrap { position: relative; }
.example-wrap::after {          /* lavender offset block */
  content: "";
  position: absolute;
  inset: 26px -14px -18px 40px;
  background: var(--lav);
  z-index: 0;
}
.example {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: var(--on-dark-body);
  padding: 34px 34px 30px;
  overflow: hidden;
}
.example::before {              /* small powder tab, top-left */
  content: "";
  position: absolute;
  top: 0; left: 34px;
  width: 60px; height: 7px;
  background: var(--powder);
}
.example__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-label);
  margin: 8px 0 26px;
}
.example__status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.example__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lav);
  display: inline-block;
}
.example__figure {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
}
.example__figure-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-label);
  margin: 8px 0 20px;
}
.example__margin {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.example__margin strong { color: var(--lav); font-weight: 500; }
.example__margin span {
  color: var(--on-dark-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10.5px;
  margin-left: 8px;
}
.example__rows {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.example__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
}
.example__row span { color: var(--on-dark-body); }
.example__row b {
  font-family: var(--mono);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.01em;
}
.example__note {
  margin: 22px 0 0;
  font-size: 12.5px;
  font-style: italic;
  color: var(--on-dark-fine);
  line-height: 1.5;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */

.section { padding: 96px 0; }
.section--white  { background: #ffffff; }
.section--powder { background: var(--powder); }
.section--ink    { background: var(--ink); }

.section-head { margin-bottom: 56px; }
.section-head .kicker { margin-bottom: 20px; }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.step {
  padding: 30px 26px 34px;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; }
.step__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--violet);
  margin-bottom: 40px;
}
.step__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 12px;
}
.step__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--body);
  margin: 0;
}

/* ==========================================================================
   PRIVATE BY DESIGN (powder band)
   ========================================================================== */

.privacy__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.privacy__lock {
  width: 26px; height: 26px; margin-bottom: 26px; color: var(--ink);
}
.privacy .kicker { color: #4d5a66; margin-bottom: 20px; }
.privacy__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.privacy__title em { color: var(--violet); font-style: italic; }
.privacy__body {
  font-size: 17px;
  line-height: 1.65;
  color: #33414c;
  margin: 0 0 26px;
}
.privacy__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.privacy__link .arw { width: 15px; height: 15px; }

/* ==========================================================================
   CTA (dark)
   ========================================================================== */

.cta { text-align: center; }
.cta .kicker { color: var(--lav); margin-bottom: 28px; }
.cta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 auto 40px;
  max-width: 14em;
}
.cta__title em { color: var(--lav); font-style: italic; }
.cta__sub {
  color: var(--on-dark-body);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto 30px;
  max-width: 30em;
}

/* waitlist form (on dark CTA) */
.waitlist-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}
.waitlist-input {
  font-family: var(--sans);
  font-size: 15px;
  color: #fff;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 3px;
  padding: 13px 15px;
  flex: 1 1 160px;
  min-width: 0;
}
.waitlist-input::placeholder { color: var(--on-dark-fine); }
.waitlist-input:focus {
  outline: none;
  border-color: var(--lav);
}
.waitlist-form .btn { flex: 0 0 auto; }
.waitlist-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}
.waitlist-msg {
  min-height: 1.2em;
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--lav);
}

.cta__fine {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 34px 0 0;
  font-size: 13px;
  color: var(--on-dark-fine);
}
.cta__fine svg { width: 15px; height: 15px; }

@media (max-width: 560px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.floor-foot {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.floor-foot__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--body);
}
.floor-foot__tag { color: var(--muted); }

/* ==========================================================================
   REVEAL animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  :root { --pad: 22px; }
  .floor-nav__links { display: none; }
  .nav-toggle { display: flex; }
  .floor-nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 20px var(--pad);
  }
  .hero { padding: 56px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .privacy__grid { grid-template-columns: 1fr; gap: 32px; }
  .floor-foot__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .hero__cta { align-items: flex-start; }
}

/* prototype preview link (hero) */
.hero__preview { margin: 16px 0 0; font-size: 14px; }
.hero__preview a { color: var(--violet); text-decoration: none; border-bottom: 1px solid transparent; font-weight: 500; }
.hero__preview a:hover { border-bottom-color: var(--violet); }
