:root {
  color-scheme: light;
  --ink: #171719;
  --muted: #65656d;
  --line: #dedee5;
  --paper: #ffffff;
  --wash: #f7f7fa;
  --purple: #6634ee;
  --purple-soft: #eee8ff;
  --green: #4ebc12;
  --green-soft: #eaf7e4;
  --orange: #ffad0a;
  --orange-soft: #fff2d7;
  --content: 1160px;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.header-inner {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(222, 222, 229, 0.82);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand img {
  border-radius: 13px;
  box-shadow: 0 5px 18px rgba(30, 30, 40, 0.12);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.79rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: #3b3b42;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  color: var(--purple);
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.65fr);
  align-items: center;
  gap: 80px;
  padding-block: 90px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.35rem, 7vw, 6.65rem);
  line-height: 0.92;
  letter-spacing: -0.072em;
}

.lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
}

.primary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  border-radius: 14px;
  color: white;
  background: var(--ink);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(23, 23, 25, 0.15);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(23, 23, 25, 0.22);
}

.quiet-note {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
}

.hero-mark {
  position: relative;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: 6% -6% -4%;
  z-index: -1;
  border-radius: 38%;
  background: linear-gradient(145deg, var(--purple-soft), var(--green-soft) 55%, var(--orange-soft));
  filter: blur(4px);
  transform: rotate(-5deg);
}

.hero-mark img {
  display: block;
  width: 100%;
  max-width: 390px;
  height: auto;
  border-radius: 25%;
  filter: drop-shadow(0 28px 38px rgba(35, 26, 70, 0.18));
}

.highlights {
  padding-block: 100px 120px;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.final-cta h2,
.legal-page h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.2vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.highlight-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(23, 23, 25, 0.07);
  border-radius: var(--radius);
}

.accent-purple { background: var(--purple-soft); }
.accent-green { background: var(--green-soft); }
.accent-orange { background: var(--orange-soft); }

.card-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.highlight-card h3 {
  margin: auto 0 14px;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.highlight-card p {
  margin: 0;
  color: #505057;
  font-size: 0.96rem;
  line-height: 1.56;
}

.gallery-section {
  overflow: hidden;
  padding-block: 110px 125px;
  background: var(--ink);
  color: white;
}

.gallery-section .eyebrow {
  color: #beaaff;
}

.gallery-heading {
  max-width: var(--content);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: end;
  gap: 50px;
}

.gallery-heading h2 {
  max-width: 690px;
}

.gallery-heading > p {
  margin: 0 0 5px;
  color: #b8b8c1;
  line-height: 1.62;
}

.gallery {
  width: min(calc(100% - 40px), 1360px);
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 18px;
  margin: 60px auto 0;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
  background: white;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.28);
}

.gallery figcaption {
  margin-top: 15px;
  color: #d0d0d6;
  font-size: 0.86rem;
  font-weight: 650;
  text-align: center;
}

.final-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding-block: 100px;
}

.final-cta img {
  border-radius: 22px;
  box-shadow: 0 9px 25px rgba(25, 25, 35, 0.14);
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner div {
  display: flex;
  gap: 24px;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--ink);
}

.legal-page {
  width: min(calc(100% - 40px), 760px);
  margin-inline: auto;
  padding-block: 90px 120px;
}

.legal-page .intro {
  margin: 22px 0 48px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

.legal-page h2 {
  margin: 42px 0 12px;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
  color: #4f4f57;
  font-size: 1rem;
  line-height: 1.72;
}

.legal-page ul {
  padding-left: 1.3rem;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 24px;
  margin-top: 38px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
}

.form-row {
  display: grid;
  gap: 9px;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 750;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #cfcfd7;
  border-radius: 13px;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
  font: inherit;
  line-height: 1.5;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-row textarea {
  min-height: 180px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(102, 52, 238, 0.14);
}

.form-row-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-note {
  margin: 0;
  color: var(--muted) !important;
  font-size: 0.82rem !important;
}

.form-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-status {
  margin-top: 32px;
  padding: 16px 18px;
  border: 1px solid;
  border-radius: 14px;
  font-weight: 700;
}

.form-status-success {
  border-color: #9dd583;
  color: #235d08;
  background: var(--green-soft);
}

.form-status-error {
  border-color: #e6a4a4;
  color: #812323;
  background: #fff0f0;
}

@media (max-width: 900px) {
  .brand-copy span { display: none; }
  .hero { grid-template-columns: 1fr 260px; gap: 40px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .highlight-card { min-height: 240px; }
  .gallery { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
  .gallery-heading { grid-template-columns: 1fr; gap: 24px; }
  .gallery-heading > p { max-width: 570px; }
}

@media (max-width: 680px) {
  .section-shell,
  .header-inner { width: min(calc(100% - 28px), var(--content)); }
  .header-inner { min-height: 80px; align-items: flex-start; padding-block: 14px; }
  .brand img { width: 44px; height: 44px; }
  .brand-copy strong { font-size: 1.1rem; }
  nav { max-width: 210px; justify-content: flex-end; flex-wrap: wrap; gap: 10px 18px; }
  nav a { font-size: 0.8rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 66px 74px; }
  .hero-mark { width: 190px; grid-row: 1; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.8rem); }
  .lede { margin-top: 24px; }
  .highlights { padding-block: 74px 86px; }
  .highlight-grid { margin-top: 34px; }
  .gallery-section { padding-block: 80px 90px; }
  .gallery { width: calc(100% - 28px); grid-template-columns: repeat(4, 76vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; }
  .gallery figure { scroll-snap-align: start; }
  .final-cta { grid-template-columns: auto 1fr; padding-block: 72px; }
  .final-cta .primary-button { grid-column: 1 / -1; }
  .final-cta img { width: 68px; height: 68px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 28px; }
  .footer-inner p { margin: 0; }
  .footer-inner div { flex-direction: column; gap: 10px; }
  .legal-page { padding-block: 65px 90px; }
}

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