/* blockbird.app — no external fonts or scripts. Logical properties keep ar/he mirrored. */
:root {
  --blue: #007aff;
  --teal: #00bfb3;
  --ink: #0d1b2a;
  --muted: #566476;
  --bg: #f4f7fb;
  --card: #ffffff;
  --line: #e2e8f0;
  --soft: #eaf3ff;
  --radius: 26px;
  --round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans Thai", "Hiragino Sans", "Noto Sans JP", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef3f9;
    --muted: #9aa8b9;
    --bg: #0a1017;
    --card: #131b25;
    --line: #223041;
    --soft: #10233a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(ja) body, :lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { line-break: strict; word-break: auto-phrase; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--round); line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 800 21px/1 var(--round); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 760px) { .nav { display: none; } .lang { margin-inline-start: auto; } }
@media (max-width: 360px) { .lang summary span { display: none; } }

/* Language menu (no JavaScript: <details>) */
.lang { position: relative; font-size: 15px; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); background: var(--card);
}
.lang summary::-webkit-details-marker { display: none; }
.lang svg { width: 17px; height: 17px; }
.lang ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; min-width: 170px;
  box-shadow: 0 18px 40px rgb(0 20 50 / 0.16);
}
.lang li a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); }
.lang li a:hover, .lang li a[aria-current] { background: var(--soft); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(125deg, var(--blue), var(--teal));
  color: #fff; overflow: hidden; position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgb(255 255 255 / 0.18), transparent 65%);
}
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
  padding-top: 72px; padding-bottom: 0;
}
.hero-text { padding-bottom: 72px; }
.hero-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 14px 34px rgb(0 30 80 / 0.25); margin-bottom: 26px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 72px); font-weight: 900; text-shadow: 0 4px 18px rgb(0 0 0 / 0.12); }
.hero-sub { font-size: clamp(18px, 2vw, 21px); margin-top: 18px; max-width: 34em; color: rgb(255 255 255 / 0.92); }
.soon {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 14px 24px; border-radius: 16px;
  background: #fff; color: #0d1b2a; font: 700 17px/1.2 var(--round); box-shadow: 0 12px 30px rgb(0 30 80 / 0.22);
}
.soon svg { width: 20px; height: 20px; }
.hero-note { margin-top: 14px; font-size: 15px; color: rgb(255 255 255 / 0.85); }
.hero-phone { align-self: end; justify-self: center; width: min(340px, 80vw); }
.phone {
  border-radius: 54px 54px 0 0; border: 12px solid #0b0e12; border-bottom: 0; overflow: hidden; background: #0b0e12;
  box-shadow: 0 30px 70px rgb(0 20 60 / 0.35);
}
.phone img { width: 100%; border-radius: 42px 42px 0 0; aspect-ratio: 1320 / 2100; object-fit: cover; object-position: top; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 48px; gap: 8px; }
  .hero-icon { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-text { padding-bottom: 36px; }
  .hero-phone { width: min(300px, 78vw); }
}

/* Sections */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 850; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 19px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff;
}
.icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--muted); }

.where { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.limits {
  margin-top: 20px; padding: 18px 22px; border-radius: 18px; background: var(--soft); color: var(--muted); font-size: 15px;
  display: flex; gap: 12px; align-items: flex-start;
}
.limits svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .where, .features { grid-template-columns: 1fr; } section { padding: 64px 0; } .card { padding: 24px; } }

/* Screenshots: a horizontal strip with scroll snapping */
.shots-band { background: linear-gradient(180deg, var(--bg), var(--soft)); }
.shots {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 26px;
  max-width: 1360px; margin: 0 auto; scrollbar-width: thin;
}
.shots img {
  flex: none; width: 250px; aspect-ratio: 1320 / 2868; border-radius: 30px; scroll-snap-align: center;
  box-shadow: 0 18px 40px rgb(0 30 80 / 0.16);
}
@media (min-width: 1360px) { .shots { justify-content: center; } }

/* Privacy */
.privacy { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.privacy .section-head { text-align: start; margin: 0; }
.points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.points li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.points svg { flex: none; width: 24px; height: 24px; color: var(--teal); margin-top: 1px; }
.more { display: inline-block; margin-top: 18px; font-weight: 600; }
@media (max-width: 860px) { .privacy { grid-template-columns: 1fr; } .privacy .section-head { text-align: center; } }

/* Price */
.price {
  text-align: center; border-radius: 34px; padding: 56px 28px; color: #fff;
  background: linear-gradient(125deg, var(--blue), var(--teal));
}
.price h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 850; }
.price p { max-width: 640px; margin: 14px auto 0; font-size: 19px; color: rgb(255 255 255 / 0.92); }
.price .soon { margin-top: 26px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font: 700 18px/1.35 var(--round);
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 24px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a { color: var(--muted); }
footer .note { margin-inline-start: auto; }
@media (max-width: 640px) { footer .note { margin-inline-start: 0; width: 100%; } }

/* Documents: privacy, terms, support, 404 */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 20px 88px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 850; margin-bottom: 18px; }
.doc h2 { font-size: 24px; font-weight: 800; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-inline-start: 22px; margin: 0; }
.doc li { margin: 8px 0; }
.doc .lead { font-size: 20px; }
.doc .muted { color: var(--muted); margin-top: 10px; font-size: 15px; }
.doc .notice { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: var(--soft); color: var(--muted); font-size: 15px; }
