/* 140 Pro landing page. Same look as Studio Desk: Manrope, black rounded buttons,
   soft shadows, the green→blue brand gradient and pale blue tints. */
@font-face {
  font-family: 'Manrope';
  src: url('/assets/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #16150f;
  --ink-2: #3f3f46;
  --ink-3: #71717a;
  --paper: #f8f8f8;
  --rule: #ececf0;
  --green: #18cda6;
  --blue: #00cfff;
  --gradient: linear-gradient(90deg, #38ff00, #00cfff);
  --tint: rgb(220, 235, 247);
  --yellow: #ffc846;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(22, 21, 15, 0.04), 0 8px 24px rgba(22, 21, 15, 0.06);
  --shadow-lg: 0 2px 6px rgba(22, 21, 15, 0.05), 0 24px 60px rgba(22, 21, 15, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
.muted { color: var(--ink-3); }
.small { font-size: 0.85rem; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 12px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  border: 0; cursor: pointer; transition: background 0.15s, transform 0.15s, box-shadow 0.15s; white-space: nowrap;
}
.btn:hover { background: #2c2a22; transform: translateY(-1px); }
.btn.lg { height: 50px; padding: 0 26px; font-size: 1rem; border-radius: 14px; }
.btn.secondary { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn.secondary:hover { background: #fff; box-shadow: var(--shadow-lg); }
.btn.ghost { background: none; color: var(--ink); }
.btn.ghost:hover { background: var(--paper); transform: none; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: #000; color: #fff; }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 24px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); }
.nav-links a:hover { color: #fff; }
/* On black: the main button turns white, ghost buttons turn light. */
.nav .btn, .hero .btn { background: #fff; color: #000; }
.nav .btn:hover, .hero .btn:hover { background: #e9e9e9; }
.nav .btn.ghost { background: none; color: #fff; }
.nav .btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.hero .btn.secondary { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.hero .btn.secondary:hover { background: rgba(255, 255, 255, 0.14); }
.nav a:focus-visible, .hero a:focus-visible { outline-color: #fff; }
.nav-actions { margin-left: auto; display: flex; gap: 8px; }

/* Hero */
.hero { padding: 120px 0 104px; color: #fff; background: #000; }
.hero-inner { display: flex; justify-content: center; text-align: center; }
.hero-text { max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; }
/* Hero headline: the gradient phrase changes every few seconds (script in index.html). */
.rotator { display: inline-block; }
.rotator .grad { display: inline-block; transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease; }
.rotator .grad.out { opacity: 0; transform: translateY(-0.22em); filter: blur(6px); }
.rotator .grad.in { opacity: 0; transform: translateY(0.22em); filter: blur(6px); transition: none; }
.grad { white-space: nowrap; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: 1.2rem; color: rgba(255, 255, 255, 0.72); max-width: 560px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Sections */
.section { padding: 88px 0; }
.section.tint { background: var(--paper); }
.section-head { display: grid; gap: 8px; margin-bottom: 40px; max-width: 640px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; }
.section-head p { font-size: 1.05rem; }

/* Services */
.service-groups { display: grid; gap: 40px; }
.group-label { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card img { width: 52px; height: 52px; object-fit: contain; }
.card h4 { font-size: 1.1rem; font-weight: 700; margin-top: 6px; }
.card p { color: var(--ink-3); font-size: 0.95rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.step-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--ink); color: #fff; position: relative; }
.step-n::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: var(--gradient); z-index: -1; opacity: 0.55; filter: blur(6px); }
.steps h4 { font-size: 1.05rem; font-weight: 700; margin-top: 4px; }
.steps p { color: var(--ink-3); font-size: 0.95rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature { display: grid; gap: 8px; padding-top: 18px; border-top: 3px solid transparent; border-image: var(--gradient) 1; }
.feature h3 { font-size: 1.15rem; font-weight: 700; }

/* Get started */
.start { background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--tint) 55%, #fff) 100%); }
.start-options { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
.option { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.option.recommended { box-shadow: var(--shadow-lg); }
.option.recommended::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--gradient); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tag { position: absolute; top: -12px; left: 32px; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.option-kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.option h3 { font-size: 1.5rem; font-weight: 700; }
.option p { color: var(--ink-2); }
.option .btn { margin-top: auto; align-self: flex-start; }
.option p + .btn { margin-top: 12px; }

/* Placeholders: anything marked .ph still needs real content. Remove the class once replaced. */
.ph { outline: 2px dashed var(--yellow); outline-offset: 3px; background-color: color-mix(in srgb, var(--yellow) 18%, transparent); border-radius: 6px; }
.hero .ph { background-color: color-mix(in srgb, var(--yellow) 14%, transparent); }

/* Hero: reassurances and client logos */
.assurances { list-style: none; margin: 28px 0 0; padding: 4px 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: rgba(255, 255, 255, 0.8); font-weight: 600; font-size: 0.92rem; }
.assurances li { display: inline-flex; align-items: center; gap: 8px; }
.assurances li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.trusted { margin-top: 72px; display: grid; justify-items: center; gap: 18px; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; align-items: center; }
.logos img { height: 30px; width: auto; filter: grayscale(1); opacity: 0.7; }
.stats { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); justify-content: center; gap: 24px; text-align: center; }
.stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dt { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; font-weight: 600; }
.stats dd { margin: 0 auto; padding: 0 8px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }

/* Our work */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 18px; }
.work-tile { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.work-tile.tall { grid-row: span 2; }
.work-tile.wide { grid-column: span 2; }
.work-media { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
div.work-media { background: linear-gradient(135deg, var(--a, #eee), var(--b, #ddd)); }
.work-media.ph { outline-offset: -8px; border-radius: inherit; }
.work-tile:hover .work-media { transform: scale(1.03); }
.work-tile figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); display: grid; gap: 1px; }
.work-tile figcaption b { font-size: 0.95rem; }
.work-tile figcaption span { font-size: 0.8rem; color: var(--ink-3); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 22px; }
.quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote figcaption > span:last-child { display: grid; gap: 4px; justify-items: start; }
.quote figcaption b { font-size: 0.95rem; }
.quote figcaption b + span { font-size: 0.85rem; color: var(--ink-3); }
.who-initials, .quote figcaption img { width: 42px; height: 42px; border-radius: 50%; flex: none; object-fit: cover; }
.who-initials { display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 700; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--ink-3); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }
.faq details p.ph { margin-bottom: 18px; padding: 4px 8px; }

/* Get started: talk first */
.talk { margin-top: 28px; text-align: center; color: var(--ink-2); }
.talk a { font-weight: 700; }

/* Footer */
.footer { padding: 36px 0 48px; border-top: 1px solid var(--rule); }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-logo { height: 24px; width: auto; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { text-decoration: none; font-weight: 600; font-size: 0.9rem; color: var(--ink-2); }
.footer .muted { margin-left: auto; }

/* Narrow screens */
@media (max-width: 960px) {
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; gap: 28px; }
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-actions .ghost { display: none; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 64px 0; }
  .cards, .steps, .start-options { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .work-tile.wide { grid-column: auto; }
  .trusted { margin-top: 48px; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .option { padding: 26px; }
  .footer .muted { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
