@import "tailwindcss";

:root {
  --ink: #171916;
  --lime: #b9f542;
  --lime-dark: #9bd91e;
  --paper: #f7f6f1;
  --white: #fff;
  --muted: #6b6e67;
  --line: rgba(23, 25, 22, .16);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
main { overflow: hidden; }

.site-header { height: 76px; padding: 0 clamp(22px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(247, 246, 241, .92); backdrop-filter: blur(14px); position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.brand img { border-radius: 10px; box-shadow: 0 4px 16px rgba(50, 53, 100, .18); }
nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 700; }
nav a { transition: opacity .2s ease; }
nav a:hover { opacity: .58; }
.nav-cta { background: var(--ink); color: var(--white); padding: 12px 19px; border-radius: 100px; }

.hero { min-height: calc(100svh - 76px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); align-items: center; padding: 64px clamp(24px, 7vw, 112px) 70px; gap: 7vw; position: relative; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; background: var(--lime); border-radius: 50%; filter: blur(120px); opacity: .16; left: -320px; top: 0; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-label { font-family: Arial, sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-dark); box-shadow: 0 0 0 5px rgba(185, 245, 66, .24); }
.hero h1 { font-size: clamp(66px, 8.4vw, 132px); line-height: .92; letter-spacing: -.09em; margin: 0; font-weight: 900; }
.hero h1 em, .how h2 em, .final-cta h2 em { color: var(--lime-dark); font-style: normal; }
.hero-lead { font-size: clamp(15px, 1.25vw, 19px); line-height: 1.9; font-weight: 600; margin: 34px 0 30px; letter-spacing: .01em; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.play-button { display: inline-flex; align-items: center; gap: 13px; background: var(--ink); color: #fff; border-radius: 14px; min-height: 58px; padding: 10px 22px 10px 18px; font-family: Arial, sans-serif; font-size: 19px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 12px 30px rgba(23, 25, 22, .15); }
.play-button:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(23, 25, 22, .22); }
.play-button small { display: block; font-size: 8px; letter-spacing: .1em; margin-bottom: 2px; }
.play-mark { width: 0; height: 0; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 24px solid var(--lime); filter: drop-shadow(0 0 4px rgba(185,245,66,.3)); }
.text-link { font-size: 13px; font-weight: 800; border-bottom: 1px solid var(--ink); padding: 10px 0 7px; }
.text-link span { margin-left: 8px; }
.hero-note { margin: 19px 0 0; color: var(--muted); font-size: 11px; }

.motion-stage { aspect-ratio: 1 / 1; width: min(45vw, 610px); justify-self: center; position: relative; display: grid; place-items: center; }
.motion-stage::before { content: ""; width: 78%; height: 78%; position: absolute; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 1px rgba(23,25,22,.06); }
.phone-wrap { width: 43%; height: 76%; position: relative; z-index: 4; animation: phone-shake 4.2s cubic-bezier(.6,0,.3,1) infinite; transform-origin: 50% 80%; }
.phone { width: 100%; height: 100%; border: 9px solid var(--ink); background: var(--ink); border-radius: 40px; padding: 7px; box-shadow: 0 36px 70px rgba(23,25,22,.25); transform: rotate(-7deg); }
.phone-screen { height: 100%; border-radius: 27px; background: linear-gradient(155deg, #eff1ec 0%, #dfe6d5 55%, #cde4a3 100%); padding: 28px 20px 20px; position: relative; overflow: hidden; }
.speaker { position: absolute; z-index: 4; height: 5px; width: 38px; background: #090a09; border-radius: 10px; left: 50%; transform: translateX(-50%); top: 16px; }
.phone-screen time { font-family: Arial, sans-serif; font-size: 11px; font-weight: 800; }
.weather { margin-top: 30%; display: flex; align-items: flex-end; justify-content: center; gap: 6px; }
.weather b { font-family: Arial, sans-serif; font-size: 48px; line-height: 1; letter-spacing: -.08em; }
.weather span { font-size: 10px; padding-bottom: 5px; }
.app-grid { display: grid; grid-template-columns: repeat(2, 46px); gap: 13px; margin: 55% auto 0; width: max-content; }
.app-dot { width: 46px; height: 46px; border-radius: 14px; box-shadow: 0 7px 15px rgba(23,25,22,.1); }
.dot-blue { background: #72bfee; } .dot-coral { background: #ff7e69; } .dot-yellow { background: #ffcf4b; } .dot-violet { background: #8a75d7; }
.gesture-toast { position: absolute; bottom: 18px; left: 16px; right: 16px; background: rgba(23,25,22,.9); color: #fff; border-radius: 13px; padding: 12px 12px; font-size: 10px; font-weight: 800; text-align: center; backdrop-filter: blur(8px); }
.gesture-toast i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 5px; }
.motion-word { position: absolute; z-index: 1; font-family: Arial, sans-serif; font-size: clamp(40px, 5.2vw, 80px); font-weight: 900; letter-spacing: -.07em; color: rgba(23,25,22,.12); }
.word-shake { left: -6%; top: 22%; transform: rotate(-76deg); }
.word-open { right: -2%; bottom: 17%; transform: rotate(64deg); }
.orbit { position: absolute; z-index: 2; border: 2px solid rgba(23,25,22,.32); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; }
.orbit-one { width: 88%; height: 88%; transform: rotate(24deg); }
.orbit-two { width: 96%; height: 96%; transform: rotate(202deg); border-style: dashed; opacity: .38; }
.launch-chip { position: absolute; right: -4%; top: 20%; z-index: 5; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 10px 15px 10px 10px; font-size: 11px; font-weight: 800; box-shadow: 0 14px 30px rgba(23,25,22,.12); animation: chip-pop 4.2s ease-in-out infinite; }
.camera-glyph { width: 30px; height: 30px; display: inline-block; background: var(--ink); border-radius: 50%; position: relative; }
.camera-glyph::before { content: ""; width: 11px; height: 8px; border: 2px solid var(--lime); border-radius: 3px; position: absolute; left: 8px; top: 10px; }
.camera-glyph::after { content: ""; width: 4px; height: 4px; border: 1px solid var(--lime); border-radius: 50%; position: absolute; left: 12px; top: 12px; }

@keyframes phone-shake { 0%, 8%, 19%, 100% { transform: rotate(0); } 10% { transform: rotate(-7deg) translateX(-8px); } 13% { transform: rotate(8deg) translateX(8px); } 16% { transform: rotate(-5deg) translateX(-5px); } }
@keyframes chip-pop { 0%, 16% { opacity: 0; transform: translateY(10px) scale(.92); } 22%, 90% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; } }

.gesture-marquee { background: var(--ink); color: #fff; padding: 17px 0 18px; overflow: hidden; white-space: nowrap; transform: rotate(-1.2deg) scale(1.02); }
.gesture-marquee > div { display: inline-flex; animation: marquee 24s linear infinite; }
.gesture-marquee span { font-size: 15px; font-weight: 800; margin-right: 52px; display: inline-flex; gap: 30px; align-items: center; }
.gesture-marquee b { color: var(--lime); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-pad { padding: 130px clamp(24px, 7vw, 112px); }
.section-label { margin: 0 0 28px; color: var(--muted); }
.intro { padding-top: 150px; }
.intro-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 9vw; align-items: start; }
.intro h2, .section-heading h2, .how h2, .privacy h2, .faq h2, .final-cta h2 { font-size: clamp(42px, 5.6vw, 82px); line-height: 1.1; letter-spacing: -.075em; margin: 0; font-weight: 900; }
.intro-grid > div { max-width: 570px; padding-top: 12px; }
.intro-grid p { font-size: 16px; line-height: 2; color: var(--muted); margin: 0 0 20px; }
.intro-grid p:first-child { color: var(--ink); font-weight: 800; font-size: 19px; }
.intro-grid strong { display: block; font-size: 17px; margin-top: 34px; border-left: 4px solid var(--lime-dark); padding-left: 16px; }

.scenes { background: #ebece6; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 68px; }
.section-heading > p { max-width: 320px; color: var(--muted); line-height: 1.9; font-size: 14px; }
.scene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.scene-card { min-height: 650px; border-radius: var(--radius); padding: 34px; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.scene-camera { background: #c8ecff; } .scene-pay { background: #ffd7cd; } .scene-work { background: #d9d1ff; } .scene-home { background: #dff6a9; }
.scene-top { display: flex; justify-content: space-between; font-family: Arial, sans-serif; font-weight: 900; }
.scene-top span { font-size: 13px; }
.scene-top small { font-size: 10px; letter-spacing: .16em; }
.scene-visual { height: 245px; position: relative; display: grid; place-items: center; }
.mini-phone { width: 96px; height: 170px; border: 6px solid var(--ink); background: #f9faf7; border-radius: 22px; transform: rotate(-13deg); box-shadow: 14px 18px 0 rgba(23,25,22,.1); position: relative; z-index: 2; }
.mini-phone::before { content: ""; position: absolute; width: 32px; height: 4px; border-radius: 3px; background: var(--ink); top: 9px; left: 26px; }
.mini-phone::after { content: ""; position: absolute; width: 42px; height: 42px; border-radius: 14px; background: var(--ink); top: 58px; left: 21px; box-shadow: inset 0 0 0 11px var(--lime); }
.scene-visual i, .scene-visual b { position: absolute; border: 2px solid var(--ink); border-radius: 50%; opacity: .5; }
.scene-visual i { width: 190px; height: 190px; border-top-color: transparent; transform: rotate(-20deg); }
.scene-visual b { width: 225px; height: 225px; border-bottom-color: transparent; border-left-color: transparent; transform: rotate(20deg); }
.scene-pay .mini-phone { transform: rotate(13deg); } .scene-work .mini-phone { transform: rotate(-5deg); } .scene-home .mini-phone { transform: rotate(8deg); }
.scene-card h3 { margin: 12px 0 18px; font-size: clamp(34px, 3.8vw, 58px); line-height: 1.08; letter-spacing: -.06em; }
.scene-card h3 span:last-child br { display: none; }
.scene-card > p { max-width: 480px; color: rgba(23,25,22,.72); font-size: 14px; line-height: 1.85; margin: 0 0 28px; }
.gesture-pill { margin-top: auto; align-self: flex-start; padding: 11px 15px; background: rgba(255,255,255,.72); border: 1px solid rgba(23,25,22,.1); border-radius: 100px; font-size: 12px; font-weight: 800; }

.how { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; background: var(--ink); color: #fff; }
.how-copy { position: sticky; top: 120px; align-self: start; }
.how .section-label { color: #979b93; }
.how-copy > p:last-child { color: #aeb2aa; line-height: 1.9; max-width: 500px; margin-top: 34px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { border-top: 1px solid rgba(255,255,255,.2); padding: 34px 0 42px; display: grid; grid-template-columns: 72px 1fr; gap: 20px; }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.steps > li > span { color: var(--lime); font-family: Arial, sans-serif; font-size: 13px; font-weight: 800; }
.steps small { color: #7f837d; font-size: 9px; letter-spacing: .16em; font-weight: 900; }
.steps h3 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.055em; margin: 7px 0 14px; }
.steps p { color: #aeb2aa; font-size: 14px; line-height: 1.8; max-width: 480px; }

.privacy { background: var(--lime); display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; align-items: center; }
.privacy-mark { aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; position: relative; }
.privacy-mark::before, .privacy-mark::after, .privacy-mark i { content: ""; position: absolute; border: 1px solid rgba(23,25,22,.42); border-radius: 50%; }
.privacy-mark::before { inset: 8%; border-left-color: transparent; }
.privacy-mark::after { inset: 17%; border-bottom-color: transparent; }
.privacy-mark i { inset: 28%; border-right-color: transparent; }
.privacy-mark span { font-size: clamp(90px, 12vw, 170px); font-family: Arial, sans-serif; font-weight: 400; line-height: 1; }
.privacy .section-label { color: rgba(23,25,22,.6); }
.privacy-lead { font-size: 18px; font-weight: 800; margin: 30px 0 36px; }
.privacy ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(23,25,22,.3); }
.privacy li { display: grid; grid-template-columns: 52px 1fr 1.2fr; align-items: center; gap: 18px; border-bottom: 1px solid rgba(23,25,22,.3); padding: 20px 0; }
.privacy li span { font-family: Arial, sans-serif; font-size: 11px; }
.privacy li b { font-size: 14px; }
.privacy li p { font-size: 12px; line-height: 1.7; color: rgba(23,25,22,.67); margin: 0; }
.permission-note { font-size: 10px; line-height: 1.8; color: rgba(23,25,22,.65); margin-top: 22px; }

.plans { background: var(--paper); }
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.plan-card { border-radius: var(--radius); padding: clamp(28px, 4vw, 54px); min-height: 540px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.free-plan { background: #fff; } .pro-plan { background: var(--ink); color: #fff; }
.plan-card > div:first-child { display: flex; justify-content: space-between; align-items: center; }
.plan-card small { font-family: Arial, sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.plan-card > div:first-child span { border: 1px solid currentColor; padding: 7px 10px; border-radius: 100px; font-size: 10px; }
.plan-card h3 { font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -.05em; margin: 42px 0 12px; }
.plan-price { font-size: clamp(38px, 4.4vw, 66px); line-height: 1; font-weight: 900; letter-spacing: -.07em; margin: 0 0 38px; }
.pro-plan .plan-price { color: var(--lime); }
.plan-card ul { margin: 0 0 38px; padding: 0; list-style: none; }
.plan-card li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pro-plan li { border-color: rgba(255,255,255,.16); }
.plan-card li::before { content: "✓"; margin-right: 12px; color: var(--lime-dark); font-weight: 900; }
.plan-card a { margin-top: auto; display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; padding: 18px 20px; border-radius: 13px; font-size: 13px; font-weight: 800; }
.pro-plan a { background: var(--lime); color: var(--ink); }

.faq { display: grid; grid-template-columns: .68fr 1.32fr; gap: 9vw; background: #ebece6; }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 27px 0; font-size: 15px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-family: Arial, sans-serif; font-size: 24px; font-weight: 400; transition: transform .25s ease; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 660px; font-size: 13px; line-height: 1.9; margin: -8px 0 25px; padding-right: 50px; }

.final-cta { position: relative; min-height: 680px; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.final-cta .section-label { color: #888c85; }
.final-cta > p:not(.section-label) { color: #aeb2aa; line-height: 1.8; margin: 26px 0 30px; }
.play-button.light { background: #fff; color: var(--ink); }
.cta-motion { position: absolute; width: min(43vw, 560px); aspect-ratio: 1; right: 5vw; display: grid; place-items: center; }
.cta-motion::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: var(--lime); }
.cta-motion span { color: var(--ink); position: relative; z-index: 2; font-family: Arial, sans-serif; font-size: clamp(58px, 7vw, 104px); font-weight: 900; letter-spacing: -.08em; transform: rotate(-12deg); animation: shake-word 3s ease-in-out infinite; }
.cta-motion i, .cta-motion b { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); animation: pulse 3s ease-out infinite; }
.cta-motion b { inset: -7%; animation-delay: 1s; }
@keyframes shake-word { 0%, 40%, 100% { transform: rotate(-12deg); } 45% { transform: rotate(-19deg) translateX(-5px); } 51% { transform: rotate(-4deg) translateX(6px); } 56% { transform: rotate(-12deg); } }
@keyframes pulse { 0% { transform: scale(.84); opacity: 0; } 35% { opacity: 1; } 100% { transform: scale(1.08); opacity: 0; } }

footer { min-height: 96px; padding: 0 clamp(24px, 7vw, 112px); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; }
footer p { color: var(--muted); }
footer > a:last-child { font-weight: 800; }
.mobile-store-cta { display: none; }

@media (max-width: 900px) {
  .site-header { height: 68px; }
  nav > a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 58px; gap: 20px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions { justify-content: center; }
  .hero-lead { margin-top: 26px; }
  .hero-note { margin-bottom: 22px; }
  .motion-stage { width: min(90vw, 570px); }
  .intro-grid, .how, .privacy, .faq { grid-template-columns: 1fr; }
  .how-copy { position: static; }
  .privacy-mark { width: min(76vw, 470px); margin: 0 auto; }
  .privacy-copy { max-width: 700px; }
  .cta-motion { opacity: .36; right: -15vw; }
  .final-cta > *:not(.cta-motion) { position: relative; z-index: 2; }
}

@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .site-header { padding: 0 18px; }
  .brand span { font-size: 12px; }
  nav .nav-cta { display: none; }
  .hero { padding: 48px 20px 42px; }
  .hero h1 { font-size: clamp(65px, 22vw, 92px); }
  .hero-lead { font-size: 14px; line-height: 1.8; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-note { line-height: 1.6; }
  .motion-stage { width: 98vw; margin-left: -4vw; }
  .phone-wrap { width: 40%; }
  .launch-chip { right: 2%; top: 18%; }
  .word-shake { left: 2%; }
  .word-open { right: 3%; }
  .section-pad { padding: 90px 22px; }
  .intro { padding-top: 105px; }
  .intro h2, .section-heading h2, .how h2, .privacy h2, .faq h2, .final-cta h2 { font-size: clamp(39px, 12vw, 56px); }
  .intro-grid { gap: 42px; }
  .intro-grid p { font-size: 14px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 42px; }
  .section-heading > p { margin: 0; }
  .scene-grid, .plan-grid { grid-template-columns: 1fr; }
  .scene-card { min-height: 570px; padding: 26px; border-radius: 24px; }
  .scene-visual { height: 210px; }
  .scene-card h3 { font-size: 40px; }
  .how { gap: 58px; }
  .steps li { grid-template-columns: 42px 1fr; }
  .privacy { gap: 56px; }
  .privacy-mark { width: 88%; }
  .privacy li { grid-template-columns: 35px 1fr; align-items: start; }
  .privacy li p { grid-column: 2; }
  .plan-card { min-height: 500px; border-radius: 24px; }
  .faq { gap: 48px; }
  .faq summary { font-size: 14px; }
  .final-cta { min-height: 640px; align-items: center; text-align: center; }
  .cta-motion { width: 90vw; right: -36vw; top: 10%; opacity: .2; }
  footer { padding: 26px 22px; min-height: 140px; flex-wrap: wrap; }
  footer p { order: 3; width: 100%; }
  .mobile-store-cta { display: flex; position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 10px; height: 50px; border-radius: 13px; background: var(--ink); color: #fff; align-items: center; justify-content: space-between; padding: 0 18px; font-size: 13px; font-weight: 800; box-shadow: 0 12px 38px rgba(0,0,0,.3); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
