/* faruma.studio front page: Welcome A (full-bleed render), light + dark by the system setting. Self-contained: nothing from /app/. */
:root { --card: rgba(255,255,255,.94); --card-tx: #111111; --card-mu: #666666; --th-bg: #FFFFFF; --th-line: #EDEDEA; --th-filter: none; --card-shadow: 0 20px 50px rgba(0,0,0,.3); color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root { --card: rgba(26,26,26,.9); --card-tx: #F3F3F1; --card-mu: #A3A3A3; --th-bg: #1A1A1A; --th-line: #2A2A2A; --th-filter: invert(.9); --card-shadow: 0 20px 50px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08); }
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0E0E0E; }
body { font: 400 15px/20px 'Geist', system-ui, -apple-system, sans-serif; color: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.45) 42%, rgba(10,10,10,0) 70%), linear-gradient(180deg, rgba(10,10,10,.45), rgba(10,10,10,0) 140px); }

.top { position: absolute; left: 0; right: 0; top: 0; height: 72px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.brand { display: flex; align-items: center; gap: 10px; }
.tile { width: 34px; height: 34px; border-radius: 11px; background: #fff; display: grid; place-items: center; flex: none; }
.mark { width: 20px; height: 17px; fill: #111; display: block; }
.wm { height: 17px; width: auto; display: block; }
.wm .wm-f { fill: #fff; } .wm .wm-s { fill: rgba(255,255,255,.7); }
.signin { font-weight: 600; font-size: 14px; padding: 8px 2px; }

.copy { position: absolute; left: clamp(24px, 6.7vw, 96px); bottom: clamp(72px, 14vh, 128px); width: min(600px, calc(100% - 48px)); display: flex; flex-direction: column; gap: 22px; z-index: 1; }
h1 { margin: 0; font: 500 clamp(44px, 5vw, 72px)/1.03 'Geist', system-ui, sans-serif; letter-spacing: -.04em; }
.copy p { margin: 0; font-size: 19px; line-height: 27px; color: rgba(255,255,255,.78); }
.btns { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.btn { height: 52px; padding: 0 20px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.btn.light { background: #fff; color: #111; }
.btn.glass { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn:hover { filter: brightness(.96); }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.proof { display: flex; gap: 12px; align-items: center; background: var(--card); color: var(--card-tx); box-shadow: var(--card-shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.proof .th { background: var(--th-bg); box-shadow: inset 0 0 0 1px var(--th-line); overflow: hidden; flex: none; display: block; }
.proof img { width: 100%; height: 100%; object-fit: contain; display: block; filter: var(--th-filter); }
.proof b { display: block; font-weight: 600; } .proof small { display: block; color: var(--card-mu); }
.proof-d { position: absolute; right: 40px; bottom: 40px; width: 300px; padding: 10px; border-radius: 20px; z-index: 1; }
.proof-d .th { width: 108px; height: 78px; border-radius: 12px; }
.proof-d b { font-size: 14px; line-height: 18px; } .proof-d small { font-size: 12.5px; line-height: 17px; }
.proof-m { display: none; }

.foot { position: absolute; left: clamp(24px, 6.7vw, 96px); bottom: 24px; font-size: 12.5px; color: rgba(255,255,255,.55); z-index: 1; }

@media (max-width: 760px) {
  .top { height: auto; padding: calc(16px + env(safe-area-inset-top)) 20px 0; }
  .tile { width: 30px; height: 30px; border-radius: 10px; } .mark { width: 17px; height: 15px; } .wm { height: 15px; }
  .hero-img { object-position: 56% 50%; }
  .shade { background: linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,0) 22%, rgba(10,10,10,0) 36%, rgba(10,10,10,.72) 60%, rgba(10,10,10,.92) 100%); }
  .copy { left: 20px; right: 20px; width: auto; bottom: calc(52px + env(safe-area-inset-bottom)); gap: 14px; }
  h1 { font-size: 44px; line-height: 46px; margin-top: 4px; }
  .copy p { font-size: 16px; line-height: 23px; }
  .btns { flex-direction: column; gap: 8px; margin-top: 8px; } .btn { width: 100%; }
  .proof-d { display: none; }
  .proof-m { display: flex; align-self: flex-start; padding: 6px 12px 6px 6px; border-radius: 14px; gap: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
  .proof-m .th { width: 58px; height: 42px; border-radius: 9px; }
  .proof-m b { font-size: 13px; line-height: 16px; } .proof-m small { font-size: 11.5px; line-height: 15px; }
  .foot { left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom)); text-align: center; font-size: 11.5px; }
}
@media (max-height: 560px) and (min-width: 761px) { .copy { bottom: 64px; } h1 { font-size: 44px; } }
