/* Palette taken from the Sadora logo (Figma TTD-ASN, node 55:4540) */
:root {
  --ground: #f4f6f9;
  --ink: #1f2538;
  --ink-soft: #5a6278;
  --line: #d8dde7;
  --card: #ffffff;
  --blue: #2479b2;
  --green: #23b24a;
  --lime: #7cc242;
  --accent-text: #1d6c96;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #10141f;
    --ink: #eef1f7;
    --ink-soft: #a3abbf;
    --line: #2a3145;
    --card: #181d2b;
    --accent-text: #6fb6e4;
  }
}
:root[data-theme="dark"] {
  --ground: #10141f;
  --ink: #eef1f7;
  --ink-soft: #a3abbf;
  --line: #2a3145;
  --card: #181d2b;
  --accent-text: #6fb6e4;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
img { display: block; }

.top, main, .foot {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-inline: 16px;
}
@media (min-width: 720px) {
  .top, main, .foot { padding-inline: 32px; }
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { height: 36px; width: auto; }
.brand-apps {
  padding: 4px 9px 3px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav { display: flex; gap: 20px; font-size: 0.95rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }

main { flex: 1; }

.intro { padding-block: 56px 44px; max-width: 780px; }
.eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text);
}
h1 {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue) 10%, var(--green) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { margin: 20px 0 0; font-size: 1.1rem; color: var(--ink-soft); max-width: 58ch; }

.shelf { padding-block: 28px 72px; border-top: 1px solid var(--line); }
.shelf-title {
  margin: 0 0 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.app > a, .app > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  height: 100%;
  padding: 24px 14px 20px;
  border-radius: 20px;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.app > a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0;
  transition: opacity .18s ease;
}
.app > a:hover, .app > a:focus-visible {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 12px 28px -16px rgba(31, 37, 56, .45);
  outline: none;
}
.app > a:hover::before, .app > a:focus-visible::before { opacity: 1; }
.icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 8px;
  box-shadow: 0 6px 16px -8px rgba(31, 37, 56, .5);
}
.placeholder {
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--ink-soft);
  border: 2px dashed var(--line);
  box-shadow: none;
}
.name { font-weight: 700; font-size: 1.05rem; }
.tag { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; }
.soon > div { background: transparent; border-style: dashed; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.foot p { margin: 0; }

@media (max-width: 420px) {
  .brand img { height: 30px; }
  .nav { gap: 14px; font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .app > a, .app > a::before { transition: none; }
  .app > a:hover { transform: none; }
}
