/* luongpv.com: the developer's home page. Same colours as the Japan Life site; no scripts, no cookies, no web fonts. */
:root {
  --background: #F3F4F1;
  --card: #FFFFFF;
  --ink: #1C2420;
  --muted: #6A746E;
  --line: #E2E5E0;
  --brand: #1F7A5A;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #111513;
    --card: #1B211E;
    --ink: #E8EEEA;
    --muted: #9AA59F;
    --line: #2C3430;
    --brand: #3FA67F;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 16px/1.7 system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Segoe UI", Roboto, sans-serif;
}
a { color: var(--brand); text-underline-offset: 2px; }
main { max-width: 640px; margin: 0 auto; padding: 0 16px 40px; }
.hero {
  min-height: 34vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 72px 0 8px;
}
.hero h1 {
  margin: 0; font-size: clamp(44px, 12vw, 76px); line-height: 1; font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em; margin-right: -.14em; /* letter-spacing adds space after the last letter */
}
.hero h1::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 2px;
  background: var(--brand); margin: 22px auto 0;
}
.tagline { color: var(--muted); margin: 22px 0 0; font-size: 15px; line-height: 1.9; }
.tagline .main { color: var(--ink); font-size: 17px; word-break: keep-all; /* Japanese: break only at the spaces */ }
.tagline { text-wrap: balance; }
h2 {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  text-align: center; margin: 48px 0 14px;
}
.app {
  display: flex; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 18px; text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.app:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 12px 32px rgba(0,0,0,.08); }
.app img { width: 68px; height: 68px; border-radius: 16px; flex: none; }
.app strong { display: block; font-size: 19px; }
.app span { color: var(--muted); font-size: 15px; line-height: 1.6; }
.app .arrow { margin-left: auto; color: var(--brand); font-size: 22px; flex: none; }
.contact { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 6px 18px; }
.lang { margin: 0; padding: 10px 0; }
.lang + .lang { border-top: 1px solid var(--line); }
.lang b { display: inline-block; min-width: 4em; color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: .06em; }
footer { max-width: 640px; margin: 0 auto; padding: 8px 16px 48px; color: var(--muted); font-size: 13px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .app { transition: none; } .app:hover { transform: none; } }
.name { white-space: nowrap; }
