/* Generated by tools/chrome.mjs — edit there, not here. */
/* =====================================================================
   SITE CHROME — header and footer, shared by every page of the site.
   Generated from tools/chrome.mjs: inlined into the home, written to
   /chrome.css for the blog, the landing pages and the standalone pages.
===================================================================== */
:root {
    --ink: #1E1417; --ink-2: #5D5250; --ink-3: #776C6A;
    --line: rgba(30, 20, 23, .08); --line-2: rgba(30, 20, 23, .14);
    --card: #FFFFFF; --bg-sand: #F6F1EA;
    --brand: #F45734; --brand-ink: #D2401F;
    --grad-brand: linear-gradient(100deg, #EE3F1C 0%, #F6652C 42%, #FF9E1F 100%);
    --shadow-md: 0 2px 6px rgba(70, 30, 10, .05), 0 18px 44px -18px rgba(70, 30, 10, .22);
    --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --wrap: 1180px;
    --gutter: clamp(16px, 4.5vw, 40px);
    --ease: cubic-bezier(.22, 1, .36, 1);
}
:lang(ar) { --font-display: 'IBM Plex Sans Arabic', -apple-system, 'Segoe UI', sans-serif; --font-body: 'IBM Plex Sans Arabic', -apple-system, 'Segoe UI', sans-serif; }
:lang(ja) { --font-display: 'Inter Tight', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif; --font-body: 'Inter', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif; }
:lang(zh-Hans) { --font-display: 'Inter Tight', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif; --font-body: 'Inter', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif; }
:lang(ko) { --font-display: 'Inter Tight', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif; --font-body: 'Inter', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif; }
:where(.nav, .nav *, .foot, .foot *) { box-sizing: border-box; }
.nav { font-family: var(--font-body); line-height: 1.55; }
:where(.nav) ul { margin: 0; padding: 0; }
@keyframes chrome-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   NAV — a floating pill
===================================================================== */
.nav {
    position: fixed; top: 12px; inset-inline: 0; z-index: 100;
    padding-inline: var(--gutter);
    pointer-events: none;
}
.nav-inner {
    pointer-events: auto;
    position: relative;
    max-width: 1120px; margin-inline: auto;
    height: 62px;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding-inline: 10px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .74);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px -18px rgba(70, 30, 10, .3);
    transition: background .3s, box-shadow .3s;
}
.nav.scrolled .nav-inner { background: rgba(255, 255, 255, .9); box-shadow: 0 14px 40px -18px rgba(70, 30, 10, .35); }
.logo {
    display: flex; align-items: center; gap: .6rem;
    text-decoration: none; color: var(--ink);
    font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em;
    padding-inline-end: .4rem;
}
.logo img { width: 40px; height: 40px; border-radius: 12px; }
.nav-links { display: flex; align-items: center; gap: .2rem; list-style: none; }
.nav-links a {
    display: block; padding: .55rem .85rem; border-radius: 999px;
    text-decoration: none; color: var(--ink-2);
    font-size: .9rem; font-weight: 550;
    transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(30, 20, 23, .05); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(30, 20, 23, .06); }
.nav-right { display: flex; align-items: center; gap: .4rem; }
.nav-cta {
    display: inline-flex; align-items: center; gap: .4rem;
    height: 44px; padding: 0 1.15rem;
    border-radius: 999px; text-decoration: none;
    background: var(--grad-brand); color: #fff;
    font-weight: 700; font-size: .9rem;
    box-shadow: 0 8px 20px -8px rgba(238, 63, 28, .6);
    transition: transform .25s var(--ease), box-shadow .25s;
    white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(238, 63, 28, .7); }
.nav-cta-menu { display: none; }

.icon-btn {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--card);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--ink);
}
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-bars { display: none; }
.nav-toggle.open .icon-close { display: block; }

/* Language picker */
.lang-picker { position: relative; }
.lang-btn {
    display: inline-flex; align-items: center; gap: .35rem;
    height: 44px; padding: 0 .8rem;
    border-radius: 999px; border: 1px solid var(--line); background: var(--card);
    cursor: pointer; font-size: .8rem; font-weight: 650; letter-spacing: .03em;
    white-space: nowrap;
}
.lang-btn .lang-flag { font-size: 1rem; line-height: 1; }
.lang-btn .lang-chevron { width: 12px; height: 12px; opacity: .5; transition: transform .2s; }
.lang-picker.open .lang-chevron { transform: rotate(180deg); }
.lang-dropdown {
    position: absolute; top: calc(100% + 10px); inset-inline-end: 0;
    min-width: 180px; padding: 6px;
    background: var(--card); border: 1px solid var(--line);
    border-radius: 18px; box-shadow: var(--shadow-md);
    opacity: 0; pointer-events: none;
    transform: translateY(-6px) scale(.98); transform-origin: top right;
    transition: opacity .2s, transform .2s var(--ease);
    max-height: calc(100vh - 6rem); overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; z-index: 5;
}
.lang-picker.open .lang-dropdown { opacity: 1; pointer-events: auto; transform: none; }
.lang-option {
    display: flex; align-items: center; gap: .7rem;
    padding: .55rem .75rem; border-radius: 12px;
    font-size: .88rem; font-weight: 500; text-decoration: none; color: var(--ink);
}
.lang-option:hover { background: var(--bg-sand); }
.lang-option.active { color: var(--brand-ink); font-weight: 650; }
.lang-option .lo-name { flex: 1; }
.lang-option .lo-check { width: 16px; height: 16px; opacity: 0; color: var(--brand-ink); }
.lang-option.active .lo-check { opacity: 1; }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .nav-links {
        display: none;
        position: absolute; top: calc(100% + 10px); inset-inline: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: .5rem;
        background: var(--card); border: 1px solid var(--line);
        border-radius: 24px; box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: .95rem 1rem; font-size: 1.02rem; border-radius: 14px; color: var(--ink); }
    .nav-cta-menu { display: block; margin-top: .35rem; }
    .nav-cta-menu .nav-cta { width: 100%; justify-content: center; height: 52px; font-size: 1rem; }
}
@media (max-width: 520px) {
    .nav-inner { height: 58px; padding-inline: 8px 6px; }
    .logo img { width: 36px; height: 36px; }
    .nav-right > .nav-cta { display: none; }
    .lang-btn .lang-code { display: none; }
}

/* =====================================================================
   FOOTER — the sign-off: the mascot, the name, the stores, then the
   links in one line and the small print under a hairline
===================================================================== */
.foot { background: var(--bg-sand); padding: clamp(52px, 6vw, 76px) 0 0; text-align: center; font-family: var(--font-body); line-height: 1.55; }
.foot-in { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
:where(.foot) ul { list-style: none; margin: 0; padding: 0; }
.foot-name { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.035em; }
.foot-name img { width: 44px; height: 44px; border-radius: 12px; }
.foot-tag { color: var(--ink-2); font-size: 1rem; max-width: 30rem; margin: .7rem auto 0; text-wrap: balance; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.6rem; list-style: none; margin: clamp(2.2rem, 4vw, 3rem) auto 0; max-width: 860px; }
.foot-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .35rem 0; border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s; }
.foot-nav a:hover { color: var(--brand-ink); border-color: currentColor; }
.foot-base {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem 1.5rem;
    margin-top: clamp(2.4rem, 4vw, 3.2rem); padding: 1.4rem 0 1.8rem;
    border-top: 1px solid var(--line-2); color: var(--ink-3); font-size: .85rem; text-align: start;
}
.foot-base > :first-child { justify-self: start; }
.foot-base > :last-child { justify-self: end; }
.foot-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.foot-legal a { color: var(--ink-3); text-decoration: none; }
.foot-legal a:hover { color: var(--ink); text-decoration: underline; }
.foot-social { display: flex; gap: .5rem; }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--ink); border: 1px solid var(--line); transition: transform .2s var(--ease), background .2s, color .2s; }
.foot-social a:hover { transform: translateY(-2px); background: var(--ink); color: #fff; }
.foot-social svg { width: 17px; height: 17px; display: block; }
@media (max-width: 700px) {
    .foot-base { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
    .foot-base > :first-child, .foot-base > :last-child { justify-self: center; }
    .foot-legal { justify-content: center; }
}

/* Language suggestion — a suggestion only: it never redirects. */
.lang-suggest {
    position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 200;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px 10px 16px; border-radius: 16px;
    background: var(--card); border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    font-size: .88rem; font-weight: 600;
    animation: chrome-in .3s var(--ease);
}
.lang-suggest a { color: var(--brand-ink); text-decoration: none; }
.lang-suggest a:hover { text-decoration: underline; }
.lang-suggest-close { border: 0; background: none; cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--ink-3); padding: 0 4px; }
