/* Pipedream Studios: front page and shared studio pages (404). */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background: #0B0B0D;
  color: #F2F2F5;
  font-family: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: #4FB4F0; }
a:hover { color: #8FD0F7; }
a:focus-visible { outline: 3px solid #4FB4F0; outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  background: #F2F2F5;
  color: #0B0B0D;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; color: #0B0B0D; }

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

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding-top: 28px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #F2F2F5;
  text-decoration: none;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.wordmark:hover { color: #F2F2F5; }
.wordmark b { font-weight: 700; }
.wordmark span { margin-left: 0.28em; font-weight: 400; color: #A1A1A8; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 15px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #C7C7CC;
  text-decoration: none;
}
.site-nav a:hover { color: #FFFFFF; }

/* Intro */
.intro { padding-top: 96px; padding-bottom: 56px; }
.intro h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.intro p {
  margin: 22px 0 0;
  max-width: 560px;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.5;
  color: #A1A1A8;
}

/* Featured app */
.app-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 56px;
  padding: clamp(28px, 4vw, 56px);
  background: #000000;
  border: 1px solid #222226;
  border-radius: 40px;
  box-shadow: 0 0 80px rgba(255, 107, 44, 0.10);
}
.app-info { flex: 1 1 420px; min-width: 0; }
.app-icon {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 25px;
  box-shadow: 0 0 0 1px #2A2A2E;
}
.badge {
  display: inline-flex;
  margin: 28px 0 0;
  padding: 6px 14px;
  border: 1.5px solid #FF6B2C;
  border-radius: 999px;
  color: #FF8A57;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.app-card h2 {
  margin: 16px 0 0;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.tagline {
  margin: 14px 0 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
  font-weight: 500;
  color: #D1D1D6;
}
.desc { margin: 14px 0 0; max-width: 520px; font-size: 17px; line-height: 1.6; color: #8E8E93; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.btn-beta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #FF6B2C;
  color: #0B0B0D;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(255, 107, 44, 0.4);
}
.btn-beta:hover { background: #FF8048; color: #0B0B0D; }
.btn-beta:focus-visible { outline-color: #FF8A57; }
.link-more { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; }
.note { margin: 16px 0 0; max-width: 520px; font-size: 15px; line-height: 1.5; color: #8E8E93; }
.shot { flex: 0 1 300px; min-width: 0; margin: 0 auto; }
.shot-frame { padding: 10px; background: #19191B; border: 1px solid #2E2E33; border-radius: 48px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 38px; }

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 32px;
  margin-top: 96px;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid #1E1E22;
  color: #8E8E93;
  font-size: 15px;
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* Not found */
.notfound { padding-top: 120px; }
.notfound h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.notfound p { margin: 20px 0 0; max-width: 520px; font-size: 19px; color: #A1A1A8; }
.notfound ul { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 17px; font-weight: 600; }
.notfound li a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 520px) {
  .intro { padding-top: 64px; padding-bottom: 40px; }
  .app-card { border-radius: 30px; }
  .site-footer { margin-top: 72px; }
}
