:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-2: #57514c;
  --muted: #8f8680;
  --line: #e7e1d9;
  --line-2: #d8d0c6;
  --nude: #eadfd3;
  --rose: #c9a491;
  --danger: #b4463b;
  --radius: 18px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.serif, .svc .p, .month b, .sec, h1, h2, h3 { font-variant-numeric: lining-nums; }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 500; font-size: 15px; letter-spacing: .01em;
  transition: transform .2s var(--ease), opacity .2s, background .2s;
}
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .28; pointer-events: none; }
.btn.light { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1px #e9c9c4; }
.btn.block { width: 100%; }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center;
  transition: background .2s;
}
.icon-btn:active { background: rgba(0, 0, 0, .06); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 12px; color: var(--muted); margin: 0 0 6px 4px; letter-spacing: .02em; }
.field > span em { font-style: normal; color: var(--rose); }
.input {
  width: 100%; height: 54px; padding: 0 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); outline: none;
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
textarea.input { height: 88px; padding: 14px 18px; resize: none; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(28, 25, 23, .06); }
.input.invalid { border-color: var(--danger); }
.prefix { position: relative; }
.prefix > b { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-weight: 400; color: var(--muted); font-size: 16px; }
.prefix > .input { padding-left: 36px; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: .35s var(--ease); z-index: 1000; max-width: calc(100% - 32px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
