:root {
  --bg: #1d1d1f;
  --panel: #262629;
  --border: #35353a;
  --text: #e8e8ea;
  --muted: #a0a0a8;
  --accent: #4a8cff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }

header { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.mark {
  width: 56px; height: 56px; border-radius: 13px; flex: none;
  background: linear-gradient(145deg, #3a3a40, #1a1a1d);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--accent); font-weight: 700;
}
h1 { font-size: 28px; margin: 0; letter-spacing: -0.02em; }
.sub { color: var(--muted); font-size: 15px; margin-top: 2px; }
h2 { font-size: 19px; margin: 40px 0 12px; letter-spacing: -0.01em; }
p { margin: 0 0 14px; }

.crumb { display: inline-block; margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }

.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 22px; margin: 18px 0;
}
.contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.contact .email { font-size: 18px; font-weight: 600; }

/* Product grid on the hub */
.products { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 18px 0; }
.product-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px;
  color: var(--text);
}
.product-card:hover { border-color: var(--accent); text-decoration: none; }
.product-card .mark { width: 48px; height: 48px; font-size: 22px; }
.product-card .pc-title { font-size: 17px; font-weight: 600; }
.product-card .pc-desc { color: var(--muted); font-size: 14px; margin-top: 2px; }
.product-card .pc-arrow { margin-left: auto; color: var(--muted); font-size: 20px; }

ul { margin: 0 0 14px; padding-left: 22px; }
li { margin: 6px 0; }

details { padding: 14px 0; border-top: 1px solid var(--border); }
details:first-of-type { border-top: none; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+ "; color: var(--accent); font-weight: 700; }
details[open] summary::before { content: "\2013 "; }
details > p, details > ul { margin-top: 10px; color: var(--muted); }

.req { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.req dt { color: var(--muted); }
.req dd { margin: 0; }

/* App Store badge button */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff;
  border: 1px solid #3a3a3a; border-radius: 12px;
  padding: 10px 18px; margin: 4px 0 8px;
}
.appstore:hover { text-decoration: none; border-color: #555; }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .as-text { display: flex; flex-direction: column; line-height: 1.05; }
.appstore .as-small { font-size: 11px; letter-spacing: 0.01em; }
.appstore .as-big { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }

footer { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
