/* SoLARK Systems & Technologies — site stylesheet.
   Palette is taken from the logo: cyan background, orange wordmark. */

:root {
    --cyan: #00aeef;
    --cyan-dark: #0090c6;
    --orange: #f7941d;
    --orange-dark: #e07d06;
    --ink: #12222f;
    --body: #46596a;
    --line: #e2e8ee;
    --tint: #f5f9fc;
    --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--body);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .6rem; font-weight: 700; }
h1 { font-size: 2.4rem; letter-spacing: -.02em; }
h2 { font-size: 1.7rem; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
a { color: var(--cyan-dark); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lede { font-size: 1.12rem; max-width: 62ch; }
.muted { color: var(--body); }

/* Skip link — keyboard users land on content without tabbing the nav. */
.skip {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--ink); color: #fff; padding: .6rem 1rem;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */

.site-header {
    border-bottom: 1px solid var(--line);
    background: #fff;
    position: sticky; top: 0; z-index: 20;
}
.site-header .wrap {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; min-height: 74px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 64px; width: auto; border-radius: 10px; }
.site-nav { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.site-nav a {
    display: inline-block; padding: .5rem .85rem; border-radius: 6px;
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.site-nav a:hover, .site-nav a:focus-visible { background: var(--tint); color: var(--cyan-dark); }
.site-nav a.active { color: var(--cyan-dark); box-shadow: inset 0 -2px 0 var(--orange); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-block; padding: .7rem 1.4rem; border-radius: 6px;
    font-weight: 600; font-size: .97rem; text-decoration: none;
    border: 1px solid transparent; cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--orange-dark); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--cyan); color: var(--cyan-dark); }
.btn-row { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }

/* ---------- Sections ---------- */

section { padding: 68px 0; }
section.tinted { background: var(--tint); border-block: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 2.2rem; }

.hero { padding: 96px 0 84px; }
.hero .eyebrow {
    display: inline-block; margin-bottom: 1rem; font-size: .78rem;
    letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
    color: var(--cyan-dark);
}
.hero h1 { max-width: 20ch; }
.hero p { max-width: 60ch; font-size: 1.15rem; }

/* ---------- Grids and cards ---------- */

.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 1.5rem 1.4rem;
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card .tag {
    display: inline-block; margin-bottom: .8rem; font-size: .72rem;
    letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
    color: var(--cyan-dark);
}

/* Numbered "how we work" steps. */
.steps { counter-reset: step; }
.steps .card::before {
    counter-increment: step; content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; margin-bottom: .8rem;
    border-radius: 50%; background: var(--cyan); color: #fff;
    font-weight: 700; font-size: .95rem;
}

.checklist { margin: 0; padding-left: 1.15rem; }
.checklist li { margin-bottom: .45rem; }

/* ---------- Showcase (StuDiPort) ---------- */

.showcase {
    border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    background: #fff;
}
.showcase-head {
    background: var(--cyan); color: #fff; padding: 1.6rem 1.75rem;
}
.showcase-head h2 { color: #fff; margin-bottom: .25rem; }
.showcase-head p { margin: 0; color: rgba(255, 255, 255, .92); }
.showcase-body { padding: 1.75rem; }
.showcase-body h3 { margin-top: 0; }

.spec { border-collapse: collapse; width: 100%; margin-top: .5rem; font-size: .93rem; }
.spec th, .spec td { text-align: left; padding: .55rem .75rem; border-bottom: 1px solid var(--line); }
.spec th { color: var(--ink); white-space: nowrap; width: 34%; }

.note {
    margin-top: 1.2rem; padding: .9rem 1.1rem; border-radius: 8px;
    background: var(--tint); border: 1px solid var(--line); font-size: .92rem;
}
.note code { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: .1rem .35rem; }

/* ---------- CTA band ---------- */

/* The CTA band carries the sun mark as a watermark. The mark is decorative
   only, so it lives in a pseudo-element and stays out of the accessibility
   tree; content sits above it via z-index. */
.cta-band {
    position: relative; overflow: hidden;
    background: var(--ink); color: rgba(255, 255, 255, .85);
}
.cta-band::after {
    content: ""; position: absolute; pointer-events: none;
    right: -60px; top: 50%; transform: translateY(-50%);
    width: 340px; height: 340px;
    background: url("../img/solark-sun.png") no-repeat center / contain;
    opacity: .10;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 58ch; }

/* ---------- Hero with figure (slide picture) ---------- */

.hero-split {
    display: grid; gap: 2.5rem; align-items: center;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}
.hero-split .hero-copy h1,
.hero-split .hero-copy p { max-width: 32ch; }
.hero-split .hero-copy p { max-width: 52ch; }
.hero-figure { margin: 0; }
.hero-figure img {
    display: block; width: 100%; height: auto;
    border-radius: 14px; box-shadow: 0 18px 40px rgba(18, 34, 47, .18);
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--line); background: #fff;
    padding: 34px 0; font-size: .9rem;
}
.site-footer .wrap {
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; flex-wrap: wrap;
}
.footer-brand { display: inline-flex; align-items: center; gap: .8rem; }
.footer-brand img { display: block; height: 34px; width: auto; border-radius: 6px; }
.site-footer nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--cyan-dark); text-decoration: underline; }

@media (max-width: 900px) {
    .hero-split { grid-template-columns: 1fr; gap: 1.8rem; }
    .hero-figure { max-width: 380px; }
}
@media (max-width: 640px) {
    .brand img { height: 48px; }
    .cta-band::after { width: 210px; height: 210px; right: -70px; opacity: .07; }
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.4rem; }
    .hero { padding: 60px 0 52px; }
    section { padding: 48px 0; }
    .spec th, .spec td { display: block; width: auto; border-bottom: none; padding: .2rem 0; }
    .spec tr { display: block; padding: .5rem 0; border-bottom: 1px solid var(--line); }
}
