/* -----------------------------------------------------------
   GLOBAL RESET + TYPOGRAPHY
----------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: #ffffff;
    color: #222;
    line-height: 1.6;
}

.layout-body {
    display: flex; /* sidebar + page body side-by-side */
    flex: 1;
}

.page-body {
    display: flex; /* stack hero + content vertically */
    flex-direction: column;
    width: 100%;
}

/* 800px centered content */
.page-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
/* -----------------------------------------------------------
   LAYOUT ROOT
----------------------------------------------------------- */

.layout-root {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* -----------------------------------------------------------
   TOPBAR
----------------------------------------------------------- */

.topbar {
    width: 100%;
    height: 64px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.topbar-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-logo {
    height: 32px;
}

/* -----------------------------------------------------------
   SIDEBAR
----------------------------------------------------------- */

.layout-body {
    display: flex;
    flex: 1;
}

.sidebar {
    width: 240px;
    background: #f7f7f7;
    border-right: 1px solid #e5e5e5;
    padding: 1rem;
}

    .sidebar.collapsed {
        width: 64px;
    }

/* -----------------------------------------------------------
   CONTENT AREA (800px centered)
----------------------------------------------------------- */

.content {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.content-inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* -----------------------------------------------------------
   HERO (full width)
----------------------------------------------------------- */

.hero {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 4rem 2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.85;
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */

.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
}

/* -----------------------------------------------------------
   LEGAL PAGES
----------------------------------------------------------- */

.page-legal h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.page-legal p {
    margin-bottom: 1rem;
}

/* -----------------------------------------------------------
   UTILITY CLASSES
----------------------------------------------------------- */

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}


/* ============================================================
   NTTECO TYPOGRAPHY SYSTEMS — VARIANTS A / B / C
   Apply by wrapping content in: <div class="typo-a">...</div>
   ============================================================ */


/* ------------------------------------------------------------
   VARIANT A — EXPRESSIVE / BOLD
   Purpose: Hero sections, marketing, high-impact statements
   ------------------------------------------------------------ */

.typo-a h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.75px;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.typo-a h2 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.typo-a h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.25px;
    margin-bottom: 0.5rem;
}

.typo-a p {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.typo-a small {
    font-size: 0.9rem;
    opacity: 0.8;
}



/* ------------------------------------------------------------
   VARIANT B — ENTERPRISE CALM (MICROSOFT / AZURE STYLE)
   Purpose: Product pages, docs, legal, architecture content
   ------------------------------------------------------------ */

.typo-b h1 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.35px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.typo-b h2 {
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -0.15px;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.typo-b h3 {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.typo-b p {
    font-size: 1rem;
    line-height: 1.65;
    opacity: 0.9;
    margin-bottom: 1.25rem;
}

.typo-b small {
    font-size: 0.85rem;
    opacity: 0.75;
}



/* ------------------------------------------------------------
   VARIANT C — ULTRA MINIMAL (LINEAR / VERCEL STYLE)
   Purpose: Clean, modern, quiet UI; technical pages
   ------------------------------------------------------------ */

.typo-c h1 {
    font-size: 2.25rem;
    font-weight: 500;
    letter-spacing: -0.25px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.typo-c h2 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.1px;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.typo-c h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.typo-c p {
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 0.85;
    margin-bottom: 1.25rem;
}

.typo-c small {
    font-size: 0.8rem;
    opacity: 0.7;
}



/* ============================================================
   THIN LINE SYSTEM — COLOR, WIDTH, HEIGHT VARIANTS
   Use: <div class="thin-line"></div>
   ============================================================ */

/* Default NTTECO accent line */
.thin-line {
    width: 48px;
    height: 1px;
    background-color: #502d16; /* NTTECO brown */
    margin: 0.75rem 0 1.5rem 0;
}

/* White line (for dark hero backgrounds) */
.thin-line-white {
    width: 48px;
    height: 1px;
    background-color: #ffffff;
    margin: 0.75rem 0 1.5rem 0;
}

/* Blue accent line */
.thin-line-blue {
    width: 48px;
    height: 1px;
    background-color: #40baff;
    margin: 0.75rem 0 1.5rem 0;
}

/* Ultra-thin hairline */
.thin-line-hair {
    width: 48px;
    height: 0.5px;
    background-color: #502d16;
    margin: 0.75rem 0 1.5rem 0;
}

/* Footer A — Enterprise Calm */
.footer-a {
    background: #fafafa;
    border-top: 1px solid #e5e5e5;
    padding: 2rem 1rem;
    text-align: center;
    color: #555;
    font-size: 0.95rem;
}

    .footer-a a {
        color: #444;
        text-decoration: none;
        margin: 0 0.75rem;
    }

        .footer-a a:hover {
            text-decoration: underline;
        }

/* Footer B — Ultra Minimal */
.footer-b {
    background: #ffffff;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

    .footer-b a {
        color: #555;
        text-decoration: none;
        margin: 0 0.5rem;
    }

        .footer-b a:hover {
            opacity: 0.7;
        }
/* Footer C — Strong Divider */
.footer-c {
    background: #ffffff;
    border-top: 3px solid #502d16; /* NTTECO accent */
    padding: 2.5rem 1rem;
    text-align: center;
    font-size: 1rem;
    color: #333;
}

    .footer-c a {
        color: #502d16;
        text-decoration: none;
        margin: 0 0.75rem;
        font-weight: 500;
    }

        .footer-c a:hover {
            text-decoration: underline;
        }
/* Footer D — Sectioned Layout */
.footer-d {
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    padding: 3rem 1rem;
    color: #444;
}

    .footer-d .footer-grid {
        max-width: 1100px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 2rem;
    }

    .footer-d h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
    }

    .footer-d a {
        display: block;
        color: #555;
        text-decoration: none;
        margin: 0.25rem 0;
    }

        .footer-d a:hover {
            text-decoration: underline;
        }

    .footer-d .footer-bottom {
        text-align: center;
        margin-top: 2rem;
        font-size: 0.85rem;
        color: #777;
    }
/* Footer E — Dark Accent */
.footer-e {
    background: #1a1a1a;
    color: #ddd;
    padding: 2.5rem 1rem;
    text-align: center;
}

    .footer-e a {
        color: #ffffff;
        text-decoration: none;
        margin: 0 0.75rem;
        font-weight: 500;
    }

        .footer-e a:hover {
            opacity: 0.7;
        }

/* ============================================================
   PARAGRAPH SPACING VARIANTS
   These control only spacing before/after paragraphs.
   Combine with text styles for full control.
   ============================================================ */

/* No spacing before or after */
.p-tight {
    margin-top: 0;
    margin-bottom: 0;
}

/* Slightly reduced spacing */
.p-compact {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

/* Extra spacing for emphasis */
.p-loose {
    margin-top: 1rem;
    margin-bottom: 1rem;
}



/* ============================================================
   TEXT SIZE & LINE-HEIGHT VARIANTS
   These control font size and rhythm.
   ============================================================ */

/* Large, calm paragraph */
.text-large {
    font-size: 1.15rem;
    line-height: 1.65;
    font-family: "Segoe UI", system-ui, sans-serif;
}

/* Standard enterprise paragraph */
.text-normal {
    font-size: 1rem;
    line-height: 1.6;
    font-family: "Segoe UI", system-ui, sans-serif;
}

/* Small, quiet paragraph */
.text-small {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.85;
    font-family: "Segoe UI", system-ui, sans-serif;
}

/* Small, quiet paragraph */
.text-xsmall {
    font-size: 0.5rem;
    line-height: 0.9;
    opacity: 0.95;
    font-family: "Segoe UI", system-ui, sans-serif;
}


/* ============================================================
   FONT WEIGHT & STYLE VARIANTS
   These can be combined with any size or spacing class.
   ============================================================ */

/* Light weight (Linear-style) */
.text-light {
    font-weight: 300;
    letter-spacing: 0.1px;
}

/* Normal weight */
.text-regular {
    font-weight: 400;
}

/* Semibold */
.text-semibold {
    font-weight: 600;
}

/* Bold */
.text-bold {
    font-weight: 700;
}

/* Italic */
.italic {
    font-style: italic;
}



/* ============================================================
   COLOR VARIANTS
   These apply tone without affecting size or spacing.
   ============================================================ */

.text-muted {
    color: #666;
}

.text-accent {
    color: #502d16; /* NTTECO brown */
}

.text-blue {
    color: #40baff;
}

.text-white {
    color: #ffffff;
}



/* ============================================================
   COMPOSITION EXAMPLES (for reference)
   These are not classes—just usage examples.
   ============================================================ */

/*
<p class="p-tight text-large text-light">
<p class="p-compact text-small text-muted italic">
<p class="p-loose text-normal text-semibold text-accent">
*/


/* ============================================================
   HEADING VARIANTS (H1–H6)
   These do NOT override global heading styles.
   Apply by wrapping content in: <div class="h-variant-a">...</div>
   Or apply directly to a heading: <h2 class="h-large">...</h2>
   ============================================================ */


/* ------------------------------------------------------------
   VARIANT A — EXPRESSIVE / BOLD
   Purpose: Hero sections, marketing, high-impact statements
   ------------------------------------------------------------ */

.h-variant-a h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.75px;
    line-height: 1.15;
}

.h-variant-a h2 {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.h-variant-a h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

.h-variant-a h4 {
    font-size: 1.35rem;
    font-weight: 600;
}

.h-variant-a h5 {
    font-size: 1.15rem;
    font-weight: 600;
}

.h-variant-a h6 {
    font-size: 1rem;
    font-weight: 600;
}



/* ------------------------------------------------------------
   VARIANT B — ENTERPRISE CALM (MICROSOFT/AZURE STYLE)
   Purpose: Product pages, docs, architecture content
   ------------------------------------------------------------ */

.h-variant-b h1 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.35px;
}

.h-variant-b h2 {
    font-size: 1.9rem;
    font-weight: 500;
    letter-spacing: -0.15px;
}

.h-variant-b h3 {
    font-size: 1.45rem;
    font-weight: 500;
}

.h-variant-b h4 {
    font-size: 1.2rem;
    font-weight: 500;
}

.h-variant-b h5 {
    font-size: 1rem;
    font-weight: 500;
}

.h-variant-b h6 {
    font-size: 0.9rem;
    font-weight: 500;
}



/* ------------------------------------------------------------
   VARIANT C — ULTRA MINIMAL (LINEAR/VERCEL STYLE)
   Purpose: Clean, modern, quiet UI; technical pages
   ------------------------------------------------------------ */

.h-variant-c h1 {
    font-size: 2.25rem;
    font-weight: 500;
    letter-spacing: -0.25px;
}

.h-variant-c h2 {
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: -0.1px;
}

.h-variant-c h3 {
    font-size: 1.35rem;
    font-weight: 400;
}

.h-variant-c h4 {
    font-size: 1.15rem;
    font-weight: 400;
}

.h-variant-c h5 {
    font-size: 1rem;
    font-weight: 400;
}

.h-variant-c h6 {
    font-size: 0.9rem;
    font-weight: 400;
}



/* ============================================================
   DIRECT HEADING SIZE UTILITIES (apply to individual headings)
   These override only the size, not weight or color.
   ============================================================ */

.h-xxl {
    font-size: 3rem;
}

.h-xl {
    font-size: 2.5rem;
}

.h-lg {
    font-size: 2rem;
}

.h-md {
    font-size: 1.5rem;
}

.h-sm {
    font-size: 1.25rem;
}

.h-xs {
    font-size: 1rem;
}



/* ============================================================
   HEADING WEIGHT UTILITIES (combine with any size)
   ============================================================ */

.h-light {
    font-weight: 300;
}

.h-regular {
    font-weight: 400;
}

.h-medium {
    font-weight: 500;
}

.h-semibold {
    font-weight: 600;
}

.h-bold {
    font-weight: 700;
}



/* ============================================================
   HEADING STYLE UTILITIES (italic, uppercase, spacing)
   ============================================================ */

.h-italic {
    font-style: italic;
}

.h-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.h-tight {
    letter-spacing: -0.5px;
}



/* ============================================================
   HEADING COLOR UTILITIES
   ============================================================ */

.h-muted {
    color: #666;
}

.h-accent {
    color: #502d16; /* NTTECO brown */
}

.h-blue {
    color: #40baff;
}

.h-white {
    color: #ffffff;
}



/* ============================================================
   COMPOSITION EXAMPLES (for reference only)
   ============================================================ */

/*
<h2 class="h-lg h-semibold h-accent">Architecture</h2>
<h1 class="h-xl h-light h-tight">Typed Object Graphs</h1>
<h3 class="h-md h-regular h-muted h-italic">Execution Envelope</h3>

<div class="h-variant-b">
    <h2>Enterprise Calm Heading</h2>
</div>
*/

/* Bullet paragraph (composable with text classes) */
.p-bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.25rem 0;
}

    .p-bullet::before {
        content: "•";
        font-size: 1.2rem;
        line-height: 1;
        color: #502d16; /* NTTECO accent */
    }
/* Bold bullet + regular paragraph text */
/* Bullet + label column + text column */
.p-bullet-bold {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.25rem 0;
}

    /* Bullet */
    .p-bullet-bold::before {
        content: "•";
        font-weight: 700;
        font-size: 1.2rem;
        line-height: 1.2;
        color: #502d16;
    }

/* Label stays on first line, but can wrap if needed */
.bullet-label {
    font-weight: 700;
    white-space: nowrap; /* keeps label on one line */
}

/* Text wraps normally under the label */
.bullet-text {
    flex: 1; /* allows wrapping inside container */
}

/* ============================================================
   NTTECO — PAGE-CONTENT SPACING CORRECTION
   Eliminates unexpected gaps between consecutive .page-content
   blocks caused by heading margin collapse.
   ============================================================ */

/* Remove top margin from the first element inside every page-content block */
.page-content > *:first-child {
    margin-top: 0 !important;
}

/* Control spacing between page-content sections */
.page-content {
    margin-bottom: 1rem; /* adjust to 0.5rem or 0 for tighter layout */
}


/* ============================================================
   NTTECO — Tight Section Rhythm
   Eliminates large gaps between consecutive .page-content blocks.
   ============================================================ */

/* Reduce vertical padding inside each section */
.page-content {
    padding: 1rem 1rem; /* tight */
    margin-bottom: 0.1rem; /* tight spacing between sections */
}

    /* Remove top margin from the first element inside each section */
    .page-content > *:first-child {
        margin-top: 0 !important;
    }

    /* Tighten heading spacing inside sections */
    .page-content h1,
    .page-content h2,
    .page-content h3,
    .page-content h4,
    .page-content h5,
    .page-content h6 {
        margin-top: 0;
        margin-bottom: 0.35rem; /* tight */
    }

    /* Tighten paragraph spacing inside sections */
    .page-content p {
        margin-top: 0;
        margin-bottom: 0.5rem; /* tight */
    }


/* ============================================================
   NTTECO — Accent Heading Wrapper
   Use on small section headers (H5/H6) to apply the accent color.
   Swap --ntt-heading-accent to update globally.
   ============================================================ */

:root {
    --ntt-heading-accent: #8a6f5a; /* warm taupe (recommended starting point) */
}

.heading-accent h6,
.heading-accent h5 {
    color: var(--ntt-heading-accent);
}

/* NTTECO — Closing Paragraph Styling */
/* NTTECO — Closing Paragraph Styling */
.closing-paragraph {
    max-width: 620px;
    margin: 0.75rem auto 0 auto; /* reduced top margin */
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.closing-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #5a524c;
    font-weight: 400;
    margin: 0;
}

.closing-right {
    text-align: right;
}

/* Remove bottom margin from the last pillar paragraph */
.pillar-last {
    margin-bottom: 0 !important;
}

/* Full-width comparison section with spring tone */
.comparison-section {
    width: 100%;
    background: #f3f8f4; /* soft spring green-tint */
    padding: 3rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Centered content container */
.comparison-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Executive summary */
.comparison-summary {
    max-width: 850px;
    margin: 0 auto 2rem auto;
    font-size: 1rem;
    line-height: 1.55;
    color: #3f4a3d; /* botanical graphite */
}

/* Header */
.comparison-header {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: #3d5a40; /* deep botanical green */
    font-weight: 600;
}

/* Table styling */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    color: #3f3a36;
}

    .comparison-table th {
        background: #e0efe4; /* light spring green */
        color: #2f4a33;
        font-weight: 600;
        padding: 0.75rem 1rem;
    }

    .comparison-table td {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }

        /* Highlight NTTECO column */
        .comparison-table td:last-child {
            background: #f0faf2; /* subtle highlight */
            font-weight: 600;
            color: #2f4a33;
        }
.comparison-explainer {
    max-width: 850px;
    margin: 1.75rem auto 0 auto;
    padding: 1.25rem 1.5rem;
    background: #eef6f0; /* soft spring tint */
    border-left: 4px solid #3d5a40; /* botanical green accent */
    border-radius: 4px;
}

    .comparison-explainer p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.55;
        color: #3f4a3d; /* botanical graphite */
    }
.topbar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 60px;
    padding: 0 1rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-home {
    text-decoration: none;
    color: #3d5a40;
    font-weight: 500;
}

    .topbar-home:hover {
        text-decoration: underline;
    }

.topbar-logo-link {
    display: flex;
    align-items: center;
}

.soft-launch-note {
    text-align: center;
    font-size: 0.9rem;
    color: #4a4a4a;
    margin-top: 1rem;
    opacity: 0.85;
}

.contact-section {
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.95rem;
    color: #3d3d3d;
    opacity: 0.9;
}

.public-phase-band {
    width: 100%;
    background-color: #1e1e1e; /* deep neutral, not pure black */
    color: #e6e6e6;
    padding: 2.5rem 1.5rem;
    margin-top: 3rem;
    text-align: center;
}

    .public-phase-band p {
        margin: 0.75rem 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .public-phase-band a {
        color: #9fc8a8; /* subtle green accent matching NTTECO tone */
        text-decoration: none;
        font-weight: 500;
    }

        .public-phase-band a:hover {
            text-decoration: underline;
        }

.topbar-separator {
    width: 1px;
    height: 18px;
    background-color: rgba(0,0,0,0.15);
    margin: 0 0.75rem;
}

.topbar-link {
    text-decoration: none;
    color: #3d5a40; /* match your accent */
    font-weight: 500;
}

    .topbar-link:hover {
        text-decoration: underline;
    }


.nav-group {
    margin-top: 1rem;
}

.nav-group-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #c46a1a;
    padding: 0.25rem 0.1rem;
}


.nav-sub {
    padding-left: 0.1rem;
}
/*
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

    .comparison-table th {
        text-align: left;
        padding: 0.75rem;
        background-color: var(--accent-muted);
        color: var(--accent-strong);
        font-weight: 600;
        border-bottom: 1px solid var(--border-light);
    }

    .comparison-table td {
        padding: 0.75rem;
        border-bottom: 1px solid var(--border-light);
        vertical-align: top;
    }

    .comparison-table tr:last-child td {
        border-bottom: none;
    }

    .comparison-table tbody tr:nth-child(even) {
        background-color: var(--surface-subtle);
    }
*/