 :root {
            --primary: #e41f26;    /* Piistech red */
            --dark: #3a3a3a;       /* graphite grey */
            --muted: #555555;      /* dark grey */
            --bg: #f5f5f5;
            --white: #ffffff;
            --border-radius: 14px;
            --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: "Poppins", sans-serif;
            color: var(--dark);
            background: var(--bg);
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* NAVBAR */
        .navbar {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255,255,255,0.96);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid rgba(0,0,0,0.04);
        }

        .nav-inner {
            max-width: 1120px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.6rem 1.25rem;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }

        .brand img {
            height: 42px;
        }

        .brand-text {
            font-weight: 600;
            font-size: 1.05rem;
            letter-spacing: 0.04em;
        }

        .brand-sub {
            font-size: 0.72rem;
            text-transform: uppercase;
            color: var(--muted);
        }

        .nav-links {
            display: flex;
            gap: 1.25rem;
            font-size: 0.9rem;
        }

        .nav-links a {
            position: relative;
            padding-bottom: 0.2rem;
        }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.25s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* UTILS */
        .container {
            max-width: 1120px;
            margin: 0 auto;
            padding: 3.5rem 1.25rem;
        }

        .section-title {
            font-size: 1.8rem;
            margin-bottom: 0.8rem;
            font-weight: 600;
        }

        .section-subtitle {
            font-size: 0.95rem;
            color: var(--muted);
            max-width: 600px;
        }

        .pill {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.15rem 0.65rem;
            font-size: 0.7rem;
            border-radius: 999px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            border: 1px solid rgba(0,0,0,0.08);
            background: rgba(255,255,255,0.9);
        }

        .pill-dot {
            width: 6px;
            height: 6px;
            border-radius: 999px;
            background: var(--primary);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.45rem;
            padding: 0.7rem 1.4rem;
            border-radius: 999px;
            border: none;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--primary);
            color: var(--white);
            box-shadow: 0 10px 22px rgba(228,31,38,0.3);
        }

        .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 32px rgba(228,31,38,0.4);
        }

        .btn-outline {
            background: transparent;
            color: var(--dark);
            border: 1px solid rgba(0,0,0,0.12);
        }

        .btn-outline:hover {
            background: var(--white);
            box-shadow: 0 10px 22px rgba(0,0,0,0.07);
        }

        /* HERO */
        .hero {
            padding-top: 2.5rem;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
            gap: 2.8rem;
            align-items: center;
        }

        .hero-title {
            font-size: clamp(2.4rem, 4vw, 3rem);
            line-height: 1.1;
            margin: 0.9rem 0;
        }

        .hero-highlight {
            color: var(--primary);
        }

        .hero-text {
            color: var(--muted);
            font-size: 0.98rem;
            max-width: 520px;
        }

        .hero-actions {
            margin-top: 1.4rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
        }

        .hero-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-top: 2rem;
            font-size: 0.8rem;
            color: var(--muted);
        }

        .hero-meta-item span {
            display: block;
        }

        .hero-meta-item strong {
            font-size: 1.1rem;
            color: var(--dark);
        }

        .hero-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
            border-radius: 22px;
            padding: 2rem 1.8rem;
            box-shadow: var(--shadow-soft);
        }

        .hero-card h3 {
            font-size: 1.1rem;
            margin-bottom: 0.4rem;
        }

        .hero-tagline {
            font-size: 0.86rem;
            color: var(--muted);
            margin-bottom: 1.4rem;
        }

        .badge-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .badge {
            font-size: 0.75rem;
            padding: 0.2rem 0.55rem;
            border-radius: 999px;
            border: 1px dashed rgba(0,0,0,0.16);
            background: rgba(255,255,255,0.9);
        }

        /* WHY JOIN */
        .cards {
            margin-top: 1.8rem;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1.25rem;
        }

        .card {
            background: var(--white);
            border-radius: var(--border-radius);
            padding: 1.3rem 1.2rem;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(0,0,0,0.02);
        }

        .card h4 {
            font-size: 1rem;
            margin-bottom: 0.4rem;
        }

        .card p {
            font-size: 0.88rem;
            color: var(--muted);
        }

        /* OPEN ROLES */
        .jobs-grid {
            margin-top: 1.8rem;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1.2rem;
        }

        .job-card {
            background: #ffffff;
            border-radius: var(--border-radius);
            padding: 1.2rem 1.2rem 1.1rem;
            box-shadow: var(--shadow-soft);
            border-left: 4px solid var(--primary);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 0.8rem;
        }

        .job-header {
            display: flex;
            justify-content: space-between;
            gap: 0.6rem;
        }

        .job-title {
            font-size: 1rem;
            font-weight: 600;
        }

        .job-meta {
            font-size: 0.8rem;
            color: var(--muted);
            margin-top: 0.2rem;
        }

        .job-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.35rem;
            margin-top: 0.25rem;
        }

        .job-tags span {
            font-size: 0.72rem;
            padding: 0.12rem 0.55rem;
            border-radius: 999px;
            background: #f1f1f1;
        }

        .job-body {
            font-size: 0.82rem;
            color: var(--muted);
        }

        .job-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 0.8rem;
            font-size: 0.8rem;
        }

        .job-deadline {
            color: var(--muted);
        }

        /* LIFE AT PIISTECH */
        .culture-grid {
            margin-top: 1.8rem;
            display: grid;
            grid-template-columns: 2fr 1.3fr;
            gap: 1.6rem;
        }

        .culture-points {
            display: grid;
            gap: 0.9rem;
        }

        .culture-item {
            background: #ffffff;
            border-radius: var(--border-radius);
            padding: 1rem 1rem;
            box-shadow: var(--shadow-soft);
            font-size: 0.9rem;
        }

        .culture-item strong {
            display: block;
            margin-bottom: 0.2rem;
        }

        .culture-side {
            background: linear-gradient(150deg, #3a3a3a 0%, #555555 45%, #e41f26 100%);
            color: #ffffff;
            border-radius: 22px;
            padding: 1.6rem 1.4rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .culture-side h3 {
            font-size: 1.2rem;
            margin-bottom: 0.4rem;
        }

        .culture-side p {
            font-size: 0.9rem;
            opacity: 0.92;
        }

        .culture-points-inline {
            margin-top: 1rem;
            display: grid;
            gap: 0.4rem;
            font-size: 0.85rem;
        }

        /* APPLY FORM (now Google Form CTA) */
        .apply-grid {
            margin-top: 1.8rem;
            display: grid;
            grid-template-columns: 1.25fr 1fr;
            gap: 1.7rem;
        }

        form {
            background: #ffffff;
            border-radius: 20px;
            padding: 1.6rem 1.4rem;
            box-shadow: var(--shadow-soft);
        }

        .apply-form-text {
            font-size: 0.9rem;
            color: var(--muted);
            margin-bottom: 1rem;
        }

        .apply-aside {
            font-size: 0.88rem;
            color: var(--muted);
        }

        .apply-aside strong {
            color: var(--dark);
        }

        .apply-list {
            margin-top: 0.6rem;
            list-style: none;
        }

        .apply-list li {
            padding-left: 1.1rem;
            position: relative;
            margin-bottom: 0.3rem;
        }

        .apply-list li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--primary);
        }

        .hint {
            font-size: 0.75rem;
            color: var(--muted);
            margin-top: 0.15rem;
        }

        /* FOOTER */
        footer {
            background: #111111;
            color: #f1f1f1;
            padding: 1.6rem 1.25rem 1.4rem;
            margin-top: 2.5rem;
        }

        .footer-inner {
            max-width: 1120px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            font-size: 0.78rem;
        }

        .footer-links {
            display: flex;
            flex-wrap: wrap;
            gap: 0.9rem;
            opacity: 0.86;
        }

        .footer-links span {
            cursor: pointer;
        }

        .footer-links span:hover {
            text-decoration: underline;
        }

        /* RESPONSIVE */
        @media (max-width: 900px) {
            .hero-grid,
            .culture-grid,
            .apply-grid {
                grid-template-columns: 1fr;
            }

            .hero-card {
                order: -1;
            }

            .jobs-grid {
                grid-template-columns: 1fr;
            }

            .cards {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 720px) {
            .nav-links {
                display: none; /* Simple mobile version – can add burger later */
            }

            .cards {
                grid-template-columns: 1fr;
            }

            .container {
                padding: 2.6rem 1rem;
            }

            .hero {
                padding-top: 1.4rem;
            }
        }