/* Showcase Studio site. Colors follow the app icon (build/icon.svg):
   a deep navy stage, a blue-to-green accent, cream text. */
:root {
  --bg: #0a0d1c;
  --bg-raised: #121834;
  --line: rgba(242, 238, 233, 0.12);
  --ink: #f2eee9;
  --ink-soft: rgba(242, 238, 233, 0.68);
  --blue: #4a90f0;
  --green: #45bf82;
  --accent: linear-gradient(100deg, var(--blue), var(--green));
  --radius: 18px;
  --font-display: "Instrument Serif", ui-serif, Georgia, serif;
  --font-body: "Work Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(61, 132, 234, 0.28), transparent 70%),
    radial-gradient(900px 600px at 0% 110%, rgba(69, 191, 130, 0.14), transparent 70%), var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(242, 238, 233, 0.08);
  border-radius: 6px;
  padding: 0.1em 0.35em;
}

pre {
  margin: 0;
  overflow-x: auto;
  font: 14px/1.6 var(--font-mono);
  background: #070a16;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(42px, 6.4vw, 76px);
}

h1 em {
  font-style: italic;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(32px, 4.2vw, 48px);
}

h3 {
  font-size: 28px;
}

p {
  margin: 0 0 1em;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 34em;
}

.small {
  font-size: 14px;
  color: var(--ink-soft);
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.top nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.top nav a {
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}

.top nav a:hover {
  color: var(--ink);
}

/* Buttons */
.actions,
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(242, 238, 233, 0.06);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition:
    transform 0.15s,
    background 0.15s;
}

.button:hover {
  transform: translateY(-1px);
  background: rgba(242, 238, 233, 0.12);
}

.button.primary {
  border: 0;
  background: var(--blue);
  color: #070a16;
}

.button.primary:hover {
  background: var(--blue);
  filter: brightness(1.08);
}

.button small {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.75;
}

/* Hero */
main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 64px;
  padding: 48px 0 96px;
}

.phone {
  position: relative;
  margin: 0;
  width: 320px;
}

.phone video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
  border-radius: 36px;
  border: 8px solid #0b0e1c;
  outline: 1px solid rgba(242, 238, 233, 0.22);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 120px rgba(74, 144, 240, 0.25);
}

.sound {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 10, 22, 0.7);
  color: var(--ink);
  font: 500 13px var(--font-body);
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.phone figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Features */
/* The features sit on a lighter band that runs the full width of the
   window: the shadow paints the band past main's edges, and the clip keeps
   it from making the page scroll sideways. */
.features {
  --band: #10163a;
  display: grid;
  gap: 120px;
  padding: 120px 0;
  background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.feature.flip .feature-text {
  order: 2;
}

.feature-text p:not(.eyebrow) {
  color: var(--ink-soft);
}

.feature-art {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.shot {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.shot.narrow {
  width: 260px;
  border-radius: 28px;
}

/* "Publish it": where the video can go, with each one's logo */
.destinations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.dest {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 10, 22, 0.55);
}

.dest .logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  border-radius: 14px;
  color: #fff;
}

.dest .logo svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.dest strong {
  font-weight: 600;
}

.dest.tiktok .logo {
  background: #000;
}

.dest.tiktok .logo svg {
  filter: drop-shadow(-1.5px -1px 0 #25f4ee) drop-shadow(1.5px 1px 0 #fe2c55);
}

.dest.instagram .logo {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.dest.youtube .logo {
  background: #fff;
  color: #ff0000;
}

.dest.youtube .logo svg {
  width: 32px;
}

.dest.airdrop .logo {
  background: #1a8cff;
}

.dest.airdrop .logo svg {
  fill: none;
}

/* Download */
.download {
  padding: 96px 0 120px;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 20px;
  margin-top: 40px;
}

/* The word between the two ways to start */
.or {
  align-self: center;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--ink-soft);
}

.pill {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #070a16 !important;
  font-size: 12px;
  font-weight: 600;
}

.card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.card p {
  color: var(--ink-soft);
}

.card pre {
  margin: 0 0 1em;
}

.copyable {
  position: relative;
  margin: 0 0 1em;
}

.copyable pre {
  margin: 0;
  padding-top: 48px;
}

.copy {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-raised);
  color: var(--ink);
  font: 500 13px var(--font-body);
  cursor: pointer;
}

.copy:hover {
  background: rgba(242, 238, 233, 0.12);
}

.card .downloads {
  margin: 0 0 18px;
}

/* Footer */
footer {
  display: flex;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

footer {
  align-items: center;
}

footer .brand {
  margin-right: auto;
  color: var(--ink);
  font-size: 15px;
}

/* Phone width */
@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .top {
    padding: 16px;
  }

  .top nav {
    gap: 14px;
    font-size: 14px;
  }

  .top .brand img {
    width: 30px;
    height: 30px;
  }

  main {
    padding: 0 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 24px 0 72px;
  }

  .phone {
    width: min(300px, 82vw);
    margin: 0 auto;
  }

  .features {
    gap: 80px;
    padding: 80px 0;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature.flip .feature-text {
    order: 0;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .or {
    text-align: center;
  }

  .card {
    padding: 20px;
  }

  pre {
    font-size: 12.5px;
  }

  footer {
    padding: 28px 16px 40px;
  }
}

/* The examples: a Claude Code chat above a frame of the result */
.direct {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.chat {
  width: 100%;
  max-width: 400px;
  padding: 0 16px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #1f1e1d;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  font-size: 15px;
  line-height: 1.5;
  color: #e8e6e3;
}

.chat-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 -16px 16px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(232, 230, 227, 0.55);
}

.chat-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.chat-bar i:last-of-type {
  margin-right: 8px;
}

.chat p {
  margin: 0;
}

.msg.you {
  margin-left: auto;
  width: fit-content;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  background: #33312e;
}

.tool {
  margin-top: 14px !important;
  font-size: 13px;
  color: rgba(232, 230, 227, 0.5);
}

.tool::after {
  content: " ›";
}

.msg.claude {
  display: flex;
  gap: 10px;
  margin-top: 8px !important;
}

/* Claude's mark, in Claude's coral */
.msg.claude::before {
  content: "✻";
  flex: none;
  color: #d97757;
}

/* A window with plain text in it: the repo's folders, a git log */
.chat.tree {
  min-width: 0;
  max-width: 460px;
  padding-bottom: 6px;
}

.chat.tree .chat-bar {
  margin-bottom: 0;
}

.chat.tree pre {
  margin: 0 -16px;
  padding: 16px 18px;
  border: 0;
  border-radius: 0 0 14px 14px;
  background: none;
  font-size: 13.5px;
  line-height: 1.7;
}

.tree .dir {
  color: #8ab4f8;
}

.tree .note {
  color: rgba(232, 230, 227, 0.45);
}

.tree .sha {
  color: #d9a35f;
}

.shot.frame {
  width: 240px;
  border-radius: 28px;
}

/* The narrowest phones: the icon alone keeps the top bar on one line */
@media (max-width: 360px) {
  .top .brand span {
    display: none;
  }
}

@media (max-width: 820px) {
  .chat.tree pre {
    padding: 14px;
    font-size: 11.5px;
  }
}
