/* ComplyNestAI — interim one-page site (Nov 2026)
   Brand values match the approved business-card design. */

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B1F37;
  --green: #4FC987;
  --green-hover: #45BD7D;
  --slate: #4A5B6C;
  --border: #C9D4DF;
  --mint: #E4F6EC;
  --teal: #0D7C8F;
  --on-navy: #D5E1EC;
  --muted: #A9B8C8;
  --white: #FFFFFF;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--navy);
  /* Two thin rings, echoing the front of the business card */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560' fill='none'%3E%3Ccircle cx='280' cy='280' r='278' stroke='%231B4248' stroke-width='3'/%3E%3Ccircle cx='280' cy='280' r='204' stroke='%231B4248' stroke-width='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 640px 640px;
  background-position: right -200px top -260px;
  color: var(--white);
  font-family: "Poppins", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 28px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-tile {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  padding: 4px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wordmark {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.wordmark .ai {
  color: var(--green);
}

/* Main */
main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding: 24px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 1.1rem + 2.6vw, 3.25rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
  text-wrap: balance;
}

.lead {
  margin: 20px 0 0;
  max-width: 38rem;
  color: var(--on-navy);
  font-size: 1.125rem;
}

.programs {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-navy);
}

.programs li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(213, 225, 236, 0.35);
  border-radius: 999px;
}

.programs li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
}

/* Contact card */
.contact-card {
  background: var(--white);
  color: var(--navy);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 24px 48px rgba(3, 12, 24, 0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.person {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
}

.person h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.person p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
}

.btn-save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--green);
  color: var(--navy);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.btn-save:hover {
  background: var(--green-hover);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  color: var(--navy);
  text-decoration: none;
}

.contact-row:hover {
  border-color: var(--teal);
}

.icon-circle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.row-label {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

.row-value {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  color: var(--white);
  font-weight: 600;
  text-underline-offset: 4px;
}

.home-link:hover {
  color: var(--green);
}

/* Footer */
.site-footer {
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
}

/* Focus */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.contact-card :focus-visible {
  outline-color: var(--teal);
}

/* Smaller screens */
@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  main {
    align-items: flex-start;
    padding: 8px 0 48px;
  }
}

@media (max-width: 480px) {
  body {
    background-size: 420px 420px;
    background-position: right -170px top -190px;
  }

  .wrap {
    padding: 0 20px;
  }

  .site-header {
    padding: 20px 0;
  }

  .wordmark {
    font-size: 1.5rem;
  }

  .contact-card {
    padding: 24px 20px;
  }
}

.row-value.tel {
  white-space: nowrap;
}

@media (max-width: 359px) {
  h1 {
    font-size: 1.75rem;
  }
}
