:root {
  --ink: #0e1c24;
  --ink-soft: #2a3f4a;
  --muted: #5c717c;
  --paper: #f3f6f4;
  --paper-2: #e7eee9;
  --line: rgba(14, 28, 36, 0.12);
  --accent: #0f6e56;
  --accent-deep: #0a4f3d;
  --warm: #c4a574;
  --hero-glow: #9ec9b8;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(158, 201, 184, 0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(196, 165, 116, 0.18), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, #eef3f0 48%, var(--paper-2) 100%);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-deep);
  text-underline-offset: 0.18em;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(243, 246, 244, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(243, 246, 244, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.75rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
}

.site-header nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  min-height: calc(100svh - 3.75rem);
  padding: 4.5rem 0 5rem;
  overflow: clip;
}

.hero-atmosphere {
  position: absolute;
  inset: 8% 4% auto auto;
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  border-radius: 42% 58% 55% 45%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(145deg, rgba(15, 110, 86, 0.55), rgba(14, 28, 36, 0.85));
  filter: blur(2px);
  opacity: 0.9;
  animation: drift 14s var(--ease) infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from {
    transform: translate(0, 0) rotate(0deg);
  }
  to {
    transform: translate(-18px, 22px) rotate(8deg);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 2.5rem));
  margin-left: max(1.25rem, calc((100% - 1100px) / 2 + 1.25rem));
  margin-right: auto;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-lockup {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--ink);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink-soft);
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-top: 1.75rem;
  align-items: center;
}

.cta-primary,
.cta-secondary {
  text-decoration: none;
  font-weight: 600;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: var(--ink);
  color: #f7faf8;
  border-radius: 0.35rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.cta-primary:hover {
  background: var(--accent-deep);
  color: #f7faf8;
  transform: translateY(-1px);
}

.cta-secondary {
  color: var(--ink-soft);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 1rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1s var(--ease) 0.28s forwards;
}

.ledger-plane {
  width: min(340px, 78%);
  aspect-ratio: 4 / 5;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
  background:
    linear-gradient(165deg, rgba(243, 246, 244, 0.2), rgba(14, 28, 36, 0.08)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      rgba(14, 28, 36, 0.08) 28px
    ),
    linear-gradient(145deg, #12353a, #0e1c24 70%);
  color: #e8f2ec;
  border-radius: 1.25rem 1.25rem 0.35rem 1.25rem;
  box-shadow: 0 28px 60px rgba(14, 28, 36, 0.22);
  transform: rotate(-4deg);
  animation: floaty 7s var(--ease) infinite alternate;
}

@keyframes floaty {
  from {
    transform: rotate(-4deg) translateY(0);
  }
  to {
    transform: rotate(-2deg) translateY(-10px);
  }
}

.plane-label {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--hero-glow);
}

.plane-rule {
  display: block;
  height: 1px;
  width: 100%;
  background: rgba(232, 242, 236, 0.28);
  margin: 0.25rem 0 0.5rem;
}

.plane-line {
  font-size: 1.05rem;
  font-weight: 600;
}

.plane-line.muted {
  color: rgba(232, 242, 236, 0.62);
  font-weight: 500;
  font-size: 0.95rem;
}

.products {
  padding: 5.5rem 0 4.5rem;
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.products h2,
.contact h2 {
  margin: 0.6rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-lede {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.75rem;
}

.product-grid.single {
  grid-template-columns: 1fr;
  max-width: 36rem;
}

.locale-switch {
  display: inline-flex;
  gap: 0.55rem;
  margin-left: 0.35rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
}

.locale-switch a[aria-current="page"] {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}

.gate {
  min-height: 100svh;
  display: grid;
  place-items: center;
}

.gate-main {
  width: min(560px, calc(100% - 2.5rem));
  padding: 3rem 0;
}

.gate-brand {
  font-size: clamp(2.4rem, 6vw, 3.6rem) !important;
  margin-bottom: 1rem !important;
}

.gate h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
}

.gate .lede {
  margin-top: 0.85rem;
}

.gate .ja-note {
  margin-top: 0.35rem;
  font-size: 0.98rem;
}

.gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.gate-jp {
  background: var(--accent-deep);
}

.gate-jp:hover {
  background: var(--accent);
}

.product {
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.product-region {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
}

.product h3 {
  margin: 0.55rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.product p {
  margin: 0;
  color: var(--ink-soft);
}

.product ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.product li + li {
  margin-top: 0.35rem;
}

.status {
  margin-top: 1.25rem !important;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-deep) !important;
}

.contact {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--line);
}

.contact-inner {
  max-width: 40rem;
}

.contact p {
  color: var(--muted);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-links a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-inner a {
  text-decoration: none;
}

.fineprint {
  margin: 0;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 3rem 0 3.5rem;
    gap: 2.5rem;
  }

  .hero-copy {
    margin-inline: auto;
    width: min(1100px, calc(100% - 2.5rem));
  }

  .hero-atmosphere {
    width: 70vw;
    height: 70vw;
    inset: auto  -10% 35% auto;
    opacity: 0.55;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ledger-plane {
    width: min(280px, 70%);
  }
}

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

  .hero-atmosphere,
  .ledger-plane,
  .hero-copy,
  .hero-visual {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
