:root {
    --bg: #f7f3eb;      /* 247, 243, 235*/
    --surface: #fffdf8;
    --text: #3a2b1a;
    --muted: #6d5c48;
    --accent: #a05a2c;  /* 160, 90, 44 */
    --accent-2: #7c3f21;
    --glass: rgba(58,43,26,0.06);
    --max-width: 1040px;
    --radius: 12px;
    --gap: 20px;
    --shadow: 0 10px 30px rgba(45,33,24,0.08);
}

* {box-sizing:border-box}
html,body {height:100%}

body {
    margin:0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing:antialiased;
    line-height:1.6;
}

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

header {
}

header.site-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:28px;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(56,42,28,0.5);
    color: var(--surface);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

header.site-header.scrolled {
    background: rgba(56,42,28,0.95);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    color: var(--fg);
}

header.site-header.scrolled .brand h1,
header.site-header.scrolled .brand p,
header.site-header.scrolled nav.primary a {
    color: #f7f3ef;
}

header.site-header.scrolled nav.primary a:hover {
    background: rgba(255,255,255,0.2);
}

.topbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.brand {
    display:flex;
    gap:14px;
    align-items:center;
    text-decoration:none;
    color:var(--text);
}

.logo {
    width:56px; height:56px; border-radius:10px;
    display:flex; align-items:center; justify-content:center;
    font-family: "Noto Serif JP", serif; font-weight:700;
    color:#fff7ec;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.18), 0 6px 18px rgba(0,0,0,0.12);
}

.brand h1 { margin:0; font-size:1rem; }
.brand p { margin:0; font-size:0.8rem; }
.brand h1, .brand p, nav.primary a {
    color: var(--surface);
}

nav.primary a:hover, nav.primary a:focus {
    background: rgba(255,255,255,0.2);
    color: var(--surface);
}

nav.primary {
    display:flex;
    gap:14px;
    align-items:center;
}

nav.primary a {
    text-decoration:none;
    font-weight:600;
    padding:8px 10px;
    border-radius:8px;
}

/* Language switcher container */
.lang-switch {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.35em;
    font-size: 0.85em;
    letter-spacing: 0.02em;
    opacity: 0.7;
    flex-shrink: 0;
}

.lang-switch:hover {
    opacity: 0.9;
}

.lang-switch .lang {
    color: var(--surface);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.lang-switch a.lang {
    padding: 0.05rem 0.2rem;
}

.lang-switch a.lang:hover {
    margin: 0;
    text-decoration: underline;
    opacity: 1;
    color: var(--surface);
}

.lang-switch .current {
    font-weight: 600;
    opacity: 1;
    cursor: default;
}

.lang-switch .sep {
    opacity: 0.5;
    user-select: none;
}


.cta {
    background: linear-gradient(90deg,var(--accent),var(--accent-2));
    color:#fff7ec;
    padding:10px 14px;
    border-radius:10px;
    font-weight:800;
    text-decoration:none;
    box-shadow: var(--shadow);
}

.hero {
    text-align: center;
    background-color: var(--accent-2);
    background:
        linear-gradient(rgba(110, 120, 84, 0.75), rgba(110, 120, 84, 0.45)),
        url("gauche-og.png") center/cover no-repeat;
    color: var(--surface);
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 48px;
    box-shadow: var(--shadow);
    padding: 160px 40px 100px;
}

.hero h1 {
    max-width: 56ch;
    color: var(--surface);
    text-shadow: 0 3px 3px rgba(80, 70, 60, 0.45);
    font-size: 2.4rem;
    font-weight: 700;
    margin-left: auto;
    margin-right: auto;
}

.hero p.lead {
    font-size: 1.12rem;
    line-height: 1.5;
    max-width: 46ch;
    margin: 0.5em auto 1.6em;
    text-shadow: 0 3px 3px rgba(80, 70, 60, 0.45);
    color: var(--surface);
}

.hero .actions {
    matrgin: 0.8em 0 0 0;
}

.hero .actions .download {
    display: inline-block;
    padding: 0.5em 1em;
    margin-right: 0.6em;

    width: 15em;

    background:
        linear-gradient(180deg, rgba(250,230,140,0.6), rgba(250,230,140,0.4));
    border: 1px solid #aaa;
    border-radius: 10px;

    box-shadow: 0 1px 2px rgba(0,0,0,0.1);

    text-decoration: none;
    font-size: 1.2em;
    font-weight: 800;
}

.hero .actions .download .version {
    display: block;
    font-size: 0.8em;
    font-weight: normal;
    //color: #555;
}

.hero .actions .download:hover {
    background: rgba(250,230,140,0.2));
    border-color: #888;
}

.hero .actions .secondary {
    font-size: 0.9em;
}

.hero .actions a  {
    display: inline-block;
    padding: 0.25em 0.6em;
    background: rgba(180, 170, 145, 0.65);
    border: 1px solid #ccc;
    border-radius: 3px;
    text-decoration: none;
    color: inherit;
}

.hero .actions a:hover {
    background: rgba(247, 243, 235, 0.65);
    border-color: #999;
    text-decoration: none;
}


.nontop {
    margin-top: 5em;
}

.actions {
    justify-content: center;
}

.hero .right { display:none; }

.features {
    margin-top: 48px;
    justify-content:center;
}

.features {
    display:flex;
    gap:12px;
    margin-top:18px;
    flex-wrap:wrap;
}

.feature {
    background:var(--surface);
    border-radius:10px;
    padding:12px 14px;
    display:flex;
    align-items:center;
    gap:12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
}

.feature .ico {
    width:38px; height:38px; border-radius:8px;
    display:flex;align-items:center;justify-content:center;
    background: linear-gradient(135deg, rgba(160,90,44,0.08), rgba(124,63,33,0.03));
    color:var(--accent-2);
    font-weight:800;
}

.section {
    margin:28px 0;
    padding:22px;
    background:var(--surface);
    border-radius:12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.04);
    border:1px solid rgba(0,0,0,0.03);
}

.news-list { display:block; }
.news-item {
    padding:14px 10px;
    display:flex;
    gap:1em;
    align-items:flex-start;
    border-bottom:1px dashed rgba(0,0,0,0.04);
}
.news-item:last-child{ border-bottom:none; }
.news-item .news-date {
    flex-shrink: 0;
    width: 9ch;
    text-align: left;
    margin-top: 0.1rem;
    font-family: monospace;
}
.news-item h3{
    margin:0 0 6px 0;
    font-size:1.02rem;
    color: var(--accent);
    text-decoration: none;
}
.news-item p{ margin:0; color:var(--muted); font-size:0.95rem; }

.quick-links {
    display:flex;
    gap:12px;
    margin-top:12px;
    flex-wrap:wrap;
}
.link-card {
    background: linear-gradient(180deg, rgba(160,90,44,0.02), rgba(0,0,0,0.00));
    padding:12px 14px;
    border-radius:10px;
    border:1px solid rgba(0,0,0,0.03);
}

pre {
    background:#f2ece3;
    padding:14px;
    border-radius:8px;
    overflow:auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace;
    color: #3a2b1a;
    border:1px solid rgba(0,0,0,0.04);
}

pre code.taste {
    font-size: 90%;
}a

dt {
    font-weight: bold;
}

dd {
    margin-left: 5ex;
}

footer {
    margin:36px 0 80px 0;
    color:var(--muted);
    font-size:0.95rem;
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
}

.download-option {
    margin-top: 3rem;
}

<!-- Extension packages page -->

.page-header {
    margin-bottom: 2.5rem;
}

.page-intro {
    max-width: 42em;
    color: #555;
}

/* Package list */
.package-list {
    border-top: 1px solid #ddd;
}

/* Individual entry */
.package-entry {
    margin: 1.6rem 0 1.4rem;
    border-bottom: 1px solid #ddd;
}

.package-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.package-name {
    margin: 0;
    font-size: 1.3rem;
}

.package-entry p {
    padding-left: 2em;
}

.package-links {
    margin-left: auto;
    display: flex;
    gap: 0.4rem;
}

.pkg-link-btn {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 0.35rem;

    padding: 0.15rem 0.45rem;
    border: 1px solid #ccc;
    border-radius: 3px;

    font-size: 0.85rem;
    color: #555;
    text-decoration: none;

    background: #f8f8f8;
}

.pkg-link-btn:hover {
    background: #eee;
    border-color: #bbb;
    color: #333;
}

.pkg-link-icon {
    width: 0.9rem;
    height: 0.9rem;
    display: block;
}

.package-description {
    margin: 0.5rem 0 0.5rem;
    color: #444;
}

.package-meta {
    margin: 0 0 1.0rem 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.pkg-sep {
    margin: 0 0.25rem;
}

@media (max-width:900px){
  .hero{ flex-direction:column; align-items:stretch; }
  .hero .right{ width:100%; }
  nav.primary{ display:none; }
}

@media (max-width:560px){
  .brand p{ display:none; }
  .hero h2{ font-size:1.5rem; }
}
