:root {
  --ink: #17181c;
  --muted: #5c5f68;
  --paper: #faf8f4;
  --line: #e6e1d6;
  --card-bg: #ffffff;

  --growit: #3255bf;
  --wagon: #ff8a00;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Pixelify Sans", "DotGothic16", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #12254b;
  line-height: 1.6;
}

:lang(ja) {
  font-family: "DotGothic16", "Pixelify Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: #ff8a00;
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  padding: 2rem 0 0;
  background: linear-gradient(90deg, var(--wagon) 0%, var(--wagon) 50%, var(--growit) 50%, var(--growit) 100%);
  background-size: 100% 4px;
  background-repeat: no-repeat;
  background-position: top;
}

.header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: block;
  margin-top: 1.25rem;
  height: 28px;
  width: auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2rem;
  padding: 0 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.language-link:hover {
  border-color: var(--growit);
  color: var(--growit);
  transform: translateY(-1px);
}

.language-link.is-active {
  border-color: var(--growit);
  color: var(--growit);
  background: #f3f8ff;
}

.intro {
  padding: 3.5rem 0 2.5rem;
  background: #12254b;
  color: #fff;
}

.intro .wrap {
  text-align: center;
}

.intro-visual {
  margin: 0 auto 1.5rem;
  max-width: 460px;
}

.intro-visual img {
  display: block;
  width: min(100%, 460px);
  height: auto;
  margin: 0 auto;
}

.intro h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: #fff;
}

.lede {
  max-width: 60ch;
  color: #fff;
  font-size: 1.15rem;
  margin: 0 auto;
}

/*
 * Once keep-all is active, you can embed invisible preferred wrap hints using
 * either HTML or Unicode elements:
 *
 * <wbr> (HTML Word Break Element): The cleanest, semantic choice. It creates
 * an invisible boundary that allows a line break only if the phrase cannot fit
 * on the current line.
 *
 * U+200B (Zero-Width Space / &#8203;): Functions identically to <wbr>. It is
 * completely invisible but serves as a valid wrap boundary.
 *
 * If you want the text to wrap normally by default but need to keep specific
 * multi-character words or phrases (like brand names or idioms) completely
 * unbroken, use U+2060 (Word Joiner).
 */
:lang(ja) .intro h1,
:lang(ja) .lede {
  word-break: keep-all; /* Prevents wrapping between normal CJK characters */
  overflow-wrap: break-word; /* Fallback to prevent layout overflow on tiny screens */
}

.brands {
  padding-bottom: 3.5rem;
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .brand-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.brand-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--line);
  border-top: 4px solid transparent;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.04);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.brand-card:hover {
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.08);
  transform: translateY(-2px);
}

.avatar {
  float: right;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 1.25rem;
}

.brand-content {
  overflow: hidden;
  flex-grow: 1;
  margin-bottom: 1.75rem;
}

.brand-growit {
  border-top-color: var(--growit);
}

.brand-wagon {
  border-top-color: var(--wagon);
}

.brand-card .tagline {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand-growit .tagline {
  color: var(--growit);
}

.brand-wagon .tagline {
  color: var(--wagon);
}

.brand-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.brand-card .description {
  margin: 0;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.9;
}

.brand-growit .btn {
  background: var(--growit);
}

.brand-wagon .btn {
  background: var(--wagon);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: #fff;
  font-size: 0.9rem;

}

.site-footer a {
  color: inherit;
}
