/* apps.sproutgrade.com: SproutGrade's palette and type (sproutgrade-frontend/src/styles.scss) */
@font-face { font-family: "Sora"; src: url("fonts/sora.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --violet: #7c3aed;
  --violet-deep: #5b21b6;
  --violet-soft: #ede4ff;
  --lilac: #c4b5fd;
  --bar: #1a1130;
  --ground: #f4f2fb;
  --surface: #ffffff;
  --ink: #16112b;
  --ink-soft: #5a5478;
  --muted: #736d8c;
  --line: #e6e1f5;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 500 17px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--violet-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--violet); }
a:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: "Sora", "Manrope", sans-serif; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

/* top bar */
.bar { background: var(--bar); color: #fff; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 20px/1 "Sora", sans-serif; }
.brand img { width: 26px; height: auto; }
.brand span { color: var(--lilac); }
.brand:hover { color: #fff; }
.bar nav { display: flex; gap: 22px; font-weight: 700; font-size: 15px; }
.bar nav a { color: #d8d0ff; text-decoration: none; }
.bar nav a:hover { color: #fff; }
@media (max-width: 400px) { .bar nav .apps-link { display: none; } }

/* intro */
.intro { padding-top: 56px; padding-bottom: 28px; }
.eyebrow { color: var(--violet); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.intro h1 { font-size: clamp(34px, 6vw, 54px); font-weight: 800; }
.intro p { color: var(--ink-soft); font-size: clamp(17px, 2.2vw, 20px); margin: 14px 0 0; max-width: 46ch; }

/* app rows */
.apps { display: grid; gap: 22px; padding-bottom: 56px; }
.app {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px 28px;
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 26px; align-items: center;
  box-shadow: 0 10px 30px rgba(124, 58, 237, .07);
}
.app > img { width: 96px; height: 96px; border-radius: 22px; }
.app h2 { font-size: 28px; font-weight: 800; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.status { background: var(--violet-soft); color: var(--violet-deep); border-radius: 999px; padding: 4px 12px; font: 800 12px/1.4 "Manrope", sans-serif; letter-spacing: 0; }
.meta { color: var(--muted); font-weight: 700; font-size: 14px; margin: 4px 0 0; }
.app p.desc { color: var(--ink-soft); margin: 8px 0 0; max-width: 54ch; }
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-weight: 800; }
.links a { text-decoration: none; }
.links a:hover { text-decoration: underline; }
.shots { display: flex; gap: 10px; }
.shots img { width: 92px; aspect-ratio: 360 / 782; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
@media (max-width: 900px) {
  .app { grid-template-columns: 72px minmax(0, 1fr); gap: 18px 20px; padding: 22px; align-items: start; }
  .app > img { width: 72px; height: 72px; border-radius: 17px; }
  .shots { grid-column: 1 / -1; }
  .shots img { width: calc((100% - 20px) / 3); }
}
@media (max-width: 480px) { .app h2 { font-size: 24px; } }

/* contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.contact .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.contact h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; }
.contact p { color: var(--ink-soft); margin: 10px 0 0; }
.cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.button { display: inline-flex; align-items: center; gap: 8px; background: var(--violet); color: #fff; border-radius: 12px; padding: 13px 22px; font-weight: 800; text-decoration: none; }
.button:hover { background: var(--violet-deep); color: #fff; }
@media (max-width: 760px) { .contact .wrap { grid-template-columns: 1fr; } }

/* text pages */
.page { padding-top: 48px; padding-bottom: 72px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(30px, 6vw, 42px); font-weight: 800; }
.page .meta { margin: 8px 0 28px; }
.page h2 { font-size: 22px; margin: 32px 0 8px; }
.page p, .page li { color: var(--ink); }

/* footer */
footer { padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { font-weight: 800; text-decoration: none; }
