:root {
  color-scheme: light;
  --ink: #203c64;
  --muted: #49617e;
  --blue: #3261d6;
  --sky: #eaf3fd;
  --mint: #91d4b2;
  --apricot: #ffbe8f;
  --violet: #b7aff0;
  --body-font: "DM Sans", sans-serif;
  --heading-font: "Nunito Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8fbff;
  font-family: var(--body-font);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 880px;
  background: radial-gradient(ellipse at 88% 38%, #d1eadb 0, transparent 36%),
    radial-gradient(ellipse at 61% 20%, #e0e3ff 0, transparent 42%),
    linear-gradient(#eaf3fd 66%, #f8fbff);
}
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
  border-radius: 5px;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--heading-font);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
}
p { text-wrap: pretty; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: .75rem 1rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

/* A small glass header, with readable solid text. */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  padding-block: 20px;
}
.identity { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.wordmark {
  font-family: var(--heading-font);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.065em;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid #ffffffcf;
  border-radius: 100px;
  background: #ffffff6b;
  backdrop-filter: blur(18px);
}
.site-header nav a {
  padding: 9px 19px;
  border-radius: 100px;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
}
.site-header nav a:hover { background: #fff; }

/* The mark is the hero image; the words explain the idea. */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  align-items: center;
  min-height: 620px;
  padding-block: 40px 55px;
}
.hero h1 {
  font-size: clamp(3.4rem, 6.6vw, 6rem);
  font-weight: 900;
  line-height: 1.025;
  letter-spacing: -.057em;
}
.hero-copy > p {
  max-width: 435px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.65;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  margin-top: 30px;
  padding: 13px 24px;
  border: 1px solid #2854c5;
  border-radius: 100px;
  color: white;
  background: var(--blue);
  box-shadow: 0 5px 14px #3261d617, inset 0 1px 0 #ffffff30;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: #254eb8; }
.hero-art { position: relative; width: 100%; max-width: 460px; margin-inline: auto; padding: 8px 0 25px; }
.glass-surface {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border: 1px solid #ffffffcf;
  border-radius: 47% 47% 43% 43%;
  background: linear-gradient(135deg, #ffffff70, #ffffff15 58%, #fff7eb9c);
  box-shadow: inset 0 1px 5px #fff9, 0 24px 80px -45px #496f9d50;
}
.glass-mark { width: 100%; max-width: none; filter: drop-shadow(0 18px 22px #40587613); }
.art-note {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: max-content;
  max-width: 100%;
  padding: 10px 20px;
  border: 1px solid #ffffffe3;
  border-radius: 100px;
  background: #ffffff9e;
  backdrop-filter: blur(20px);
  transform: translateX(-50%) rotate(-3deg);
  font-size: .9375rem;
  color: #3e5676;
}

/* Open reading space between the visual sections. */
.outlook {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-block: 110px 124px;
  border-top: 1px solid #d9e4f0;
}
.section-label { display: block; margin-bottom: 22px; color: #49617e; font-size: 1rem; font-weight: 500; }
h2 { font-size: clamp(2.4rem, 4vw, 3.5rem); }
.outlook h2 { max-width: 430px; }
.outlook-copy { padding-top: 44px; }
.outlook-copy p { color: var(--muted); }
.outlook-copy p + p { margin-top: 19px; }

/* Each practice has its own color, tied to one loop of the mark. */
.everyday { padding-block: 100px; background: #ecf3fd; }
.everyday-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 100px; align-items: start; }
.everyday-intro h2 { max-width: 375px; }
.everyday-intro > p { margin-top: 24px; max-width: 335px; color: var(--muted); }
.flat-mark { margin-top: 52px; }
.practices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.practice { padding: 30px 29px 32px; border-radius: 26px; }
.practice h3 { font-size: 1.625rem; letter-spacing: -.035em; line-height: 1.17; }
.practice p { margin-top: 18px; font-size: 1rem; line-height: 1.7; }
.practice-blue { background: #dbe7ff; color: #274877; }
.practice-green { background: #d5efe1; color: #285344; }
.practice-peach { background: #ffe4cd; color: #704428; }
.practice-violet { background: #e7e1fa; color: #51416f; }

.closing { padding-block: 105px 110px; text-align: center; }
.closing > img { margin: 0 auto 26px; }
.closing h2 { font-size: clamp(2.7rem, 4.7vw, 4.1rem); }
.closing p { max-width: 590px; margin: 26px auto 0; color: var(--muted); }
.closing .closing-last { margin-top: 15px; color: var(--ink); font-weight: 600; }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 29px;
  border-top: 1px solid #d9e4f0;
  font-size: .875rem;
}
.footer-identity { font-weight: 600; }
.site-footer > span { color: var(--muted); }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 600px; gap: 20px; }
  .hero h1 { font-size: clamp(3rem, 7vw, 4.8rem); }
  .outlook { gap: 55px; padding-block: 85px; }
  .everyday-layout { gap: 45px; grid-template-columns: .85fr 1.4fr; }
  .practices { gap: 16px; }
  .practice { padding: 24px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 86px; padding-block: 18px; }
  .identity { gap: 7px; }
  .site-header .identity img { width: 38px; }
  .wordmark { font-size: 1.875rem; }
  .site-header nav { gap: 0; padding: 4px; }
  .site-header nav a { padding: 8px 10px; font-size: .875rem; }
  .hero { grid-template-columns: 1fr; gap: 30px; min-height: auto; padding-block: 44px 50px; }
  .hero h1 { font-size: clamp(3.1rem, 12vw, 5rem); }
  .hero-copy > p { margin-top: 22px; font-size: 1.125rem; max-width: 470px; }
  .button { margin-top: 24px; }
  .hero-art { width: min(410px, 94%); margin-inline: auto; }
  .outlook { grid-template-columns: 1fr; gap: 27px; padding-block: 65px; }
  .section-label { margin-bottom: 16px; }
  .outlook h2 { max-width: 450px; }
  .outlook-copy { padding-top: 0; }
  .everyday { padding-block: 65px; }
  .everyday-layout { grid-template-columns: 1fr; gap: 33px; }
  .everyday-intro h2 { max-width: 480px; }
  .everyday-intro > p { max-width: 440px; margin-top: 20px; }
  .flat-mark { display: none; }
  .practice { padding: 26px; }
  .closing { padding-block: 72px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 15px; padding-block: 25px; }
}

@media (max-width: 440px) {
  .site-header nav a { padding-inline: 9px; }
  .site-header nav { background: transparent; border: 0; padding: 0; }
  .practices { grid-template-columns: 1fr; gap: 14px; }
  .practice h3 { font-size: 1.65rem; }
  .practice p { margin-top: 12px; }
  .desktop-break { display: none; }
}

@media (max-width: 360px) {
  .site-header { flex-wrap: wrap; gap: 16px; }
  .site-header nav { width: 100%; }
  .site-header nav a:first-child { padding-left: 0; }
  .hero h1 { font-size: 2.9rem; }
  .art-note { font-size: .8rem; padding-inline: 12px; }
}

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