h1,h2,h3,summary,button,.button,.btn,.nr-get { text-wrap: balance; }
em,i { font-style: normal !important; }

.nr-shell {
  box-sizing: border-box;
  width: min(1200px,100%);
  padding-inline: clamp(20px,5vw,40px);
  margin-inline: auto;
}
body .nr-header, body .nr-footer {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: #2f4f3e;
  font: 600 14px/1.5 Manrope,system-ui,sans-serif;
}
.nr-header .nr-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-block: 16px;
}
.nr-header .nr-logo { justify-self: start; width: 152px; }
.nr-header .nr-logo-with-tagline { width: min(100%, 220px); }
.nr-header .nr-logo img, .nr-footer-brand img { display: block; width: 100%; height: auto; margin: 0; }
.nr-header nav, .nr-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  width: auto;
  margin: 0;
  padding: 0;
  font: inherit;
}
.nr-header a, .nr-footer a { color: inherit; text-decoration: none; }
.nr-header nav a, .nr-footer nav a { display: inline-flex; align-items: center; min-height: 32px; }
.nr-header nav a[aria-current], .nr-header nav a:hover, .nr-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nr-header nav a::after, .nr-footer nav a::after { display: none; }
.nr-header .nr-get {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid #9aab9f;
  text-align: center;
}
.nr-header .nr-get:hover { border-color: #2f4f3e; background: #edf2ec; }
body .nr-footer { border-top: 1px solid #ded9cf; }
.nr-footer .nr-shell { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 30px; padding-block: 26px; }
.nr-footer-brand { width: min(100%, 220px); }
.nr-footer nav { row-gap: 3px; }
.nr-skip { position: absolute; clip-path: inset(50%); }
.nr-skip:focus { z-index: 10; top: 8px; left: 8px; clip-path: none; background: white; padding: 8px; }
@media(max-width: 660px) {
  .nr-header .nr-shell { grid-template-columns: 1fr auto; gap: 2px 12px; padding-block: 10px 12px; }
  .nr-header .nr-logo { width: min(100%, 135px); }
  .nr-header .nr-logo-with-tagline { width: min(100%, 190px); }
  .nr-header nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; }
  .nr-header nav a { min-height: 36px; }
  .nr-header .nr-get { font-size: 13px; padding-inline: 11px; }
}

.home-app-experience .hero-signup .hero-text-link {
  color: #2f4f3e;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding-block: 9px;
}
.home-app-experience .home-guide-paths { padding-block: 28px; }
.resource-app-bridge .resource-app-actions { align-items: start; }
.tool-text-link { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.cta .tool-text-link { color: #e5f0e8; }
main.nr-tool-page { width: min(100%,640px); max-width: 640px; margin-inline: auto; }
main.nr-quiz-page { width: min(100%,1200px); max-width: 1200px; padding-inline: clamp(20px,5vw,40px); margin-inline: auto; }
.nr-quiz-page #quiz, .nr-quiz-page #result { max-width: 640px; margin-inline: auto; }
.nr-quiz-intro:not(.hidden) { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); align-items: start; gap: clamp(25px,6vw,78px); padding-block: 28px; }
.nr-quiz-preview { background: white; border: 1px solid #ded9cf; border-radius: 20px; padding: clamp(18px,4vw,32px); }
.nr-quiz-preview ul { display: grid; gap: 8px; list-style: none; margin-top: 18px; padding: 0; }
.nr-quiz-preview li { border: 1px solid #ded9cf; border-radius: 10px; padding: 8px 12px; background: #fbf8f4; }
.nr-quiz-app .tool-text-link { display: inline-block; margin-inline: 10px; }
body[data-testflight-page] .hero h1 { font-size: clamp(36px,3.6vw,55px); }
body[data-testflight-page] .hero h1 span { color: #577f69; }
body[data-testflight-page] .card { margin-top: 26px; }
@media(max-width: 700px) {
  .nr-quiz-intro:not(.hidden) { grid-template-columns: 1fr; padding-top: 8px; }
  .nr-quiz-app .tool-text-link { margin: 8px 0 0; }
  .home-app-experience .hero-family-visual .hero-family-photo { height: min(360px,100vw); }
}

body[data-testflight-page] .hero h1 br { display: initial; }
@media(max-width: 700px) {
  body.legal-page .policy-shell h1 { font-size: clamp(28px,8.5vw,44px); }
  body[data-measure-page="05-grandparents-abroad-guide"] .resource-detail h1 { font-size: clamp(30px,9vw,40px); }
  .home-app-experience .faq h2 { font-size: clamp(32px,9vw,44px); }
}

.nr-mascot {
  display: block;
  flex: none;
  width: auto;
  height: 128px;
  max-width: 100%;
  object-fit: contain;
}
.nr-moments {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  gap: clamp(32px,6vw,94px);
  align-items: start;
  padding-block: clamp(44px,7vw,88px);
  background: #fbf8f4;
}
.nr-moments-intro { position: sticky; top: 34px; }
.nr-moments-heading .nr-mascot { margin-bottom: 14px; }
.nr-moments-heading h2 { max-width: 18ch; }
.nr-moments-closing { margin-top: 22px; }
.nr-moments-closing p { max-width: 29ch; }
.nr-moments-closing-mobile { display: none; }
.nr-moment-list { list-style: none; margin: 0; padding: 0; }
.nr-moment {
  display: grid;
  grid-template-columns: 88px minmax(0,1fr);
  align-items: center;
  gap: clamp(16px,2.5vw,28px);
  padding-block: 18px;
  border-bottom: 1px solid #ded9cf;
}
.nr-moment:first-child { padding-top: 0; }
.nr-moment-circle {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #f7e3da;
}
.nr-moment:nth-child(even) .nr-moment-circle { background: #f5eee4; }
.nr-moment-circle .nr-mascot { width: 78%; height: 78%; }
.nr-moment h3 { font-size: clamp(20px,2vw,29px); margin: 0 0 6px; }
.nr-moment .nr-moment-line {
  display: grid;
  grid-template-columns: 16px minmax(0,1fr);
  gap: 8px;
  margin: 0;
  color: #4d6155;
}
.nr-moment-line img { margin-top: 5px; }
.nr-resource-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.gift-deck .nr-gift-mascot { position: absolute; z-index: 4; left: 0; bottom: 5%; }
.gift-deck .nr-gift-mascot img { margin: 0; }
.peek-hero .nr-app-mascot {
  display: grid;
  grid-template-columns: auto minmax(0,230px);
  justify-content: center;
  align-items: end;
  gap: 10px;
  background: #f7e2da;
}
.getting-ready-page .ready-start { background: #fbf8f4; }
.nr-countdown-mascot { display: flex; justify-content: end; }
.nr-resource-heading h2 { align-self: center; }
.nr-guide-mascot {
  display: grid;
  grid-template-columns: minmax(76px,135px) minmax(0,1fr);
  align-items: center;
  gap: clamp(14px,3vw,26px);
  min-width: 0;
}
.nr-guide-mascot > .nr-mascot { justify-self: center; }
.ready-app:has(.nr-guide-mascot) { background: #fbf8f4; }
.ready-app .nr-guide-mascot > img.nr-mascot { width: auto; height: 128px; outline: 0; box-shadow: none; border-radius: 0; }
.nr-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
main.nr-tool-page #out { background: #faebe4; }
main.nr-quiz-page .nr-quiz-share {
  display: flex;
  align-items: center;
  gap: clamp(16px,3vw,30px);
  background: #faebe4;
  border: 1px solid #e6d7cb;
  color: #2f4f3e;
}
main.nr-quiz-page .nr-quiz-share h2,
main.nr-quiz-page .nr-quiz-share p { color: #2f4f3e; }
.nr-quiz-share-copy { min-width: 0; }
.nr-quiz-share .nr-mascot { max-width: 36%; }

@media(max-width: 740px) {
  .nr-mascot { height: 90px; }
  .nr-moments { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .nr-moments-intro { position: static; }
  .nr-moments-closing-desktop { display: none; }
  .nr-moments-closing-mobile { display: block; margin-top: 0; }
  .nr-moment { grid-template-columns: 64px minmax(0,1fr); gap: 14px; padding-block: 13px; }
  .nr-moment-circle { width: 64px; height: 64px; }
  .nr-resource-heading { flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
  .nr-resource-heading h2 { align-self: auto; }
  .peek-hero .nr-app-mascot { grid-template-columns: minmax(54px,76px) minmax(0,190px); gap: 8px; padding-inline: 15px; }
  .nr-guide-mascot { grid-template-columns: minmax(72px,100px) minmax(0,1fr); }
  .ready-app .nr-guide-mascot > img.nr-mascot { height: 90px; }
}
@media(max-width: 740px) {
  .nr-moments-heading h2 { font-size: clamp(27px,8vw,36px); }
  .ready-app .nr-guide-mascot { grid-template-columns: 62px minmax(0,1fr); }
  .ready-app .nr-guide-mascot h2 { font-size: clamp(24px,6.7vw,28px); }
}
