:root {
    --ink: #10212b;
    --muted: #667985;
    --line: #dbe6ea;
    --paper: #f7fbfb;
    --brand: #0f766e;
    --brand-dark: #0b4f4a;
    --gold: #d59f44;
    --white: #ffffff;
    --shadow: 0 24px 80px rgba(16, 33, 43, .12);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 12%, rgba(15, 118, 110, .12), transparent 34rem),
        linear-gradient(180deg, #eef8f7 0%, #ffffff 42%, #f8fbfa 100%);
    font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(247, 251, 251, .82);
    border-bottom: 1px solid rgba(219, 230, 234, .75);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--brand), var(--gold));
    font-weight: 900;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 14px; color: #31505a; }
.nav-cta, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
}
.nav-cta { padding: 10px 16px; color: var(--white); background: var(--brand); }
.hero { padding: 88px 0 42px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 38px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.04em; }
h1 { font-size: clamp(34px, 5vw, 58px); max-width: 820px; }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: 24px; }
.hero-copy { max-width: 680px; color: var(--muted); font-size: 20px; line-height: 1.7; }
.hero h1 { font-size: clamp(34px, 4.8vw, 56px); letter-spacing: -.035em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { min-height: 48px; padding: 0 22px; border: 1px solid transparent; }
.btn.primary { color: var(--white); background: linear-gradient(135deg, var(--brand), var(--brand-dark)); box-shadow: 0 14px 34px rgba(15, 118, 110, .25); }
.btn.ghost { border-color: var(--line); background: rgba(255,255,255,.72); }
.hero-panel {
    padding: 34px;
    min-height: 360px;
    border: 1px solid rgba(219, 230, 234, .86);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.92), rgba(234,247,245,.88)),
        radial-gradient(circle at 80% 10%, rgba(213,159,68,.2), transparent 18rem);
    box-shadow: var(--shadow);
}
.hero-panel span, .post-body span, .site-footer span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.hero-panel strong { display: block; margin: 38px 0 18px; font-size: 38px; line-height: 1.08; letter-spacing: -.04em; }
.hero-panel p, .section-head + p { color: var(--muted); line-height: 1.7; }
.category-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}
.category-strip a {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.76);
    font-weight: 800;
}
.section { padding: 70px 0; }
.section-head { margin-bottom: 28px; }
.capability-section { padding-bottom: 20px; }
.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.capability-grid > div {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(238,248,247,.72));
    box-shadow: 0 18px 54px rgba(16,33,43,.07);
}
.capability-grid strong {
    display: block;
    font-size: 22px;
    margin-bottom: 10px;
}
.capability-grid p { margin: 0; color: var(--muted); line-height: 1.7; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card, .empty-card, .sticky-inquiry, .contact-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 18px 54px rgba(16,33,43,.08);
    overflow: hidden;
}
.post-card img { width: 100%; height: 210px; object-fit: cover; }
.post-body { padding: 24px; }
.post-body p, .article-content, .inquiry-band p, .site-footer p, .empty-card p { color: var(--muted); line-height: 1.75; }
.text-link { color: var(--brand); font-weight: 900; }
.empty-card { grid-column: 1 / -1; padding: 34px; }
.pagination { margin-top: 30px; }
.article-layout { padding: 72px 0; }
.article-hero { padding: 48px; border-radius: 34px; background: linear-gradient(135deg, rgba(15,118,110,.1), rgba(213,159,68,.12)); }
.article-hero p { color: var(--muted); }
.article-hero h1 { font-size: clamp(32px, 4.6vw, 54px); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; margin-top: 28px; }
.article-content {
    padding: 38px;
    border-radius: 30px;
    background: var(--white);
    border: 1px solid var(--line);
}
.article-content h2, .article-content h3 { margin-top: 1.5em; }
.article-content a { color: var(--brand); font-weight: 800; }
.sticky-inquiry { position: sticky; top: 100px; padding: 28px; }
.mini-spec { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin-top: 22px; font-size: 14px; }
.mini-spec span { color: var(--muted); }
.inquiry-band { padding: 70px 0; background: #0b312f; color: var(--white); }
.inquiry-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: center; }
.inquiry-band .eyebrow { color: #8de0d5; }
.inquiry-band p { color: rgba(255,255,255,.72); }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 18px; color: var(--ink); }
.contact-card img { width: 118px; height: 118px; border-radius: 18px; object-fit: cover; }
.contact-card strong, .contact-card span, .contact-card small { display: block; }
.contact-card strong { font-size: 26px; }
.contact-card small { color: var(--muted); }
.site-footer { padding: 34px 0; background: #071f1d; color: var(--white); }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; }
.not-found { padding: 120px 0; text-align: center; }
.ellisys-page {
    display: grid;
    gap: 26px;
}
.ellisys-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 6vw, 70px);
    border-radius: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 22%, rgba(245, 198, 92, .42), transparent 15rem),
        linear-gradient(135deg, #092a28 0%, #0f766e 58%, #1d4f48 100%);
}
.ellisys-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 46px solid rgba(255,255,255,.12);
}
.ellisys-hero > * { position: relative; z-index: 1; }
.ellisys-hero .eyebrow { color: #ffe3a3; }
.ellisys-hero h2 {
    max-width: 820px;
    font-size: clamp(36px, 6vw, 76px);
}
.ellisys-hero p {
    max-width: 720px;
    color: rgba(255,255,255,.78);
    font-size: 19px;
}
.ellisys-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.ellisys-badges span {
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    font-weight: 800;
}
.ellisys-section {
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid var(--line);
    border-radius: 32px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 18px 56px rgba(16,33,43,.07);
}
.ellisys-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr);
    gap: 28px;
    align-items: center;
}
.device-visual {
    min-height: 360px;
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.92), rgba(240,248,247,.72)),
        radial-gradient(circle at 50% 25%, rgba(213,159,68,.26), transparent 12rem);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    padding: 26px;
}
.device-body {
    width: min(260px, 82%);
    aspect-ratio: 4 / 5;
    border-radius: 34px;
    background: linear-gradient(180deg, #f8fbfb, #dceceb);
    box-shadow: inset 0 0 0 1px #fff, 0 28px 50px rgba(15,118,110,.18);
    position: relative;
}
.device-body::before {
    content: "ELLISYS PLUS";
    position: absolute;
    top: 28px;
    left: 24px;
    right: 24px;
    padding: 15px;
    border-radius: 16px;
    color: #0b4f4a;
    background: #10212b;
    color: #d6f7f2;
    text-align: center;
    font-weight: 900;
    letter-spacing: .12em;
}
.device-body::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 44px;
    width: 88px;
    height: 88px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, #f2c15b 0 18%, #0f766e 19% 42%, #b7ceca 43%);
}
.metric-grid, .feature-grid, .needle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.metric-card, .feature-card, .needle-card {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #fff;
}
.metric-card strong {
    display: block;
    color: var(--brand-dark);
    font-size: 30px;
    line-height: 1;
}
.metric-card span, .feature-card span, .needle-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}
.feature-card i, .needle-card i {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--gold));
    font-style: normal;
    font-weight: 900;
}
.ellisys-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    list-style: none;
}
.ellisys-list li {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f2f8f7;
    color: #31505a;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 20px;
}
.spec-table th, .spec-table td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.spec-table th {
    width: 34%;
    color: #0b4f4a;
    background: #eef8f7;
}
.ellisys-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 26px;
    align-items: center;
    color: #fff;
    background: linear-gradient(135deg, #071f1d, #0f766e);
}
.ellisys-contact img {
    width: 170px;
    height: 170px;
    border-radius: 24px;
    background: #fff;
    padding: 8px;
}
@media (max-width: 860px) {
    .nav-wrap, .footer-grid { align-items: flex-start; flex-direction: column; }
    .nav-links { width: 100%; overflow-x: auto; padding-bottom: 10px; }
    .hero-grid, .article-grid, .inquiry-grid { grid-template-columns: 1fr; }
    .category-strip, .post-grid, .capability-grid { grid-template-columns: 1fr; }
    .article-hero, .article-content { padding: 26px; }
    .sticky-inquiry { position: static; }
    .ellisys-split, .ellisys-contact { grid-template-columns: 1fr; }
    .metric-grid, .feature-grid, .needle-grid, .ellisys-list { grid-template-columns: 1fr; }
}
