/* seli.fit — soft wellness design system */
:root {
  --sand: #faf5ef;
  --sand-2: #f3ebdf;
  --cream: #fffdfa;
  --ink: #3b382f;
  --muted: #8e8679;
  --sage: #8f9e86;
  --sage-700: #6d7c63;
  --clay: #c9a98f;
  --gold: #d8a74b;
  --line: #e8ded0;
  --shadow: 0 18px 50px -24px rgba(90, 74, 50, 0.35);
  --radius: 22px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.gradient {
  background:
    radial-gradient(1200px 600px at 80% -10%, #fdf1e6 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 20%, #eef1e7 0%, transparent 55%),
    var(--sand);
  background-attachment: fixed;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: 0.2px; }

.wrap { width: min(1080px, 92vw); margin: 0 auto; }
.narrow { width: min(560px, 92vw); margin: 0 auto; }

/* top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { font-family: var(--serif); font-size: 26px; letter-spacing: 1px; text-decoration: none; }
.brand b { color: var(--sage-700); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 500; border: 1px solid var(--line);
  background: var(--cream); color: var(--ink); cursor: pointer; transition: .18s;
}
.chip:hover { border-color: var(--clay); transform: translateY(-1px); }
.chip.ghost { background: transparent; }
.lang { min-width: 44px; justify-content: center; font-weight: 600; letter-spacing: .5px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 16px; font-weight: 600; text-decoration: none;
  transition: .18s; background: var(--sage-700); color: #fff;
  box-shadow: 0 12px 26px -12px rgba(109, 124, 99, .8);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(109, 124, 99, .85); }
.btn.alt { background: var(--cream); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.alt:hover { border-color: var(--clay); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* hero */
.hero { text-align: center; padding: 48px 0 40px; }
.hero .avatar {
  width: 128px; height: 128px; border-radius: 50%; margin: 0 auto 26px;
  background: linear-gradient(145deg, var(--sand-2), #e7ddcd);
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--clay); font-family: var(--serif); font-size: 52px; box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(44px, 9vw, 76px); }
.hero .role { color: var(--sage-700); letter-spacing: 3px; text-transform: uppercase; font-size: 13px; font-weight: 600; margin-top: 14px; }
.hero .tagline { font-family: var(--serif); font-size: clamp(20px, 4vw, 27px); color: var(--muted); margin: 18px auto 30px; max-width: 30ch; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* sections */
section { padding: 34px 0; }
.eyebrow { color: var(--clay); letter-spacing: 3px; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.section-h { font-size: clamp(28px, 5vw, 40px); margin-top: 8px; }
.about p { font-size: 19px; color: #5c574c; max-width: 56ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 26px; }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { font-size: 24px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }
.card .ic { font-size: 26px; display: block; margin-bottom: 12px; }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.quote { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 18px; }
.quote .text { font-family: var(--serif); font-size: 22px; line-height: 1.35; margin: 12px 0 14px; }
.quote .who { color: var(--muted); font-weight: 600; font-size: 14px; }
.empty { color: var(--muted); font-style: italic; text-align: center; padding: 30px; }

/* footer */
footer { text-align: center; padding: 56px 0 70px; }
footer h2 { font-size: clamp(26px, 5vw, 38px); margin-bottom: 20px; }
footer .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { color: var(--muted); font-size: 13px; margin-top: 40px; }

/* ---- review form ---- */
.panel {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow); margin: 18px 0 40px;
}
.panel h1 { font-size: clamp(30px, 7vw, 42px); text-align: center; }
.panel .sub { text-align: center; color: var(--muted); margin: 10px 0 26px; }
.field { margin-bottom: 22px; }
.field > label { display: block; font-weight: 600; margin-bottom: 9px; font-size: 15px; }
.field textarea, .field input[type=text] {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px;
  font-family: var(--sans); font-size: 16px; color: var(--ink); background: #fffdf9; resize: vertical;
}
.field textarea { min-height: 84px; }
.field textarea:focus, .field input:focus { outline: 0; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(143, 158, 134, .18); }
.rate { display: flex; gap: 8px; justify-content: center; margin: 6px 0 4px; }
.rate button {
  background: none; border: 0; cursor: pointer; font-size: 44px; line-height: 1;
  color: #e3d8c6; padding: 2px 4px; transition: transform .12s, color .12s;
}
.rate button:hover { transform: scale(1.12); }
.rate button.on { color: var(--gold); }
.center { text-align: center; }
.msg { text-align: center; color: #b4553f; min-height: 20px; margin-top: 4px; font-size: 14px; }
.thanks { text-align: center; padding: 20px 10px; }
.thanks h1 { font-size: clamp(34px, 8vw, 48px); }
.thanks p { color: var(--muted); font-size: 18px; margin: 12px 0 26px; }
.hidden { display: none !important; }

/* ---- hq ---- */
body.hq { background: var(--sand); }
.hqbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 0; }
.tabs { display: flex; gap: 8px; }
.tab { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink); }
.tab.on { background: var(--sage-700); color: #fff; border-color: var(--sage-700); }
.filters { display: flex; gap: 7px; flex-wrap: wrap; margin: 6px 0 18px; }
.filters .f { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); }
.filters .f.on { color: var(--ink); border-color: var(--clay); background: #fff; }
.rev-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.rev {
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow);
  position: relative; cursor: pointer; transition: .15s;
}
.rev.sel { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(143, 158, 134, .22), var(--shadow); }
.rev .meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.rev .name { font-weight: 700; }
.rev .date { color: var(--muted); font-size: 12px; }
.rev .liked { font-family: var(--serif); font-size: 20px; line-height: 1.3; margin: 6px 0; }
.rev .improve { color: var(--muted); font-size: 14px; border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 8px; }
.badge { position: absolute; top: 14px; right: 14px; font-size: 11px; padding: 3px 9px; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.badge.featured { background: #e8efe1; color: var(--sage-700); }
.badge.archived { background: #efe6e2; color: #a07a66; }
.rev .acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.rev .acts button { font-size: 12px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; color: var(--ink); }
.rev .acts button:hover { border-color: var(--clay); }

/* studio */
.studio { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.studio .controls label { display: block; font-weight: 700; margin: 16px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink); }
.seg button.on { background: var(--sage-700); color: #fff; border-color: var(--sage-700); }
.preview-wrap { background: var(--sand-2); border-radius: 18px; padding: 18px; display: grid; place-items: center; }
#canvas { width: 100%; max-width: 340px; height: auto; border-radius: 10px; box-shadow: var(--shadow); background: #fff; }
.pickbox { max-height: 360px; overflow: auto; display: grid; gap: 10px; margin-top: 8px; }
.pick { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); cursor: pointer; font-size: 14px; }
.pick.on { border-color: var(--sage); background: #f4f7f0; }
.pick .s { color: var(--gold); font-size: 13px; }
@media (max-width: 760px) { .studio { grid-template-columns: 1fr; } }

@media (max-width: 560px) { .hero { padding-top: 24px; } section { padding: 26px 0; } .panel { padding: 26px 20px; } }
