/* Resource page redesign (preview). Builds on home-new.css tokens, header and footer. */
.rn h1, .rn h2, .rn h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); margin: 0; }
.rn .eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: #C25E12; }
.rn h2 { font-size: 40px; line-height: 46px; margin-bottom: 28px; }
.hn-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 10px; }

/* Hero */
.rn-hero .wrap { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: 40px; align-items: center; padding: 60px 0 30px; }
.rn-hero h1 { font-size: 60px; line-height: 64px; margin-bottom: 18px; }
.rn-hero .lead { margin: 0 0 30px; font-size: 20px; line-height: 31px; color: #56667E; }
.rn-hero-art { width: 100%; max-width: 680px; height: auto; justify-self: end; }
.rn-hero-art a text { pointer-events: none; }
.rn-hero-art a > g { transition: transform .2s; }
.rn-hero-art a:hover > g path:last-of-type { fill: #FDEBDD; }
.rn-hero-art a:focus-visible { outline: none; }
.rn-hero-art a:focus-visible > g path:last-of-type { fill: #FDEBDD; stroke: var(--orange); stroke-width: 3; }

/* Search */
.rn-search { position: relative; max-width: 500px; }
.rn-search-box { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px; border-radius: 12px; background: #FFF; border: 1.5px solid #D9CFBB; box-shadow: 0 6px 18px rgba(15,42,82,.06); cursor: text; }
.rn-search-box:focus-within { border-color: var(--blue); }
.rn-search-box input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 18px; color: var(--navy); background: transparent; }
.rn-results { position: absolute; z-index: 30; left: 0; right: 0; top: 68px; max-height: 420px; overflow: auto; background: #FFF; border: 1px solid #E7DECB; border-radius: 12px; box-shadow: 0 18px 40px rgba(15,42,82,.16); padding: 6px; }
.rn-results a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--navy); text-decoration: none; font-size: 16px; line-height: 22px; }
.rn-results a:hover, .rn-results a:focus-visible { background: #F2F6FE; outline: none; }
.rn-results .k { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #7A8698; width: 58px; }
.rn-results .none { padding: 12px; color: #56667E; font-size: 15px; }

/* Sections */
.rn-sec { padding: 80px 0; }
.rn-sand { background: #F3ECDD; }
.rn-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.rn-head h2 { margin-bottom: 0; }
.rn-head .rn-link { padding-bottom: 8px; }
.rn-link { font-size: 16px; font-weight: 700; color: var(--blue); text-decoration: none; }
.rn-link:hover { text-decoration: underline; }
.rn-sub { margin: -14px 0 18px; font-size: 16px; color: #56667E; }

.rn-list { list-style: none; margin: 0; padding: 0; }
.rn-row { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid #E7DECB; color: var(--navy); text-decoration: none; font-size: 16px; line-height: 23px; }
.rn-row:hover { color: var(--blue); }
.arr { margin-left: auto; flex: none; color: #9AA7BA; transition: transform .2s; }
.rn-row:hover .arr, .rn-card:hover .arr { transform: translateX(4px); color: var(--blue); }

.rn-start { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 60px; }
.rn-start h2 { margin: 0; }
.rn-sec#start { padding: 40px 0 20px; }

.rn-card { background: #FFF; border: 1px solid #E7DECB; border-radius: 16px; color: var(--navy); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
a.rn-card:hover { box-shadow: 0 14px 34px rgba(15,42,82,.12); transform: translateY(-3px); border-color: #B3CDF8; }

.rn-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rn-door { padding: 32px 30px 26px; display: flex; flex-direction: column; border-top: 6px solid var(--accent); }
.rn-door h3 { font-size: 30px; line-height: 36px; margin-bottom: 8px; }
.rn-door ul { list-style: none; margin: 0; padding: 0; }
.rn-door > p { margin: 0 0 16px; font-size: 16px; line-height: 25px; color: #56667E; }
.rn-more { margin-top: auto; padding-top: 20px; font-size: 16px; font-weight: 700; color: var(--blue); text-decoration: none; }

.rn-all { margin-top: 18px; border-top: 1px solid #E7DECB; }
.rn-all summary { cursor: pointer; padding: 16px 2px; font-size: 16px; font-weight: 700; color: var(--blue); list-style: none; }
.rn-all summary::-webkit-details-marker { display: none; }
.rn-all summary::after { content: " +"; }
.rn-all[open] summary::after { content: " −"; }
.rn-all .rn-list { columns: 2; column-gap: 40px; }
.rn-all .rn-list li { break-inside: avoid; }

.rn-vs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rn-vs { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.rn-vs-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.pill-blue { background: var(--blue); color: #FFF; }
.pill-sand { background: #F3ECDD; color: var(--navy); }
.vs { font-family: var(--serif); font-style: italic; font-size: 18px; color: #C25E12; }
.rn-vs-t { font-size: 16px; line-height: 23px; font-weight: 600; }
.rn-sand .rn-all { border-color: #DCCFB4; }

.rn-two { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: start; }
.rn-states { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 32px; }
.rn-states li { break-inside: avoid; }
.rn-states a { display: flex; justify-content: space-between; color: var(--navy); text-decoration: none; font-size: 15px; padding: 7px 0; border-bottom: 1px dotted #D9CFBB; }
.rn-states a:hover { color: var(--blue); }
.rn-states .ab { color: #9AA7BA; font-weight: 600; }
.rn-pdf { font-size: 15px; padding: 11px 2px; }
.rn-pdf .doc { width: 22px; height: 26px; flex: none; }
.rn-pdf .src { margin-left: auto; flex: none; font-size: 12px; font-weight: 700; color: #7A8698; }

.rn-tools-sec { padding: 0 0 110px; }
.rn-tools { display: grid; grid-template-columns: 240px repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.rn-tools h2 { font-size: 34px; line-height: 40px; margin: 0; }
.rn-tool { display: flex; align-items: center; gap: 12px; padding: 18px; }
.rn-tool .ic { width: 40px; height: 40px; border-radius: 10px; background: #F2F6FE; display: flex; align-items: center; justify-content: center; flex: none; }
.rn-tool .n { font-size: 16px; font-weight: 700; line-height: 22px; }

@media (prefers-reduced-motion: reduce) { .rn-card, .arr { transition: none; } a.rn-card:hover { transform: none; } }

@media (max-width: 1180px) {
  .rn-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .rn-hero-art { justify-self: center; max-width: 560px; }
  .rn-doors, .rn-vs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rn-two { grid-template-columns: 1fr; }
  .rn-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rn-tools > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .rn-hero .wrap { padding: 36px 0 10px; gap: 20px; }
  .rn-hero h1 { font-size: 42px; line-height: 46px; }
  .rn-hero .lead { font-size: 18px; line-height: 28px; margin-bottom: 22px; }
  .rn-hero-art { max-width: 380px; }
  .rn h2 { font-size: 30px; line-height: 36px; margin-bottom: 20px; }
  .rn-sec { padding: 56px 0; }
  .rn-start { grid-template-columns: 1fr; gap: 12px; }
  .rn-doors, .rn-vs-grid, .rn-tools { grid-template-columns: 1fr; }
  .rn-door { padding: 26px 22px 22px; }
  .rn-door h3 { font-size: 26px; line-height: 32px; }
  .rn-head { flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 20px; }
  .rn-head h2 { margin-bottom: 8px; }
  .rn-all .rn-list { columns: 1; }
  .rn-states { columns: 2; column-gap: 20px; }
  .rn-pdf .src { display: none; }
  .rn-tools-sec { padding-bottom: 64px; }
}
