﻿:root {
  --bf-green: #92d050;
  --bf-green-deep: #6fad2e;
  --bf-green-dark: #4f8218;
  --bf-ink: #121a0f;
  --bf-navy: #1a2a14;
  --bf-orange: #ff7a31;
  --bf-sky: #f3f9e8;
  --up: #5ea016;
  --down: #e14b3c;
  --text: #1a2414;
  --muted: #5f6d55;
  --line: #dde8cf;
  --surface: #ffffff;
  --radius: 20px;
  --font: "Outfit", "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #f5f9f0;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: rgba(245, 249, 240, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 42, 20, 0.06);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo-text {
  font-size: 1.25rem;
  color: var(--bf-ink);
}

.nav-desktop {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-desktop a:hover {
  color: var(--bf-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-quiet {
  color: var(--muted);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bf-green), var(--bf-green-deep));
  color: var(--bf-ink);
  font-weight: 700;
  border: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.05rem;
}

.btn-ghost {
  background: transparent;
  color: var(--bf-ink);
  border: 1px solid rgba(146, 208, 80, 0.28);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(146, 208, 80, 0.28), transparent 60%),
    radial-gradient(700px 420px at 10% 80%, rgba(255, 122, 49, 0.14), transparent 55%),
    linear-gradient(160deg, #f8fcf2 0%, #f0f8e4 45%, #e4f0d0 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111, 173, 46, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 173, 46, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 40%, #000 20%, transparent 70%);
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  animation: fade-up 0.7s ease both;
}

.brand-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.brand-signal {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(105deg, var(--bf-ink), var(--bf-green) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 750;
  animation: fade-up 0.7s 0.08s ease both;
}

.lead {
  margin: 0 0 28px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.08rem;
  animation: fade-up 0.7s 0.16s ease both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fade-up 0.7s 0.24s ease both;
}

.hero-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  animation: fade-up 0.9s 0.18s ease both;
}

.hero-phone-frame {
  width: min(280px, 100%);
  border-radius: 28px;
  overflow: hidden;
  border: 10px solid #1a2a14;
  box-shadow: 0 30px 60px rgba(18, 26, 15, 0.28);
  position: relative;
  z-index: 2;
  animation: float-y 5.5s ease-in-out infinite;
  background: #fff;
}

.hero-phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(146, 208, 80, 0.2);
  z-index: 1;
}

.orbit-a {
  width: 360px;
  height: 360px;
  animation: spin 28s linear infinite;
}

.orbit-b {
  width: 460px;
  height: 460px;
  border-style: dashed;
  animation: spin 40s linear infinite reverse;
}

/* Stats */
.stats {
  padding: 28px 0 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 8px 0 20px;
}

.stat {
  text-align: center;
  padding: 18px 10px;
}

.stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  color: var(--bf-ink);
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.rating-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding-bottom: 12px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  color: var(--bf-orange);
  letter-spacing: 1px;
}

.rating strong {
  display: block;
  line-height: 1.1;
}

.rating span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Promo */
.promo {
  padding: 12px 0 8px;
}

.promo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  color: #f2f9e4;
  background:
    linear-gradient(120deg, #1a2a14, #2a4020 55%, #3d6a1c);
}

.promo-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.promo-left p {
  margin: 0;
  font-size: 0.95rem;
}

.promo-tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--bf-orange);
  color: #fff;
}

.promo-link {
  color: #c8e99a;
  font-weight: 700;
  white-space: nowrap;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-head {
  margin-bottom: 36px;
  max-width: 36rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.product-copy h2,
.pillars-copy h2,
.app-copy h2,
.final-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-head p,
.product-copy > p,
.pillars-copy > p,
.app-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--bf-green);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* Product */
.product {
  background:
    radial-gradient(600px 300px at 15% 30%, rgba(146, 208, 80, 0.12), transparent 60%),
    linear-gradient(180deg, #f2f9e8, #f8fcf2);
}

.product-grid,
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 640px;
}

.product-visual {
  display: grid;
  place-items: center;
  min-height: 360px;
}

.product-phone-frame {
  width: min(280px, 100%);
  border-radius: 28px;
  overflow: hidden;
  border: 10px solid #1a2a14;
  box-shadow: 0 24px 48px rgba(18, 26, 15, 0.18);
  background: #fff;
  animation: float-y 6s ease-in-out infinite;
}

.product-phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.checklist {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  font-weight: 560;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff, transparent 40%),
    var(--bf-green);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.25);
}

/* Markets */
.markets {
  background: #fff;
}

.market-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bf-sky);
  color: var(--muted);
}

.market-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font: inherit;
  color: var(--text);
}

.asset-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.asset-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.asset-row:hover {
  background: rgba(146, 208, 80, 0.03);
}

.asset-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.asset-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
}

.logo-wrap .flag {
  position: absolute;
  right: -3px;
  bottom: -2px;
  width: 14px;
  height: 10px;
  border-radius: 1px;
  background: linear-gradient(180deg, #b22234 33%, #fff 33% 66%, #3c3b6e 66%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.asset-symbol {
  font-size: 1rem;
  font-weight: 800;
}

.asset-meta span {
  color: var(--muted);
  font-size: 0.85rem;
}

.asset-chart {
  width: 100%;
  height: 42px;
}

.asset-price {
  text-align: right;
  min-width: 100px;
}

.asset-price strong {
  display: block;
  font-variant-numeric: tabular-nums;
}

.chg-up {
  color: var(--up);
  font-weight: 700;
  font-size: 0.9rem;
}

.chg-down {
  color: var(--down);
  font-weight: 700;
  font-size: 0.9rem;
}

.market-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Pillars */
.pillars {
  background:
    linear-gradient(180deg, #f4f9ec, #e8f2d8);
}

.pillar-list {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.pillar-list article {
  padding-left: 16px;
  border-left: 3px solid var(--bf-green);
}

.pillar-list h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.pillar-list p {
  margin: 0;
  color: var(--muted);
}

/* Security */
.security {
  background: #fff;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sec-item {
  padding: 8px 4px;
}

.sec-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin-bottom: 16px;
  position: relative;
}

.icon-cold {
  background: linear-gradient(145deg, #d8f5a8, #92d050);
}

.icon-cold::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 8px;
  border: 3px solid rgba(255, 255, 255, 0.85);
}

.icon-audit {
  background: linear-gradient(145deg, #ffe1c8, #ff7a31);
}

.icon-audit::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 16px;
  width: 16px;
  height: 40px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
}

.icon-account {
  background: linear-gradient(145deg, #e4f5c4, #6fad2e);
}

.icon-account::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  top: 18px;
  left: 25px;
  background: #fff;
  box-shadow: 0 26px 0 -2px #fff, 0 26px 0 6px transparent;
}

.icon-account::before {
  content: "";
  position: absolute;
  width: 34px;
  height: 18px;
  border-radius: 18px 18px 8px 8px;
  bottom: 16px;
  left: 19px;
  background: #fff;
}

.icon-monitor {
  background: linear-gradient(145deg, #e5f6c8, #5ea016);
}

.icon-monitor::after {
  content: "";
  position: absolute;
  inset: 22px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
}

.sec-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.sec-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* App show */
.app-show {
  background:
    radial-gradient(700px 400px at 80% 30%, rgba(146, 208, 80, 0.2), transparent 60%),
    linear-gradient(160deg, #1a2a14, #121a0f 70%);
  color: #f2f9e4;
}

.app-copy .eyebrow {
  color: #a8d96a;
}

.app-copy > p {
  color: #a3b892;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-download {
  min-width: 180px;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--bf-green), var(--bf-green-deep));
  color: var(--bf-ink);
  box-shadow: 0 10px 24px rgba(146, 208, 80, 0.28);
}

.app-visual {
  display: grid;
  place-items: center;
}

.app-phone-frame {
  width: min(280px, 100%);
  border-radius: 28px;
  overflow: hidden;
  border: 10px solid #1a2a14;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.35);
  animation: float-y 6s ease-in-out infinite;
  background: #fff;
}

.app-phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Final CTA */
.final-cta {
  padding: 72px 0;
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(146, 208, 80, 0.2), transparent 70%),
    #f0f8e4;
  text-align: center;
}

.final-inner p {
  margin: 0 0 24px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--bf-ink);
  color: #c5d4b8;
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 28ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.footer-cols h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.95rem;
}

.footer-cols a {
  display: block;
  margin-bottom: 8px;
  color: #9aaf88;
  font-size: 0.9rem;
}

.footer-cols a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 0.85rem;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: 0.75rem;
}

/* Motion */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes bar-pulse {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.86);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-desktop {
    display: none;
  }

  .hero-inner,
  .product-grid,
  .app-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 40px 0 32px;
    gap: 28px;
  }

  .hero-copy {
    text-align: center;
  }

  .brand-row {
    justify-content: center;
  }

  .lead {
    margin-inline: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .hero-visual {
    min-height: 0;
    order: 0;
    width: 100%;
  }

  .hero-phone-frame {
    width: min(280px, 72vw);
  }

  .orbit-a,
  .orbit-b {
    width: min(320px, 80vw);
    height: min(320px, 80vw);
  }

  .stats-grid,
  .security-grid,
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .product-visual {
    order: -1;
  }

  .section {
    padding: 64px 0;
  }

  .app-phone-frame {
    width: min(260px, 70vw);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
    padding-top: max(10px, env(safe-area-inset-top));
    gap: 10px;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .link-quiet {
    display: none;
  }

  .btn-sm {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .wrap,
  .hero-inner {
    width: calc(100% - 28px);
  }

  .hero-inner {
    padding: 28px 0 24px;
  }

  .brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .brand-signal {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
  }

  .hero h1 {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
  }

  .lead {
    font-size: 0.98rem;
    max-width: 36ch;
  }

  .cta-row {
    flex-direction: column;
    width: 100%;
  }

  .cta-row .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-phone-frame {
    width: min(260px, 78vw);
  }

  .hero-visual {
    margin-inline: auto;
  }

  .orbit {
    opacity: 0.45;
  }

  .stats {
    padding: 12px 0 4px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 0 12px;
  }

  .stat {
    padding: 14px 8px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 14px;
    border: 1px solid var(--line);
  }

  .stat strong {
    font-size: 1.55rem;
  }

  .stat span {
    font-size: 0.8rem;
  }

  .rating-row {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 8px;
  }

  .promo {
    padding: 8px 0;
  }

  .promo-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 10px;
  }

  .promo-left {
    align-items: flex-start;
  }

  .promo-left p {
    font-size: 0.88rem;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .product-visual {
    min-height: 0;
  }

  .product-phone-frame {
    width: min(260px, 70vw);
  }

  .market-search {
    max-width: none;
    width: 100%;
  }

  .asset-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 14px 2px;
  }

  .asset-chart {
    display: none;
  }

  .asset-logo {
    width: 36px;
    height: 36px;
  }

  .security-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .sec-item {
    padding: 12px;
    background: #f8fcf2;
    border-radius: 16px;
  }

  .sec-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin-bottom: 12px;
  }

  .store-row {
    flex-direction: column;
  }

  .btn-download {
    width: 100%;
    text-align: center;
  }

  .final-cta {
    padding: 56px 0;
    padding-bottom: max(56px, env(safe-area-inset-bottom));
  }

  .btn-lg {
    width: min(100%, 320px);
    min-height: 52px;
  }

  .site-footer {
    padding: 40px 0 max(24px, env(safe-area-inset-bottom));
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .logo-text {
    font-size: 0.95rem;
  }

  .stats-grid,
  .security-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .hero-phone-frame {
    width: min(240px, 86vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
