@import url("/brand.css");

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

:root {
  --header-offset: 120px;
}

body {
  margin: 0;
  font-family: var(--inc-font);
  color: var(--inc-ink);
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(233, 144, 107, 0.18), transparent 60%),
    radial-gradient(800px 500px at -10% 20%, rgba(86, 143, 122, 0.16), transparent 55%),
    var(--inc-cream-light);
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 22px 48px;
}

.top {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 16px;
  background: rgba(255, 251, 244, 0.88);
  border: 1px solid rgba(23, 59, 64, 0.08);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(4, 70, 80, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--inc-deep-teal);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.top-nav {
  display: flex;
  gap: 18px;
  margin-left: 8px;
}

.top-nav a {
  text-decoration: none;
  color: var(--inc-teal);
  font-size: 14px;
  font-weight: 500;
}

.top-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding: 56px 8px 28px;
  scroll-margin-top: var(--header-offset);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--inc-sage);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--inc-deep-teal);
}

.lead {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: 18px;
  line-height: 1.55;
  color: var(--inc-teal);
}

.hero-stores,
.card-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stores {
  flex-wrap: nowrap;
  align-items: stretch;
}

.hero-stores .store-lg {
  min-width: 0;
  flex: 1 1 0;
  width: auto;
  padding: 12px 14px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store:hover { transform: translateY(-1px); }

.store svg { width: 22px; height: 22px; }

.store-lg {
  min-width: 196px;
  padding: 12px 18px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(4, 70, 80, 0.16);
}

.store-lg small {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  font-weight: 400;
}

.store-lg strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
}

.store-apple { background: var(--inc-deep-teal); }
.store-play { background: var(--inc-teal); }
.store-web { background: var(--inc-peach); color: #fff; }

.store-sm {
  padding: 8px 12px;
  color: var(--inc-deep-teal);
  background: #fff;
  border: 1px solid rgba(15, 88, 91, 0.14);
  font-size: 12px;
  font-weight: 600;
}

.store-sm svg {
  width: 16px;
  height: 16px;
}

.store-sm.store-web {
  background: var(--inc-peach);
  color: #fff;
  border-color: transparent;
}

.hero-art {
  position: relative;
}

.hero-banner {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(4, 70, 80, 0.08);
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 48px;
  scroll-margin-top: var(--header-offset);
}

.steps article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 59, 64, 0.07);
  border-radius: 20px;
}

.steps span {
  color: var(--inc-peach);
  font-weight: 700;
  font-size: 13px;
}

.steps h2,
.directory h2 {
  margin: 8px 0;
  color: var(--inc-deep-teal);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.steps p,
.foot p {
  margin: 0;
  color: var(--inc-teal);
  line-height: 1.5;
}

.directory {
  padding: 8px 0 20px;
  scroll-margin-top: var(--header-offset);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 24px;
  align-items: end;
  margin-bottom: 22px;
}

.search {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 100%;
  min-width: min(100%, 280px);
}

.search span {
  color: var(--inc-teal);
  font-size: 14px;
  font-weight: 600;
}

.search input {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 88, 91, 0.16);
  background: #fff;
  color: var(--inc-ink);
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.search input::-webkit-search-decoration,
.search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search input:focus {
  outline: 2px solid var(--inc-peach);
  outline-offset: 2px;
}

.status {
  color: var(--inc-teal);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  min-height: 100%;
  padding: 22px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(23, 59, 64, 0.07);
  box-shadow: 0 12px 30px rgba(4, 70, 80, 0.05);
}

.card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 72px;
}

.card-id {
  min-height: 72px;
}

.card-copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(160deg, var(--inc-teal), var(--inc-sage));
  flex: 0 0 auto;
  object-fit: cover;
}

.card h3 {
  margin: 0;
  font-size: 22px;
  color: var(--inc-deep-teal);
}

.city,
.studio,
.headline {
  margin: 2px 0 0;
  color: var(--inc-teal);
  min-height: 1.45em;
}

.headline {
  font-weight: 500;
  min-height: 1.45em;
}

.studio:empty { visibility: hidden; }

.bio {
  margin: 0;
  color: #3d6468;
  line-height: 1.5;
  min-height: calc(1.5em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--inc-cream);
  border: 1px dashed rgba(233, 144, 107, 0.55);
}

.code-box small {
  display: block;
  color: var(--inc-sage);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}

.code-box strong {
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--inc-deep-teal);
}

.copy {
  border: 0;
  background: var(--inc-peach);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.copy.done { background: var(--inc-sage); }

.card-stores .store-lg {
  min-width: 0;
  flex: 1;
  justify-content: center;
  padding: 10px 12px;
  box-shadow: none;
}

.card-stores .store-lg strong { font-size: 15px; }

.foot {
  margin-top: 48px;
  padding: 28px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 18px;
  background: var(--inc-deep-teal);
  color: var(--inc-cream-light);
  border-radius: 28px;
}

.foot img {
  width: 72px;
  grid-row: span 2;
}

.foot p { color: rgba(255, 251, 244, 0.82); }

.legal {
  grid-column: 2;
  font-size: 13px;
}

@media (max-width: 860px) {
  .top-nav { display: none; }
  .hero,
  .steps,
  .grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 28px; }
  .hero-art { display: none; }
  .store-lg { width: 100%; justify-content: center; }
  .hero-stores { flex-wrap: nowrap; }
  .hero-stores .store-lg {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 8px;
  }
  .hero-stores .store-lg strong { font-size: 13px; }
  .hero-stores .store-lg small { font-size: 10px; }
  .top {
    gap: 10px;
    padding: 10px 12px;
  }
  .brand span { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  .top-actions .store-sm span { display: none; }
  .top-actions .store-sm {
    width: 40px;
    justify-content: center;
    padding: 8px 0;
  }
  .top-actions .store-sm.store-web {
    width: auto;
    padding: 8px 12px;
  }
  .foot { grid-template-columns: 1fr; }
  .legal { grid-column: auto; }
}

.doc {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 36px 32px;
  background: #fff;
  border: 1px solid rgba(23, 59, 64, 0.08);
  border-radius: 22px;
  line-height: 1.65;
}
.doc h1 { margin: 0 0 6px; font-size: 2rem; color: var(--inc-deep-teal); }
.doc h2 { margin: 32px 0 8px; font-size: 1.15rem; color: var(--inc-teal); }
.doc .updated { margin: 0 0 24px; color: rgba(23, 59, 64, 0.62); font-size: 0.92rem; }
.doc .todo { background: rgba(233, 144, 107, 0.22); padding: 0 4px; border-radius: 4px; }
.doc ul { padding-left: 1.2rem; }
.doc-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.doc-links a { color: rgba(255, 251, 244, 0.9); }
