/* Minimal white-space — maximum breathing room, hairline structure, no decoration noise */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --line: #e8e8e8;
    --line-strong: #d0d0d0;
    --text: #1a1a1a;
    --text-mid: #5c5c5c;
    --text-muted: #8a8a8a;
    --accent: #1a1a1a;
    --font-display: 'Syne', system-ui, sans-serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --max: 42rem;
    --gutter: clamp(24px, 5vw, 48px);
    --section-y: clamp(5rem, 12vw, 8rem);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* No decorative background layers */
body::before {
    display: none;
}

.container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Nav — flat, almost invisible */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
    padding: 1.1rem 0;
    backdrop-filter: blur(8px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
}

.logo-icon {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.4rem 0.45rem;
    background: var(--text);
    color: #fff;
    border-radius: 0;
    line-height: 1;
    letter-spacing: 0.08em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-mid);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 1px;
    background: var(--text);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: calc(4rem + 72px) 0 6rem;
    position: relative;
    border-bottom: none;
}

.hero-background,
.hero-grid,
.hero-sun,
.particles {
    display: none;
}

.hero .container {
    width: 100%;
}

.hero-content {
    max-width: var(--max);
    position: relative;
    z-index: 1;
}

.hero-kicker {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
    line-height: 1.5;
    max-width: 36em;
}

.prompt {
    display: none;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--text);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    font-weight: 600;
}

.hero-title::after {
    display: none;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-mid);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 36em;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid var(--text);
    border-radius: 0;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    color: var(--text);
    font-family: var(--font-body);
    transition: color 0.2s, border-color 0.2s;
    min-width: 0;
}

.btn-primary {
    color: var(--text);
    border-bottom-color: var(--text);
    box-shadow: none;
}

.btn-primary:hover {
    color: var(--text-muted);
    border-bottom-color: var(--text-muted);
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    color: var(--text-mid);
    border-bottom-color: var(--line-strong);
    border: none;
    border-bottom: 1px solid var(--line-strong);
    box-shadow: none;
    background: transparent;
}

.btn-secondary:hover {
    color: var(--text);
    border-bottom-color: var(--text);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.arrow {
    width: 1.5rem;
    height: 1px;
    background: var(--line-strong);
    margin-top: 0.15rem;
}

/* Sections — rhythm only, no fill bands */
section {
    padding: var(--section-y) 0;
}

.section-header {
    margin-bottom: 3rem;
    text-align: left;
    padding-bottom: 0;
    border-bottom: none;
    max-width: 28em;
}

.section-title {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.section-header .section-title::after {
    display: none;
}

/* Second line as visual title when needed — target via sibling if any; we use one h2 with small caps style on section-title - actually the HTML has section-title as main heading. Check index: <h2 class="section-title">Software &amp; services</h2> - so it's the big one. I need to adjust: make section-title large minimal not small caps. */

h2.section-title {
    font-size: clamp(1.35rem, 2.5vw, 1.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

/* About section h2 is also section-title - same rule works */

.section-subtitle {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 32em;
    font-weight: 400;
}

.products-section {
    background: var(--bg);
    border: none;
}

.about-section,
.contact-section,
.team-section {
    background: var(--bg);
    border: none;
}

/* Hairline only between major blocks */
#services {
    border-top: 1px solid var(--line);
}

#about,
#why,
#contact {
    border-top: 1px solid var(--line);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: var(--max);
}

@media (min-width: 700px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0 3rem;
    }
}

.product-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border: none;
    box-shadow: none;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--line);
    transition: none;
}

.product-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--line);
}

.product-card:nth-last-child(1) {
    border-bottom: none;
}

.product-image {
    display: none;
}

.product-placeholder,
.product-1,
.product-2,
.product-3 {
    display: none;
}

.product-overlay {
    display: none;
}

.product-badge {
    display: none;
}

.product-content {
    padding: 0;
}

.product-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.product-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.product-description {
    color: var(--text-mid);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    line-height: 1.75;
    max-width: 32em;
}

.product-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 1px;
}

.product-link:hover {
    color: var(--text-muted);
    text-decoration: none;
    border-bottom-color: var(--text-muted);
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: var(--max);
}

@media (min-width: 800px) {
    .about-content {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
        max-width: none;
        align-items: start;
    }
}

.about-description {
    color: var(--text-mid);
    margin-bottom: 1.5rem;
    line-height: 1.85;
    font-size: 0.98rem;
    max-width: 36em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
    max-width: 22em;
}

@media (min-width: 500px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: none;
    }
}

.stat-item {
    padding: 0;
    background: transparent;
    border: none;
    text-align: left;
    transition: none;
}

.stat-item:hover {
    border: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.about-placeholder {
    min-height: auto;
    background: #fafafa;
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 1.5rem;
    box-shadow: none;
}

.code-block {
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
    line-height: 1.65;
    color: var(--text-mid);
    margin: 0;
    width: 100%;
    overflow-x: auto;
}

.code-block .kw {
    color: var(--text);
}

.code-block .fn {
    color: #444;
}

.code-block .str {
    color: #666;
}

/* Why */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: var(--max);
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.team-member {
    padding: 2rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    text-align: left;
    box-shadow: none;
    border-radius: 0;
}

.team-member:last-child {
    border-bottom: none;
}

.team-member:hover {
    box-shadow: none;
}

@media (min-width: 640px) {
    .team-member {
        padding: 1.75rem 0;
    }
}

.member-avatar {
    margin-bottom: 0.75rem;
}

.member-avatar .why-icon {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    display: inline-block;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.member-name {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.member-role {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.member-bio {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.75;
    max-width: 20em;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    max-width: var(--max);
}

@media (min-width: 720px) {
    .contact-content {
        grid-template-columns: 1fr 1.1fr;
        gap: 4rem;
        max-width: none;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1rem;
    flex-shrink: 0;
    opacity: 0.5;
    margin-top: 0.1rem;
}

.info-text h4 {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.info-text p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.7;
}

.info-text a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--line-strong);
    font-weight: 400;
}

.info-text a:hover {
    color: var(--text-muted);
    border-bottom-color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.field-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--text);
    box-shadow: none;
    background: transparent;
}

.form-group textarea {
    resize: vertical;
    min-height: 8rem;
}

/* Footer */
.footer {
    background: #fafafa;
    padding: 3.5rem 0 2rem;
    color: var(--text-mid);
    border-top: 1px solid var(--line);
}

.footer::before {
    display: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    max-width: var(--max);
}

@media (min-width: 700px) {
    .footer-content {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 3rem;
        max-width: none;
    }
}

.footer .logo {
    color: var(--text);
}

.footer .logo .logo-icon {
    background: var(--text);
}

.footer-title {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.footer-description {
    color: var(--text-mid);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 1rem;
    max-width: 22em;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-link {
    width: auto;
    height: auto;
    padding: 0;
    display: inline;
    background: none;
    border: none;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-mid);
    border-bottom: 1px solid transparent;
}

.social-link:hover {
    color: var(--text);
    background: none;
    border: none;
    border-bottom: 1px solid var(--line-strong);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--text);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.7rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--text);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: #aaa;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--text);
    border: none;
    border-bottom: 1px solid var(--text);
}

.newsletter-form .btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 58px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #fff;
        padding: 1.5rem 0;
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s, opacity 0.2s;
        gap: 0.5rem;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: auto;
    }
}

@media (max-width: 480px) {
    section {
        padding: 4rem 0;
    }

    .hero {
        padding-top: calc(3rem + 64px);
    }
}
