@import url('/fonts/fonts.css');

:root {
  --ground: #D8DFD5;
  --band: #E6EBE3;
  --paper: #EEF2EC;
  --ink: #1F2A24;
  --body: #3D4A42;
  --muted: #55645A;
  --line: #C5CEC1;
  --frame: #1F2A24;
  --display: 'Inclusive Sans', system-ui, -apple-system, sans-serif;
  --text: 'Inclusive Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: #4C5A51; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; }
::selection { background: #BFCBBA; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.topbar { max-width: 1280px; margin: 0 auto; padding: 28px 32px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.logo { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.topnav { display: flex; gap: 26px; font-size: 16px; flex-wrap: wrap; }
.topnav a { text-decoration: none; }
.topnav a:hover { text-decoration: underline; }
.topnav a.lang { color: var(--muted); }

.badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.badges a { display: block; line-height: 0; }
.badges img { height: 40px; width: auto; display: block; }
.links { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 15px; padding-top: 10px; border-top: 1px solid var(--line); }
.links a { color: var(--muted); }
.links a.main { color: var(--ink); font-weight: 600; }

.hero { max-width: 1280px; margin: 0 auto; padding: 16px 32px 32px; display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: baseline; justify-content: space-between; }
.hero h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.02em; }
.hero p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body); max-width: 520px; }

.window { max-width: 1280px; margin: 0 auto; padding: 0 32px 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: start; }
.app { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 24px; }
.tile { height: 500px; display: flex; justify-content: center; align-items: flex-end; padding: 0; }
.tile img { height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 26px; border: 6px solid var(--frame); display: block; }
.app-name { display: flex; gap: 12px; align-items: center; }
.app-name img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.app-name h2 { font-size: 22px; line-height: 1.15; }
.app-name h2 a { text-decoration: none; color: var(--ink); }
.app-name h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.app p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }
.app p.note { font-size: 15px; }

.band { background: var(--band); }
.band .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.band .copy { flex: 1 1 420px; min-width: 0; }
.band h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.06; }
.band p { margin: 22px 0 0; font-size: 18px; line-height: 1.6; color: var(--body); }
.band a.main { font-weight: 600; }
.band .shot { flex: 1 1 560px; min-width: 0; }
.band .shot img { width: 100%; height: auto; border-radius: 12px; border: 10px solid var(--frame); display: block; }

.about { max-width: 1280px; margin: 0 auto; padding: 96px 32px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; scroll-margin-top: 24px; }
.about h2 { grid-column: 1 / -1; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; max-width: 860px; }
.about h3 { font-family: var(--text); font-weight: 600; font-size: 18px; }
.about p { margin: 8px 0 0; font-size: 16px; line-height: 1.65; color: var(--body); }

.contact { max-width: 1280px; margin: 0 auto; padding: 72px 32px 56px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: baseline; scroll-margin-top: 24px; }
.contact h2 { font-size: clamp(28px, 3vw, 40px); }
.contact p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--body); flex: 1 1 420px; max-width: 620px; }
.contact a { font-weight: 600; }

.sitefoot { max-width: 1280px; margin: 0 auto; padding: 24px 32px 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.sitefoot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.sitefoot a { color: var(--muted); }

@media (max-width: 640px) {
  .wrap, .topbar, .hero, .window, .about, .contact, .sitefoot { padding-left: 20px; padding-right: 20px; }
  .tile { height: 480px; }
  .band .wrap { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
}
