/* Sylrick I.T. - coming-soon mini-site (teaser + legal pages + cookie consent) */
:root {
  --bg: #0d0c0b;
  --bg2: #17140f;
  --ink: #f2f0ec;
  --muted: #b7b2a8;
  --gold: #d1a53c;
  --line: rgba(209, 165, 60, 0.28);
  --card: rgba(255, 255, 255, 0.03);
  --heading: "Raleway", sans-serif;
  --body: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(209, 165, 60, 0.16), transparent 60%),
    radial-gradient(900px 700px at 88% 108%, rgba(180, 132, 0, 0.10), transparent 55%),
    linear-gradient(160deg, var(--bg2), var(--bg) 60%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }

.lang-bar { display: flex; justify-content: flex-end; padding: 22px clamp(20px, 5vw, 56px) 0; }
.lang-toggle {
  font-family: var(--heading); font-weight: 700; font-size: 14px; letter-spacing: 0.06em;
  color: var(--gold); background: transparent; border: 1px solid var(--line);
  border-radius: 50px; padding: 8px 18px; cursor: pointer; transition: all 0.25s ease;
}
.lang-toggle:hover { background: var(--gold); color: #14110b; border-color: var(--gold); }

/* ---- Teaser (home) ---- */
main.hero {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px clamp(20px, 5vw, 56px) 48px; gap: 30px;
}
.logo { width: min(360px, 78vw); height: auto; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--heading); font-weight: 700; font-size: clamp(12px, 1.4vw, 14px);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--line); border-radius: 50px; padding: 9px 20px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(209,165,60,0.55);} 70%{box-shadow:0 0 0 10px rgba(209,165,60,0);} 100%{box-shadow:0 0 0 0 rgba(209,165,60,0);} }

h1 {
  font-family: var(--heading); font-weight: 800; line-height: 1.08;
  font-size: clamp(30px, 6vw, 58px); max-width: 15ch; letter-spacing: -0.01em;
}
h1 .accent { color: var(--gold); }
.lede { color: var(--muted); font-weight: 300; font-size: clamp(15px, 2.1vw, 19px); line-height: 1.6; max-width: 62ch; }

.countdown { display: flex; gap: clamp(10px, 2.5vw, 22px); flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.unit { min-width: clamp(70px, 18vw, 108px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 10px 12px; }
.unit .num { font-family: var(--heading); font-weight: 800; font-size: clamp(28px, 6vw, 46px); color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.unit .lbl { margin-top: 8px; font-size: clamp(10px, 1.4vw, 12px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 60ch; }
.chip { font-size: 13px; color: var(--ink); border: 1px solid rgba(255,255,255,0.10); border-radius: 50px; padding: 7px 15px; background: rgba(255,255,255,0.02); }

.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 6px; width: min(540px, 92vw); }
.field { display: flex; gap: 10px; width: 100%; }
.field input {
  flex: 1; min-width: 0; font-family: var(--body); font-size: 15px; color: var(--ink);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 50px;
  padding: 14px 20px; outline: none; transition: border-color 0.2s ease;
}
.field input::placeholder { color: var(--muted); }
.field input:focus { border-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { min-height: 20px; font-size: 14px; line-height: 1.4; margin-top: 2px; }
.status.ok { color: #86d69a; }
.status.err { color: #ec8a8a; }

.btn {
  font-family: var(--heading); font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  color: #14110b; background: linear-gradient(180deg, #e0b955, var(--gold)); border: none;
  border-radius: 50px; padding: 14px 30px; text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 10px 30px rgba(209,165,60,0.22);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(209,165,60,0.32); }
.email-note { color: var(--muted); font-size: 13.5px; }
.email-note a { color: var(--gold); text-decoration: none; }
.email-note a:hover { text-decoration: underline; }

/* ---- Legal pages ---- */
main.legal { flex: 1; padding: 40px clamp(20px, 5vw, 56px) 60px; }
.legal-wrap { max-width: 800px; margin: 0 auto; }
.legal-wrap .back { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: 14px; text-decoration: none; margin-bottom: 22px; }
.legal-wrap .back:hover { text-decoration: underline; }
.legal-wrap > .logo-sm { width: 180px; margin-bottom: 26px; }
.legal-wrap h1 { font-size: clamp(26px, 4vw, 38px); max-width: none; margin-bottom: 6px; }
.legal-body h2 { font-family: var(--heading); font-size: 20px; font-weight: 700; margin: 28px 0 10px; color: var(--ink); }
.legal-body p, .legal-body li { font-size: 15px; line-height: 1.75; color: var(--muted); }
.legal-body ul { padding-left: 20px; margin: 6px 0; }
.legal-body a { color: var(--gold); text-decoration: underline; }
.legal-body code { background: rgba(255,255,255,0.06); padding: 1px 6px; border-radius: 4px; font-size: 13px; }
.legal-updated { margin-top: 30px; font-size: 13px; color: color-mix(in srgb, var(--muted), transparent 30%); }

/* ---- Footer ---- */
.cs-footer {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 20px clamp(20px, 5vw, 56px);
  display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center;
  color: var(--muted); font-size: 13px;
}
.cs-legal { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; align-items: center; }
.cs-legal a { color: var(--muted); text-decoration: none; }
.cs-legal a:hover { color: var(--gold); }
.cs-legal span { color: rgba(255,255,255,0.18); }
.cs-copy strong { color: var(--ink); font-weight: 500; }

/* ---- Cookie consent (dark) ---- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100000;
  background: #171410; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0,0,0,0.4);
}
.cookie-banner-inner { max-width: 1140px; margin: 0 auto; padding: 18px 20px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.cookie-banner-text { flex: 1 1 420px; }
.cookie-banner-text strong { font-family: var(--heading); color: var(--ink); }
.cookie-banner-text p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.cookie-banner-text a { color: var(--gold); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cc-btn { font-family: var(--heading); font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 50px; cursor: pointer; transition: 0.25s; border: 1px solid var(--gold); }
.cc-solid { background: var(--gold); color: #14110b; }
.cc-solid:hover { background: #e0b955; }
.cc-ghost { background: transparent; color: var(--gold); }
.cc-ghost:hover { background: var(--gold); color: #14110b; }

.cookie-banner[hidden], .cookie-modal[hidden] { display: none !important; }
.cookie-modal { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.cookie-modal-box { position: relative; background: #1b1712; color: var(--ink); max-width: 520px; width: calc(100% - 32px); max-height: 85vh; overflow-y: auto; border-radius: 12px; padding: 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); border: 1px solid var(--line); }
.cookie-modal-close { position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 20px; color: var(--muted); cursor: pointer; }
.cookie-modal-box h3 { font-family: var(--heading); font-size: 22px; margin-bottom: 6px; }
.cc-intro { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.cc-cat { border-top: 1px solid rgba(255,255,255,0.08); padding: 14px 0; }
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cc-cat-title { font-family: var(--heading); font-weight: 600; }
.cc-cat-desc { font-size: 13.5px; margin: 6px 0 0; color: var(--muted); }
.cc-always { font-size: 12px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.cc-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

.cc-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cc-switch input { opacity: 0; width: 0; height: 0; }
.cc-slider { position: absolute; inset: 0; background: rgba(255,255,255,0.18); border-radius: 24px; transition: 0.25s; }
.cc-slider:before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: 0.25s; }
.cc-switch input:checked + .cc-slider { background: var(--gold); }
.cc-switch input:checked + .cc-slider:before { transform: translateX(20px); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 575px) {
  .field { flex-direction: column; }
  .field .btn { width: 100%; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .cc-btn { flex: 1; }
}
