/* KDP Product Factory — shared base for the studio and the login page (v8, Solva look). */

@font-face { font-family: 'Sentient'; font-weight: 300; font-style: normal; font-display: swap; src: url('/assets/fonts/Sentient-Light.woff2') format('woff2'); }
@font-face { font-family: 'Sentient'; font-weight: 300; font-style: italic; font-display: swap; src: url('/assets/fonts/Sentient-LightItalic.woff2') format('woff2'); }
@font-face { font-family: 'Sentient'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/Sentient-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Onest'; font-weight: 400; font-display: swap; src: url('/assets/fonts/Onest-400.woff2') format('woff2'); }
@font-face { font-family: 'Onest'; font-weight: 500; font-display: swap; src: url('/assets/fonts/Onest-500.woff2') format('woff2'); }
@font-face { font-family: 'Onest'; font-weight: 700; font-display: swap; src: url('/assets/fonts/Onest-700.woff2') format('woff2'); }

/* Same system as the funnel (v8, Solva look): warm paper, ink, a muted second tone, light serif headlines,
   painted backdrops behind floating white windows, ONE warm accent reserved for primary actions. */
:root {
  --paper: #fbfaf6; --paper-2: #f4f2ec; --card: #ffffff; --ink: #1c1a15; --ink-2: #56524a; --mute: #8f8a7e;
  --line: #e7e3d9; --line-2: #d9d4c7;
  --green: #e8501c; --green-d: #c9410f; --green-t: #fdebe3;
  --lime: #f4f2ec; --lime-t: #f8f5ee;
  --pink: #f4f2ec; --pink-d: #b23a2e; --pink-t: #f8e3df;
  --tan: #e7e3d9; --amber: #a86a12; --amber-t: #f8eedb; --red: #b23a2e; --red-t: #f8e3df;
  --ok: #1f8a4c; --ok-t: #e4f2e9; --night: #1c1a15;
  --serif: 'Sentient', Georgia, 'Times New Roman', serif;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Onest', system-ui, sans-serif;
  --r: 18px; --r-s: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 2px rgba(28, 26, 21, .04), 0 18px 40px -28px rgba(28, 26, 21, .3);
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -.035em; line-height: 1.08; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--mute); }
::selection { background: var(--lime); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }

/* buttons: pill, with an optional lime circle-arrow chip (.arr) */
.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 500; font-size: 15px; letter-spacing: -.01em; transition: background .2s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.primary { background: var(--green); color: #fff; box-shadow: 0 16px 28px -16px rgba(15, 113, 59, .9); }
.btn.primary:hover { background: var(--green-d); transform: translateY(-2px); }
.btn.dark { background: var(--ink); color: #fff; } .btn.dark:hover { transform: translateY(-2px); }
.btn.lime { background: var(--lime); color: var(--ink); } .btn.lime:hover { background: #cde53a; transform: translateY(-2px); }
.btn.pink { background: var(--pink); color: var(--ink); } .btn.pink:hover { background: #f3a3c2; }
.btn.ghost { border: 1.5px solid var(--line-2); color: var(--ink); background: transparent; } .btn.ghost:hover { background: var(--card); border-color: var(--ink); }
.btn.sm { height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn.arr { padding-right: 8px; }
.btn.arr .ar { width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; flex: none; transition: transform .35s var(--ease); }
.btn.arr.sm { padding-right: 5px; } .btn.arr.sm .ar { width: 30px; height: 30px; }
.btn.arr:hover .ar { transform: rotate(-45deg); }
.btn.arr .ar svg { width: 16px; height: 16px; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 400 11.5px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow.tag { background: var(--paper-2); padding: 6px 12px; border-radius: 999px; }
.eyebrow.tag::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--green); }
.eyebrow.lime { background: var(--lime); color: var(--ink); } .eyebrow.lime::before { background: var(--ink); }
.muted { color: var(--mute); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); font-size: 12.5px; color: var(--ink-2); }
.chip.green { background: var(--green-t); color: var(--green-d); }
.chip.pink { background: var(--pink-t); color: #8f2e57; }
.chip.amber { background: var(--amber-t); color: #7a4f0f; }
.chip.red { background: var(--red-t); color: var(--red); }
.chip.lime { background: var(--lime); color: var(--ink); }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font: 400 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select { height: 52px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 5px rgba(15, 113, 59, .12); }
.field small { color: var(--mute); font-size: 12.5px; }
.err { color: var(--red); font-size: 13.5px; min-height: 20px; }
