/* AppTheory — dark editorial theme carried over from the Wix site */
:root {
  --bg: #000;
  --panel: #191919;
  --panel-2: #222;
  --line: #2c2c2c;
  --text: #fff;
  --muted: #999;
  --accent: #8774ff;
  --accent-hover: #9d8fff;
  --radius: 14px;
  --max: 1120px;
  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.section { padding-top: 72px; padding-bottom: 24px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: #000; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.site-header ul { list-style: none; display: flex; gap: 4px 22px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-header nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover { color: var(--accent); }
.site-header nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Shared bits */
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .2em; font-size: .85rem; font-weight: 500; margin-bottom: 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.55; }
.page-title { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 36px; }
.button { display: inline-block; background: var(--accent); color: #000; text-decoration: none; padding: 13px 26px; border-radius: 10px; font-weight: 700; letter-spacing: .02em; transition: background .15s; }
.button:hover { background: var(--accent-hover); color: #000; }
.text-link { color: var(--accent); text-decoration: none; font-weight: 600; }
.rounded { border-radius: var(--radius); }
.section-label { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
.app-tag { color: var(--accent); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.9rem); letter-spacing: .03em; margin-bottom: .6em; line-height: 1.25; }

/* Home hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); margin-bottom: 14px; }
.hero .lede { margin-bottom: 28px; }
.hero-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--panel); }

/* Image band (Apps section) */
.band { padding: 80px 0; }
.band-image { position: relative; background: var(--panel) var(--band-img) center / cover no-repeat; }
.band-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 55%, rgba(0,0,0,.35) 100%); }
.band-image .wrap { position: relative; }
.app-feature { max-width: 560px; }
.app-name { font-size: clamp(2.4rem, 6vw, 3.2rem); margin-bottom: 8px; }

/* Cards */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.section h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12px; }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.card h3 { font-size: 1.3rem; }
.card p { font-size: .95rem; flex: 1; }
.card time, .post-list time { color: var(--muted); font-size: .8rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* Blog list */
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list a { display: block; padding: 28px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.post-list a:hover h2 { color: var(--accent); }
.post-list h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); margin-bottom: 8px; transition: color .15s; }
.post-list p { margin-bottom: 8px; }

/* Post */
.post { padding-top: 64px; padding-bottom: 32px; }
.post h1 { font-size: clamp(2rem, 5vw, 3rem); }
.meta { color: var(--muted); font-size: .9rem; margin-bottom: 40px; }
.prose { font-size: 1.15rem; line-height: 1.75; }
.prose p { margin-bottom: 1.3em; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal { font-size: 1.05rem; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav a { color: var(--text); text-decoration: none; font-weight: 700; max-width: 48%; }
.post-nav a:hover { color: var(--accent); }
.post-nav span { display: block; color: var(--muted); font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.post-nav .older { text-align: right; margin-left: auto; }

/* Apps */
.app-list { display: grid; gap: 24px; }
.app-card { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; color: var(--text); text-decoration: none; transition: border-color .15s; }
.app-card:hover { border-color: var(--accent); color: var(--text); }
.app-card img { border-radius: 18px; }
.app-card h2 { font-size: 2rem; margin-bottom: 4px; }

.app-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 40px; }
.app-hero h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); margin-bottom: 8px; }
.phone { width: 100%; max-width: 300px; border-radius: 28px; border: 1px solid var(--line); background: var(--panel); justify-self: center; }
.feature { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--line); }
.feature.reverse { grid-template-columns: 1fr 300px; }
.feature.reverse .phone { order: 2; }
.feature h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.feature p { font-size: 1.15rem; color: #d6d6d6; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 1.08rem; color: #d6d6d6; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.support { background: var(--panel); border-radius: var(--radius); padding: 40px; margin-top: 40px; margin-bottom: 40px; max-width: calc(var(--max) - 48px); }
.support p { font-size: 1.1rem; }
.demo { width: 100%; max-width: 360px; border-radius: 24px; border: 1px solid var(--line); background: var(--panel); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 80px; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* Phone and tablet */
@media (max-width: 860px) {
  .hero, .split, .app-hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { order: -1; }
  .card-grid { grid-template-columns: 1fr; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse .phone { order: 0; }
  .phone { max-width: 260px; }
  .app-card { grid-template-columns: 1fr; padding: 24px; }
  .app-card img { max-width: 200px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  .site-header ul { gap: 2px 16px; }
  .section { padding-top: 52px; }
  .support { padding: 26px 20px; }
  .band { padding: 56px 0; }
}
