:root {
  --bg: #ffc0cb;           /* soft pink page background */
  --panel: #ffffff;        /* white card inner */
  --panel-edge: #fff5f7;   /* soft pink inset stroke */
  --ink: #1c0f0a;          /* text */
  --accent: #D4A574;       /* light gold focus/edge */
  --gold: #c49563;         /* gold accent */
  --gold-light: #D4A574;   /* lighter gold accent */
  --shadow: rgba(0,0,0,.45);

  /* control field widths here */
  --field-width: 560px;    /* email input max width */
  --button-scale: 0.5;     /* half the input width */
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 50px;
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans";
  color: var(--ink);
}

/* Center stage */
.fp-wrap {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

/* Card */
.fp-card {
  width: min(1000px, 96vw);
  background: linear-gradient(180deg, #fff5f7, #ffe8ec 40%, #ffd9e0);
  padding: 22px;
  border-radius: 28px;
  box-shadow: 0 26px 70px var(--shadow), inset 0 0 0 2px rgba(255,255,255,.35);
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
}

@media (max-width: 900px) {
  .fp-card { grid-template-columns: 1fr; }
}

/* Inner left: centered column */
.fp-left {
  background: var(--panel);
  border-radius: 22px;
  padding: 0px 26px 100px;
  box-shadow: inset 0 0 0 2px var(--panel-edge);
  display: grid;
  place-items: center;    /* centers children on both axes */
  text-align: center;
}

/* Brand */
.brand { margin: 6px 8px 10px; }
.brand img {
  height: 200px;
  width: auto;
  display: block;
}

/* Titles */
.title {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.1;
  margin: 8px 0 6px;
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}

.subtitle {
  margin: 6px 0 18px;
  color: #433;
  opacity: .9;
}

/* Messages */
.msgs {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  gap: 8px;
}

.msg {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.msg.error { border-left: 4px solid #dc2626; }
.msg.success { border-left: 4px solid #16a34a; }
.msg.info { border-left: 4px solid #0ea5e9; }

/* Form */
.fp-form {
  display: grid;
  gap: 14px;
  margin: 10px 0 8px;
  width: 100%;
}

.fp-form .field { width: 100%; }

/* Email input: wide and centered */
.fp-form input[type="email"] {
  height: 46px;
  border-radius: 12px;
  border: 1px solid #f5d5d8;
  padding: 0 14px;
  background: #fff;
  width: 100%;
  max-width: var(--field-width);
  margin-inline: auto;     /* center horizontally */
  outline: none;
}

.fp-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, .18);
}

/* CTA button: half the email width and centered */
.btn-otp {
  height: 48px;
  border-radius: 14px;
  border: 0;
  font-weight: 800;
  letter-spacing: .06em;
  color: #f2eef4;
  background: linear-gradient(180deg, #0f0f0f, #0b0a0a);
  cursor: pointer;
  transition: transform .12s ease, filter .15s ease, box-shadow .15s ease;

  width: 100%;
  max-width: calc(var(--field-width) * var(--button-scale)); /* half */
  margin-inline: auto;    /* center horizontally */
}

.btn-otp:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 14px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.9);
}

.btn-otp:active {
  transform: translateY(0);
  filter: brightness(.98);
}

/* Back link */
.back { margin: 10px 0 2px; }
.back a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.back a:hover { text-decoration: underline; }

/* Right image pane */
.fp-right {
  background: #0e0a08;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12);
}

.fp-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

/* Accent stroke like screenshot */
.fp-right::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  /* border: 3px solid #2a7fef; */
  pointer-events: none;
}