:root {
  --ink: #161414;
  --paper: #f3efea;
  --muted: #9c948c;
  --orange: #e2570a;
  --cyan: #3e8a99;
  --green: #2f9e64;
  --card: #211e20;
  --line: #3a3538;
  --yellow: #f5d031;
  --radius: 22px;
  --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.5;
  letter-spacing: -0.02em;
}
body.embed header, body.embed .site-foot { display: none; }
body.embed { padding-top: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; background: var(--orange); padding: 8px 12px; z-index: 20; }

header.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: -0.04em; text-decoration: none;
}
.brand img { width: 40px; height: 40px; border-radius: 12px; background: #111; }
.brand small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.nav-links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-links a, .nav-links button {
  background: none; border: 0; cursor: pointer;
  padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none;
}
.nav-links a.on, .nav-links a:hover, .nav-links button:hover { color: var(--paper); background: #2a2529; }
.menu-btn { display: none; margin-left: auto; background: #2a2529; border: 0; color: var(--paper); padding: 8px 12px; border-radius: 999px; }

.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px;
  padding: 72px 0 48px; align-items: center;
}
.kicker {
  color: var(--orange); font-weight: 800; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.95; letter-spacing: -0.06em; margin: 10px 0 16px; font-weight: 900;
}
h1 em { font-style: normal; color: var(--yellow); }
.lede { font-size: 1.15rem; color: #d6cfc6; max-width: 36rem; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.store-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 800; font-size: 14px; letter-spacing: -0.02em;
}
.store-play { background: #01875f; color: #fff; }
.store-apple { background: #f5f5f7; color: #111; }
.store-btn.is-off { opacity: .55; cursor: default; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; border-radius: 999px; text-decoration: none; font-weight: 800;
  border: 1px solid transparent; cursor: pointer;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); }
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 12px 0 56px;
}
.trust article {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.trust b { display: block; font-size: 13px; }
.trust span { color: var(--muted); font-size: 12px; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.card.wide { grid-column: span 7; }
.card.slim { grid-column: span 5; }
.card.third { grid-column: span 4; }
.card.half { grid-column: span 6; }
.card.full { grid-column: span 12; }
.card h2, .card h3 { margin: 0 0 8px; letter-spacing: -0.04em; }
.status {
  display: inline-block; font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 999px;
  background: #2a2529; color: var(--cyan);
}
.status.live { background: color-mix(in srgb, var(--green) 22%, #000); color: #8fe0b4; }
.status.soon { background: color-mix(in srgb, var(--orange) 20%, #000); color: #ffb38a; }

.phone {
  width: min(280px, 100%); margin: 0 auto;
  background: #0d0c0c; border: 8px solid #2c292b; border-radius: 36px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45); overflow: hidden; aspect-ratio: 9/18.4;
  position: relative;
}
.phone-bar { height: 28px; display: flex; align-items: center; justify-content: center; }
.phone-bar::after { content: ""; width: 72px; height: 8px; background: #3a3538; border-radius: 8px; }
.phone-screen { padding: 8px 12px 64px; font-size: 12px; }
.phone-tabs {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
  background: #1b1819; border-radius: 16px; padding: 8px 4px; text-align: center; font-size: 9px; color: var(--muted);
}
.phone-tabs span:first-child { color: var(--orange); font-weight: 800; }
.pill { background: var(--orange); color: #fff; border-radius: 10px; padding: 8px; font-weight: 800; margin-top: 8px; text-align: center; }
.row-card { background: #2a2529; border-radius: 12px; padding: 10px; margin-top: 8px; }

.section { padding: 28px 0 64px; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.05em; }
.muted { color: var(--muted); }
.list { display: grid; gap: 10px; }
.list a, .list article {
  display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 18px;
}
form { display: grid; gap: 10px; }
label { font-size: 13px; font-weight: 700; }
input, textarea, select {
  width: 100%; background: #2a2529; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
}
.hp { position: absolute; left: -9999px; }
.auth-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.thread { display: grid; gap: 8px; max-height: 420px; overflow: auto; padding: 8px 0; }
.bubble { max-width: 80%; padding: 10px 12px; border-radius: 14px; background: #2a2529; }
.bubble.me { margin-left: auto; background: color-mix(in srgb, var(--orange) 28%, #211e20); }
.bubble.admin { border: 1px solid var(--cyan); }

.site-foot {
  border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 13px;
}
.site-foot nav { display: flex; gap: 14px; flex-wrap: wrap; margin: 10px 0 18px; }
.site-foot a { color: var(--paper); text-decoration: none; }

.legal-body { white-space: pre-wrap; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }

.hero-visual img {
  width: 100%; border-radius: 28px; aspect-ratio: 16/9; object-fit: cover;
  border: 1px solid var(--line);
}
.product-card .card-cover {
  width: calc(100% + 44px); margin: -22px -22px 14px; max-width: none;
  height: 160px; object-fit: cover; border-radius: 22px 22px 0 0;
}
.product-detail { margin-top: 28px; }
.product-hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.product-hero img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.product-hero-copy { padding: 28px 24px; }
.solutions { display: grid; gap: 14px; margin-top: 18px; }
.solution {
  display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px;
}
.solution img { width: 140px; height: 140px; object-fit: cover; border-radius: 14px; }
.solution h3 { margin: 0 0 6px; }
.feature-list { margin: 18px 0 0; padding-left: 18px; color: #d6cfc6; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.gallery img { border-radius: 14px; aspect-ratio: 9/16; object-fit: cover; width: 100%; }

.notice-pin {
  background: color-mix(in srgb, var(--yellow) 10%, var(--card));
  border: 1px solid color-mix(in srgb, var(--yellow) 35%, var(--line));
  border-radius: 16px; padding: 16px 18px; margin-bottom: 12px;
}
.notice-pin span {
  font-size: 11px; font-weight: 800; color: var(--yellow); letter-spacing: 0.08em;
}
.notice-pin h3 { margin: 6px 0 8px; }
.notice-pin img { border-radius: 12px; max-height: 280px; width: 100%; object-fit: cover; margin: 8px 0; }

.event-block { margin: 28px 0; }
.event-block .cover { width: 100%; border-radius: 18px; aspect-ratio: 16/9; object-fit: cover; }
.gform { width: 100%; min-height: 1100px; border: 0; border-radius: 16px; background: #fff; margin-top: 12px; }
.size-guide {
  font-size: 12px; color: var(--muted); background: #2a2529; border-radius: 12px; padding: 10px 12px; margin: 8px 0 14px;
}

.popup-layer {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.62);
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
}
.popup-stage.is-desktop {
  display: flex; justify-content: center; align-items: flex-start;
  gap: 28px; flex-wrap: wrap; width: min(1120px, 100%);
}
.popup-stage.is-mobile {
  position: relative; width: min(360px, 86vw);
}
.popup-card {
  width: min(360px, 100%);
  background: #1a1718; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.popup-stage.is-mobile .popup-card {
  position: absolute; left: 0; top: 0; width: 100%;
  transform: translate(var(--ox), var(--oy));
}
.popup-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.popup-actions { display: flex; gap: 8px; padding: 10px 12px 14px; }
.popup-actions button {
  flex: 1; background: #2a2529; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 8px; cursor: pointer; font-weight: 700; font-size: 13px;
}
.popup-actions button[data-act="today"] { color: var(--yellow); }

@media (max-width: 860px) {
  .hero, .trust, .product-hero { grid-template-columns: 1fr; }
  .product-hero-copy { padding: 20px; }
  .solution { grid-template-columns: 1fr; }
  .solution img { width: 100%; height: 200px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .card.wide, .card.slim, .card.third, .card.half { grid-column: span 12; }
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 16px; right: 16px; top: 64px;
    background: #211e20; border: 1px solid var(--line); border-radius: 16px; padding: 8px; flex-direction: column;
  }
  .nav-links.open { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
