/*
 * Welcome Apps — the company shop window (welcomeapps.co.uk).
 * Same family as the Kerching site (type, colours, logo), calmer: one page, no scripts.
 */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bg: #FBFBFD;
  --bg-tint: #F2F2F7;
  --surface: #FFFFFF;
  --ink: #1D1D1F;
  --muted: #5E5E66;
  --line: rgba(0, 0, 0, .09);
  --orange: #FF7A3D;
  --pink: #FF2D78;
  --purple: #8B5CFF;
  --blue: #1E7BFF;
  --grad: linear-gradient(105deg, var(--orange) 0%, var(--pink) 38%, var(--purple) 72%, var(--blue) 100%);
  /* Deeper version for anything with white text on it, so the text passes contrast checks. */
  --grad-solid: linear-gradient(105deg, #E3175E 0%, #9B3DF0 55%, #2A6BF2 100%);
  --accent-text: #C8124F;
  --radius: 28px;
  --radius-small: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -12px rgba(20, 20, 40, .14);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, .05), 0 28px 60px -20px rgba(20, 20, 40, .26);
  --wrap: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-tint: #0B0B0F;
    --surface: #1C1C1E;
    --ink: #F5F5F7;
    --muted: #A1A1A8;
    --line: rgba(255, 255, 255, .12);
    --shadow: 0 0 0 1px rgba(255, 255, 255, .06);
    --shadow-lift: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 70px -20px rgba(0, 0, 0, .8);
    --accent-text: #FF6B9E;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 60%, transparent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.defs { position: absolute; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.nav-inner { height: 60px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 99px; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.btn-primary { color: #fff; background: var(--grad-solid); box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--pink) 70%, transparent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px color-mix(in srgb, var(--purple) 70%, transparent); }
.btn-quiet { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.btn-quiet:hover { transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero { padding: 96px 0 72px; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 18px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--accent-text); }
/* Early access: shown while we open to our first businesses (remove at full launch). */
.early-pill { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700; color: #fff; background: linear-gradient(90deg, #FF5F6D, #A259FF); vertical-align: 1px; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; max-width: 14ch; margin-inline: auto; }
.hero p { margin: 22px auto 0; max-width: 34em; font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 750; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 18px; }

/* ---------- apps ---------- */
.apps { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.app-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
a.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.app-top { display: flex; align-items: center; gap: 14px; }
.app-icon { width: 56px; height: 56px; border-radius: 15px; flex: none; }
.app-name { font-size: 26px; font-weight: 750; letter-spacing: -.02em; line-height: 1.1; }
.app-tag { font-size: 14px; color: var(--muted); }
.app-card > p { color: var(--muted); }
.app-points { display: grid; gap: 8px; font-size: 15.5px; }
.app-points li { display: flex; gap: 10px; align-items: baseline; }
.app-points li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-solid); transform: translateY(-2px); }
.app-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }
.price { font-size: 15px; color: var(--muted); }
.price strong { color: var(--ink); font-size: 17px; }
.go { font-weight: 650; color: var(--accent-text); }
.app-card-soon { box-shadow: none; background: transparent; border: 2px dashed var(--line); justify-content: center; }
.app-card-soon .app-icon { background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--muted); font-size: 28px; font-weight: 300; }

/* ---------- promises ---------- */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise { padding: 26px; border-radius: var(--radius-small); background: var(--surface); box-shadow: var(--shadow); }
.promise h3 { font-size: 19px; letter-spacing: -.01em; margin-bottom: 8px; }
.promise p { color: var(--muted); font-size: 16px; }

/* ---------- contact ---------- */
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius-small); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s ease; }
.contact:hover { transform: translateY(-2px); }
.contact-what { font-size: 14px; font-weight: 600; color: var(--muted); }
.contact-addr { font-weight: 650; color: var(--accent-text); overflow-wrap: anywhere; }
.contact-note { font-size: 15px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { padding: 36px 0 44px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer .brand { color: var(--ink); font-size: 16px; }
.footer .brand-mark { width: 24px; height: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }
.footer-links a { color: var(--muted); }
.footer-note { flex-basis: 100%; }

/* ---------- smaller screens ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .apps, .promises, .contacts { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 52px; }
  .section { padding: 56px 0; }
  .app-card { padding: 24px; }
  .footer-links { margin-left: 0; }
}
@media (min-width: 861px) { .nav-inner .btn { display: none; } }
