/* Colours and type follow the Jento logo: its magenta, and Poppins as on jentogroup.com. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --tint: #faf6f8;
  --ink: #1f1f1f;
  --muted: #5c5c5c;
  --line: #e7e3e5;
  --accent: #ae3a76;
  --accent-soft: #f7eaf1;
  --radius: 12px;
  --max: 1040px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: var(--accent); text-underline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
/* "Apps" sits on the wordmark's baseline, at its size and colour. */
.brand { display: flex; align-items: flex-end; gap: 7px; text-decoration: none; }
.brand img { height: 56px; width: auto; display: block; }
.brand span { color: var(--accent); font-size: 25px; line-height: 1; padding-bottom: 11px; }
.site-nav { display: flex; gap: 24px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

.site-footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }

/* Type */
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 600; }
h1 { font-size: clamp(32px, 5vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 28px); }
h3 { font-size: 18px; }
.lede { font-size: 18px; color: var(--muted); max-width: 680px; margin: 16px 0 0; }

/* Sections */
.hero { padding: 64px 0 40px; }
.section { padding: 40px 0; }
.section-head { max-width: 680px; margin-bottom: 24px; }
.section-head p { color: var(--muted); margin: 8px 0 0; }

.badge { display: inline-block; margin-top: 24px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 500; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.card .example { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: var(--tint); color: var(--ink); font-size: 14px; }
.tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 500; vertical-align: middle; }

/* App tiles on the home page */
.app-tile { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; text-decoration: none; color: inherit; transition: border-color 0.15s; }
.app-tile:hover { border-color: var(--accent); }
.app-tile img { width: 56px; height: 56px; }
.app-tile p { margin: 4px 0 0; }
.app-tile .status { font-size: 13px; font-weight: 500; color: var(--accent); white-space: nowrap; }

/* Plans */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan h3 { font-size: 20px; }
.plan ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.plan li { margin: 6px 0; }
.note { color: var(--muted); font-size: 15px; margin-top: 16px; }

.prose { max-width: 680px; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 32px; font-size: 20px; }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .site-nav { gap: 16px; }
  .site-header .wrap { height: 68px; }
  .brand img { height: 44px; }
  .brand span { font-size: 20px; padding-bottom: 8px; }
  .hero { padding: 40px 0 24px; }
  .app-tile { grid-template-columns: 44px 1fr; }
  .app-tile img { width: 44px; height: 44px; }
  .app-tile .status { grid-column: 2; }
}
