:root {
  --red: #a4484e;
  --red-dark: #7f3439;
  --red-soft: #f5e9e8;
  --brand-mark-red: #c43b34;
  --brand-mark-ink: #27313d;
  --navy: #27313d;
  --ink: #292624;
  --muted: #6c6864;
  --line: #e5e1dc;
  --surface: #fbfaf8;
  --surface-soft: #f4f2ef;
  --max-width: 1160px;
  --shadow: 0 16px 42px rgba(48, 42, 38, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 1rem; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
h1, h2, h3, p, li, dt, dd { overflow-wrap: anywhere; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(164,72,78,.38); outline-offset: 4px; border-radius: 4px; }
.container { width: min(calc(100% - 2rem), var(--max-width)); margin-inline: auto; }
.narrow { max-width: 800px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 0.5rem; left: 0.5rem; padding: 0.7rem 1rem; color: #fff; background: var(--red-dark); transform: translateY(-150%); transition: transform 0.2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid transparent; background: rgba(251,250,248,0.94); backdrop-filter: blur(16px); transition: box-shadow 0.2s, border-color 0.2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px rgba(48,42,38,.04); }
.header-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); font-size: 1.04rem; font-weight: 750; letter-spacing: 0.02em; text-decoration: none; }
.brand-mark { position: relative; width: 1.75rem; height: 1.75rem; display: block; flex: 0 0 auto; }
.brand-mark::before { content: ""; position: absolute; z-index: 1; left: .18rem; bottom: .08rem; width: .29rem; height: .29rem; border-radius: 1.5px; background: var(--brand-mark-red); }
.brand-mark > span { position: absolute; left: .18rem; top: .08rem; width: 1.42rem; height: 1.42rem; border-top: 1px solid var(--brand-mark-ink); border-right: 1px solid var(--brand-mark-ink); }
.brand-mark > span::before, .brand-mark > span::after { content: ""; position: absolute; background: var(--brand-mark-ink); }
.brand-mark > span::before { left: -1px; top: -1px; width: 1px; height: 66%; }
.brand-mark > span::after { right: -1px; bottom: -1px; width: 55%; height: 1px; }
.menu-button { width: 2.75rem; height: 2.75rem; padding: 0.65rem; display: grid; align-content: center; gap: 5px; border: 0; border-radius: 10px; color: var(--ink); background: transparent; cursor: pointer; }
.menu-button span:not(.sr-only) { display: block; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }.menu-button[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }.menu-button[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav { position: absolute; top: 100%; left: 1rem; right: 1rem; display: grid; padding: .5rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.js .primary-nav { display: none; }.js .primary-nav.is-open { display: grid; }
.primary-nav a { padding: .75rem 1rem; border-radius: 9px; font-size: .9rem; font-weight: 650; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--red-dark); background: var(--red-soft); }
.language-control { position: relative; min-height: 2.75rem; display: inline-flex; align-items: center; border: 1px solid #d9d4ce; border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.72); overflow-anchor: none; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.language-control:hover, .language-control.is-open { border-color: #c8c1ba; background: #fff; }
.language-control:focus-within { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(164,72,78,.16); }
.language-control.is-open { z-index: 30; }
.language-icon { position: absolute; z-index: 1; top: 50%; inset-inline-start: .8rem; width: 1rem; height: 1rem; border: 1.25px solid currentColor; border-radius: 50%; color: var(--red-dark); pointer-events: none; transform: translateY(-50%); }
.language-icon::before { content: ""; position: absolute; inset: 2px 4px; border-inline: 1px solid currentColor; border-radius: 50%; }
.language-icon::after { content: ""; position: absolute; top: 50%; right: 2px; left: 2px; border-top: 1px solid currentColor; transform: translateY(-50%); }
.language-button { width: 11.5rem; min-height: 2.75rem; padding: .55rem 2rem .55rem 2.35rem; display: flex; align-items: center; border: 0; border-radius: inherit; outline: 0; color: var(--ink); background: transparent; font-family: inherit; font-size: .76rem; font-weight: 650; line-height: 1.3; text-align: start; cursor: pointer; }
.language-button:focus, .language-button:focus-visible { outline: 0; }
.language-control::after { content: ""; position: absolute; top: 50%; inset-inline-end: .9rem; width: .4rem; height: .4rem; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; color: var(--muted); pointer-events: none; transform: translateY(-70%) rotate(45deg); transition: transform .16s ease; }
.language-control.is-open::after { transform: translateY(-25%) rotate(225deg); }
.language-options { position: absolute; z-index: 40; top: calc(100% + .45rem); inset-inline-end: 0; width: max(100%, 13rem); max-height: min(21rem, 50dvh); margin: 0; padding: .35rem; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; box-shadow: 0 16px 38px rgba(48,42,38,.14); list-style: none; text-align: start; scrollbar-gutter: stable; }
.language-options[hidden] { display: none; }
.language-options.opens-up { top: auto; bottom: calc(100% + .45rem); }
.language-options [role="option"] { position: relative; min-height: 2.2rem; padding: .42rem 2rem .42rem .72rem; display: flex; align-items: center; border-radius: 8px; font-size: .78rem; font-weight: 550; line-height: 1.35; cursor: pointer; }
.language-options [role="option"]:hover, .language-options [role="option"]:focus-visible { outline: 0; color: var(--red-dark); background: var(--red-soft); }
.language-options [role="option"][aria-selected="true"] { color: var(--red-dark); background: var(--red-soft); font-weight: 700; }
.language-options [role="option"][aria-selected="true"]::after { content: ""; position: absolute; inset-inline-end: .82rem; width: .38rem; height: .38rem; border-radius: 50%; background: var(--red); }
.primary-nav .language-control { justify-self: start; margin: .35rem .5rem .25rem; }
.language-control-centered { width: max-content; max-width: 100%; margin: -1.5rem auto 2rem; }
html:not(.js) .header-inner { padding-block: .65rem; flex-wrap: wrap; } html:not(.js) .menu-button { display: none; } html:not(.js) .primary-nav { position: static; width: 100%; display: flex; margin-top: .4rem; padding: 0; overflow-x: auto; border: 0; box-shadow: none; }

.hero { position: relative; min-height: min(740px, calc(100svh - 4.75rem)); display: grid; align-items: center; padding: 5.5rem 0 4.5rem; overflow: hidden; background: var(--surface); }
.hero-grid { display: grid; gap: 4rem; align-items: center; }
.eyebrow { margin: 0 0 1rem; color: var(--red-dark); font-size: .75rem; font-weight: 750; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.35; letter-spacing: -.035em; }
.hero h1 { margin-bottom: 1.5rem; color: var(--ink); font-size: clamp(2.15rem, 5.5vw, 4rem); font-weight: 720; }
.hero h1 em { color: inherit; font-style: normal; }
.hero-lead { max-width: 38rem; margin: 0; color: var(--muted); font-size: 1.04rem; }
.button-row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.button { min-height: 3rem; padding: .65rem 1.1rem; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; border: 1px solid transparent; border-radius: 8px; font-size: .9rem; font-weight: 700; text-decoration: none; transition: background .18s, border-color .18s, color .18s; }
.button-primary { color: #fff; background: var(--red); }.button-primary:hover { background: var(--red-dark); }.button-secondary { border-color: var(--line); background: rgba(255,255,255,.68); }.button-secondary:hover { border-color: #cfc9c3; background: #fff; }
.hero-visual { min-height: 250px; display: grid; place-items: center; }
.hero-mark { position: relative; width: clamp(8.75rem, 32vw, 11rem); aspect-ratio: 142 / 160; }
.hero-mark-frame { position: absolute; inset: 0 0 auto; height: 90.625%; border-top: 4px solid var(--brand-mark-ink); border-right: 4px solid var(--brand-mark-ink); }
.hero-mark-frame::before, .hero-mark-frame::after { content: ""; position: absolute; background: var(--brand-mark-ink); }
.hero-mark-frame::before { left: -4px; top: -4px; width: 4px; height: 66%; }
.hero-mark-frame::after { right: -4px; bottom: -4px; width: 55%; height: 4px; }
.hero-mark-square { position: absolute; z-index: 1; left: 0; bottom: 0; width: 20.5%; aspect-ratio: 1; border-radius: 3px; background: var(--brand-mark-red); animation: hero-square-drift 7.2s cubic-bezier(.45,0,.55,1) infinite; will-change: transform; }
@keyframes hero-square-drift { 0%, 18%, 100% { transform: translate3d(0,0,0); } 48%, 70% { transform: translate3d(4px,-1px,0); } }

.brand-intro { padding: 3.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.intro-grid { display: grid; gap: 1rem; }.intro-grid .eyebrow { margin: .35rem 0 0; }.intro-grid h2 { max-width: 41em; margin: 0; font-size: clamp(1.15rem, 3.4vw, 1.65rem); font-weight: 630; line-height: 1.8; letter-spacing: -.02em; }

.section { padding: 5.5rem 0; }.apps-section { background: var(--surface-soft); }.section-heading { margin-bottom: 2.5rem; display: grid; gap: 1rem; }.section-heading h2, .about-intro h2, .developer-copy h2 { margin-bottom: 0; font-size: clamp(2rem, 6vw, 3.4rem); }.section-heading > p { max-width: 32rem; margin: 0; color: var(--muted); }
.app-grid { display: grid; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.app-card { padding: 1.6rem 0; display: grid; grid-template-columns: 3.5rem minmax(0,1fr); gap: 1rem; border-bottom: 1px solid var(--line); background: transparent; transition: background .18s; }.app-card:last-child { border-bottom: 0; }.app-card:hover { background: rgba(255,255,255,.42); }
.app-icon { width: 3.5rem; height: 3.5rem; display: block; border: 1px solid rgba(41,38,36,.08); border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(48,42,38,.08); object-fit: cover; }.app-card-body { min-width: 0; }.app-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }.app-title-row h3 { margin-bottom: .45rem; font-size: 1.45rem; }.status { flex: none; padding: .2rem .52rem; border: 1px solid #ddc5c5; border-radius: 999px; color: var(--red-dark); background: var(--red-soft); font-size: .73rem; font-weight: 750; line-height: 1.5; }.status[data-status="paused"] { border-color: #d8d3cd; color: var(--muted); background: #efede9; }.app-description { min-height: 0; margin: 0 0 1.15rem; color: var(--muted); font-size: .92rem; }.app-meta { margin: 0 0 1.2rem; display: grid; gap: .55rem; }.app-meta div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .42rem; border-bottom: 1px solid rgba(108,104,100,.14); }.app-meta dt { color: var(--muted); font-size: .8rem; }.app-meta dd { margin: 0; font-size: .84rem; font-weight: 650; text-align: right; }.text-link { color: var(--red-dark); font-size: .86rem; font-weight: 750; text-decoration: none; }.text-link:hover { text-decoration: underline; }

.about-grid { display: grid; gap: 3rem; }.about-copy > p { margin: 0 0 1.35rem; color: var(--muted); font-size: 1.02rem; }.principles { margin: 2rem 0 0; padding: 0; list-style: none; }.principles li { padding: .85rem 0; display: flex; align-items: center; gap: 1rem; border-top: 1px solid var(--line); font-weight: 650; }.principles li:last-child { border-bottom: 1px solid var(--line); }.principles span { color: var(--red); font-size: .72rem; }
.developer-section { padding-top: 0; }.developer-card { padding: 2rem; display: grid; gap: 1.5rem; align-items: center; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.58); }.developer-avatar { width: 4.5rem; height: 4.5rem; display: block; border: 1px solid rgba(41,38,36,.08); border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(48,42,38,.08); object-fit: cover; }.developer-copy p:last-child { max-width: 35rem; margin: .6rem 0 0; color: var(--muted); }.developer-links { display: grid; justify-items: start; gap: .8rem; }

.site-footer { padding: 3.5rem 0 1.5rem; border-top: 1px solid var(--line); background: var(--surface-soft); }.footer-main { display: grid; gap: 2rem; }.footer-main nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem 1rem; }.footer-main nav a { color: var(--muted); font-size: .82rem; text-decoration: none; }.footer-main nav a:hover { color: var(--red-dark); }.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; display: flex; flex-direction: column; gap: .2rem; border-top: 1px solid var(--line); color: var(--muted); }

.subpage-main { background: linear-gradient(180deg, var(--surface-soft) 0, var(--surface) 22rem); }.page-hero { padding: 5rem 0 3rem; }.page-hero h1 { margin-bottom: 1rem; font-size: clamp(2.4rem, 9vw, 4rem); }.page-hero > div > p:not(.eyebrow):not(.updated) { max-width: 38rem; color: var(--muted); }.updated { margin-top: 1.5rem; color: var(--muted); font-size: .8rem; }.policy-content > section { margin-bottom: 3rem; }.policy-content h2 { padding-bottom: .65rem; border-bottom: 1px solid var(--line); font-size: 1.25rem; }.policy-content p, .policy-content li { color: var(--muted); }.policy-content a { color: var(--red-dark); }.policy-links { padding-left: 1.3rem; }.policy-links li { margin-bottom: .4rem; }
.error-page { min-height: 100svh; background: var(--surface-soft); }.error-main { min-height: 100svh; display: grid; place-items: center; padding: 2rem; text-align: center; }.error-content { max-width: 34rem; }.error-content .brand { margin-bottom: 3rem; }.error-code { margin: 0; color: #e3e7eb; font-size: clamp(6rem, 30vw, 12rem); font-weight: 850; letter-spacing: -.09em; line-height: .8; }.error-content h1 { margin: 1.5rem 0 .5rem; font-size: clamp(1.8rem, 7vw, 2.8rem); }.error-content > p:not(.error-code) { margin-bottom: 2rem; color: var(--muted); }

.reveal { opacity: 1; }
.js.reveal-ready .reveal { opacity: 0; transition: opacity .42s ease; }.js.reveal-ready .reveal.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .hero-mark-square { animation: none !important; transform: none; will-change: auto; } .js.reveal-ready .reveal { opacity: 1; } }

@media (min-width: 640px) {
  .container { width: min(calc(100% - 3rem), var(--max-width)); }.hero { padding-block: 6rem; }.hero-visual { min-height: 310px; }.brand-intro { padding-block: 4.5rem; }.intro-grid { grid-template-columns: .45fr 1.55fr; gap: 3rem; }.section-heading { grid-template-columns: 1fr 1fr; align-items: end; }.about-grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; }.developer-card { grid-template-columns: auto 1fr; }.developer-links { grid-column: 2; }.footer-main { grid-template-columns: 1fr 1.5fr; align-items: start; }.footer-main nav { grid-template-columns: repeat(3, minmax(0,1fr)); }.footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 860px) {
  .developer-card { grid-template-columns: auto 1fr auto; gap: 2.5rem; }.developer-links { grid-column: auto; justify-items: end; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0,1.08fr) minmax(340px,.92fr); gap: 4.5rem; }.hero-visual { min-height: 400px; }
  .footer-main nav { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
  .app-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.app-card { grid-template-columns: 1fr; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 0; }.app-card:last-child { border-right: 0; }.app-description { min-height: 5em; }
}

/* Multilingual layout safeguards */
.app-title-row { flex-wrap: wrap; }
.app-meta div { flex-wrap: wrap; gap: .35rem 1rem; }
.app-meta dd { text-align: end; }
.principles li > span:first-child { flex: none; color: var(--red); font-size: .72rem; }
.principles li > span:last-child { min-width: 0; color: inherit; font-size: inherit; }
.policy-content h2 { overflow-wrap: anywhere; }

@media (min-width: 1024px) {
  .menu-button { display: none; }
  .primary-nav, .js .primary-nav { position: static; display: flex; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .primary-nav a { padding: .45rem .65rem; }
  .primary-nav, .js .primary-nav { align-items: center; }
  .primary-nav .language-control { margin: 0 0 0 .35rem; }
}

@media (max-width: 380px) {
  .app-meta div { display: grid; justify-content: stretch; }
  .app-meta dd { text-align: start; }
  .footer-main nav { grid-template-columns: 1fr; }
  .language-button { width: 11.5rem; }
}

@media (forced-colors: active) {
  .brand-mark, .hero-mark { forced-color-adjust: none; }
  .brand-mark::before, .hero-mark-square { background: Highlight; box-shadow: none; }
  .brand-mark > span, .hero-mark-frame { border-color: CanvasText; }
  .brand-mark > span::before, .brand-mark > span::after, .hero-mark-frame::before, .hero-mark-frame::after { background: CanvasText; }
  .language-control { border-color: ButtonText; background: Canvas; }
  .language-control:focus-within { outline: 2px solid Highlight; outline-offset: 2px; box-shadow: none; }
  .language-icon, .language-control::after { color: ButtonText; }
  .language-options { border-color: ButtonText; background: Canvas; }
  .language-options [role="option"][aria-selected="true"] { border: 1px solid Highlight; color: HighlightText; background: Highlight; }
}

html[lang="de"] .hero h1,
html[lang="vi"] .hero h1,
html[lang="id"] .hero h1 { letter-spacing: -.045em; }
