/* KRISNET Space — corporate site. Palette: deep blue #000028, petrol #009999, bold gradient
   #00FFB9 → #00E6DC, light grey #F3F3F0, text #1B1534. */
:root {
  --deep: #000028; --petrol: #009999; --petrol-dark: #007993; --bold-a: #00FFB9; --bold-b: #00E6DC;
  --ink: #1B1534; --muted: #4C4C68; --line: #D9D9D6; --grey: #F3F3F0; --white: #FFFFFF;
  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.5; font-size: 17px; }
a { color: var(--petrol-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--petrol); margin-bottom: .6em; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--petrol); font-weight: 800; letter-spacing: .14em; font-size: 1.25rem; }
.brand img { height: 30px; width: auto; }
.brand span { color: var(--deep); font-weight: 400; letter-spacing: .02em; font-size: .95rem; border-left: 1px solid var(--line); padding-left: 12px; }
nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
nav a { color: var(--ink); font-weight: 600; font-size: .95rem; }
nav a[aria-current] { color: var(--petrol); box-shadow: inset 0 -2px 0 var(--petrol); }
.lang { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); padding: 8px 10px; font: inherit; }

/* hero */
.hero { position: relative; color: var(--white); background: var(--deep); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,40,.92) 0%, rgba(0,0,40,.55) 55%, rgba(0,0,40,.15) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: clamp(80px, 12vw, 160px) 0; max-width: 1200px; }
.hero h1 { max-width: 16ch; }
.hero p { max-width: 56ch; font-size: 1.15rem; color: #DDE3E8; }
.hero.small .wrap { padding: 64px 0; }
.cta { display: inline-block; padding: 14px 28px; font-weight: 700; color: var(--deep); background: linear-gradient(90deg, var(--bold-a), var(--bold-b)); border: 0; }
.cta:hover { text-decoration: none; filter: brightness(1.05); }
.cta.ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.6); margin-left: 12px; }

/* sections */
section { padding: clamp(56px, 7vw, 96px) 0; }
section.grey { background: var(--grey); }
section.deep { background: var(--deep); color: var(--white); }
section.deep a { color: var(--bold-b); }
.lead { font-size: 1.2rem; max-width: 70ch; color: var(--muted); }
.deep .lead { color: #C9D1DA; }
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--white); border-top: 3px solid var(--petrol); padding: 28px; min-width: 0; overflow-wrap: anywhere; hyphens: manual; }
.deep .card { background: #0A0A3A; border-top-color: var(--bold-b); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.more { font-weight: 700; color: var(--petrol-dark); }
.more::after { content: " \203A"; }
.figure { margin: 0; }
.figure img { width: 100%; height: 340px; object-fit: cover; }
.figure figcaption { font-size: .78rem; color: var(--muted); padding-top: 6px; }
.split { display: grid; gap: 48px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.stats { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat b { display: block; font-size: 2.6rem; color: var(--petrol); line-height: 1; }
.deep .stat b { background: linear-gradient(90deg, var(--bold-a), var(--bold-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .95rem; }
.deep .stat span { color: #C9D1DA; }

/* partners / funding */
.logos { display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: center; }
.logos figure { margin: 0; text-align: center; }
.logos img { height: 64px; width: auto; margin: 0 auto 10px; object-fit: contain; }
.logos figcaption { font-size: .8rem; color: var(--muted); }
.funding { border: 1px solid var(--line); padding: 24px 28px; font-size: .95rem; color: var(--muted); background: var(--white); display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.funding img { height: 72px; width: auto; }
.partners { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.partners li { border-left: 3px solid var(--petrol); padding: 8px 16px; }
.partners small { display: block; color: var(--muted); }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.timeline li { border-top: 2px solid var(--petrol); padding: 16px 20px 0 0; min-width: 0; overflow-wrap: anywhere; hyphens: manual; }
.timeline b { display: block; color: var(--petrol); font-size: 1.1rem; }

/* text pages */
.prose { max-width: 76ch; }
.wrap.prose { max-width: none; width: min(1200px, 100% - 32px); }
.wrap.prose > * { max-width: 76ch; }
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
table.plain { border-collapse: collapse; width: 100%; font-size: .95rem; }
table.plain th, table.plain td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain th { color: var(--muted); font-weight: 600; }
.jobs li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.jobs li b { display: block; font-size: 1.1rem; }
.jobs li span { color: var(--muted); font-size: .9rem; }
.notice { background: var(--grey); border-left: 4px solid var(--petrol); padding: 16px 20px; font-size: .95rem; }

/* footer */
footer { background: var(--deep); color: #C9D1DA; padding: 56px 0 32px; font-size: .9rem; }
footer .cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 40px; }
footer h4 { color: var(--white); margin: 0 0 .8em; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: .5em; }
footer a { color: #C9D1DA; }
footer .legal { border-top: 1px solid #28285A; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: #8A92A6; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  nav ul { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; flex-direction: column; gap: 14px; }
  nav.open ul { display: flex; }
  .menu-btn { display: block; }
  .brand span { display: none; }
  .funding { grid-template-columns: 1fr; }
  .figure img { height: 240px; }
  .cta.ghost { margin-left: 0; margin-top: 12px; }
}
