/* Site entry: shared responsive presentation for every Japanese and English BeadCraft page. */
:root {
  color-scheme: light;
  --paper: #fffaf3;
  --paper-deep: #f4eadb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --ink: #201b25;
  --muted: #685f6d;
  --line: rgba(62, 42, 65, 0.12);
  --coral: #f43f5e;
  --coral-dark: #b91c3b;
  --mint: #39bda2;
  --mint-soft: #e5f8f2;
  --yellow: #f6c453;
  --shadow: 0 24px 70px rgba(79, 45, 60, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 5%, rgba(244, 63, 94, 0.11), transparent 24rem),
    radial-gradient(circle at 92% 12%, rgba(57, 189, 162, 0.13), transparent 25rem),
    linear-gradient(180deg, var(--paper), var(--paper-deep));
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.25;
  background-image: radial-gradient(circle, rgba(89, 64, 72, 0.22) 0 3px, transparent 3.5px);
  background-size: 42px 42px;
  pointer-events: none;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.shell {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.86);
  backdrop-filter: blur(20px);
}

.site-header .shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-weight: 850;
  text-decoration: none;
}

.brand img { width: 38px; height: 38px; border-radius: 10px; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.site-nav a { color: var(--muted); font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--coral-dark); }
.site-nav .store-button { color: #fff; }

.store-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 13px 28px rgba(244, 63, 94, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--ink);
  box-shadow: none;
}

.hero { padding: clamp(48px, 8vw, 88px) 0 34px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(290px, 0.74fr);
  gap: 30px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; line-height: 1.16; letter-spacing: -0.025em; }
h1 { max-width: 13ch; font-size: clamp(2.65rem, 7vw, 5.45rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.13rem, 2vw, 1.38rem); }

.lede {
  max-width: 720px;
  margin: 24px 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.identity {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.phone-stage {
  position: relative;
  max-width: 390px;
  margin-inline: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.phone-stage::after {
  position: absolute;
  right: -18px;
  bottom: 14%;
  width: 74px;
  height: 74px;
  border: 12px dotted var(--yellow);
  border-radius: 50%;
  content: "";
  transform: rotate(13deg);
}

.phone-stage img { border-radius: 28px; }

.section { padding: clamp(38px, 7vw, 76px) 0; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading p { color: var(--muted); }

.card-grid,
.guide-grid,
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.guide-card,
.faq-list details,
.download-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 16px 48px rgba(61, 42, 58, 0.08);
  backdrop-filter: blur(14px);
}

.card,
.guide-card { padding: 26px; }
.card p,
.guide-card p { margin-bottom: 0; color: var(--muted); }

.card-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: #176f60;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-card { text-decoration: none; transition: transform 0.18s ease, border-color 0.18s ease; }
.guide-card:hover { transform: translateY(-4px); border-color: rgba(244, 63, 94, 0.35); }
.guide-card .arrow { display: inline-block; margin-top: 18px; color: var(--coral-dark); font-weight: 850; }

.shot-card { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.shot-card img { width: 100%; }
.shot-card figcaption { padding: 16px 18px; background: var(--surface-solid); color: var(--muted); font-size: 0.88rem; }

.proof-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--mint-soft);
}

.proof-strip p { margin: 0; color: #315c54; }

.article-hero { padding: clamp(46px, 8vw, 82px) 0 28px; }
.article-hero h1 { max-width: 18ch; font-size: clamp(2.4rem, 6vw, 4.6rem); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
  padding-bottom: 74px;
}

.article-body,
.article-aside { padding: clamp(24px, 4vw, 38px); }
.article-body h2 { margin: 2.3rem 0 0.8rem; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.article-body h2:first-child { margin-top: 0; }
.article-body p,
.article-body li,
.article-aside p { color: var(--muted); }
.article-body li { margin: 0.55rem 0; }
.article-aside { position: sticky; top: 96px; }
.article-aside img { border-radius: 20px; }
.article-aside .button { width: 100%; margin-top: 18px; }

.number-list { counter-reset: beadstep; padding: 0; list-style: none; }
.number-list li { position: relative; min-height: 56px; padding-left: 70px; }
.number-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  content: counter(beadstep, decimal-leading-zero);
  counter-increment: beadstep;
  font-weight: 900;
}

.callout {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--mint);
  border-radius: 0 16px 16px 0;
  background: var(--mint-soft);
}

.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 18px 22px; }
.faq-list summary { cursor: pointer; font-weight: 850; }
.faq-list p { color: var(--muted); }

.download-panel {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 28px;
}

.download-panel img { width: 82px; height: 82px; border-radius: 20px; }
.download-panel p { margin: 6px 0 0; color: var(--muted); }

.site-footer { padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.site-footer .shell { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }

@media (max-width: 820px) {
  .hero-grid,
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .card-grid,
  .guide-grid,
  .shot-grid { grid-template-columns: 1fr; }
  .shot-grid { max-width: 430px; margin-inline: auto; }
  .download-panel { grid-template-columns: 64px 1fr; }
  .download-panel img { width: 64px; height: 64px; }
  .download-panel .button { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .site-header { position: static; }
  .site-header .shell { align-items: flex-start; flex-direction: column; padding-block: 14px; }
  .brand { margin-right: 0; }
  .site-nav { justify-content: flex-start; }
  .hero { padding-top: 42px; }
  .proof-strip { align-items: flex-start; flex-direction: column; }
  .phone-stage::after { display: none; }
}
