/*


 */

/* ========== Lumio Inc. - shared styles ========== */
:root {
  --bg: #fafaf7;
  --bg-2: #f3f1ec;
  --bg-blue: #eef3fa;
  --bg-mint: #ecf4f0;
  --bg-lavender: #f1eef7;
  --bg-peach: #fbeee6;

  --ink: #1f2330;
  --ink-2: #3a3f4d;
  --ink-3: #6b7180;
  --ink-4: #9aa0ad;

  --line: #e6e3dc;
  --line-2: #ecebe6;

  --accent: #6b8cce;
  --accent-ink: #3f5a93;
  --accent-2: #b6c8a8;
  --accent-3: #d8b6c4;
  --accent-4: #e8d39b;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(31, 35, 48, 0.04);
  --shadow: 0 12px 30px -18px rgba(31, 35, 48, 0.18), 0 2px 6px rgba(31, 35, 48, 0.04);

  --maxw: 1180px;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-serif: "Shippori Mincho", "Noto Serif JP", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  line-height: 1.75;
  letter-spacing: 0.02em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.en { font-family: var(--font-en); letter-spacing: 0.04em; }
.serif { font-family: var(--font-serif); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand .mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c9d6ee 0%, #e7d6e7 60%, #f3e6cf 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 1px 2px rgba(0,0,0,.04);
  position: relative;
}
.brand .mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), transparent 50%),
    linear-gradient(135deg, var(--accent), var(--accent-3));
  opacity: .85;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.nav .cta { margin-left: 10px; background: var(--ink); color: #fff; padding: 10px 18px; }
.nav .cta:hover { background: #2a2f3d; color: #fff; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all .2s ease;
  letter-spacing: 0.04em;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2f3445; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; border-color: #d8d5cd; }
.btn .arrow { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ========== Eyebrow ========== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--ink-3); }

/* ========== Section utilities ========== */
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }

/* Override Tailwind preflight: restore heading styles */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; letter-spacing: 0.01em; margin: 0; }

.h-display { font-size: clamp(40px, 5.4vw, 72px); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }
.h-section  { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; line-height: 1.3; }
.lede { color: var(--ink-2); font-size: 16px; line-height: 1.95; max-width: 56ch; }

/* ========== Footer ========== */
.site-footer {
  background: var(--bg-2);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line-2);
  margin-top: 40px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.site-footer h5 {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-2); }
.site-footer ul a:hover { color: var(--ink); }
.site-footer .meta { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-3); }

/* ========== Generic ========== */
.card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 32px; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: var(--line); }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.hairline { height: 1px; background: var(--line-2); border: 0; margin: 0; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--ink-2); font-family: var(--font-en); }

.figure-ph {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 0% 0%, #e9eef8 0%, transparent 55%),
    radial-gradient(120% 80% at 100% 100%, #f3e6e9 0%, transparent 55%),
    linear-gradient(135deg, #f4f1ea 0%, #eef1f6 100%);
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.figure-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31,35,48,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,35,48,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mix-blend-mode: multiply;
  opacity: .7;
}

/* ========== Responsive ========== */
@media (max-width: 1080px) {
  .nav a:not(.cta) { display: none; }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
}
