:root {
  color-scheme: light;
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-cyan: #eefbfc;
  --text: #0f172a;
  --text-2: #344054;
  --muted: #667085;
  --line: rgba(17, 24, 39, 0.08);
  --line-strong: rgba(17, 24, 39, 0.14);
  --blue: #2fafc2;
  --blue-dark: #168fa3;
  --blue-soft: rgba(47, 175, 194, 0.1);
  --cyan: #2fafc2;
  --cyan-dark: #168fa3;
  --cyan-soft: rgba(47, 175, 194, 0.1);
  --star: #f6d86b;
  --star-soft: rgba(246, 216, 107, 0.26);
  --star-dark: #9a7410;
  --success: #079455;
  --shadow-panel: 0 24px 60px -46px rgba(17, 24, 39, 0.24),
    0 10px 28px -24px rgba(17, 24, 39, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  --shadow-pop: 0 30px 78px -42px rgba(17, 23, 25, 0.34);
  --shadow-blue: 0 26px 62px -34px rgba(47, 175, 194, 0.34);
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 10%, rgba(47, 175, 194, 0.08), transparent 360px),
    radial-gradient(circle at 16% 18%, rgba(246, 216, 107, 0.1), transparent 320px),
    var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: calc(var(--page-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--star), var(--cyan));
  transform-origin: left center;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.08);
}

.header-inner,
.section,
.footer-inner {
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0;
  box-shadow: 0 10px 26px -24px rgba(17, 24, 39, 0.24);
  transition: transform 0.14s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #f9fafb;
}

.button.primary {
  color: #fff;
  border-color: #0f172a;
  background: #0f172a;
  box-shadow: 0 18px 42px -30px rgba(17, 24, 39, 0.46);
}

.button.primary:hover {
  background: #111719;
}

.hero {
  position: relative;
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 34px;
  margin-top: 20px;
  padding: 68px 44px 46px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 18%, rgba(246, 216, 107, 0.12), transparent 280px),
    radial-gradient(circle at 86% 14%, rgba(47, 175, 194, 0.11), transparent 340px),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 40px 120px -86px rgba(17, 24, 39, 0.34);
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 880px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(47, 175, 194, 0.2);
  border-radius: 999px;
  background: rgba(47, 175, 194, 0.08);
  color: #1f5963;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--star);
  box-shadow: 0 0 0 4px rgba(246, 216, 107, 0.2);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 860px;
  color: var(--text);
  font-size: clamp(46px, 7vw, 86px);
  line-height: 1.04;
  font-weight: 780;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.hero-actions .button {
  min-width: 154px;
  min-height: 50px;
  font-size: 15px;
}

.trust-row {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.trust-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 690;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-parallax] {
  --parallax-y: 0px;
  transform: translate3d(0, var(--parallax-y), 0);
  will-change: transform;
}

[data-reveal][data-parallax] {
  transform: translate3d(0, calc(34px + var(--parallax-y)), 0);
}

[data-reveal][data-parallax].is-visible {
  transform: translate3d(0, var(--parallax-y), 0);
}

.app-stage {
  position: relative;
  width: 100%;
  min-height: 530px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: min(760px, 78vw);
  aspect-ratio: 1;
  border: 1px solid rgba(47, 175, 194, 0.14);
  border-radius: 999px;
  animation: slow-float 7s ease-in-out infinite;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px -32px rgba(17, 24, 39, 0.34);
}

.orbit::before {
  width: 48px;
  height: 48px;
  left: 42px;
  bottom: 76px;
}

.orbit::after {
  width: 56px;
  height: 56px;
  right: 26px;
  top: 76px;
}

.browser-window {
  position: relative;
  z-index: 1;
  width: min(100%, 940px);
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  animation: stage-rise 0.75s ease both;
}

.browser-top {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(250, 251, 252, 0.9);
}

.traffic {
  display: flex;
  gap: 7px;
}

.traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9dee8;
}

.traffic span:nth-child(1) {
  background: var(--star);
}

.traffic span:nth-child(2) {
  background: rgba(47, 175, 194, 0.42);
}

.address {
  flex: 1;
  min-width: 0;
  max-width: 360px;
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #f1f3f6;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.workspace-preview {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  min-height: 430px;
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 12px;
  border-right: 1px solid rgba(17, 24, 39, 0.07);
  background: #fafbfc;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
}

.preview-brand img {
  width: 28px;
  height: 28px;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 690;
}

.nav-row.active {
  background: var(--cyan-soft);
  color: var(--text);
}

.nav-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.55;
}

.preview-main {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(180deg, #fff, #f7f8fa);
}

.main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.main-head strong {
  color: var(--text);
  font-size: 18px;
  letter-spacing: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--cyan-soft);
  color: #1f5963;
  font-size: 11px;
  font-weight: 750;
}

.balance-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(47, 175, 194, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 18%, rgba(246, 216, 107, 0.2), transparent 150px),
    var(--surface-cyan);
  box-shadow: 0 22px 54px -42px rgba(47, 175, 194, 0.5);
}

.balance-label {
  color: #4f6672;
  font-size: 12px;
  font-weight: 720;
}

.balance-amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text);
}

.balance-amount strong {
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0;
}

.balance-amount span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quick-actions span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 15px;
  background: #fff;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 730;
}

.send-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: #fff;
}

.send-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--star-soft);
  color: var(--star-dark);
  font-size: 12px;
  font-weight: 800;
}

.send-row strong {
  display: block;
  color: var(--text);
  font-size: 13px;
}

.send-row small {
  color: var(--muted);
  font-size: 11px;
}

.send-row b {
  color: var(--text);
  font-size: 13px;
}

.history-lines {
  display: grid;
  gap: 9px;
}

.history-lines span {
  height: 36px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 13px;
  background: linear-gradient(90deg, #f2f4f7, #fff);
}

.floating-task {
  position: absolute;
  z-index: 2;
  right: min(34px, 4vw);
  bottom: 38px;
  width: 240px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-panel);
  animation: card-float 5.5s ease-in-out infinite;
}

.floating-task small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
}

.floating-task strong {
  color: var(--text);
  font-size: 13px;
}

.progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef1f5;
}

.progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--star), var(--cyan));
  animation: progress-shift 4.2s ease-in-out infinite;
}
