/* Private New York marital-estate organizer — Brand Guidelines Edition 02. */
.sp-estate-section,
.sp-estate-section * { box-sizing: border-box; }
body:has(.sp-estate-section) .sp-pill { display: none !important; }
.sp-estate-section [hidden] { display: none !important; }
.sp-estate-section {
	background: var(--wp--preset--color--paper-warm, #f4f4f1);
	border-block: 1px solid var(--wp--preset--color--line, #e4e4e0);
	color: var(--wp--preset--color--ink, #141414);
	container-name: estate-tool;
	container-type: inline-size;
	scroll-margin-top: var(--sp-scroll-offset, 108px);
}
.sp-estate-wrap { max-width: 1160px; margin: 0 auto; padding: clamp(48px, 6vw, 84px) clamp(20px, 4vw, 56px); }
.sp-estate-header { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 28px clamp(36px, 6vw, 88px); align-items: end; margin-bottom: 30px; }
.sp-estate-eyebrow,
.sp-estate-label { color: var(--wp--preset--color--red, #d43a2f); font-family: var(--wp--preset--font-family--mono, 'IBM Plex Mono', monospace); font-size: 9.5px; font-weight: 500; letter-spacing: 2.2px; line-height: 1.4; margin: 0; }
.sp-estate-header h2 { font-family: var(--wp--preset--font-family--display, Archivo, sans-serif); font-size: clamp(30px, 4vw, 52px); font-weight: 200; letter-spacing: -1.25px; line-height: 1.03; margin: 13px 0 0; }
.sp-estate-header h2 span,
.sp-estate-results-head h3 span,
.sp-estate-scenario-title h4 span,
.sp-estate-cta h4 span { color: var(--wp--preset--color--red, #d43a2f); }
.sp-estate-dek { color: var(--wp--preset--color--grey-body, #4a4a46); font-family: var(--wp--preset--font-family--body, 'Libre Franklin', sans-serif); font-size: 14.5px; font-weight: 300; line-height: 1.75; margin: 0; }
.sp-estate-tool { background: #fff; border: 1px solid #d7d7d2; box-shadow: 0 18px 55px rgb(20 20 20 / 6%); overflow: hidden; position: relative; scroll-margin-top: 20px; }
.sp-estate-screen { padding: clamp(28px, 5vw, 62px); }
.sp-estate-progress { border-bottom: 1px solid #e4e4e0; padding: 18px clamp(24px, 4vw, 48px) 0; }
.sp-estate-progress-meta { color: #6b6b66; display: flex; font-family: 'IBM Plex Mono', monospace; font-size: 8.5px; justify-content: space-between; gap: 20px; letter-spacing: 1.6px; margin-bottom: 15px; }
.sp-estate-progress-meta span:first-child { color: #141414; }
.sp-estate-progress-track { background: #e4e4e0; height: 3px; margin: 0 -1px; }
.sp-estate-progress-track span { background: #d43a2f; display: block; height: 100%; transition: width .25s ease; width: 0; }

.sp-estate-start { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); gap: 30px clamp(38px, 7vw, 92px); align-items: start; }
.sp-estate-start h3,
.sp-estate-step-copy h3,
.sp-estate-results-head h3 { font-family: Archivo, sans-serif; font-size: clamp(27px, 3.4vw, 43px); font-weight: 200; letter-spacing: -.9px; line-height: 1.08; margin: 14px 0 0; }
.sp-estate-start > div:first-child > p:last-child,
.sp-estate-step-copy > p:last-child { color: #6b6b66; font-family: 'Libre Franklin', sans-serif; font-size: 13.5px; font-weight: 300; line-height: 1.7; margin: 15px 0 0; }
.sp-estate-start-card { border: 1px solid #d7d7d2; }
.sp-estate-start-card ol { list-style: none; margin: 0; padding: 0 24px; }
.sp-estate-start-card li { align-items: start; border-bottom: 1px solid #e4e4e0; display: grid; gap: 14px; grid-template-columns: 34px 1fr; padding: 18px 0; }
.sp-estate-start-card li > span { color: #d43a2f; font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 1.5px; padding-top: 3px; }
.sp-estate-start-card strong { display: block; font-family: Archivo, sans-serif; font-size: 16px; font-weight: 400; }
.sp-estate-start-card small { color: #6b6b66; display: block; font-family: 'Libre Franklin', sans-serif; font-size: 11.5px; font-weight: 300; line-height: 1.5; margin-top: 4px; }
.sp-estate-start-card > button,
.sp-estate-next { appearance: none; background: #141414; border: 0; border-radius: 0; color: #fff; cursor: pointer; font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: 1.2px; margin: 22px 24px; padding: 15px 20px; }
.sp-estate-start-card > button:hover,
.sp-estate-start-card > button:focus-visible,
.sp-estate-nav button:last-child:hover,
.sp-estate-nav button:last-child:focus-visible { background: #d43a2f; }
.sp-estate-privacy { border-top: 1px solid #e4e4e0; color: #6b6b66; display: flex; flex-wrap: wrap; font-family: 'Libre Franklin', sans-serif; font-size: 11.5px; gap: 8px 16px; grid-column: 1 / -1; line-height: 1.55; padding-top: 18px; }
.sp-estate-privacy strong { color: #141414; font-weight: 500; }

.sp-estate-step { display: grid; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr); gap: 24px clamp(38px, 7vw, 92px); align-items: start; }
.sp-estate-options,
.sp-estate-checks { border: 0; display: grid; gap: 9px; margin: 0; min-width: 0; padding: 0; }
.sp-estate-options label,
.sp-estate-checks label { background: #fff; border: 1px solid #d7d7d2; cursor: pointer; display: grid; gap: 14px; grid-template-columns: 20px 1fr; min-height: 70px; padding: 15px 17px; }
.sp-estate-options label:hover,
.sp-estate-checks label:hover { background: #fafaf8; border-color: #969690; }
.sp-estate-options label:has(input:checked),
.sp-estate-checks label:has(input:checked) { background: #f8f8f5; border-color: #141414; }
.sp-estate-options input,
.sp-estate-checks input { appearance: none; background: #fff; border: 1px solid #9a9a94; height: 18px; margin: 2px 0 0; position: relative; width: 18px; }
.sp-estate-options input { border-radius: 50%; }
.sp-estate-options input:checked,
.sp-estate-checks input:checked { background: #141414; border-color: #141414; }
.sp-estate-options input:checked::after,
.sp-estate-checks input:checked::after { border: solid #fff; border-width: 0 1.5px 1.5px 0; content: ''; height: 8px; left: 6px; position: absolute; top: 3px; transform: rotate(45deg); width: 4px; }
.sp-estate-options strong,
.sp-estate-checks strong { display: block; font-family: 'Libre Franklin', sans-serif; font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.sp-estate-options small,
.sp-estate-checks small { color: #6b6b66; display: block; font-family: 'Libre Franklin', sans-serif; font-size: 11.5px; font-weight: 300; line-height: 1.5; margin-top: 4px; }

.sp-estate-assets-column { min-width: 0; }
.sp-estate-assets { display: grid; gap: 14px; }
.sp-estate-asset { border: 1px solid #d7d7d2; }
.sp-estate-asset-head { align-items: center; background: #f4f4f1; border-bottom: 1px solid #e4e4e0; display: flex; justify-content: space-between; padding: 12px 16px; }
.sp-estate-asset-head p { color: #d43a2f; font-family: 'IBM Plex Mono', monospace; font-size: 8.5px; letter-spacing: 1.6px; margin: 0; }
.sp-estate-asset-head button,
.sp-estate-add { appearance: none; background: transparent; border: 0; border-bottom: 1px solid #d43a2f; border-radius: 0; color: #141414; cursor: pointer; font-family: 'IBM Plex Mono', monospace; font-size: 8.5px; letter-spacing: 1px; padding: 0 0 2px; }
.sp-estate-asset-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; }
.sp-estate-asset-grid label { min-width: 0; }
.sp-estate-asset-grid label > span:first-child { color: #6b6b66; display: block; font-family: 'IBM Plex Mono', monospace; font-size: 8px; letter-spacing: 1.3px; margin-bottom: 7px; text-transform: uppercase; }
.sp-estate-asset-grid input,
.sp-estate-asset-grid select { appearance: none; background: #fff; border: 0; border-bottom: 1px solid #bcbcb6; border-radius: 0; color: #141414; font-family: 'Libre Franklin', sans-serif; font-size: 13px; height: 38px; max-width: 100%; padding: 5px 2px; width: 100%; }
.sp-estate-asset-grid select { background: linear-gradient(45deg, transparent 50%, #d43a2f 50%) calc(100% - 10px) 16px / 5px 5px no-repeat, linear-gradient(135deg, #d43a2f 50%, transparent 50%) calc(100% - 5px) 16px / 5px 5px no-repeat; padding-right: 22px; }
.sp-estate-money { align-items: center; border-bottom: 1px solid #bcbcb6; display: flex; }
.sp-estate-money b { color: #6b6b66; font-family: 'Libre Franklin', sans-serif; font-size: 12px; font-weight: 400; }
.sp-estate-money input { border-bottom: 0; }
.sp-estate-add { margin-top: 16px; }
.sp-estate-inline-error,
.sp-estate-error { color: #a1261e; font-family: 'Libre Franklin', sans-serif; font-size: 12px; font-weight: 500; margin: 12px 0 0; }
.sp-estate-error { margin-left: calc(30% + 46px); }
.sp-estate-nav { border-top: 1px solid #e4e4e0; display: flex; gap: 18px; justify-content: space-between; margin-top: 28px; padding-top: 20px; }
.sp-estate-nav button,
.sp-estate-actions button,
.sp-estate-foot button { appearance: none; background: transparent; border: 0; border-radius: 0; color: #6b6b66; cursor: pointer; font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: 1.2px; padding: 0; }
.sp-estate-nav button:last-child { background: #141414; color: #fff; min-width: 150px; padding: 14px 20px; }

.sp-estate-results { padding-top: clamp(34px, 5vw, 56px); }
.sp-estate-results-head { align-items: end; border-bottom: 2px solid #141414; display: flex; gap: 26px; justify-content: space-between; padding-bottom: 24px; }
.sp-estate-results-head h3:focus { outline: none; }
.sp-estate-stat-row { background: #e4e4e0; border: 1px solid #e4e4e0; display: flex; flex: 0 0 auto; gap: 1px; }
.sp-estate-stat-row > div { background: #fff; display: flex; flex-direction: column; min-width: 105px; padding: 11px 13px; }
.sp-estate-stat-row strong { font-family: Archivo, sans-serif; font-size: 21px; font-weight: 200; line-height: 1; }
.sp-estate-stat-row small { color: #6b6b66; font-family: 'IBM Plex Mono', monospace; font-size: 7.5px; letter-spacing: 1px; margin-top: 6px; }
.sp-estate-results-intro { color: #4a4a46; font-family: 'Libre Franklin', sans-serif; font-size: 14.5px; font-weight: 300; line-height: 1.75; margin: 24px 0 0; max-width: 780px; }
.sp-estate-scenarios { background: #f4f4f1; border: 1px solid #e4e4e0; margin-top: 32px; padding: clamp(22px, 3vw, 32px); }
.sp-estate-scenario-title h4 { font-family: Archivo, sans-serif; font-size: clamp(21px, 2.5vw, 29px); font-weight: 200; letter-spacing: -.5px; margin: 10px 0 0; }
.sp-estate-scenario-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; background: #d7d7d2; }
.sp-estate-scenario-grid article { background: #fff; padding: 18px; }
.sp-estate-scenario-grid h5 { font-family: 'IBM Plex Mono', monospace; font-size: 8.5px; font-weight: 500; letter-spacing: 1.1px; line-height: 1.45; margin: 0; text-transform: uppercase; }
.sp-estate-scenario-grid strong { display: block; font-family: Archivo, sans-serif; font-size: clamp(23px, 3vw, 34px); font-weight: 200; margin-top: 12px; }
.sp-estate-scenario-grid p { color: #6b6b66; font-family: 'Libre Franklin', sans-serif; font-size: 11px; font-weight: 300; line-height: 1.55; margin: 9px 0 0; }
.sp-estate-result-groups { display: grid; gap: 28px; margin-top: 34px; }
.sp-estate-result-group { border-top: 1px solid #141414; display: grid; grid-template-columns: 190px 1fr; }
.sp-estate-result-group > h4 { font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 500; letter-spacing: 1.5px; line-height: 1.5; margin: 0; padding: 18px 24px 18px 0; text-transform: uppercase; }
.sp-estate-result-group > h4 span { color: #d43a2f; display: block; margin-bottom: 6px; }
.sp-estate-result-group article { border-bottom: 1px solid #e4e4e0; padding: 18px 0 18px 24px; }
.sp-estate-result-group article:last-child { border-bottom: 0; }
.sp-estate-result-group h5 { font-family: Archivo, sans-serif; font-size: 17px; font-weight: 400; letter-spacing: -.25px; line-height: 1.4; margin: 0; }
.sp-estate-result-group article p { color: #5d5d58; font-family: 'Libre Franklin', sans-serif; font-size: 12.5px; font-weight: 300; line-height: 1.68; margin: 7px 0 0; }
.sp-estate-actions { align-items: center; border-top: 1px solid #e4e4e0; display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 36px; padding-top: 20px; }
.sp-estate-actions button { border-bottom: 1px solid #d43a2f; color: #141414; padding-bottom: 3px; }
.sp-estate-actions span { color: #447047; font-family: 'Libre Franklin', sans-serif; font-size: 11px; }
.sp-estate-cta { align-items: center; background: #141414; color: #fff; display: grid; gap: 28px clamp(34px, 6vw, 72px); grid-template-columns: minmax(0, 1fr) auto; margin-top: 38px; padding: clamp(26px, 4vw, 42px); }
.sp-estate-cta h4 { color: #fff; font-family: Archivo, sans-serif; font-size: clamp(23px, 3vw, 34px); font-weight: 200; letter-spacing: -.65px; line-height: 1.12; margin: 12px 0 0; max-width: 660px; }
.sp-estate-cta p:not(.sp-estate-label) { color: #c9c9c4; font-family: 'Libre Franklin', sans-serif; font-size: 12.5px; font-weight: 300; line-height: 1.65; margin: 13px 0 0; max-width: 650px; }
.sp-estate-cta > div:last-child { display: flex; flex-direction: column; gap: 12px; min-width: 205px; }
.sp-estate-cta a,
.sp-estate-cta button { appearance: none; background: #fff; border: 0; border-radius: 0; color: #141414; cursor: pointer; font-family: 'Libre Franklin', sans-serif; font-size: 12px; font-weight: 500; padding: 14px 18px; text-align: center; text-decoration: none; }
.sp-estate-cta a:last-child { background: transparent; border: 1px solid #4b4b47; color: #fff; }
.sp-estate-cta a:hover,
.sp-estate-cta button:hover { background: #d43a2f; border-color: #d43a2f; color: #fff; }
.sp-estate-foot { align-items: start; border-top: 1px solid #e4e4e0; display: flex; gap: 20px; justify-content: space-between; margin-top: 28px; padding-top: 18px; }
.sp-estate-foot p,
.sp-estate-noscript { color: #777771; font-family: 'Libre Franklin', sans-serif; font-size: 10.5px; font-weight: 300; line-height: 1.6; margin: 0; max-width: 760px; }
.sp-estate-foot button { border-bottom: 1px solid #d43a2f; color: #141414; flex: 0 0 auto; padding-bottom: 3px; }
.sp-estate-noscript { background: #fff7df; border-top: 1px solid #e4e4e0; max-width: none; padding: 18px 24px; }
.sp-estate-contact { background: #141414; color: #fff; scroll-margin-top: var(--sp-scroll-offset, 108px); }
.sp-estate-contact-head { align-items: start; border-bottom: 1px solid #33332f; display: flex; gap: 28px; justify-content: space-between; padding-bottom: 26px; }
.sp-estate-contact-head h3 { color: #fff; font-family: Archivo, sans-serif; font-size: clamp(27px, 3.4vw, 43px); font-weight: 200; letter-spacing: -.9px; line-height: 1.08; margin: 14px 0 0; }
.sp-estate-contact-head h3 span { color: #d43a2f; }
.sp-estate-contact-head p:last-child { color: #c9c9c4; font-family: 'Libre Franklin', sans-serif; font-size: 12.5px; font-weight: 300; line-height: 1.65; margin: 13px 0 0; max-width: 650px; }
.sp-estate-contact-head > button { appearance: none; background: transparent; border: 0; border-bottom: 1px solid #d43a2f; border-radius: 0; color: #fff; cursor: pointer; flex: 0 0 auto; font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 1px; padding: 0 0 3px; }
.sp-estate-contact-form { margin-top: 28px; }
.sp-estate-form-fallback { color: #fff; font-family: 'Libre Franklin', sans-serif; font-size: 14px; line-height: 1.7; }
.sp-estate-form-fallback a { color: #fff; text-decoration-color: #d43a2f; }

.sp-estate-section :focus-visible { outline: 2px solid #d43a2f; outline-offset: 3px; }
@media (max-width: 820px) {
	.sp-estate-header,
	.sp-estate-start,
	.sp-estate-step { grid-template-columns: 1fr; }
	.sp-estate-results-head { align-items: start; flex-direction: column; }
	.sp-estate-stat-row { width: 100%; }
	.sp-estate-stat-row > div { flex: 1 1 0; min-width: 0; }
	.sp-estate-result-group { grid-template-columns: 1fr; }
	.sp-estate-result-group > h4 { border-bottom: 1px solid #e4e4e0; padding-right: 0; }
	.sp-estate-result-group article { padding-left: 0; }
	.sp-estate-cta { grid-template-columns: 1fr; }
	.sp-estate-contact-head { flex-direction: column; }
	.sp-estate-error { margin-left: 0; }
}
@media (max-width: 600px) {
	.sp-estate-wrap { padding-left: 16px; padding-right: 16px; }
	.sp-estate-screen { padding: 28px 20px; }
	.sp-estate-progress { padding-inline: 20px; }
	.sp-estate-asset-grid,
	.sp-estate-scenario-grid { grid-template-columns: 1fr; }
	.sp-estate-nav { align-items: center; background: #fff; bottom: 0; margin: 20px -20px -28px; padding: 16px 20px; position: sticky; z-index: 3; }
	.sp-estate-nav button:last-child { min-width: 136px; }
	.sp-estate-stat-row { flex-wrap: wrap; }
	.sp-estate-stat-row > div { flex-basis: 45%; }
	.sp-estate-actions,
	.sp-estate-foot { align-items: flex-start; flex-direction: column; }
}
/* Ordinary articles use a narrower content column even on wide screens. */
@container estate-tool (max-width: 820px) {
	.sp-estate-header,
	.sp-estate-start,
	.sp-estate-step { grid-template-columns: 1fr; }
	.sp-estate-results-head { align-items: start; flex-direction: column; }
	.sp-estate-stat-row { width: 100%; }
	.sp-estate-stat-row > div { flex: 1 1 0; min-width: 0; }
	.sp-estate-result-group { grid-template-columns: 1fr; }
	.sp-estate-result-group > h4 { border-bottom: 1px solid #e4e4e0; padding-right: 0; }
	.sp-estate-result-group article { padding-left: 0; }
	.sp-estate-cta { grid-template-columns: 1fr; }
	.sp-estate-contact-head { flex-direction: column; }
	.sp-estate-error { margin-left: 0; }
}
@container estate-tool (max-width: 600px) {
	.sp-estate-wrap { padding-left: 16px; padding-right: 16px; }
	.sp-estate-screen { padding: 28px 20px; }
	.sp-estate-progress { padding-inline: 20px; }
	.sp-estate-asset-grid,
	.sp-estate-scenario-grid { grid-template-columns: 1fr; }
	.sp-estate-nav { align-items: center; background: #fff; bottom: 0; margin: 20px -20px -28px; padding: 16px 20px; position: sticky; z-index: 3; }
	.sp-estate-nav button:last-child { min-width: 136px; }
	.sp-estate-stat-row { flex-wrap: wrap; }
	.sp-estate-stat-row > div { flex-basis: 45%; }
	.sp-estate-actions,
	.sp-estate-foot { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .sp-estate-progress-track span { transition: none; } }
@media print {
	body * { visibility: hidden !important; }
	.sp-estate-section,
	.sp-estate-section * { visibility: visible !important; }
	.sp-estate-section { background: #fff; border: 0; left: 0; position: absolute; top: 0; width: 100%; }
	.sp-estate-header,
	.sp-estate-progress,
	.sp-estate-start,
	.sp-estate-form,
	.sp-estate-actions,
	.sp-estate-cta,
	.sp-estate-contact,
	.sp-estate-foot button { display: none !important; }
	.sp-estate-wrap,
	.sp-estate-screen { max-width: none; padding: 0; }
	.sp-estate-tool { border: 0; box-shadow: none; }
}
