/* The last few pages in the new look: the 404 page, /sms-reminders and /work. Shared pieces are in sub.css. */

/* ── 404: four ways on ── */
.nf { padding-top: 0; }
.nf-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .nf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.nf-card { display: flex; align-items: center; gap: 18px; width: 100%; min-height: 120px; padding: 24px; border: 0; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: box-shadow .2s, background .2s; }
.nf-card:hover { box-shadow: inset 0 0 0 1px var(--ink); background: #fff; }
.nf-ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.nf-words { flex: 1; min-width: 0; display: grid; gap: 4px; }
.nf-h { font-weight: 400; font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.nf-words > span { font-size: 15px; line-height: 1.45; color: rgba(0, 0, 0, .62); }
.nf-go { color: var(--ink); transition: transform .3s var(--ease); }
.nf-card:hover .nf-go { transform: translateX(3px); }
.nf-foot { margin-top: 32px; font-size: 16px; line-height: 1.5; color: var(--text); }
.nf-foot a { color: var(--ink); text-underline-offset: 3px; }
.page-notfound .sec.nf { padding-bottom: 96px; }

/* ── /sms-reminders: the head with the real Settings screen ── */
.fhead { padding: calc(var(--nav-h) + 40px) var(--pad) 56px; }
@media (min-width: 760px) { .fhead { padding: calc(var(--nav-h) + 72px) var(--pad) 88px; } }
.fhead-in { max-width: 1360px; margin: 0 auto; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1100px) { .fhead-in { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 64px; } }
.fhead-words { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.fhead h1 { font-weight: 300; font-size: var(--h1); line-height: 1.04; letter-spacing: -0.05em; }
.fhead h1 em { font-style: normal; color: rgba(0, 0, 0, .42); }
.fhead .lede { max-width: 640px; font-size: var(--lead); line-height: 1.45; color: var(--text); }
.fhead-shot { margin: 0; display: grid; gap: 10px; }
.fhead-shot img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, .3); background: #fff; }
.fhead-shot figcaption { color: rgba(0, 0, 0, .55); }
.fplans { display: grid; gap: 12px; margin-top: 8px; }
@media (min-width: 760px) { .fplans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.fplan { padding: 28px 24px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; }
.fplan-on { box-shadow: inset 0 0 0 2px var(--ink); }
.fplan .mono { color: rgba(0, 0, 0, .6); }
.fplan-n { font-size: clamp(30px, 24px + 1.4vw, 44px); line-height: 1.05; letter-spacing: -0.04em; color: var(--ink); }
.fplan-n span { font-size: .45em; letter-spacing: -0.01em; color: rgba(0, 0, 0, .55); }
.fplan-w { font-size: 16px; line-height: 1.5; color: var(--text); }
.fplan-w a { color: var(--ink); text-underline-offset: 3px; }
.fticks { margin-top: 40px; display: grid; gap: 14px 40px; }
@media (min-width: 760px) { .fticks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.page-sms .sec-head { margin-bottom: 40px; }
.faq-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ── /work: each site in a browser frame, pressed to load ── */
.wk { padding-top: 0; }
.wk-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .wk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.wk-card { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.wk-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f3f2f0; border-bottom: 1px solid var(--line); }
.wk-dots { display: flex; gap: 6px; }
.wk-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d6d3cf; }
.wk-url { flex: 1; min-width: 0; padding: 5px 10px; border-radius: 8px; background: #fff; font: 400 12px/1.2 var(--mono); color: rgba(0, 0, 0, .6); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-badge { flex: none; padding: 5px 8px; border-radius: 8px; background: var(--ink); font: 400 10.5px/1 var(--mono); letter-spacing: .06em; color: #fff; }
.wk-frame { position: relative; aspect-ratio: 16 / 10; background: #ecebe8; overflow: hidden; }
.wk-poster { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
.wk-frame:hover .wk-poster { transform: scale(1.02); }
.wk-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.wk-play { position: absolute; inset: 0; width: 100%; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(0, 0, 0, .28); color: #fff; font: inherit; cursor: pointer; transition: background .2s; }
.wk-play:hover, .wk-play:focus-visible { background: rgba(0, 0, 0, .4); }
.wk-play:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.wk-play__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.wk-play:hover .wk-play__icon { transform: scale(1.06); }
.wk-play__icon .i { width: 26px; height: 26px; margin-left: 3px; }
.wk-play__label { padding: 8px 14px; border-radius: 64px; background: rgba(0, 0, 0, .66); font-size: 14px; line-height: 1; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.wk-cap { padding: 22px 22px 24px; display: grid; gap: 14px; }
@media (min-width: 760px) { .wk-cap { padding: 26px 28px 28px; } }
.wk-cap-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; }
.wk-name { font-size: clamp(22px, 19px + .6vw, 28px); line-height: 1.2; letter-spacing: -0.03em; }
.wk-place { margin-top: 4px; font-size: 15px; color: rgba(0, 0, 0, .58); }
.wk-open { height: 44px; padding: 0 18px; font-size: 15px; }
.wk-what { font-size: 16px; line-height: 1.5; color: var(--text); }
.wk-chip { display: inline-flex; padding: 7px 10px; border-radius: 8px; background: var(--pale-2); box-shadow: inset 0 0 0 1px #dfe6ee; font: 400 11.5px/1.1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.wk-band { padding-top: 0; }
.dchips { display: flex; flex-wrap: wrap; gap: 6px; }
@media (prefers-reduced-motion: reduce) { .wk-poster, .wk-play__icon, .nf-go { transition: none; } }
