/* sivika.net — one stylesheet for every page. Colours are set once below. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #062a6e;      /* headings, footer */
  --night: #030b22;     /* hero background */
  --blue: #0656c4;      /* links, buttons */
  --sky: #05a8f8;       /* accents */
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f4f7fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px rgba(15,23,42,.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--white);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p + p { margin-top: 12px; }
ul.clean { list-style: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--white); padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 600;
  font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 18px rgba(6,86,196,.25); }
.btn-primary:hover { background: #0a4fb0; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover { color: var(--blue); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.site-nav a.btn { color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero (home) and page heads */
.hero, .page-head { background: radial-gradient(1200px 500px at 85% -10%, rgba(5,168,248,.22), transparent 60%),
  linear-gradient(160deg, var(--night) 0%, #061a4a 60%, var(--navy) 100%); color: #cbd5e1; }
.hero { padding: 108px 0 96px; }
.hero h1, .page-head h1 { color: var(--white); }
.hero h1 { max-width: 760px; }
.hero h1 span { background: linear-gradient(90deg, #5cc8ff, #3b8bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.2rem; max-width: 640px; margin: 22px 0 34px; color: #cbd5e1; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 48px; display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.18); color: #dbeafe; }
.page-head { padding: 80px 0 64px; }
.page-head p.lead { font-size: 1.12rem; max-width: 720px; margin-top: 16px; color: #cbd5e1; }
.label { display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px; }
.hero .label, .page-head .label { color: var(--sky); }

/* Sections */
section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { margin-top: 12px; font-size: 1.05rem; color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text); font-size: 0.97rem; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 0.93rem; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(5,168,248,.14), rgba(6,86,196,.14)); color: var(--blue); font-weight: 800; }
.ticks { list-style: none; margin-top: 14px; }
.ticks li { position: relative; padding-left: 26px; margin: 8px 0; font-size: 0.96rem; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

/* Service blocks on inner pages */
.service { display: grid; grid-template-columns: 320px 1fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service h2 { font-size: 1.6rem; }
.service .tag { display: inline-block; margin-top: 12px; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.service-body > p { font-size: 1.02rem; }
.service-body h3 { margin-top: 30px; }
.note { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--sky); background: var(--soft); border-radius: 0 10px 10px 0;
  font-size: 0.93rem; }
.steps { counter-reset: step; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.steps li { counter-increment: step; background: var(--soft); border-radius: 12px; padding: 18px; font-size: 0.93rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 800; color: var(--blue); margin-bottom: 6px; }
.steps li strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* Name story band */
.name-band { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 18px; text-align: center; }
.name-band .part { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.name-band .word { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.name-band .lang { font-size: 0.78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.name-band .op { font-size: 1.6rem; font-weight: 800; color: var(--muted); }

/* Founder */
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.avatar { width: 200px; height: 200px; border-radius: 24px; display: grid; place-items: center; font-size: 3.2rem; font-weight: 800;
  color: var(--white); background: linear-gradient(135deg, var(--sky), var(--navy)); }
.founder .role { color: var(--blue); font-weight: 600; margin: 4px 0 16px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chips span { padding: 5px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; color: var(--navy); }

/* Platform band */
.platform { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.platform-logo { background: var(--night); border-radius: 20px; padding: 48px; display: grid; place-items: center; }
.platform-logo img { width: 100%; max-width: 380px; }

/* CTA band */
.cta { background: linear-gradient(135deg, var(--navy), #0a3f9e); color: #dbeafe; border-radius: 20px; padding: 56px; text-align: center; }
.cta h2 { color: var(--white); }
.cta p { margin: 12px auto 28px; max-width: 560px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label.field { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
label.field input, label.field select, label.field textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--white); }
label.field textarea { min-height: 140px; resize: vertical; }
label.field input:focus, label.field select:focus, label.field textarea:focus { outline: 2px solid rgba(6,86,196,.25); border-color: var(--blue); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--blue); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: 0.93rem; }
.form-msg.ok { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-msg.err { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }
.contact-side .card + .card { margin-top: 18px; }

/* Legal pages */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.legal h3 { font-size: 1rem; margin: 20px 0 8px; }
.legal ul { padding-left: 22px; margin: 10px 0 14px; }
.legal li { margin: 6px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 0.9rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.legal th { background: var(--soft); color: var(--ink); }
.legal .box { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 12px 0; }
.updated { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }

/* Footer */
.site-footer { background: var(--night); color: #94a3b8; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; max-width: 340px; }
.site-footer h2 { color: var(--white); font-size: 0.85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #cbd5e1; font-size: 0.93rem; }
.footer-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.8rem; line-height: 1.7; }
.footer-legal p + p { margin-top: 8px; }
.footer-legal strong { color: #e2e8f0; font-weight: 600; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .service { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .platform { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a.btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .name-band { grid-template-columns: 1fr; }
  .name-band .op { line-height: 1; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 80px 0 72px; }
  .grid-2, .grid-3, .grid-4, .form-grid, .steps { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .avatar { width: 120px; height: 120px; font-size: 2rem; }
  .cta { padding: 40px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 40px; }
}
.page-head a { color: #7cc4ff; text-decoration: underline; }
