/* islora.app home page. The simulations bring their own styles (assets/css/sim/*.css, mac.css for the hero);
   this file is the page around them: type, rhythm, navigation, comparison, pricing, questions. */
:root {
  --bg: #05060C;
  --bg-2: #0C0E17;
  --ink: #F5F6FA;
  --ink-2: rgba(245,246,250,.68);
  --ink-3: rgba(245,246,250,.58);
  --line: rgba(255,255,255,.09);
  --card: rgba(255,255,255,.04);
  --accent: #4F7BFF;
  --accent-ink: #fff;
  --yes: #4F7BFF;
  --max: 1120px;
  --wide: 1240px;
  --gutter: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F5F5F7; --bg-2: #FFFFFF; --ink: #1D1D1F; --ink-2: rgba(29,29,31,.72); --ink-3: rgba(29,29,31,.62);
    --line: rgba(0,0,0,.09); --card: rgba(255,255,255,.8); --accent: #2F5BFF; color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F5F5F7; --bg-2: #FFFFFF; --ink: #1D1D1F; --ink-2: rgba(29,29,31,.72); --ink-3: rgba(29,29,31,.62);
  --line: rgba(0,0,0,.09); --card: rgba(255,255,255,.8); --accent: #2F5BFF; color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.028em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 78px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4.3vw, 56px); line-height: 1.05; }
p { margin: 0; }
kbd { font: 600 .82em/1 var(--font); padding: 3px 7px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.pg-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.pg-stage-wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.pg-stage-wrap.pg-narrow { max-width: 980px; }
.pg-lede { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 46em; text-wrap: pretty; }
.pg-fine { font-size: 13px; color: var(--ink-3); }

/* ---------- navigation: a small island of its own ---------- */
.pg-nav {
  position: fixed; z-index: 100; top: 10px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; height: 48px; padding: 0 6px 0 10px; border-radius: 24px;
  background: #000; color: #fff; white-space: nowrap;
  box-shadow: 0 12px 40px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.08);
  transition: height .3s cubic-bezier(.2,.8,.2,1);
}
.pg-nav.pg-small { height: 42px; }
.pg-nav a { text-decoration: none; }
.pg-nav > * { flex-shrink: 0; }
.pg-nav .pg-brand { display: flex; align-items: center; gap: 8px; padding-right: 10px; font-weight: 600; font-size: 15px; }
.pg-nav .pg-brand img { width: 26px; height: 26px; border-radius: 7px; }
.pg-nav .pg-links { display: flex; }
.pg-nav .pg-links a, .pg-nav .pg-lang { padding: 7px 11px; border-radius: 16px; font-size: 14px; color: rgba(255,255,255,.75); transition: color .15s, background .15s; }
.pg-nav .pg-links a:hover, .pg-nav .pg-lang:hover { color: #fff; background: rgba(255,255,255,.08); }
.pg-nav .pg-buy { margin-left: 4px; padding: 8px 14px; border-radius: 18px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; }
@media (max-width: 680px) { .pg-nav .pg-links { display: none; } .pg-nav { gap: 4px; } }

/* ---------- buttons ---------- */
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 24px; font-weight: 600; font-size: 17px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.pg-btn:active { transform: scale(.98); }
.pg-btn.pg-primary { background: var(--accent); color: var(--accent-ink); }
.pg-btn.pg-primary:hover { background: #3E6BFF; }
.pg-btn.pg-quiet { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.pg-btn.pg-big { min-height: 56px; padding: 0 28px; font-size: 18px; margin-top: 28px; }

/* ---------- hero ---------- */
.pg-hero { padding: 128px 0 40px; }
.pg-hero-head { text-align: center; }
.pg-hero h1 { color: var(--ink-3); max-width: 15em; margin: 0 auto; }
.pg-hero h1 em { font-style: normal; color: var(--ink); }
.pg-hero .pg-lede { margin: 22px auto 0; max-width: 40em; }
.pg-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.pg-hero-stage { margin-top: 56px; }
.pg-hero-stage .pg-hint { text-align: center; margin-top: 18px; font-size: 15px; color: var(--ink-3); }
.pg-proof { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 56px auto 0; padding: 0 var(--gutter); }
.pg-proof li { padding: 4px 20px; border-left: 1px solid var(--line); }
.pg-proof li:first-child { border-left: 0; }
.pg-proof b { display: block; font-size: 17px; }
.pg-proof span { font-size: 14px; color: var(--ink-3); }
@media (max-width: 760px) { .pg-proof { grid-template-columns: 1fr 1fr; row-gap: 20px; } .pg-proof li:nth-child(3) { border-left: 0; } }

/* ---------- sections ---------- */
.pg-sec { padding: clamp(96px, 12vw, 168px) 0 0; }
.pg-sec .pg-head { margin-bottom: clamp(32px, 4vw, 52px); }
.pg-sec .pg-head h2 { max-width: 18em; }
.pg-sec .pg-head .pg-lede { margin-top: 18px; }
.pg-sec .pg-head.pg-second { margin-top: clamp(80px, 9vw, 128px); }
.pg-sec .sim { border-radius: 14px; }
.pg-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.pg-split .pg-lede { margin-top: 18px; }
@media (max-width: 860px) { .pg-split { grid-template-columns: 1fr; } }

/* everyday tabs: real captures */
.pg-tabs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
.pg-tabs-grid figure { margin: 0; }
.pg-tabs-grid img { width: 100%; border-radius: 18px; background: #2a2c31; }
.pg-tabs-grid figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.pg-tabs-grid figcaption b { display: block; color: var(--ink); font-size: 16px; }
@media (max-width: 560px) { .pg-tabs-grid { grid-template-columns: 1fr; } }
.pg-minis { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.pg-minis li { font-size: 15px; color: var(--ink-2); }
.pg-minis b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
@media (max-width: 760px) { .pg-minis { grid-template-columns: 1fr; } }

/* first launch */
.pg-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.pg-steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 64px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.pg-steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--accent); color: #fff; }
.pg-steps b { display: block; }
.pg-steps span { font-size: 15px; color: var(--ink-2); }

/* comparison */
.pg-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pg-compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.pg-compare th, .pg-compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.pg-compare thead th { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pg-compare thead th.pg-me { color: var(--ink); font-size: 16px; }
.pg-compare tbody th { text-align: left; font-weight: 500; }
.pg-compare td.pg-me { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.pg-compare td.pg-y::before, .pg-compare td.pg-n::before, .pg-compare td.pg-p::before { content: ""; display: inline-block; vertical-align: middle; }
.pg-compare td.pg-y::before { width: 20px; height: 20px; border-radius: 10px; background: var(--yes) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.pg-compare td.pg-n::before { width: 12px; height: 2px; border-radius: 1px; background: var(--ink-3); opacity: .6; }
.pg-compare td.pg-p::before { width: 20px; height: 20px; border-radius: 10px; box-shadow: inset 0 0 0 2px var(--yes); background: linear-gradient(90deg, var(--yes) 50%, transparent 50%); }
.pg-compare tr.pg-price td { font-weight: 600; font-size: 14px; }
.pg-compare-wrap .pg-fine { margin-top: 14px; }

/* privacy calls */
.pg-calls { width: 100%; border-collapse: collapse; font-size: 15px; }
.pg-calls caption { text-align: left; font-weight: 600; padding-bottom: 10px; }
.pg-calls th, .pg-calls td { text-align: left; padding: 12px 0; border-top: 1px solid var(--line); }
.pg-calls th { font-weight: 500; color: var(--ink-2); padding-right: 16px; }

/* pricing */
.pg-price-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pg-price-card .pg-lede { margin-top: 18px; }
.pg-ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.pg-ticks li { padding-left: 30px; position: relative; }
.pg-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 10px; background: var(--yes) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.pg-price-box { padding: 36px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; text-align: center; }
.pg-price-box .pg-amount { font-family: var(--display); font-size: 64px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.pg-price-box .pg-per { color: var(--ink-3); margin-bottom: 12px; }
@media (max-width: 860px) { .pg-price-card { grid-template-columns: 1fr; } }

/* download */
.pg-specs { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0; font-size: 15px; }
.pg-specs dt, .pg-specs dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.pg-specs dt { color: var(--ink-3); padding-right: 24px; }

/* questions */
.pg-narrow-wrap { max-width: 760px; }
#faq h2 { margin-bottom: 28px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details p { padding: 0 0 22px; color: var(--ink-2); }
details a { color: var(--accent); }

/* footer */
.pg-foot { margin-top: 140px; padding: 32px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.pg-foot .pg-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.pg-foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.pg-foot a { text-decoration: none; }
.pg-foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* download not open yet */
.pg-btn.pg-soon { background: var(--card); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
.pg-soon-note { margin-top: 12px; }
