/* Social AIM Solutions: site styles. Brand: black, white, orange, Poppins. */
:root {
  --ink: #000000;        /* brand black */
  --ink-2: #121212;      /* raised black */
  --wire: #2C2C2C;       /* lines on black */
  --frost: #FFFFFF;      /* text on black */
  --haze: #B5B5B5;       /* muted on black */
  --orange: #F25A00;     /* brand orange */
  --orange-hi: #FF7A26;  /* hover */
  --paper: #FFFFFF;      /* light ground */
  --card: #F6F6F6;       /* raised on white */
  --graphite: #000000;   /* text on white */
  --slate: #5C5C5C;      /* muted on white */
  --rule: #E5E7EB;       /* lines on white */

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.dark { background: var(--ink); color: var(--frost); }
.light { background: var(--paper); color: var(--graphite); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--orange); color: var(--ink); padding: 10px 14px; border-radius: 6px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 4px;
  font: 600 15.5px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--signal { background: var(--orange); color: var(--ink); }
.btn--signal:hover { background: var(--orange-hi); }
.btn--ghost { border: 1.5px solid var(--orange); color: var(--frost); }
.btn--ghost:hover { background: rgba(242, 90, 0, .12); }
.btn--ink { background: var(--ink); color: var(--frost); }
.btn--ink:hover { background: #222; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wire);
  color: var(--frost);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: block; }
.brand__logo { height: 46px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--haze); font-size: 14.5px; font-weight: 500; }
.nav__links a:hover { color: var(--frost); }
.nav__cta { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 72% 45%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 72% 45%, #000 0%, transparent 70%);
}
.hero { min-height: min(820px, calc(100vh - 76px)); display: flex; align-items: center; }
.hero__field { position: absolute; inset: 0; z-index: 0; }
.hero__field canvas { display: block; width: 100%; height: 100%; }
.hero__grid { position: relative; z-index: 1; width: 100%; pointer-events: none; }
.hero__copy { max-width: min(600px, 47%); pointer-events: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__title {
  font-weight: 700; font-size: clamp(34px, 4.8vw, 60px); line-height: 1.06; letter-spacing: -.03em;
  max-width: 14ch;
}
.hero__title span { color: var(--orange); }
.hero__lede { margin-top: 24px; max-width: 52ch; font-size: clamp(16.5px, 1.5vw, 18px); color: var(--haze); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 28px; font-size: 14.5px; color: var(--haze); }


/* Shared section type */
.who, .guarantees, .pricing, .stack, .stories { padding: var(--section) 0; }
.h2 { font-weight: 700; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
.section-lede { margin-top: 16px; max-width: 60ch; font-size: 17.5px; color: var(--slate); }
.dark .section-lede { color: var(--haze); }

/* Tabs */
.tabs { margin-top: 48px; display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tabs__list { display: flex; flex-direction: column; border-left: 2px solid var(--rule); }
.tabs__tab {
  appearance: none; background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 clamp(16.5px, 1.5vw, 19px)/1.3 var(--font); letter-spacing: -.01em; color: var(--slate);
  padding: 16px 0 16px 22px; margin-left: -2px; border-left: 3px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.tabs__tab:hover { color: var(--graphite); }
.tabs__tab[aria-selected="true"] { color: var(--graphite); border-left-color: var(--orange); }
.tabs__panel { background: var(--card); border-radius: 12px; padding: clamp(24px, 3.5vw, 44px); }
.tabs__panel[hidden] { display: none; }
.panel__lead { font-size: clamp(18px, 1.7vw, 21px); font-weight: 500; line-height: 1.45; max-width: 44ch; }
.panel__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.panel__list li { position: relative; padding-left: 22px; }
.panel__list li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px;
  background: var(--orange); border-radius: 50%;
}
.panel__stack { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--slate); font-size: 14.5px; }
.panel__stack span { color: var(--graphite); font-weight: 600; margin-right: 8px; }

/* Integrations */
.core { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.core__tool {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  min-height: 150px; padding: 22px 22px 24px; border: 1px solid var(--wire); border-radius: 12px;
  background: linear-gradient(160deg, #141414 0%, #0A0A0A 100%);
  transition: border-color .2s ease, transform .2s ease;
}
.core__tool:hover { border-color: var(--orange); transform: translateY(-2px); }
.core__logo { height: 34px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; margin-bottom: 10px; border-radius: 6px; }
/* with a logo on the card, the name stays for screen readers only */
.core__tool.has-logo .core__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.core__cat { font-size: 12.5px; font-weight: 600; color: var(--orange); }
.core__name { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--frost); }
.core__use { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--haze); }
@media (prefers-reduced-motion: reduce) { .core__tool:hover { transform: none; } }

.catalog { margin-top: 40px; border-top: 1px solid var(--wire); border-bottom: 1px solid var(--wire); }
.catalog__title {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 18px; color: var(--frost);
}
.catalog__title::-webkit-details-marker { display: none; }
.catalog__title::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--orange); line-height: 1; transition: transform .2s ease; }
.catalog[open] .catalog__title::after { transform: rotate(45deg); }
.catalog__title:hover { color: var(--orange); }
.catalog__grid { margin: 8px 0 12px; columns: 4 220px; column-gap: 40px; }
.catalog__group { break-inside: avoid; margin-bottom: 30px; padding-top: 14px; border-top: 1px solid var(--wire); }
.catalog__group dt { font-size: 13.5px; font-weight: 600; color: var(--orange); margin-bottom: 8px; }
.catalog__group dd { margin: 0; font-size: 15px; line-height: 1.85; color: var(--frost); }
.stack__more { margin-top: 28px; max-width: 60ch; color: var(--haze); }

/* Guarantees */
.g-list { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px clamp(24px, 3vw, 48px); }
.g-item { padding-top: 22px; border-top: 3px solid var(--graphite); }
.g-item h3 { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.g-item p { margin-top: 12px; color: var(--slate); }

/* Pricing */
.pricing { padding-top: 0; }
.pricing__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: var(--section); border-top: 1px solid var(--rule); }
.steps { margin: 36px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 52px; color: var(--slate); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--frost);
  display: grid; place-items: center; font: 600 14px var(--font);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 4px; width: 1.5px; background: var(--rule); }
.steps strong { color: var(--graphite); font-weight: 600; }

.receipt { background: var(--ink); color: var(--frost); border-radius: 14px; padding: 8px clamp(20px, 3vw, 36px) 28px; }
.receipt__row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 26px 0; border-bottom: 1px dashed #3A3A3A; }
.receipt__row--feature .receipt__name h3::after {
  content: "Most popular"; margin-left: 10px; vertical-align: 2px;
  font: 600 11.5px var(--font); color: var(--ink); background: var(--orange);
  border-radius: 999px; padding: 3px 10px;
}
.receipt__name h3 { font-weight: 600; font-size: 19px; line-height: 1.3; }
.receipt__name p { margin-top: 8px; font-size: 14.5px; color: var(--haze); max-width: 46ch; }
.receipt__price { text-align: right; font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; color: var(--orange); }
.receipt__price span { display: block; margin-top: 8px; font-weight: 400; font-size: 13.5px; letter-spacing: 0; color: var(--haze); }
.receipt__price--range { font-size: clamp(20px, 2vw, 24px); }
.receipt__foot { margin-top: 22px; font-weight: 600; color: var(--frost); }

/* Close (orange band) */
.close { padding: var(--section) 0; background: var(--orange); color: var(--ink); }
.close__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.close__quote { margin: 0; }
.close__quote p { font-weight: 700; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.15; letter-spacing: -.03em; }
.close__cta p { margin-bottom: 24px; font-weight: 500; }

/* Footer */
.footer { border-top: 1px solid var(--wire); padding: 28px 0 36px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14.5px; color: var(--haze); }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { color: var(--haze); text-decoration: none; }
.footer a:hover { color: var(--frost); }

/* Responsive */
@media (max-width: 1000px) {
  .core { grid-template-columns: repeat(3, 1fr); }
  .g-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 0; }
  .hero__copy { max-width: none; }
  .hero__field { position: relative; inset: auto; order: 2; height: clamp(480px, 78vw, 680px); margin-top: 16px; }
  .tabs { grid-template-columns: 1fr; }
  .tabs__list { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--rule); scrollbar-width: none; }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__tab { padding: 12px 14px; margin: 0 0 -2px; border-left: 0; border-bottom: 3px solid transparent; white-space: nowrap; font-size: 15.5px; }
  .tabs__tab[aria-selected="true"] { border-bottom-color: var(--orange); }
  .pricing__grid, .close__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand__logo { height: 38px; }
  .nav__inner { height: 66px; }
  .panel__list { grid-template-columns: 1fr; }
  .core { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .core__tool { min-height: 132px; padding: 16px 14px 18px; }
  .core__name { font-size: 17px; }
  .core__use { font-size: 13px; }
  .catalog__grid { columns: 2; column-gap: 20px; }
  .g-list { grid-template-columns: 1fr; gap: 32px; }
  .receipt__row { grid-template-columns: 1fr; gap: 12px; }
  .receipt__price { text-align: left; }
  .hero__actions .btn { width: 100%; }
}
section[id] { scroll-margin-top: 76px; }
/* Make's brand guide: white holding shape with clear space, logo at least 96px wide */
.core__tool[data-logo="make"] .core__logo { height: 48px; }
.core__logo--icon { width: 34px; height: 34px; border-radius: 8px; }
.core__tool[data-logo="slack"] .core__logo { height: 44px; }

/* Industries strip */
.industries { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 20px; }
.industries__label { font-size: 14px; font-weight: 600; color: var(--graphite); }
.industries__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.industries__list li { font-size: 14px; color: var(--slate); padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); }

/* Stories */
.stories { border-top: 1px solid var(--wire); }
.stories__horror { margin-top: 20px; max-width: 62ch; color: var(--haze); font-size: 16px; padding-left: 16px; border-left: 3px solid var(--orange); }
.stories__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.story { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--wire); border-radius: 14px; background: linear-gradient(160deg, #141414 0%, #0A0A0A 100%); }
.story__tag { font-size: 13px; font-weight: 600; color: var(--orange); }
.story__title { margin-top: 8px; font-weight: 700; font-size: clamp(21px, 2vw, 26px); line-height: 1.2; letter-spacing: -.02em; }
.story__parts { margin: 22px 0 0; display: grid; gap: 14px; }
.story__parts div { display: grid; grid-template-columns: 118px 1fr; gap: 14px; padding-top: 14px; border-top: 1px solid var(--wire); }
.story__parts dt { font-size: 13.5px; font-weight: 600; color: var(--frost); }
.story__parts dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--haze); }
.stories__close { margin-top: 36px; font-size: 18px; font-weight: 500; max-width: 60ch; }
.stories__close a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 880px) { .stories__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .story__parts div { grid-template-columns: 1fr; gap: 4px; } }

/* Pricing: hourly rate + calculator */
.pricing__sub { margin-top: 32px; font-weight: 600; font-size: 17px; }
.pricing__intro .steps { margin-top: 18px; }
.rate { padding: 26px 0 22px; border-bottom: 1px dashed #3A3A3A; }
.rate__price { font-weight: 700; font-size: clamp(48px, 6vw, 68px); line-height: 1; letter-spacing: -.04em; color: var(--orange); }
.rate__price span { margin-left: 10px; font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--frost); }
.rate__note { margin-top: 12px; font-size: 14.5px; color: var(--haze); max-width: 46ch; }
.calc { padding: 24px 0; border-bottom: 1px dashed #3A3A3A; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 15px; }
.calc__label output { font-size: 22px; font-weight: 700; color: var(--orange); }
.calc__range { width: 100%; margin: 16px 0 18px; accent-color: var(--orange); height: 28px; cursor: pointer; }
.calc__result { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.calc__result p { font-size: 15px; color: var(--haze); }
.calc__result span { font-weight: 700; font-size: 22px; color: var(--frost); margin-right: 4px; }
.calc__hint { margin-top: 12px; font-size: 13.5px; color: var(--haze); }
