/* Ablicon landing page. Text/background pairs meet WCAG 2.1 AA (4.5:1 or better). */
:root {
  --purple: #45247A;      /* 11.8:1 with white */
  --purple-dark: #2A1650;
  --coral: #E8603C;       /* decoration only */
  --coral-text: #A8381A;  /* 6.5:1 on white, 5.8:1 on --tint */
  --ink: #1D1A24;
  --muted: #4E4A57;       /* 8.4:1 on white */
  --paper: #FFFFFF;
  --tint: #F5F1FB;
  --line: #DDD4EC;
  --head: 'Lexend', 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  --body: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.125rem; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--purple); }
a:hover { color: var(--purple-dark); }
:focus-visible { outline: 3px solid var(--coral-text); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .6em; color: var(--purple-dark); }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--purple); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; color: #fff; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; }
.brand img { display: block; width: 150px; height: auto; }
.top nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; }
.top nav a { text-decoration: none; font-weight: 700; color: var(--ink); padding: 10px 2px; }
.top nav a:hover { color: var(--purple); text-decoration: underline; }
.top nav a.nav-admin { color: var(--purple); border: 2px solid var(--purple); border-radius: 999px; padding: 8px 16px; }

/* Hero */
.hero { background: var(--tint); padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.kicker { font-weight: 700; color: var(--coral-text); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 36em; }
.small { font-size: .95rem; color: var(--muted); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 22px; border-radius: 14px;
  background: var(--purple); color: #fff; text-decoration: none; border: 2px solid var(--purple); }
.store:hover { background: var(--purple-dark); color: #fff; }
.store .s1 { display: block; font-size: .8rem; line-height: 1.1; }
.store .s2 { display: block; font-family: var(--head); font-size: 1.15rem; font-weight: 700; line-height: 1.2; }
.store svg { flex-shrink: 0; }
.store.soon { background: var(--paper); color: var(--purple-dark); border-color: var(--line); cursor: default; }
.store.mine { box-shadow: 0 0 0 4px rgba(232, 96, 60, .35); }

/* Phone illustration */
.phone-wrap { display: flex; justify-content: center; }
.phone { width: 290px; height: 560px; border-radius: 44px; background: linear-gradient(165deg, #3A1F68, #1E1035);
  border: 10px solid #15111C; position: relative; padding: 46px 14px 0; color: #fff; box-shadow: 0 30px 60px -20px rgba(42, 22, 80, .45); }
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; background: #15111C; border-radius: 14px; }
.clock { text-align: center; font-size: 3.4rem; font-weight: 300; margin: 6px 0 0; line-height: 1; }
.date { text-align: center; font-size: .95rem; opacity: .85; margin-bottom: 26px; }
.notif { display: flex; gap: 10px; background: rgba(255, 255, 255, .94); color: #111; border-radius: 18px; padding: 12px; outline: 3px solid #000; outline-offset: 2px; }
.notif img { border-radius: 8px; flex-shrink: 0; }
.notif p { margin: 0; font-size: .85rem; line-height: 1.3; }
.notif-app { display: flex; justify-content: space-between; color: #555; font-size: .75rem !important; }
.notif-title { font-weight: 700; }
.vo { position: absolute; left: 14px; right: 14px; bottom: 58px; background: #000; border-radius: 14px; padding: 10px 12px; font-size: .82rem; line-height: 1.35; }
.vo b { color: #FF9A76; }
.buzz { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: .78rem; opacity: .85; margin: 0; }

/* Sections */
section { padding: 72px 0; }
.band { background: var(--tint); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.num { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--purple); color: #fff;
  align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-top: 5px solid var(--coral); border-radius: 14px; padding: 22px; }
.card p { color: var(--muted); margin: 0; }
.venues-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 48px; align-items: center; }
.ticks { padding-left: 1.2em; }
.ticks li { margin-bottom: .6em; }
.venue-mark { justify-self: center; width: 220px; }
.cta { display: inline-block; margin-top: 10px; background: var(--purple); color: #fff; text-decoration: none; font-weight: 700;
  padding: 14px 24px; border-radius: 999px; min-height: 48px; }
.cta:hover { background: var(--purple-dark); color: #fff; }

/* Footer */
.foot { background: var(--purple-dark); color: #fff; padding: 28px 0; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot p { margin: 0; }
.foot a { color: #fff; }

/* Phones and small tablets */
@media (max-width: 860px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid, .venues-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .venue-mark { display: none; }
  .top nav li:not(:last-child) { display: none; }
  section { padding: 52px 0; }
}
@media (max-width: 380px) {
  .phone { transform: scale(.9); }
  .store { width: 100%; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Shown inside the Ablicon app (?app=1): nothing to download, no admin links. */
.in-app .stores, .in-app .small, .in-app .nav-admin, .in-app .foot-admin { display: none !important; }
