        :root {
            --header-height: 64px;
            --accent: #5e5e5e;
            --company-font: "Zen Dots", cursive;
            --bg: #f8fbff;
            --text: #0c1720;
        }

        html,body {
            height: 100%;
            margin: 0;
            font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
            color: var(--text);
            background: var(--bg);
            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
        }

        /* Layout */
        .site {
            min-height: 100%;
            display: flex;
            flex-direction: column;
        }

        header.site-header {
            height: var(--header-height);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 16px;
            background: white;
            box-shadow: 0 1px 4px rgba(12,23,32,0.06);
            position: sticky;
            top: 0;
            z-index: 20;
        }

        /* Brand (logo + company name) */
        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: inherit;
        }
        .brand .logo {
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            background-color: white;
            background-image: url("image/devidence.png");
            background-size: contain; /* Changed from 'cover' to 'contain' */
            background-position: center;
            background-repeat: no-repeat;
            box-shadow: 0 1px 3px rgba(12,23,32,0.08);
            flex: 0 0 40px;
            overflow: hidden;
        }
        /* hide the inline SVG if present, so the PNG appears as the logo */
        .brand .logo svg {
            display: none !important;
        }
        .brand h1 {
            font-size: 1.25rem;
            margin: 0;
            font-weight: 600;
            letter-spacing: -0.02em;
        }

        /* Hamburger menu */
        .menu {
            position: relative;
        }
        .menu-button {
            background: transparent;
            border: none;
            padding: 8px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
        }
        .menu-button:focus {
            outline: 2px solid #5e5e5e;
            outline-offset: 2px;
        }
        .hamburger {
            width: 22px;
            height: 16px;
            display: inline-block;
            position: relative;
        }
        .hamburger span {
            position: absolute;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--text);
            border-radius: 2px;
            transition: transform .18s ease, opacity .18s ease;
        }
        .hamburger span:nth-child(1) { top: 0; }
        .hamburger span:nth-child(2) { top: 7px; }
        .hamburger span:nth-child(3) { bottom: 0; }

        /* Dropdown */
        .dropdown {
            position: absolute;
            right: 0;
            top: calc(var(--header-height) + 8px);
            min-width: 160px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 8px 24px rgba(12,23,32,0.12);
            padding: 8px 0;
            display: none;
            list-style: none;
            margin: 0;
            z-index: 30;
        }
        .dropdown a {
            display: block;
            padding: 10px 16px;
            color: var(--text);
            text-decoration: none;
            font-size: 0.95rem;
        }
        .dropdown a:hover {
            background: rgba(11,102,255,0.06);
            color: var(--accent);
        }

        /* visible state controlled by .open */
        .menu.open .dropdown { display: block; }

        main.site-main {
            background-color: #a9a9a9;

            /* background-position: center; */
            padding: 28px 20px;
            flex: 1 0 auto;
            /* placeholder frame look */
            display: flex;
            align-items: center;
            flex-direction: column;
            justify-content: flex-start;
            gap: 150px;

        }
        .frame {
            width: 100%;
            max-width: 1100px;
            min-height: 240px;
            background: rgb(222, 223, 223);
            border-radius: 12px;
            box-shadow: 0 6px 18px black;
            padding: 20px;
            box-sizing: border-box;
            overflow-x: auto; /* allow horizontal scroll */
        }


        .comments-section {
            width: 100%;
            max-width: 1100px;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 2px solid rgba(12, 23, 32, 0.1); /* subtle separator line */
            font-family: 'Inter', sans-serif;
        }

        .comments-section h3 {
            font-size: 1.25rem;
            margin-bottom: 16px;
            color: var(--text);
        }

        .comment {
            margin-left: 0;
            padding: 12px 0;
            border-bottom: 1px solid rgba(12, 23, 32, 0.06);
            display: block; /* Block display ensures proper layout */
            white-space: normal;   /* Text inside can wrap */
            min-width: 300px;      /* Optional: ensure comments have a base width */
            font-size: 0.7rem;
            -webkit-text-size-adjust: none; /* Disable font boosting on iOS */
            text-size-adjust: none; /* Standard property */
        }

        .comment:last-child {
            border-bottom: none;
        }

        .comment-author {
            font-weight: 600;
            margin-bottom: 4px;
        }

        .comment-text {
            font-size: 0.95rem;
            line-height: 1.4;
        }

        .reply-button {
            display: inline-block;
            margin-top: 8px;
            padding: 4px 10px;
            font-size: 0.85rem;
            color: white;
            background-color: var(--accent);
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .reply-button:hover {
            background-color: #333;
        }

        footer.site-footer {
            padding: 20px;
            background: white;
            text-align: center;
            font-size: 0.9rem;
            color: #0c1720;
            font-family: 'Inter', sans-serif;
        }

        p {
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
        }

        h2 {
            font-family: 'Inter', sans-serif;
            font-size: 1.5rem;
        }

        .frame h2 {
            /*border-bottom: 2px solid rgba(204, 9, 2, 0.575);*/
            border-bottom: 2px solid rgba(2, 86, 155, 0.575);
            
            padding-bottom: 12px;
            margin-bottom: 16px;
        }

        h3.link-heading {
            cursor: pointer;
            transition: all 0.2s ease;
            padding: 4px 8px;
            border-radius: 4px;
            margin: 0;
        }

        h3.link-heading:hover {
            background-color: #b8b7b7;
            color: #5e5e5e;
            font-weight: bold;
        }

        /* small screens tweak */
        @media (max-width: 520px) {
            .brand h1 { font-size: 0.95rem; }
            .frame { padding: 16px; min-height: 260px; }
        }

        .lang-toggle {
            position: absolute;
            top: 1rem;
            right: 1rem;
            display: flex;
            gap: 0.5rem;
            font-family: system-ui, sans-serif;
            }
        .lang-toggle button {
            padding: 0.25rem 0.6rem;
            border: 1.5px solid #333;
            background-color: white;
            color: #333;
            cursor: pointer;
            border-radius: 6px;
            font-weight: bold;
            user-select: none;
            transition: background-color 0.2s, color 0.2s;
            }
            .lang-toggle button.active,
            .lang-toggle button:hover {
            background-color: #333;
            color: white;
            }
        /* Language content containers */
        .lang-content {
            display: none;
            text-align: left;
        }
        .lang-content.active {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 50px;
            width: 100%;
        }

        /* Add comment button */
        .add-comment-btn {
            background-color: var(--accent);
            color: white;
            padding: 10px 16px;
            border: none;
            border-radius: 6px;
            font-size: 1rem;
            cursor: pointer;
            transition: background-color 0.2s ease;
            margin-top: 16px;
            margin-bottom: 16px;
        }

        .add-comment-btn:hover {
            background-color: #333;
        }

        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 100;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.4);
        }

        .modal-content {
            background-color: #fefefe;
            margin: 50px auto;
            padding: 20px;
            border: 1px solid #888;
            border-radius: 8px;
            width: 90%;
            max-width: 600px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.2s;
        }

        .close:hover,
        .close:focus {
            color: black;
        }

        .form-group {
            margin-bottom: 16px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: var(--text);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
            font-size: 1rem;
            box-sizing: border-box;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #626263;
            box-shadow: 0 0 4px rgba(146, 146, 146, 0.3);
        }

        .form-group textarea {
            resize: vertical;
        }

        #comment-form button {
            background-color: var(--accent);
            color: white;
            padding: 10px 16px;
            border: none;
            border-radius: 6px;
            font-size: 1rem;
            cursor: pointer;
            transition: background-color 0.2s;
            width: 100%;
        }

        #comment-form button:hover {
            background-color: #333;
        }
        