:root {
  --paper:#f7f7f2;
  --surface:#fff;
  --ink:#202d2a;
  --muted:#586862;
  --line:#dce2dc;
  --brand:#ad452b;
  --green:#234e40;
  --soft-green:#e8efe8;
  --radius:18px;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Malgun Gothic","Apple SD Gothic Neo",sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none;
  line-height:1.7;
  color-scheme:light
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:28px
}

body {
  margin:0
}

a {
  color:inherit;
  text-underline-offset:4px
}

a:focus-visible {
  outline:3px solid var(--brand);
  outline-offset:5px;
  border-radius:3px
}

button,a {
  -webkit-tap-highlight-color:transparent
}

.wrap {
  width:min(1200px,calc(100% - 64px));
  margin-inline:auto
}

.skip-link {
  position:absolute;
  top:-80px;
  left:24px;
  z-index:2;
  background:var(--ink);
  color:white;
  padding:12px 20px
}

.skip-link:focus {
  top:12px
}

.topbar {
  min-height:100px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-bottom:1px solid var(--line)
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  flex-shrink:0
}

.brand-mark {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  background:var(--brand);
  color:#fff;
  font-size:15px;
  font-weight:800;
  letter-spacing:-.07em;
  border-radius:12px
}

.brand-name {
  font-size:23px;
  font-weight:750;
  letter-spacing:-.045em
}

.topbar-right {
  display:flex;
  align-items:center;
  gap:42px
}

.nav {
  display:flex;
  gap:28px
}

.nav a {
  font-size:14px;
  font-weight:650;
  text-decoration:none
}

.nav a:hover {
  color:var(--brand)
}

.lang-switch {
  display:flex;
  gap:12px;
  font-size:12px;
  letter-spacing:.04em
}

.lang-switch a {
  text-decoration:none;
  color:var(--muted)
}

.lang-switch a[aria-current=page] {
  font-weight:800;
  color:var(--ink)
}

.hero {
  padding:76px 0 72px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 240px;
  align-items:end;
  gap:48px
}

.eyebrow,.section-label,.product-kicker {
  font-size:11px;
  font-weight:750;
  letter-spacing:.13em;
  text-transform:uppercase
}

.eyebrow {
  color:var(--brand);
  margin:0 0 22px
}

h1 {
  font-size:clamp(38px,5.2vw,67px);
  letter-spacing:-.065em;
  line-height:1.22;
  margin:0 0 26px;
  font-weight:760;
  word-break:keep-all
}

h1 span {
  color:var(--green)
}

.hero-copy {
  max-width:620px;
  font-size:17px;
  line-height:1.9;
  color:var(--muted);
  margin:0
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:26px;
  margin-top:28px
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  min-height:48px;
  padding:10px 20px;
  background:var(--green);
  color:white;
  border-radius:7px;
  text-decoration:none;
  font-size:14px;
  font-weight:650
}

.button:hover {
  background:#183c30
}

.text-link {
  font-size:14px;
  font-weight:650;
  text-decoration:none;
  display:inline-flex;
  gap:12px;
  align-items:center
}

.text-link:hover {
  text-decoration:underline
}

.arrow {
  font-size:18px;
  line-height:1
}

.hero-aside {
  border-left:1px solid var(--line);
  padding-left:28px;
  padding-bottom:2px;
  display:grid;
  gap:28px
}

.field-label {
  font-size:11px;
  letter-spacing:.14em;
  color:var(--brand);
  font-weight:700
}

.field-title {
  font-size:17px;
  font-weight:650;
  margin:5px 0 0
}

.field-caption {
  font-size:13px;
  color:var(--muted);
  margin:3px 0 0
}

.products {
  padding:30px 0 72px
}

.section-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:26px
}

.section-label {
  color:var(--muted);
  margin:0 0 7px
}

h2 {
  font-size:31px;
  line-height:1.3;
  letter-spacing:-.045em;
  margin:0;
  font-weight:720
}

.section-summary {
  font-size:14px;
  color:var(--muted);
  max-width:390px;
  margin:0;
  word-break:keep-all
}

.product-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px
}

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

.product-visual {
  height:240px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden
}

.game-visual {
  background:#e9edf2
}

.game-visual::before {
  content:"";
  position:absolute;
  width:390px;
  height:390px;
  border:1px solid #cdd7e1;
  border-radius:50%;
  left:-140px;
  top:-70px
}

.game-visual::after {
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  border:1px solid #cdd7e1;
  border-radius:50%;
  right:-100px;
  bottom:-90px
}

.game-visual img {
  height:212px;
  width:auto;
  max-width:70%;
  object-fit:contain;
  border-radius:14px;
  box-shadow:0 14px 26px #20344720;
  transform:rotate(-5deg);
  position:relative;
  z-index:1
}

.mession-visual {
  background:var(--soft-green);
  gap:21px
}

.mession-symbol {
  display:grid;
  place-items:center;
  width:85px;
  height:85px;
  border-radius:23px;
  background:var(--green);
  color:white;
  font-size:48px;
  font-weight:650;
  letter-spacing:-.08em;
  padding-right:5px
}

.mession-wordmark {
  font-size:31px;
  font-weight:700;
  letter-spacing:-.055em
}

.mession-visual small {
  display:block;
  font-size:12px;
  letter-spacing:.12em;
  color:#4f6c5d;
  margin-top:3px
}

.visual-tag {
  position:absolute;
  left:24px;
  top:20px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.1em;
  color:#56665e
}

.product-body {
  padding:28px 30px 24px;
  display:flex;
  flex-direction:column;
  flex:1
}

.product-topline {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px
}

.product-kicker {
  color:var(--muted);
  font-size:10px
}

.status {
  font-size:11px;
  font-weight:650;
  padding:3px 9px;
  border-radius:20px;
  white-space:nowrap;
  background:#f1f3ee;
  color:#516057
}

.status.development {
  background:#f7eee1;
  color:#795325
}

h3 {
  font-size:25px;
  line-height:1.4;
  letter-spacing:-.035em;
  margin:0;
  font-weight:700
}

.product-subtitle {
  font-size:13px;
  color:var(--muted);
  margin:4px 0 0
}

.product-description {
  font-size:14px;
  color:var(--muted);
  line-height:1.85;
  margin:18px 0 20px;
  word-break:keep-all
}

.product-points {
  display:flex;
  flex-wrap:wrap;
  gap:6px 8px;
  list-style:none;
  padding:0;
  margin:0 0 26px
}

.product-points li {
  font-size:11px;
  padding:4px 9px;
  border:1px solid var(--line);
  border-radius:5px;
  color:#52645c
}

.product-bottom {
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px
}

.product-note {
  font-size:11px;
  color:var(--muted)
}

.about {
  padding:50px 0 64px;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr 1.5fr;
  gap:70px
}

.about-intro {
  font-size:14px;
  color:var(--muted);
  line-height:1.9;
  margin-top:18px;
  max-width:330px;
  word-break:keep-all
}

.principles {
  display:grid;
  gap:0
}

.principle {
  padding:0 0 22px;
  margin:0 0 22px;
  border-bottom:1px solid var(--line);
  display:grid;
  grid-template-columns:40px 1fr;
  gap:14px
}

.principle:last-child {
  border-bottom:0;
  padding-bottom:0;
  margin-bottom:0
}

.principle-number {
  font-size:12px;
  color:var(--brand);
  font-weight:700;
  padding-top:3px
}

.principle h3 {
  font-size:17px;
  letter-spacing:-.025em
}

.principle p {
  font-size:13px;
  line-height:1.85;
  color:var(--muted);
  margin:8px 0 0;
  word-break:keep-all
}

.contact {
  background:var(--green);
  color:#f7faf6;
  padding:36px 40px;
  border-radius:var(--radius);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  margin-bottom:54px
}

.contact .section-label {
  color:#c7d7cb
}

.contact h2 {
  font-size:27px
}

.contact p {
  font-size:13px;
  color:#d3dfd7;
  margin:12px 0 0
}

.contact-link {
  font-size:18px;
  white-space:nowrap;
  text-decoration:none;
  border-bottom:1px solid #97b0a1;
  padding:8px 0;
  display:flex;
  gap:25px;
  align-items:center
}

.contact-link:hover {
  border-color:white
}

.footer {
  padding:30px 0 28px;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px
}

.footer-brand {
  font-size:17px;
  font-weight:700;
  letter-spacing:-.035em
}

.company-info {
  font-size:11px;
  color:var(--muted);
  line-height:1.9;
  margin:10px 0
}

.legal-group {
  justify-self:end
}

.legal-group p {
  font-size:11px;
  font-weight:650;
  margin:0 0 8px
}

.legal-links {
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  font-size:11px;
  color:var(--muted)
}

.legal-links a {
  text-decoration:none
}

.legal-links a:hover {
  text-decoration:underline
}

.copyright {
  font-size:10px;
  color:var(--muted);
  margin:12px 0 0;
  letter-spacing:.03em
}

.product-note,.company-info,.section-summary,.product-description {
  overflow-wrap:anywhere
}

@media(min-width:1400px) {
  .hero {
    padding-top:90px;
    padding-bottom:82px
  }
}

@media(max-width:1000px) {
  .hero {
    grid-template-columns:minmax(0,1fr) 180px;
    gap:26px
  }
  .hero-aside {
    padding-left:20px
  }
  .hero-copy {
    font-size:15px
  }
  .product-body {
    padding:24px
  }
  .product-visual {
    height:220px
  }
  .game-visual img {
    height:194px
  }
  .about {
    gap:40px
  }
  .nav {
    gap:20px
  }
  .topbar-right {
    gap:26px
  }
}

@media(max-width:720px) {
  .wrap {
    width:calc(100% - 40px)
  }
  .topbar {
    min-height:88px;
    flex-wrap:wrap;
    gap:18px;
    padding:20px 0
  }
  .brand-name {
    font-size:21px
  }
  .brand-mark {
    width:36px;
    height:36px;
    border-radius:10px
  }
  .topbar-right {
    gap:20px
  }
  .nav {
    gap:16px
  }
  .nav a {
    font-size:12px
  }
  .lang-switch {
    font-size:11px;
    gap:9px
  }
  .hero {
    padding:48px 0 42px;
    grid-template-columns:1fr;
    gap:32px
  }
  h1 {
    font-size:clamp(34px,7vw,48px);
    letter-spacing:-.06em
  }
  .eyebrow {
    font-size:10px;
    margin-bottom:18px
  }
  .hero-copy {
    font-size:14px
  }
  .hero-aside {
    border-left:0;
    border-top:1px solid var(--line);
    padding:22px 0 0;
    grid-template-columns:1fr 1fr;
    gap:20px
  }
  .field-title {
    font-size:14px
  }
  .field-caption {
    font-size:11px
  }
  .field-label {
    font-size:10px
  }
  .hero-actions {
    gap:24px;
    margin-top:24px
  }
  .products {
    padding:22px 0 44px
  }
  .section-heading {
    display:block;
    margin-bottom:20px
  }
  h2 {
    font-size:27px
  }
  .section-summary {
    font-size:13px;
    margin-top:12px;
    max-width:100%
  }
  .product-grid {
    grid-template-columns:1fr;
    gap:20px
  }
  .product-visual {
    height:220px
  }
  .product-body {
    padding:24px
  }
  .product-description {
    font-size:14px
  }
  .product-bottom {
    align-items:start
  }
  .product-note {
    font-size:10px;
    max-width:115px;
    text-align:right
  }
  .about {
    padding:36px 0 44px;
    grid-template-columns:1fr;
    gap:26px
  }
  .about-intro {
    max-width:100%;
    margin-top:14px
  }
  .principle {
    grid-template-columns:30px 1fr;
    gap:12px
  }
  .contact {
    padding:28px 24px;
    display:block;
    margin-bottom:34px
  }
  .contact h2 {
    font-size:25px
  }
  .contact-link {
    font-size:17px;
    display:inline-flex;
    margin-top:20px
  }
  .footer {
    grid-template-columns:1fr;
    gap:18px;
    padding:25px 0
  }
  .legal-group {
    justify-self:start
  }
  .footer-brand {
    font-size:16px
  }
  .legal-links {
    font-size:11px;
    gap:12px
  }
  .company-info {
    font-size:11px
  }
  .copyright {
    font-size:10px
  }
}

@media(max-width:420px) {
  .topbar {
    gap:15px
  }
  .topbar-right {
    width:100%;
    justify-content:space-between
  }
  .hero {
    padding-top:36px
  }
  h1 {
    font-size:34px
  }
  .hero-actions .text-link {
    font-size:12px
  }
  .button {
    font-size:13px;
    padding-inline:16px
  }
  .product-body {
    padding:22px
  }
  .product-bottom .text-link {
    font-size:13px
  }
  .mession-wordmark {
    font-size:29px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
}

/* Keep navigation usable with touch and keyboard. */
.nav a, .lang-switch a, .legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.lang-switch a {
  justify-content: center;
  min-width: 32px;
}
