/* File: kapselsite.css
   Kapsel's own website.

   It loads kapsel-base.css and the SALON SITE'S stylesheet first, then adds what this
   page needs. That is deliberate: Kapsel's own site and a salon's site are the same kind
   of thing — a public page read on a phone — and 12-styling-standard.md gives them one set
   of tokens. A separate palette for the marketing page would make Kapsel look like a
   different product from the thing it sells.

   Tokens only. The --site-* set, because this is a public page, not the dashboard. */

.ks{background:var(--site-bg);color:var(--site-ink);min-height:100vh;
  display:flex;flex-direction:column}
.ks main{flex:1}
.ks h1,.ks h2,.ks h3{font-family:var(--f-display);font-weight:400;line-height:1.15}
.ks h1{font-size:clamp(28px,6.5vw,46px);letter-spacing:-.01em}
.ks h2{font-size:clamp(22px,4.5vw,30px);margin-bottom:6px}
.ks h3{font-size:17px;font-family:var(--f-ui);font-weight:700}
.ks p{line-height:1.6}
.ks a{color:inherit}
.ks-lead{font-size:clamp(15px,2.6vw,18px);color:var(--site-muted);max-width:62ch}
.ks-small{font-size:12.5px;color:var(--site-muted)}
.ks-small a,.ks-legal a{text-decoration:underline}

/* ---------- header ---------- */
.ks-header{display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  padding:14px var(--gutter);border-bottom:1px solid var(--site-line)}
.ks-brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.ks-brand-mark{display:inline-grid;place-items:center;width:34px;height:34px;flex:none;
  border-radius:9px;background:var(--sa);color:var(--sa-ink);
  font-family:var(--f-display);font-size:19px;line-height:1}
.ks-brand-words{display:grid}
.ks-brand-name{font-family:var(--f-display);font-size:19px;line-height:1.1}
.ks-brand-by{font-size:11px;color:var(--site-muted);letter-spacing:.04em}
.ks-nav{display:flex;align-items:center;gap:12px;margin-left:auto;flex-wrap:wrap}
.ks-nav-link{font-size:13.5px;color:var(--site-muted);text-decoration:none}
.ks-nav-link:hover{color:var(--site-ink);text-decoration:underline}

/* ---------- sections ---------- */
.ks-section{padding:clamp(34px,7vw,62px) var(--gutter);max-width:1080px;margin:0 auto;
  border-top:1px solid var(--site-line)}
.ks-section>h2{margin-bottom:14px}

/* ---------- hero ----------
   Two columns above 860px; the phone goes under on a narrow screen rather than shrinking
   to the point of being unreadable. */
.ks-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(24px,5vw,56px);
  align-items:center;padding:clamp(34px,7vw,72px) var(--gutter);
  max-width:1080px;margin:0 auto}
.ks-hero-words{display:grid;gap:16px}
.ks-hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.ks-hero-price{font-size:13px;color:var(--site-muted)}

/* ---------- the phone ----------
   DRAWN, not loaded. 10-kapsel-website.md asks the page to read with images off, and a
   screenshot would also go stale the first time a salon site changed. */
.ks-phone{justify-self:center;width:min(260px,78vw);border-radius:30px;
  border:9px solid color-mix(in srgb,var(--site-ink) 88%,transparent);
  background:color-mix(in srgb,var(--site-ink) 88%,transparent);
  box-shadow:var(--shadow)}
.ks-phone-screen{background:var(--site-soft);border-radius:21px;overflow:hidden;
  padding:16px 14px 12px;display:grid;gap:9px}
.ks-phone-head{display:grid;gap:3px;margin-bottom:3px}
.ks-phone-salon{font-family:var(--f-display);font-size:19px;line-height:1.1}
.ks-phone-tag{font-size:10.5px;color:var(--site-muted)}
.ks-phone-row{display:flex;justify-content:space-between;gap:8px;font-size:11.5px;
  padding-bottom:7px;border-bottom:1px solid var(--site-line)}
.ks-phone-book{margin-top:5px;text-align:center;background:var(--sa);color:var(--sa-ink);
  border-radius:var(--r-pill);padding:8px;font-size:12px;font-weight:600}
.ks-phone-foot{text-align:center;font-size:9px;color:var(--site-muted);margin-top:3px}

/* ---------- how it works ---------- */
.ks-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;
  margin-top:8px}
.ks-step{display:grid;gap:7px;align-content:start}
.ks-step-n{display:inline-grid;place-items:center;width:30px;height:30px;
  border-radius:50%;background:var(--sa);color:var(--sa-ink);
  font-family:var(--f-mono);font-size:13px;font-weight:500}
.ks-step p{font-size:14px;color:var(--site-muted)}

/* ---------- what you get ---------- */
.ks-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(248px,1fr));gap:18px;
  margin-top:8px}
.ks-feature{display:grid;gap:5px;align-content:start;padding:15px 16px;
  background:var(--site-soft);border:1px solid var(--site-line);border-radius:var(--r-lg)}
.ks-feature p{font-size:13.5px;color:var(--site-muted)}

/* ---------- demo ---------- */
.ks-demo{display:grid;gap:12px;justify-items:start}

/* ---------- price ---------- */
.ks-price{display:grid;gap:18px}
.ks-price-card{background:var(--site-soft);border:1px solid var(--site-line);
  border-radius:var(--r-sheet);padding:clamp(18px,3.4vw,28px);max-width:520px;
  display:grid;gap:10px}
.ks-price-amount{font-family:var(--f-display);font-size:clamp(34px,8vw,52px);line-height:1}
.ks-price-amount span{font-family:var(--f-ui);font-size:15px;color:var(--site-muted);
  margin-left:8px}
.ks-price-terms{font-size:13.5px;color:var(--site-muted)}
.ks-price-list{margin:4px 0 0;padding-left:20px;display:grid;gap:6px;font-size:14px}
.ks-price-note{font-size:13px;color:var(--site-muted);padding-top:8px;
  border-top:1px solid var(--site-line)}
.ks-price-extra{max-width:62ch;display:grid;gap:5px}
.ks-price-extra p{font-size:14px;color:var(--site-muted)}

/* ---------- promises ---------- */
.ks-promise-list{margin:8px 0 14px;padding-left:20px;display:grid;gap:9px;
  font-size:14.5px;max-width:68ch}

/* ---------- questions ----------
   <details> rather than JavaScript: it opens with no script, and a search engine reads
   every answer whether it is open or not. */
.ks-q{border-bottom:1px solid var(--site-line);padding:13px 0}
.ks-q summary{cursor:pointer;font-weight:600;font-size:15px;list-style:none;
  display:flex;align-items:center;gap:9px}
.ks-q summary::-webkit-details-marker{display:none}
.ks-q summary::before{content:"+";font-family:var(--f-mono);color:var(--sa);
  font-size:16px;line-height:1;flex:none}
.ks-q[open] summary::before{content:"\2212"}
.ks-q p{margin-top:9px;padding-left:24px;font-size:14px;color:var(--site-muted);
  max-width:66ch}

/* ---------- contact ---------- */
.ks-contact{display:grid;gap:16px}
.ks-ways{display:flex;gap:10px;flex-wrap:wrap}
.ks-whatsapp{background:#1f8a4c;border-color:#1f8a4c;color:#fff}
.ks-form{display:grid;gap:12px;max-width:560px}
.ks-form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.ks-form .field>span{font-size:12.5px;font-weight:600}
.ks-form .field small{font-weight:400;color:var(--site-muted);margin-left:5px}
.ks-form .input{background:var(--site-soft);border-color:var(--site-line);
  color:var(--site-ink)}
.ks-form .input:focus{border-color:var(--sa);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--sa) 22%,transparent)}
/* The one field a refusal names, marked so the eye goes there rather than to the top. */
.ks-bad{border-color:var(--bad)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--bad) 18%,transparent)}
.ks-submit{justify-self:start;border:0}
/* The honeypot. Taken out of the layout and out of the accessibility tree rather than
   display:none, because some bots skip anything that is display:none. */
.ks-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ks-sent{background:var(--ok-soft);color:var(--ok);border-radius:var(--r-md);
  padding:12px 14px;font-size:14px;font-weight:600;max-width:560px}
.ks-error{background:var(--bad-soft);color:var(--bad);border-radius:var(--r-md);
  padding:12px 14px;font-size:14px;max-width:560px}

/* ---------- footer ---------- */
.ks-footer{border-top:1px solid var(--site-line);padding:22px var(--gutter);
  display:grid;gap:7px;font-size:12.5px;color:var(--site-muted);
  max-width:1080px;margin:0 auto;width:100%}
.ks-footer-owner{color:var(--site-ink)}
.ks-footer-details{display:flex;gap:14px;flex-wrap:wrap}
.ks-footer-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:3px}
.ks-footer-links a{text-decoration:underline}

/* ---------- legal pages ---------- */
.ks-legal{max-width:720px;margin:0 auto;padding:clamp(26px,5vw,48px) var(--gutter)}
.ks-legal h1{margin-bottom:5px}
.ks-legal h2{font-family:var(--f-ui);font-size:17px;font-weight:700;
  margin:26px 0 7px}
.ks-legal p,.ks-legal li{font-size:14.5px;line-height:1.65;color:var(--site-muted)}
.ks-legal strong{color:var(--site-ink)}
.ks-legal ul{padding-left:20px;display:grid;gap:7px;margin:8px 0}
.ks-legal-lead{font-size:16px!important;color:var(--site-ink)!important}
.ks-legal-updated{font-size:12.5px;color:var(--site-muted);margin-bottom:6px}
.ks-legal-rule{border:0;border-top:1px solid var(--site-line);margin:28px 0 14px}

@media (max-width:860px){
  .ks-hero{grid-template-columns:minmax(0,1fr)}
  .ks-phone{justify-self:start;margin-top:6px}
}
@media (max-width:600px){
  .ks-brand-by{display:none}
}
