/* AbeFlutter company landing */
:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1c1c28;
  --text-muted: #5c5c74;
  --border: #e4e2dc;
  --accent: #3a3a5c;
  --accent-soft: #f0efeb;
  --radius: 6px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 2px;
}

a:hover {
  color: var(--text);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1rem;
  font-size: 0.88rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.3rem 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav__lang {
  margin-left: 0.25rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.hero {
  padding: 2.75rem 0 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero__title {
  margin: 0 0 0.6rem;
  font-size: 1.55rem;
  line-height: 1.35;
  font-weight: 700;
}

.hero__lead {
  margin: 0;
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.section {
  padding: 2.5rem 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section__title {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.app-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.app-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.1rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.app-card:last-child {
  border-bottom: none;
}

.app-card:hover {
  background: var(--accent-soft);
  color: inherit;
}

.app-card:active {
  background: #e8e6e0;
}

.app-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border);
  object-fit: cover;
  background: var(--bg);
}

.app-card__name {
  margin: 0 0 0.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.app-card__desc {
  margin: 0 0 0.15rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.app-card__meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.app-card__arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1;
}

.meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.meta-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.meta-list li:last-child {
  border-bottom: none;
}

.meta-list__label {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.meta-list a {
  word-break: break-all;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 560px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0;
    min-height: 0;
  }

  .nav__lang {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  .meta-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
