/* isjia.page — shared stylesheet. No build step, no JS. */

:root {
  --bg: #fdfcf9;
  --bg-soft: #f6f2ea;
  --ink: #1b1916;
  --ink-soft: #46423b;
  --muted: #6f6a61;
  --card: #ffffff;
  --line: #e8e2d6;
  --line-strong: #d8d0c0;
  --accent: #e07a2f;
  --accent-soft: rgba(224, 122, 47, 0.1);
  --glow-a: rgba(224, 122, 47, 0.16);
  --glow-b: rgba(120, 140, 200, 0.1);
  --shadow: 0 1px 2px rgba(27, 25, 22, 0.04), 0 12px 32px -20px rgba(27, 25, 22, 0.25);
  --shadow-lift: 0 2px 4px rgba(27, 25, 22, 0.05), 0 22px 44px -24px rgba(27, 25, 22, 0.3);
  --radius: 18px;
  --app-accent: var(--accent);
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12110e;
    --bg-soft: #191712;
    --ink: #f0ebe1;
    --ink-soft: #d7d0c4;
    --muted: #a49c8d;
    --card: #1a1813;
    --line: #2e2a22;
    --line-strong: #423c31;
    --accent: #f09a4e;
    --accent-soft: rgba(240, 154, 78, 0.12);
    --glow-a: rgba(240, 154, 78, 0.14);
    --glow-b: rgba(130, 150, 210, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 36px -22px rgba(0, 0, 0, 0.7);
    --shadow-lift: 0 2px 6px rgba(0, 0, 0, 0.35), 0 26px 50px -26px rgba(0, 0, 0, 0.8);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }

/* ---------- background atmosphere ---------- */

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.sky span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.9;
}
.sky .g1 { top: -18vh; left: 50%; width: 78vw; height: 52vh; transform: translateX(-50%); background: radial-gradient(circle, var(--glow-a), transparent 68%); }
.sky .g2 { top: 28vh; left: -12vw; width: 46vw; height: 46vw; background: radial-gradient(circle, var(--glow-b), transparent 70%); }
.sky .g3 { top: 56vh; right: -14vw; width: 42vw; height: 42vw; background: radial-gradient(circle, var(--glow-a), transparent 72%); }
@media (prefers-reduced-motion: no-preference) {
  .sky span { animation: drift 26s ease-in-out infinite alternate; }
  .sky .g2 { animation-duration: 34s; animation-delay: -8s; }
  .sky .g3 { animation-duration: 30s; animation-delay: -16s; }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2%, -3%, 0) scale(1.06); }
}

/* ---------- nav ---------- */

.nav-outer {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0 4px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 16px;
}
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #7b3fbf));
  color: #fff;
  font: 700 13px/1 var(--sans);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 550;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.nav-links a.cta {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: var(--card);
}
.nav-links a.cta:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 640px) {
  .nav-links a.optional { display: none; }
}

/* ---------- typography ---------- */

h1, h2, h3 { letter-spacing: -0.02em; }
h1 {
  font: 600 clamp(34px, 5.4vw, 58px)/1.08 var(--serif);
  margin: 0 0 14px;
}
h2 {
  font: 600 clamp(24px, 3.2vw, 34px)/1.2 var(--serif);
  margin: 0 0 10px;
}
h3 {
  font: 600 19px/1.4 var(--sans);
  margin: 0 0 6px;
}
p { margin: 0 0 14px; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); margin-bottom: 26px; }
.eyebrow {
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.meta { color: var(--muted); font-size: 14.5px; }
.section-head { margin: 0 0 26px; }
.section-head p { color: var(--muted); margin: 0; max-width: 56ch; }
section.block { padding: 68px 0 8px; }

/* ---------- hero ---------- */

.hero { padding: 64px 0 24px; text-align: center; }
.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.hero .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { max-width: 20ch; margin-inline: auto; }
.hero h1 .dim { color: var(--muted); }
.hero .lede { max-width: 56ch; margin-inline: auto; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 8px; }
.icon-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 40px 0 0; }
.icon-row img {
  width: 58px; height: 58px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
@media (prefers-reduced-motion: no-preference) {
  .icon-row img { animation: float 7s ease-in-out infinite; }
  .icon-row img:nth-child(2) { animation-delay: -1.1s; }
  .icon-row img:nth-child(3) { animation-delay: -2.2s; }
  .icon-row img:nth-child(4) { animation-delay: -3.3s; }
  .icon-row img:nth-child(5) { animation-delay: -4.4s; }
  .icon-row img:nth-child(6) { animation-delay: -5.5s; }
  .icon-row img:nth-child(7) { animation-delay: -6.6s; }
  .icon-row img:nth-child(8) { animation-delay: -7.7s; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.small { padding: 8px 14px; font-size: 14px; }

/* ---------- app cards ---------- */

.apps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .apps { grid-template-columns: 1fr 1fr; } }

.card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}
.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  flex: none;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.card .body { min-width: 0; }
.card .name { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.card .desc { color: var(--muted); font-size: 15px; margin: 4px 0 0; }
.card .tag {
  display: inline-block;
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.card .foot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.badge {
  display: inline-block;
  font: 600 11.5px/1 var(--sans);
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: var(--bg-soft);
}
.badge.live { color: #1c7a4a; border-color: rgba(28, 122, 74, 0.3); background: rgba(28, 122, 74, 0.08); }
.badge.review { color: #9a6a10; border-color: rgba(154, 106, 16, 0.32); background: rgba(154, 106, 16, 0.09); }
@media (prefers-color-scheme: dark) {
  .badge.live { color: #6fd39c; background: rgba(111, 211, 156, 0.1); }
  .badge.review { color: #e5b969; background: rgba(229, 185, 105, 0.1); }
}

/* ---------- feature grid / principles ---------- */

.grid3 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.tile .num { font: 600 12px/1 var(--mono); color: var(--accent); letter-spacing: 0.08em; }
.tile h3 { margin: 10px 0 6px; font-size: 17px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- app product page ---------- */

.crumb { font-size: 14px; color: var(--muted); padding: 26px 0 0; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }

.app-hero { padding: 28px 0 12px; }
.app-hero .head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.app-hero .head img { width: 84px; height: 84px; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.app-hero h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 0 0 4px; }
.app-hero .sub { color: var(--muted); font-size: 16px; margin: 0; }
.app-body { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 24px; }
@media (min-width: 860px) { .app-body { grid-template-columns: 1.55fr 1fr; } }
.feature-list { list-style: none; padding: 0; margin: 0 0 22px; }
.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--app-accent);
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.panel h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.panel dl { margin: 0; font-size: 14.5px; }
.panel dt { color: var(--muted); margin-top: 10px; }
.panel dd { margin: 2px 0 0; color: var(--ink-soft); }
.link-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- support page ---------- */

.support-layout { display: grid; grid-template-columns: 1fr; gap: 30px; padding: 20px 0 40px; }
@media (min-width: 900px) { .support-layout { grid-template-columns: 210px 1fr; gap: 44px; } }
.toc { font-size: 14.5px; }
@media (min-width: 900px) {
  .toc { position: sticky; top: 92px; align-self: start; }
}
.toc p { font: 600 11.5px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 900px) { .toc ul { display: block; } }
.toc li { margin: 0; }
.toc a {
  display: block;
  padding: 5px 10px;
  border-radius: 9px;
  color: var(--ink-soft);
  border: 1px solid transparent;
  font-size: 14px;
}
@media (max-width: 899px) {
  .toc a { border-color: var(--line); background: var(--card); }
}
.toc a:hover { background: var(--bg-soft); text-decoration: none; border-color: var(--line); }

.support-app {
  scroll-margin-top: 96px;
  padding: 26px 0 10px;
  border-top: 1px solid var(--line);
}
.support-app:first-of-type { border-top: 0; padding-top: 0; }
.support-app .head { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.support-app .head img { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); }
.support-app h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0; }
.support-app .who { color: var(--muted); font-size: 14px; margin: 2px 0 0; }
.qa { margin: 18px 0 0; }
.qa .q { font-weight: 620; font-size: 16.5px; margin: 0 0 4px; }
.qa .a { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.qa + .qa { margin-top: 16px; }
.support-app .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  font-size: 13.5px;
  font-weight: 550;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 6px 13px;
}
.chip:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }

/* ---------- faq (details) ---------- */

details.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
details.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }

/* ---------- cta / footer ---------- */

.cta-band {
  margin: 72px 0 0;
  padding: 44px 24px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--muted); max-width: 46ch; margin: 0 auto 20px; }

footer.site {
  margin-top: 64px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer.site .cols { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--accent); }
footer.site .links { display: flex; flex-wrap: wrap; gap: 16px; }
footer.site .fine { margin-top: 22px; font-size: 13px; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--card); padding: 8px 12px; border-radius: 8px; }
