:root {
  --bg: #fcf6f8;
  --card: #ffffff;
  --ink: #1d1a1b;
  --muted: #7d7377;
  --faint: #b3a8ac;
  --line: #f1e4ea;
  --line-2: #e6d3db;
  --rose: #f59ac2;
  --rose-d: #1d1a1b;
  --rose-dd: #000000;
  --pink: #fca8cc;
  --pink-t: #d4528e;
  --blush: #fde3ef;
  --blush-2: #fff2f7;
  --gold: #b0805f;
  --sage: #7f9479;
  --sage-bg: #eaf0e6;
  --amber: #b97a1c;
  --amber-bg: #fbf0dc;
  --red: #b5413a;
  --red-bg: #fbe7e4;
  --radius: 18px;
  --serif: "Montserrat", system-ui, sans-serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Dancing Script", cursive;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 800; line-height: 1.15; margin: 0; letter-spacing: -0.02em; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--rose-d); }

.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--ink); }
.field > span small { font-weight: 600; color: var(--muted); }
.field > em { font-style: normal; font-size: 13px; color: var(--muted); }

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  background: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%231d1a1b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(245, 154, 194, .25); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--rose-d);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .1s;
  touch-action: manipulation;
}
.btn:hover { background: var(--rose-dd); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn--soft { background: var(--pink); color: var(--ink); }
.btn--soft:hover { background: #f797c0; }
.btn--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--line:hover { background: var(--blush-2); }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }

.link-btn {
  border: 0;
  background: none;
  padding: 8px 0;
  color: var(--pink-t);
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--muted); }
.check input { width: 22px; height: 22px; accent-color: var(--rose-d); flex: none; margin: 0; }

[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
