/* Shared styles for the Kylaso pages (home, help, licence, legal, feedback).
   The Wiplo landing page (wiplo.html) carries its own styles. Follows DESIGN.md: no borders,
   greys, one accent per app. Shared pages are neutral; an app page sets its accent with a body class. */
:root{--bg:#0E0F11;--column:#16171A;--input:#18191C;--card:#212226;--card-active:#2A2B30;--text:#ECECEE;--text-2:#A9ACB2;--text-3:#8A8D94;--placeholder:#7C7F86;
  --accent:#ECECEE;--accent-hover:#FFFFFF;--on-accent:#111214;--accent-soft:rgba(255,255,255,.12);--soft-text:#ECECEE}
body.app-wiplo{--accent:#FBC800;--accent-hover:#FFD633;--accent-soft:rgba(251,200,0,.16);--soft-text:#FFE58A}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font-family:'Google Sans',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--text);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--text-3)}
a:hover{color:#fff;text-decoration-color:#fff}
.wrap{max-width:760px;margin:0 auto;padding:0 24px}
.wrap.wide{max-width:1120px}

header{padding:28px 0}
header .wrap{max-width:1120px;display:flex;align-items:center;justify-content:space-between;gap:24px}
header a.home{display:block;line-height:0;text-decoration:none}
.wordmark{height:26px;width:auto;display:block}
.wordmark.ky{height:34px}
header nav{margin-top:-6px}
header nav{display:flex;gap:28px}
header nav a{color:var(--text-2);text-decoration:none;font-size:14px;font-weight:500;transition:color .15s}
header nav a:hover{color:var(--text)}

main{padding:48px 0 96px}
h1{font-size:clamp(34px,6vw,52px);letter-spacing:-0.04em;font-weight:600;margin:0 0 12px;line-height:1.08}
.updated{color:var(--text-3);font-size:14px;margin:0 0 40px}
h2{font-size:20px;font-weight:600;letter-spacing:-0.01em;margin:40px 0 12px}
h3{font-size:16px;font-weight:600;margin:24px 0 8px}
p,li{color:var(--text-2);font-size:16px;line-height:1.7}
ul{padding-left:20px}
strong{color:var(--text);font-weight:600}
.box{background:var(--column);border-radius:14px;padding:24px 28px;margin:24px 0}
.box p{margin:0}
.todo{background:var(--accent-soft);color:var(--soft-text);border-radius:6px;padding:1px 6px;font-size:14px}

form{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}
form label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
form input[type=email]{flex:1 1 240px;height:52px;padding:0 18px;border:0;border-radius:10px;background:var(--input);color:var(--text);font:inherit;font-size:16px;outline:none}
form input::placeholder{color:var(--placeholder)}
form input:focus{background:var(--card)}
form button{height:52px;padding:0 22px;border:0;border-radius:10px;background:var(--accent);color:var(--on-accent);font:inherit;font-size:16px;font-weight:600;cursor:pointer;transition:background .15s}
form button:hover{background:var(--accent-hover)}
.sent{display:none;margin-top:24px;color:var(--text)}

.actions{margin:28px 0 8px}
.btn{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 28px;border-radius:10px;background:var(--accent);color:var(--on-accent);font-size:16px;font-weight:600;text-decoration:none;transition:background .15s}
.btn:hover{background:var(--accent-hover);color:var(--on-accent)}
.btn:focus-visible{outline:2px solid var(--text);outline-offset:3px}

/* Kylaso home: full height, just the heading */
body.home{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
body.home main{flex:1;display:flex;align-items:center;justify-content:center;padding:24px}
body.home h1{max-width:18ch;margin:0;text-align:center;font-size:clamp(36px,6.5vw,76px);line-height:1.08;letter-spacing:-0.035em;text-wrap:balance}

footer{padding:32px 0 48px;color:var(--text-3);font-size:13px}
footer .wrap{max-width:1120px;display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:space-between}
footer nav{display:flex;flex-wrap:wrap;gap:8px 20px}
footer a{color:var(--text-2);text-decoration:none}footer a:hover{color:var(--text)}

@media (max-width:760px){header nav{gap:20px}}
@media (max-width:520px){.wordmark{height:22px}.wordmark.ky{height:28px}header .wrap{gap:12px}}
