/* ==========================================================================
   WebsDocs Business — Hosted Business Profiles
   business-profile-index.css
   v2.1.0-premium
   ========================================================================== */

:root {
  color-scheme: light;

  --bp-ink: #0b1b31;
  --bp-ink-2: #223a59;
  --bp-muted: #60738d;
  --bp-muted-2: #8291a5;

  --bp-shell: #071426;
  --bp-shell-2: #0c1c33;
  --bp-shell-3: #14284a;

  --bp-page: #f5f8fc;
  --bp-surface: #ffffff;
  --bp-surface-soft: #f2f6fc;

  --bp-line: #d8e3ef;
  --bp-line-strong: #c6d5e6;

  --bp-blue: #245be6;
  --bp-blue-dark: #1748c6;
  --bp-blue-soft: #edf3ff;
  --bp-cyan: #0f9fcb;
  --bp-violet: #6a50d7;

  --bp-shadow-sm: 0 10px 28px rgba(18, 48, 91, 0.07);
  --bp-shadow-md: 0 22px 60px rgba(11, 34, 70, 0.14);
  --bp-shadow-lg: 0 34px 90px rgba(2, 14, 34, 0.24);

  --bp-radius-sm: 10px;
  --bp-radius: 16px;
  --bp-radius-lg: 24px;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--bp-ink);
  background: var(--bp-page);
  line-height: 1.6;
}


/* ==========================================================================
   RESET / DOCUMENT
   ========================================================================== */

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

html {
  min-width: 320px;
  background: var(--bp-shell);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bp-page);
  color: var(--bp-ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid #46bde9;
  outline-offset: 4px;
}

.skip {
  position: absolute;
  top: -100px;
  left: 18px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--bp-ink);
  text-decoration: none;
  box-shadow: var(--bp-shadow-sm);
}

.skip:focus {
  top: 12px;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

header {
  width: 100%;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 13px clamp(24px, 4.5vw, 96px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: #071426;
  color: #ffffff;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 6px;
  color: #9db2ce;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: #d6e2f2;
  font-size: 13px;
}

nav a {
  position: relative;
  padding: 8px 0;
  text-decoration: none;
  font-weight: 700;
  transition:
    color 0.16s ease,
    transform 0.16s ease;
}

nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: #6aa2ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.16s ease;
}

nav a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

nav a:hover::after {
  transform: scaleX(1);
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--bp-blue);
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(36, 91, 230, 0.22);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--bp-blue-dark);
  box-shadow: 0 15px 30px rgba(36, 91, 230, 0.28);
}

.secondary {
  border-color: rgba(180, 201, 228, 0.62);
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  box-shadow: none;
}

.secondary:hover {
  border-color: #8fb7eb;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: clamp(620px, 72vh, 880px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: clamp(44px, 6vw, 120px);
  align-items: center;
  padding: clamp(64px, 7.5vw, 136px) clamp(24px, 5vw, 104px);
  background:
    radial-gradient(circle at 10% 8%, rgba(40, 104, 217, 0.24), transparent 28%),
    radial-gradient(circle at 84% 22%, rgba(99, 83, 215, 0.20), transparent 30%),
    linear-gradient(135deg, #081527 0%, #0c1b31 52%, #14284a 100%);
  color: #ffffff;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
}

.hero::before {
  width: 680px;
  height: 680px;
  top: -410px;
  right: 22%;
  box-shadow:
    0 0 0 74px rgba(255, 255, 255, 0.008),
    0 0 0 148px rgba(255, 255, 255, 0.005);
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -235px;
  bottom: -245px;
}

.hero > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  color: #90b7ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  max-width: 800px;
  margin: 22px 0 24px;
  color: #ffffff;
  font-size: clamp(48px, 4.6vw, 88px);
  font-weight: 840;
  line-height: 0.98;
  letter-spacing: -0.058em;
}

p {
  max-width: 65ch;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: #bfd0e6;
  font-size: clamp(16px, 1.15vw, 22px);
  line-height: 1.72;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 31px 0 17px;
}

.note {
  margin: 0;
  color: #9eb3ce;
  font-size: 12px;
  line-height: 1.6;
}


/* ==========================================================================
   PROFILE ILLUSTRATION
   ========================================================================== */

.showcase {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(185, 203, 228, 0.30);
  border-radius: var(--bp-radius-lg);
  background: var(--bp-surface);
  color: var(--bp-ink);
  box-shadow: var(--bp-shadow-lg);
  transform: translateZ(0);
}

.cover {
  position: relative;
  height: clamp(110px, 8vw, 150px);
  background:
    linear-gradient(110deg, #1f5b9b 0%, #315aa5 48%, #5f51b0 100%);
}

.cover::after {
  content: "Hosted by WebsDocs";
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.sample {
  padding: clamp(28px, 2.4vw, 42px);
}

.sample-label {
  color: #6b7c93;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.sample h2 {
  margin: 16px 0 6px;
  color: #0b1b31;
  font-size: clamp(28px, 2vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.sample p {
  margin: 9px 0;
  color: #4f637e;
  font-size: 14px;
  line-height: 1.65;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.chips span {
  padding: 6px 11px;
  border: 1px solid #dce7f4;
  border-radius: 8px;
  background: #eef4fc;
  color: #415775;
  font-size: 11px;
  font-weight: 700;
}

.sample-foot {
  padding: 15px clamp(28px, 2.4vw, 42px);
  border-top: 1px solid #e2e9f2;
  background: #f8fafe;
  color: #6a7c94;
  font-size: 11px;
}


/* ==========================================================================
   DETAILS / PROCESS
   ========================================================================== */

.details {
  width: 100%;
  padding: clamp(58px, 6vw, 100px) clamp(24px, 5vw, 104px);
  background:
    linear-gradient(180deg, #f7f9fd 0%, #f3f7fc 100%);
}

.details > .eyebrow {
  color: var(--bp-blue) !important;
}

.details > h2 {
  max-width: 920px;
  margin: 11px 0 13px;
  color: var(--bp-ink);
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.details > p {
  margin: 0;
  color: var(--bp-muted);
  font-size: 15px;
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0;
}

.card {
  position: relative;
  min-width: 0;
  min-height: 210px;
  overflow: hidden;
  padding: 27px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: #ffffff;
  box-shadow: var(--bp-shadow-sm);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--bp-blue);
}

.card:nth-child(2)::before {
  background: var(--bp-cyan);
}

.card:nth-child(3)::before {
  background: var(--bp-violet);
}

.number {
  color: var(--bp-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.card:nth-child(2) .number {
  color: #087f9f;
}

.card:nth-child(3) .number {
  color: #5f49c5;
}

.card h3 {
  margin: 13px 0 9px;
  color: var(--bp-ink);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--bp-muted);
  font-size: 13px;
  line-height: 1.67;
}


/* ==========================================================================
   CLOSING CTA
   ========================================================================== */

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 2.5vw, 38px);
  border: 1px solid #d0deef;
  border-radius: 18px;
  background: #eaf1fb;
}

.closing strong {
  color: #132b49;
  font-size: 17px;
}

.closing p {
  margin: 6px 0 0;
  color: #526680;
  font-size: 13px;
}

.closing .button.secondary {
  flex: 0 0 auto;
  border-color: #b8c9df;
  background: #ffffff;
  color: #1e416f;
}

.closing .button.secondary:hover {
  border-color: #7fa5d8;
  background: #f7faff;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px clamp(24px, 5vw, 104px);
  border-top: 1px solid #d7e1ed;
  background: #ffffff;
  color: #657992;
  font-size: 12px;
}

footer div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

footer a {
  color: #445d7b;
  font-weight: 700;
  text-decoration: none;
}

footer a:hover {
  color: var(--bp-blue);
}


/* ==========================================================================
   LARGE DESKTOP
   ========================================================================== */

@media (min-width: 2200px) {
  header,
  .hero,
  .details,
  footer {
    padding-left: clamp(100px, 5vw, 200px);
    padding-right: clamp(100px, 5vw, 200px);
  }

  .hero {
    grid-template-columns: minmax(700px, 1.05fr) minmax(620px, .95fr);
  }

  .showcase {
    max-width: 920px;
    justify-self: end;
  }

  .card {
    min-height: 240px;
  }
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 62px;
    padding-bottom: 70px;
  }

  .showcase {
    width: min(760px, 100%);
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 760px) {
  header {
    min-height: 70px;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  nav {
    width: 100%;
    gap: 14px;
    font-size: 12px;
  }

  .hero {
    padding: 46px 18px 56px;
  }

  h1 {
    margin-top: 18px;
    font-size: clamp(42px, 13vw, 58px);
  }

  .lead {
    font-size: 15px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .cover {
    height: 92px;
  }

  .cover::after {
    top: 14px;
    right: 16px;
    font-size: 8px;
  }

  .sample {
    padding: 24px 20px;
  }

  .sample-foot {
    padding: 14px 20px;
  }

  .details {
    padding: 48px 18px;
  }

  .grid {
    gap: 14px;
  }

  .card {
    padding: 22px;
  }

  .closing {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 18px;
  }
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  nav a,
  nav a::after {
    transition: none;
  }
}
