@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Roboto:wght@300;400;600;700&display=swap');

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --bg:       #faf9f6;
  --surface:  #ffffff;
  --hairline: #e7e3da;
  --ink:      #1a1714;
  --muted:    #6f6a60;
  --accent:   #c2562f;
}

/* ── Base ──────────────────────────────────────────────────────────────── */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 Roboto, system-ui, -apple-system, sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}

h1, h2, .brand {
  font-family: 'Cardo', Georgia, serif;
}

/* ── Header ────────────────────────────────────────────────────────────── */
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  border-bottom: 1px solid var(--hairline);
}

.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  font-family: ui-monospace, Menlo, monospace;
}

.contact-link {
  font-size: 14px;
}

/* ── Main wrap ─────────────────────────────────────────────────────────── */
main.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 6% 80px;
}

/* ── Page label ("// our apps") ───────────────────────────────────────── */
.page {
  font: italic 13px/1 'Cardo', serif;
  color: var(--muted);
  margin: 0 0 26px;
}

/* ── Editorial rows (Layout B) ─────────────────────────────────────────── */
.rows {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 4px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
}

.row:last-child {
  border-bottom: none;
}

.row:hover .det {
  color: var(--accent);
}

/* ── App icon ──────────────────────────────────────────────────────────── */
.ic {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex: 0 0 auto;
  object-fit: cover;
}

.ic.mono {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  font-family: ui-monospace, monospace;
}

/* ── Row body ──────────────────────────────────────────────────────────── */
.bd {
  flex: 1;
  min-width: 0;
}

.nm {
  font-family: 'Cardo', serif;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.tg {
  color: var(--muted);
  font-size: 13.5px;
  margin: 5px 0 10px;
}

/* ── Status pills ──────────────────────────────────────────────────────── */
.pill {
  font-size: 9px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.pill.live {
  color: #3f7d52;
  border: 1px solid #3f7d52;
  background: transparent;
}

.pill.soon {
  color: #b07d2a;
  border: 1px solid #cdb98e;
  background: transparent;
}

/* ── Screenshot strip ──────────────────────────────────────────────────── */
.shots {
  display: flex;
  gap: 6px;
}

.shots img {
  width: 34px;
  height: 62px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid var(--hairline);
}

/* ── Feature chips ─────────────────────────────────────────────────────── */
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 3px 8px;
}

/* ── "View details" arrow ──────────────────────────────────────────────── */
.det {
  flex: 0 0 auto;
  align-self: center;
  font: italic 13px 'Cardo', serif;
  color: var(--muted);
}

/* ── Detail page ───────────────────────────────────────────────────────── */
.detail h1 {
  font-size: 32px;
  margin: 0 0 6px;
}

.lead {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 26px;
}

.gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.gallery img {
  height: 380px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
}

.features {
  columns: 2;
  gap: 24px;
  color: var(--ink);
}

.features li {
  margin: 6px 0;
}

.links {
  display: flex;
  gap: 14px;
  margin: 24px 0;
}

.store,
.priv {
  border: 1px solid var(--hairline);
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--ink);
}

.store {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ── Contact / say-hi ──────────────────────────────────────────────────── */
.say-hi {
  margin-top: 40px;
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
}

.say-hi h2 {
  font-size: 20px;
}

form.contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
}

form.contact input,
form.contact textarea {
  font: 15px Roboto, sans-serif;
  padding: 11px 12px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

form.contact button {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 11px 26px;
  border-radius: 8px;
  font: 600 14px Roboto, sans-serif;
  cursor: pointer;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
footer.site {
  border-top: 1px solid var(--hairline);
  padding: 24px 6%;
  color: var(--muted);
  font-size: 13px;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .row {
    flex-direction: column;
    gap: 12px;
  }

  .gallery img {
    height: 300px;
  }

  .features {
    columns: 1;
  }

  main.wrap {
    padding: 28px 6% 60px;
  }
}
