/* Second Life Mac — agency.secondlifemac.com
   Production build of the "Agency AI Refresh Landing" design (V2).
   Tokens and component styles are taken from the Second Life Mac design system
   as rendered by the design tool, so the page matches the approved design.

   Fonts: Inter is self-hosted (SIL Open Font License). Neighbor, the display
   face, is licensed through Second Life Mac's Adobe Fonts kit yrf4iia and must be
   served from Adobe (use.typekit.net) — it is loaded by a <link> in the HTML, not
   copied here. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  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;
}

/* ---------------------------------------------------------------- tokens */

:root {
  --catalina-blue: #4798D1;
  --catalina-blue-50: #A3CBE8;
  --big-sur-blue: #122133;
  --monterey-blue: #17304F;
  --maliblue: #215BAA;
  --honeycrisp: #E5C7B8;
  --white: #FFFFFF;
  --neutral-50: #F7F9FB;
  --neutral-100: #EEF2F6;
  --neutral-200: #DDE4EC;
  --neutral-300: #C2CDD9;
  --neutral-500: #5E6F80;
  --neutral-600: #4E5F6F;

  --gradient-honeycrisp: linear-gradient(180deg, var(--catalina-blue-50) 0%, var(--honeycrisp) 100%);

  --surface-page: var(--white);
  --surface-subtle: var(--neutral-50);
  --surface-card: var(--white);
  --text-primary: var(--big-sur-blue);
  --text-secondary: var(--neutral-600);
  --text-muted: var(--neutral-500);
  --border-default: var(--neutral-200);
  --border-input: var(--neutral-300);
  --border-focus: var(--catalina-blue);
  --action-primary-bg: var(--maliblue);
  --action-primary-bg-hover: var(--monterey-blue);
  --action-primary-bg-active: var(--big-sur-blue);
  --icon-interactive: var(--maliblue);
  --icon-informational: var(--big-sur-blue);
  --focus-ring: 0 0 0 3px rgba(71, 152, 209, 0.45);

  --font-display: "neighbor", Inter, system-ui, sans-serif;
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --weight-display: 900;
  --weight-semibold: 600;
  --text-h1: clamp(36px, 4.6vw, 68px);
  --text-h2: clamp(26px, 2.6vw, 38px);
  --leading-display: 0.8;
  --leading-subhead: 1.1;
  --tracking-display: -0.01em;
  --tracking-headline: -0.02em;
  --tracking-subhead: -0.005em;
  --tracking-label: 0.1em;

  --radius-sm: 6px;
  --radius-md: 13px;
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --gutter: 40px;
}

/* ------------------------------------------------------------------ base */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

img, svg { display: block; }
/* height:auto keeps aspect-ratio working: the HTML height attribute is a
   presentational hint and would otherwise pin images at their intrinsic height. */
img { max-width: 100%; height: auto; }

h1, h2, h3, p { margin: 0; }

a { color: var(--maliblue); }
a:hover { color: var(--monterey-blue); }

:focus-visible { outline: 3px solid var(--catalina-blue); outline-offset: 2px; }

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

/* A component's own `display` (e.g. .quote-success is flex) would otherwise beat
   the browser's default for the hidden attribute and show hidden panels. */
[hidden] { display: none !important; }

.u-hidden { display: none !important; }

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--big-sur-blue);
  color: var(--white);
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.15s ease-out;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ----------------------------------------------------------------- icons */

/* Lucide icons (ISC licence), inlined so nothing loads from a CDN. */
.icon {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--17 { width: 17px; height: 17px; }
.icon--18 { width: 18px; height: 18px; }
.icon--19 { width: 19px; height: 19px; }
.icon--20 { width: 20px; height: 20px; }
.icon--22 { width: 22px; height: 22px; }
.icon--26 { width: 26px; height: 26px; }
.icon--28 { width: 28px; height: 28px; }
.icon--34 { width: 34px; height: 34px; }
.icon--interactive { color: var(--icon-interactive); }
.icon--informational { color: var(--icon-informational); }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  letter-spacing: var(--tracking-subhead);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}
.btn--sm { font-size: 14px; padding: 8px 16px; }
.btn--md { font-size: 16px; padding: 12px 24px; }
.btn--lg { font-size: 18px; padding: 16px 32px; gap: 10px; }
.btn--block { display: flex; width: 100%; }

.btn--primary { background: var(--action-primary-bg); color: var(--white); }
.btn--primary:hover { background: var(--action-primary-bg-hover); color: var(--white); }
.btn--primary:active { background: var(--action-primary-bg-active); }

.btn--inverse { background: var(--white); color: var(--big-sur-blue); }
.btn--inverse:hover { background: var(--neutral-100); color: var(--big-sur-blue); }

.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ------------------------------------------------------------ type bits */

.eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--big-sur-blue);
}

.display {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  text-transform: uppercase;
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  color: var(--big-sur-blue);
}
.display--large { font-size: var(--text-h1); line-height: var(--leading-display); }
.display--medium { font-size: var(--text-h2); line-height: 0.9; }

.subhead {
  font-size: var(--text-h2);
  font-weight: 600;
  letter-spacing: var(--tracking-subhead);
  line-height: var(--leading-subhead);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  font-size: 12px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  background: var(--catalina-blue);
  color: var(--big-sur-blue);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--border-default);
}
.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-header__logo { height: 26px; width: auto; }
.site-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  background-color: var(--big-sur-blue);
  background-image: url("../img/agency-creative-team-2000.jpg");
  background-image: image-set(url("../img/agency-creative-team-1200.jpg") 1x, url("../img/agency-creative-team-2000.jpg") 2x);
  background-size: cover;
  background-position: 28% center;
}
.hero__inner {
  padding-block: 72px;
  display: flex;
  justify-content: flex-end;
}
.hero__card {
  width: 100%;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.93);
  border-radius: var(--radius-md);
  padding: 40px;
}
.hero__lede {
  font-size: 20px;
  line-height: 1.5;
  margin-top: 20px;
  max-width: 40ch;
  color: var(--text-primary);
}
.hero__checks { gap: 11px; margin-top: 26px; }
.hero__checks .checklist__item { font-size: 16px; line-height: 1.45; }
.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero__note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ----------------------------------------------------------------- stats */

.stats {
  background: var(--surface-subtle);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}
.stats__inner {
  padding-block: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  margin-block: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.stat__value {
  font-size: var(--text-h2);
  font-weight: var(--weight-semibold);
  line-height: 1;
  letter-spacing: var(--tracking-headline);
  color: var(--big-sur-blue);
}
.stat__label {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-secondary);
  margin: 0;
}

/* -------------------------------------------------------------- quote form */

.quote-section { background: var(--gradient-honeycrisp); scroll-margin-top: 20px; }
.quote-section__inner {
  padding-block: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.quote-section__copy {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 44ch;
}
.quote-section__title {
  margin-top: 12px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.quote-section__body {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
}
.quote-section__points { gap: 12px; margin-top: 26px; }
.quote-section__points .checklist__item { font-size: 15px; line-height: 1.5; }
.quote-section__form {
  flex: 0 1 560px;
  min-width: 0;
  max-width: 560px;
  margin-left: auto;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
}
.card--32 { padding: 32px; }
.card--28 { padding: 28px; }

.quote-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-sans);
  min-width: 0;
}
.field__label {
  font-size: 14px;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}
.field__required { color: var(--maliblue); }
.field__control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  outline: none;
  box-shadow: none;
  transition: border-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}
.field__control:focus { border-color: var(--border-focus); box-shadow: var(--focus-ring); }
.field__control--select {
  appearance: none;
  padding: 12px 44px 12px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23122133' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field__control--select:invalid { color: var(--text-muted); }
.quote-form__submit {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.quote-form__fineprint {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}
.form-notice {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #FDF2F2;
  border: 1px solid #F3C7C7;
  color: #8A1C1C;
  font-size: 14px;
  line-height: 1.5;
}

.quote-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
}
.quote-success__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.quote-success__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------- sections */

.section { background: var(--surface-page); }
.section__inner { padding-block: 88px; }
.section--subtle {
  background: var(--surface-subtle);
  border-top: 1px solid var(--border-default);
}
.section--subtle .section__inner { padding-block: 80px; }

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.split__copy { flex: 1 1 300px; min-width: 0; max-width: 56ch; }
.split__media { flex: 0 1 420px; min-width: 0; max-width: 420px; margin-left: auto; }
.split__lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 18px;
}
.photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.card-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}
.card-grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid--250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card__title {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: var(--tracking-subhead);
}
.card__title--sm { font-size: 18px; letter-spacing: normal; }
.card__body {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ---------------------------------------------------------- sustainability */

.band-dark { background: var(--big-sur-blue); color: var(--white); }
.band-dark__inner {
  padding-block: 88px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
.band-dark__media { flex: 0 1 400px; min-width: 0; max-width: 400px; }
.band-dark__copy { flex: 1 1 260px; min-width: 0; }
.band-dark__title { margin-top: 16px; max-width: 30ch; }
.band-dark__body {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 18px;
  max-width: 52ch;
}
.band-dark__body + .band-dark__body { margin-top: 16px; }
.band-dark__actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------ closing band */

.band-brand { background: var(--catalina-blue); color: var(--big-sur-blue); }
.band-brand__inner {
  padding-block: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}
.band-brand__copy { flex: 1 1 440px; min-width: 0; }
.band-brand__body {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 20px;
  max-width: 46ch;
  color: var(--white);
}
.band-brand__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ------------------------------------------------------------------- FAQ */

.faq__title { margin: 14px 0 40px; }
.faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  grid-auto-rows: 1fr;
  align-items: stretch;
}
.faq__item {
  background: var(--big-sur-blue);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
}
.faq__q {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}
.faq__a {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--big-sur-blue); color: var(--white); }
.site-footer__inner {
  padding-block: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.site-footer__logo { height: 24px; width: auto; }
.site-footer__address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34ch;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__col--legal { font-size: 13px; }
.site-footer__email {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.site-footer__col--legal a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__copyright { color: rgba(255, 255, 255, 0.5); }

/* ----------------------------------------------------------------- modal */

.modal {
  width: min(600px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
}
.modal[open] { overflow-y: auto; }
.modal::backdrop {
  background: rgba(18, 33, 51, 0.62);
  backdrop-filter: blur(2px);
}
.modal .card { box-shadow: 0 20px 48px rgba(18, 33, 51, 0.28); }
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--neutral-100);
  color: var(--text-secondary);
  cursor: pointer;
}
.modal__close:hover { background: var(--neutral-200); color: var(--text-primary); }
.modal__heading {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-right: 40px;
}
.modal__intro {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-top: 6px;
}

body.has-modal { overflow: hidden; }

/* --------------------------------------------------------------- mobile */

/* The design's 40px gutters and 40px hero-card padding leave a ~230px column on
   a phone; tighten them on narrow screens. Desktop is untouched. */
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .hero__inner { padding-block: 40px; }
  .hero__card { padding: 28px 24px; }
  .card--32 { padding: 24px; }
  .quote-section__inner,
  .section__inner,
  .band-dark__inner,
  .band-brand__inner { padding-block: 56px; }
  .section--subtle .section__inner { padding-block: 56px; }
}

/* Section headings that sit under an eyebrow. */
.subhead--why { margin-top: 14px; }
.subhead--buy { margin-top: 14px; max-width: 34ch; }
