/* Qiera Studio — shared styles. The same palette and type the Closet Shopper
   support page uses, so every page in the family reads as one. */
:root {
  --ground: #F5F1E8;
  --surface: #FCFAF4;
  --ink: #2B2620;
  --muted: #8A7E6E;
  --rust: #B0522A;
  --line: #E3DACA;
  --shadow: 0 1px 2px rgba(43, 38, 32, 0.05), 0 8px 24px rgba(43, 38, 32, 0.06);
  --maxw: 44rem;
  --sans: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #1C1A16;
    --surface: #26231D;
    --ink: #EDE6D8;
    --muted: #A0937F;
    --rust: #D2793F;
    --line: #37322A;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.28);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) 1.5rem 4rem; }

/* Top bar: studio name left, links right */
.bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
}
.bar a { color: var(--ink); text-decoration: none; }
.bar a:hover { color: var(--rust); }
.bar nav { display: flex; gap: 1.4rem; }
.bar nav a { color: var(--muted); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem;
  font-weight: 700; color: var(--rust); margin: 0 0 0.9rem;
}
.wordmark {
  font-family: var(--sans);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800;
  font-size: clamp(2rem, 6vw, 3rem); line-height: 1.05; margin: 0; text-wrap: balance;
}
.lede { color: var(--muted); margin: 0.9rem 0 0; max-width: 34rem; font-size: 1.1rem; text-wrap: pretty; }
hr.rule { border: 0; height: 1px; background: var(--line); margin: 2.75rem 0; }

h2 {
  font-family: var(--sans);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 0.95rem;
  color: var(--ink); margin: 2.4rem 0 0.7rem;
}
h2 + p { margin-top: 0; }
p { margin: 0 0 1rem; }
a { color: var(--rust); }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin: 0.35rem 0; }
strong { font-weight: 600; }

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 1.5rem 1.6rem; margin-top: 1.25rem;
}
.card h2 { margin-top: 0; }
a.card { display: block; color: inherit; text-decoration: none; transition: transform 0.12s ease; }
a.card:hover { transform: translateY(-1px); }
.project { display: flex; gap: 1.1rem; align-items: center; }
.project > div { min-width: 0; flex: 1 1 auto; }
.project img { width: 64px; height: 64px; border-radius: 14px; flex: 0 0 auto; box-shadow: var(--shadow); }
.project .name {
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.95rem; margin: 0 0 0.25rem;
}
.project .what { color: var(--muted); margin: 0; }
.project .go { margin-left: auto; color: var(--rust); font-family: var(--sans); font-size: 1.2rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  text-decoration: none; color: var(--surface); background: var(--rust);
  padding: 0.75rem 1.2rem; border-radius: 10px;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn:hover { opacity: 0.92; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn.quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.5rem; }
.appstore { display: inline-block; line-height: 0; }
.appstore img { height: 44px; width: auto; }

/* Hero (product page) */
.hero { display: flex; gap: 1.5rem; align-items: center; margin-top: 2rem; }
.hero img.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow); flex: 0 0 auto; }
.tagline { font-style: italic; font-size: 1.2rem; margin: 0.6rem 0 0; color: var(--ink); text-wrap: balance; }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.25rem 0 0.5rem; }
.screens figure { margin: 0; }
.screens img {
  width: 100%; height: auto; display: block;
  border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.screens figcaption {
  font-family: var(--sans); font-size: 0.78rem; color: var(--muted);
  text-align: center; margin-top: 0.6rem; text-wrap: balance;
}
@media (max-width: 560px) {
  .project .go { display: none; }
  .screens { grid-template-columns: 1fr 1fr; }
  .screens figure:nth-child(3) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .hero { flex-direction: column; align-items: flex-start; }
}

/* Feature list */
.features { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.9rem; }
.features li { margin: 0; padding-left: 1.4rem; position: relative; }
.features li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--rust);
}
.features strong { display: block; font-family: var(--sans); font-weight: 700; font-size: 0.95rem; }

footer {
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; align-items: center;
  font-family: var(--sans); font-size: 0.8rem; color: var(--muted);
}
footer a { color: var(--muted); }
footer a:hover { color: var(--rust); }
footer .brand { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
