/* ─── Apps hub & app pages ─────────────────────────────── */
:root{
  --hc-navy:#0a2849; --hc-crimson:#9b1d20; --hc-beige:#f5f0e6;
  --text:#222; --muted:#666; --radius:12px;
  font-size:16px;
}
/* BASIC RESET */
*{box-sizing:border-box;margin:0;padding:0;}
body{font-family:Inter,Helvetica,Arial,sans-serif;color:var(--text);line-height:1.6;}
h1,h2,h3{font-family:Merriweather,Georgia,serif;margin-bottom:.5em;color:var(--hc-navy);}
a{color:var(--hc-crimson);text-decoration:none;}
a:hover{text-decoration:underline;}
.container{max-width:1100px;padding:0 1rem;margin:0 auto;}
/* NAV (optional mobile burger) */
.nav{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;}
.nav ul{display:flex;gap:1rem;list-style:none;}
.burger{display:none;font-size:1.8rem;border:none;background:none;}
@media(max-width:700px){
  .nav ul{flex-direction:column;display:none;}
  .nav ul.open{display:flex;}
  .burger{display:block;}
}
/* HUB GRID */
.grid{display:grid;gap:1.5rem;}
@media(min-width:600px){.grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}}

/* CARD: add stroke + keep rounded corners */
.card{
  background:#fff;
  border:2px solid #dcdcdc;         /* ← stroke around each card */
  border-radius:var(--radius);
  box-shadow:0 2px 6px rgba(0,0,0,.1);
  overflow:hidden;                   /* ensures rounded crop for children */
  transition:transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 4px 12px rgba(0,0,0,.15);
  border-color:#cfcfcf;
}

/* IMAGE: rounded-rect mask to match the card */
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;        /* fill area while preserving aspect */
  border-radius: var(--radius) var(--radius) 0 0;  /* rounded top corners */
  display: block;
}
/* New badge: image only, no background */
.appstore-badge{ display:inline-block; line-height:0; }
.appstore-badge img{ height:40px; width:auto; display:block; }

/* Kill the old pill backgrounds (prevents those big ovals) */
.store-badge, .cta{
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  text-decoration: none;
}

/* Add padding to card text content */
.card .padded {
  padding: 5px;
}
header.nav.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;      /* bigger top/bottom + side padding */
  border-bottom: 2px solid #ccc;
  position: relative;
}

header.nav.container::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: #ccc;
}

header.nav.container h1 {
  margin: 0;
}

header.nav.container img {
  height: 100px;            /* bigger logo, but not distorted */
  width: auto;             /* maintain aspect ratio */
  padding: 0 1.5rem;       /* left-right padding around logo */
  display: block;          /* ensure proper rendering */
}

header.nav.container ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 1.5rem;       /* side padding for nav links */
}

header.nav.container ul li {
  position: relative;
  padding: 0 1.25rem;
}

header.nav.container ul li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: #ccc;
}

header.nav.container ul a {
  font-size: 1.1rem;       /* smaller text, more balanced */
  font-weight: 500;
}
/* DETAIL PAGE */
.hero{text-align:center;margin:3rem 0 2rem;}
.hero img{width:120px;height:120px;border-radius:28px;box-shadow:0 4px 12px rgba(0,0,0,.15);}
.cta{display:inline-block;background:var(--hc-crimson);color:#fff;padding:.75rem 1.5rem;border-radius:50px;margin-top:1rem;font-weight:600;}
.cta:hover{background:#7d1518;}
.screenshots{display:grid;gap:1rem;margin-top:2rem;}
@media(min-width:700px){.screenshots{grid-template-columns:1fr 1fr;}}
.screenshots img{width:100%;border-radius:var(--radius);box-shadow:0 2px 8px rgba(0,0,0,.12);}
footer.meta{margin-top:2rem;font-size:.9rem;color:var(--muted);text-align:center;}