/* Tetra Host Studio — shared styles.
   Palette is the app's own: four hues on warm cream. */

:root {
  --cream:   #F6F4EE;
  --card:    #FFFFFF;
  --sunken:  #E8E3D8;
  --text:    #2B2A26;
  --muted:   #857F73;
  --hairline:#EFE9DF;
  --indigo:  #4C56A8;
  --clay:    #C9713F;
  --plum:    #7B4F7A;
  --seafoam: #2F9C80;
  --band:    #C1E2D9;
  --radius:  18px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.band { height: 6px; background: var(--band); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

header.site { padding: 34px 0 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--indigo);
              display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: -0.2px; }
.brand-sub { color: var(--muted); font-size: 13px; margin-left: 2px; }

h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 700; letter-spacing: -0.8px;
     line-height: 1.15; margin: 34px 0 10px; }
h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.3px; margin: 42px 0 14px; }
.lede { color: var(--muted); font-size: 18px; max-width: 46ch; margin: 0 0 8px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        margin: 30px 0 60px; }

.app-card { background: var(--card); border-radius: var(--radius); padding: 22px;
            text-decoration: none; color: inherit; display: block;
            transition: transform .16s ease, box-shadow .16s ease; }
.app-card:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(43,42,38,.07); }
.app-head { display: flex; align-items: center; gap: 15px; }
.app-icon { width: 62px; height: 62px; border-radius: 15px; flex: none; }
.app-name { font-weight: 700; font-size: 19px; letter-spacing: -0.3px; }
.app-tag { color: var(--muted); font-size: 14px; }
.app-body { color: var(--muted); font-size: 15px; margin: 14px 0 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-size: 12.5px; font-weight: 500; padding: 4px 11px; border-radius: 999px; }
.chip.indigo  { background: #E1E3F4; color: #333c85; }
.chip.clay    { background: #F8E7DC; color: #8c4a26; }
.chip.plum    { background: #EFE4EF; color: #5c3a5b; }
.chip.seafoam { background: #D9F0E9; color: #1f6f5b; }

.hero { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin: 30px 0 6px; }
.hero-icon { width: 92px; height: 92px; border-radius: 22px; flex: none; }

.btn { display: inline-block; background: var(--indigo); color: #fff; text-decoration: none;
       font-weight: 600; font-size: 16px; padding: 13px 24px; border-radius: 14px;
       transition: background .16s ease; }
.btn:hover { background: #3f4890; }
.btn.ghost { background: transparent; color: var(--muted); font-weight: 500; padding-left: 10px; }

.shots { display: flex; gap: 14px; overflow-x: auto; padding: 4px 0 14px; scroll-snap-type: x mandatory; }
.shots img { width: 232px; border-radius: 16px; flex: none; scroll-snap-align: start;
             background: var(--card); }

.embed { position: relative; padding-top: 56.25%; border-radius: var(--radius);
         overflow: hidden; background: var(--sunken); margin: 8px 0 10px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.panel { background: var(--card); border-radius: var(--radius); padding: 24px 26px; }
.panel h2 { margin-top: 0; }
.panel p:last-child { margin-bottom: 0; }

ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { position: relative; padding-left: 26px; margin-bottom: 9px; color: var(--muted); }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 10px;
                      width: 9px; height: 9px; border-radius: 3px; background: var(--seafoam); }

footer.site { border-top: 1px solid var(--hairline); margin-top: 64px; padding: 26px 0 46px;
              color: var(--muted); font-size: 14px; display: flex; gap: 18px;
              flex-wrap: wrap; justify-content: space-between; }
footer.site a { color: var(--muted); }

a { color: var(--indigo); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .app-card { padding: 18px; }
}
