/* Carryover Notes: free printables for school SLPs */
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lexend-400.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/lexend-600.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lexend-700.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/caveat-600.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --ink: #1D2B33;
  --muted: #56666F;
  --teal: #0E7C86;
  --teal-hover: #0A5C64;
  --link: #0A5C64;
  --on-teal: #FFFFFF;
  --tint: #E3EFEE;
  --line: #D3DFE2;
  --bg: #FFFFFF;
  --paper-ink: #1D2B33;
  --paper-muted: #66767E;
  --paper-line: #C3D0D5;
  --box: #9FB0B7;
  --pen: #2846A8;
  --board: #C99D6A;
  --board-edge: #A47748;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #E5ECEE;
    --muted: #9CAEB5;
    --teal: #4CC3CC;
    --teal-hover: #7AD3DA;
    --link: #6FD0D8;
    --on-teal: #04292D;
    --tint: #12262A;
    --line: #29393E;
    --bg: #0D1618;
    --board: #A47A50;
    --board-edge: #7E5C3A;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 14px; }
strong, b { font-weight: 600; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.prose { max-width: 40rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.side { font-size: 15.5px; color: var(--muted); }
.quiet { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bg); padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 10; }

/* Top bar */
.bar { border-bottom: 1px solid var(--line); background: var(--bg); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 6px 20px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 17px; letter-spacing: -0.01em; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #169AA4, #084660); display: inline-flex; align-items: center; justify-content: center; gap: 2px; }
.brand .mark i { display: block; width: 3px; border-radius: 2px; background: #fff; }
.brand .mark i:nth-child(1) { height: 8px; }
.brand .mark i:nth-child(2) { height: 13px; }
.brand .mark i:nth-child(3) { height: 17px; }
.brand .mark i:nth-child(4) { height: 11px; }
.brand .mark i:nth-child(5) { height: 7px; }
.bar nav { display: flex; gap: 20px; font-size: 15px; }
.bar nav a { color: var(--muted); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

/* Hero */
.hero { background: var(--tint); padding: 44px 0 60px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 76px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; }
}
h1 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.022em; font-weight: 700; margin: 0 0 16px; text-wrap: balance; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0 0 26px; max-width: 34rem; }
.gets { display: flex; flex-wrap: wrap; gap: 12px; }
.get { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 14px; background: var(--teal); color: var(--on-teal); text-decoration: none; min-width: 250px; }
.get:hover { background: var(--teal-hover); }
.get svg { flex: none; width: 28px; height: 34px; }
.get b { display: block; font-size: 17px; line-height: 1.25; }
.get small { display: block; font-size: 14px; line-height: 1.35; opacity: .9; }
.get.ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px var(--teal); }
.get.ghost:hover { background: color-mix(in srgb, var(--teal) 10%, transparent); }
.hero .get { width: min(100%, 340px); }
.fine { font-size: 14.5px; color: var(--muted); margin: 16px 0 0; }

/* Clipboard */
.board { position: relative; margin: 20px auto 0; width: min(100%, 470px); padding: 42px 16px 16px; border-radius: 20px; background: linear-gradient(165deg, #D4A978, var(--board)); box-shadow: inset 0 0 0 2px var(--board-edge), 0 26px 44px -24px rgba(52, 36, 14, .6); transform: rotate(1.6deg); }
.clip { position: absolute; top: -16px; left: 50%; width: 156px; height: 48px; margin-left: -78px; border-radius: 12px 12px 8px 8px; background: linear-gradient(#EEF2F3, #AFBAC0); box-shadow: 0 3px 0 #8B979D, 0 8px 14px -6px rgba(0, 0, 0, .35); z-index: 2; }
.clip::before { content: ""; position: absolute; top: 9px; left: 50%; width: 46px; height: 14px; margin-left: -23px; border-radius: 8px; background: var(--tint); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .3); }
.paper { background: #fff; color: var(--paper-ink); border-radius: 3px; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 18px -10px rgba(0, 0, 0, .3); }

/* Handwriting */
.hand { font-family: "Caveat", "Bradley Hand", "Segoe Print", cursive; font-weight: 600; font-style: normal; color: var(--pen); font-size: 18px; line-height: 1; display: inline-block; padding: 0 2px; transform: rotate(-2deg); white-space: nowrap; }
.tick { width: 18px; height: 18px; fill: none; stroke: var(--pen); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .board .hand { animation: ink .34s ease-out backwards; animation-delay: calc(var(--i, 0) * 85ms + 500ms); }
  .board .tick path { stroke-dasharray: 30; animation: tick .3s ease-out backwards; animation-delay: calc(var(--i, 0) * 85ms + 500ms); }
  @keyframes ink { from { clip-path: inset(0 100% 0 0); opacity: .3; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
  @keyframes tick { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
}

/* Miniature sheets inside the clipboard */
.mini { padding: 18px 16px 16px; font-size: 11.5px; line-height: 1.4; }
.m-top { display: flex; align-items: flex-end; gap: 12px; border-bottom: 2px solid #0E7C86; padding-bottom: 6px; }
.m-top strong { font-size: 16px; font-weight: 700; margin-right: auto; white-space: nowrap; letter-spacing: -0.01em; }
.m-f { display: inline-flex; flex-direction: column; color: var(--paper-muted); font-size: 10px; min-width: 52px; }
.ln { display: block; border-bottom: 1px solid var(--paper-line); min-height: 21px; padding-top: 3px; }
.m-legend { display: flex; gap: 12px; margin: 7px 0 2px; color: var(--paper-muted); font-size: 10px; }
.m-legend b { color: var(--paper-ink); font-size: 12px; margin-right: 3px; }
.m-goal { border: 1px solid #B9C7CD; border-radius: 6px; padding: 8px 9px 9px; margin-top: 8px; }
.m-gno { font-weight: 700; color: #0E7C86; font-size: 11px; }
.m-fields { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.m-fields .m-f { min-width: 0; }
.m-trials { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin: 9px 0 8px; }
.m-trials span { position: relative; height: 30px; border: 1px solid var(--box); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.m-trials span::before { content: attr(data-n); position: absolute; left: 2px; top: 0; font-size: 6.5px; color: var(--box); }
.m-trials .hand { font-size: 23px; transform: rotate(-4deg); }
.m-res { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 10px; color: var(--paper-ink); align-items: baseline; }
.m-res .ln { display: inline-block; min-width: 24px; min-height: 0; text-align: center; padding: 0; }
.m-res .hand { font-size: 17px; }
.m-ghost { opacity: .55; }
@media (max-width: 519px) {
  .board { padding: 38px 12px 12px; }
  .mini { padding: 14px 12px 12px; }
  .m-top { gap: 8px; }
  .m-top strong { font-size: 14px; white-space: normal; }
  .m-f { min-width: 40px; }
}
.m-ghost .m-trials span { height: 24px; }

/* Mini SOAP sheet */
.soap-row { display: grid; grid-template-columns: 24px 1fr; border: 1px solid #B9C7CD; border-radius: 6px; overflow: hidden; margin-top: 7px; }
.soap-row > b { background: #0E7C86; color: #fff; font-weight: 700; font-size: 12.5px; text-align: center; padding-top: 6px; }
.soap-row > div { padding: 5px 9px 6px; }
.soap-row .lbl { font-weight: 600; font-size: 10.5px; }
.soap-row .ln { border-bottom-color: #DCE4E7; min-height: 23px; }
.soap-row .hand { font-size: 16.5px; white-space: normal; }
@media (max-width: 519px) { .soap-row .hand { font-size: 15px; } }
@media (prefers-reduced-motion: no-preference) { .board .soap-row .hand { animation-duration: .5s; } }

/* Mini privacy checklist */
.m-q { list-style: none; margin: 8px 0 0; padding: 0; }
.m-q li { display: grid; grid-template-columns: 18px 1fr 34px 34px; gap: 6px; align-items: start; padding: 6px 0; border-bottom: 1px solid #E3EAEC; }
.m-q .num { width: 16px; height: 16px; border-radius: 50%; background: #0E7C86; color: #fff; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.m-q .qt { font-weight: 600; font-size: 10.5px; line-height: 1.35; }
.m-q .qt .hand { font-size: 15.5px; display: block; margin-top: 2px; }
.m-q .cb { display: flex; flex-direction: column; align-items: center; font-size: 8px; color: var(--paper-muted); }
.m-q .cb span { position: relative; width: 14px; height: 14px; border: 1px solid #7E9199; border-radius: 3px; }
.m-q .cb .tick { position: absolute; left: -2px; top: -6px; width: 20px; height: 20px; }
.m-q-head { display: grid; grid-template-columns: 18px 1fr 34px 34px; gap: 6px; font-size: 8.5px; color: var(--paper-muted); margin-top: 6px; text-align: center; }

/* Sections */
.sec { padding: 64px 0 8px; }
.sec:last-of-type { padding-bottom: 64px; }
h2 { font-size: clamp(25px, 3vw, 30px); line-height: 1.2; letter-spacing: -0.016em; font-weight: 700; margin: 0 0 14px; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; margin: 0 0 6px; }
.intro { color: var(--muted); max-width: 40rem; margin-bottom: 30px; }
.gap-top { margin-top: 44px; }

/* Sheet showcase */
.sheets { display: grid; gap: 36px; }
@media (min-width: 780px) { .sheets { grid-template-columns: 1fr 1fr; gap: 44px; } }
.sheet-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (min-width: 520px) { .sheet-item { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; } }
.thumb { display: block; background: #fff; border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 12px 24px -14px rgba(0, 0, 0, .45); transform: rotate(-1.4deg); }
.sheet-item:nth-child(2n) .thumb, .res:nth-child(2n) .thumb { transform: rotate(1.2deg); }
@media (prefers-reduced-motion: no-preference) { a.thumb { transition: transform .2s ease; } a.thumb:hover { transform: rotate(0deg) translateY(-3px); } }
.sheet-item h3 { margin-top: 2px; }
.sheet-item ul { padding-left: 18px; margin: 6px 0 12px; color: var(--muted); font-size: 15.5px; }
.sheet-item li { margin: 3px 0; }
.dl { font-weight: 600; }

/* Marks */
.marks { display: grid; gap: 20px; margin: 6px 0 22px; }
@media (min-width: 780px) { .marks { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.mk { display: flex; gap: 16px; align-items: flex-start; }
.tbox { flex: none; position: relative; width: 64px; height: 68px; border: 1.5px solid var(--box); border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: center; }
.tbox::before { content: attr(data-n); position: absolute; left: 6px; top: 3px; font-size: 10px; color: var(--box); }
.tbox .hand { font-size: 46px; transform: rotate(-4deg); }
.tbox .cue { position: absolute; right: 4px; bottom: 3px; font-size: 16px; transform: none; }
.mk p { margin: 0; color: var(--muted); font-size: 16px; }
.mk p b { display: block; color: var(--ink); font-size: 17px; }

/* Sequence */
.steps { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 30px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { position: relative; padding-top: 62px; }
.steps .n { position: absolute; top: 0; left: 0; width: 46px; height: 48px; border: 1.5px solid var(--teal); border-radius: 9px; color: var(--link); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; background: var(--bg); }
@media (min-width: 860px) { .steps li:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 60px; right: -28px; border-top: 1.5px dashed var(--line); } }
.steps p { color: var(--muted); font-size: 16px; margin: 0; }
.steps p + p { margin-top: 8px; }

/* Two columns */
.split { display: grid; gap: 34px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }

/* Worked example on paper */
.math { margin: 0; padding: 20px 22px 14px; max-width: 520px; transform: rotate(-0.6deg); }
.math .row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px dashed var(--paper-line); }
.math .row:last-of-type { border-bottom: 0; }
.math .hand { font-size: 30px; transform: none; }
.math small { color: var(--paper-muted); font-size: 14px; }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); }
.tbl thead th { font-weight: 600; color: var(--muted); font-size: 14px; border-bottom: 2px solid var(--teal); padding-bottom: 8px; }
.tbl tbody th { font-weight: 600; width: 34%; }

/* App panel */
.app { background: var(--tint); border-radius: 28px; padding: 36px 24px 0; display: grid; gap: 30px; overflow: hidden; }
@media (min-width: 860px) { .app { grid-template-columns: 290px minmax(0, 1fr); padding: 48px 56px 0 52px; gap: 56px; } }
.phone { order: 2; width: 270px; height: 360px; margin: 0 auto; border: 9px solid #1B2226; border-bottom: 0; border-radius: 46px 46px 0 0; overflow: hidden; background: #F2F2F7; }
@media (min-width: 860px) { .phone { order: 0; align-self: end; height: 440px; margin: 0; } }
.phone img { width: 100%; }
.app-text { max-width: 34rem; }
@media (min-width: 860px) { .app-text { padding-bottom: 44px; } }
.app-text .who { font-size: 15px; color: var(--muted); margin: 0 0 8px; }
.app-text p { color: var(--muted); }
.app-text ul { padding-left: 20px; margin: 0 0 22px; }
.app-text li { margin: 5px 0; }
.app .gets { margin-top: 4px; }
.app-text .tbl + .gets { margin-top: 24px; }

/* SOAP key */
.soap-key { display: grid; gap: 22px; }
@media (min-width: 860px) { .soap-key { grid-template-columns: 1fr 1fr; gap: 28px 44px; } }
.soap-key > div { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.letter { width: 48px; height: 52px; border-radius: 10px; background: var(--teal); color: var(--on-teal); font-weight: 700; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.soap-key p { color: var(--muted); font-size: 16px; margin: 0; }
.soap-key .say { margin-top: 8px; color: var(--ink); font-size: 15.5px; border-left: 3px solid var(--line); padding-left: 12px; }

/* Example notes */
.notes { display: grid; gap: 30px; }
.note { padding: 22px 24px 12px; max-width: 780px; }
.note:nth-child(2) { margin-left: auto; margin-right: 0; }
@media (max-width: 859px) { .note:nth-child(2) { margin-left: 0; } }
.note h3 { font-size: 17px; margin: 0 0 12px; color: var(--paper-ink); }
.note .meta { font-size: 13.5px; color: var(--paper-muted); margin: -8px 0 12px; }
.note .row { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-top: 1px solid #E3EAEC; }
.note .row > b { width: 30px; height: 30px; border-radius: 7px; background: #0E7C86; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.note .row p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--paper-ink); }

/* Plain lists */
.points { padding-left: 20px; margin: 0; }
.points li { margin: 0 0 12px; }
.points li b { color: var(--ink); }

/* Question list (privacy) */
.qs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
@media (min-width: 900px) { .qs { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.qs li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.qs .num { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: var(--on-teal); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.qs h3 { font-size: 17px; margin: 0 0 4px; }
.qs p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Paper spread (hub hero) */
.spread { position: relative; width: min(100%, 480px); aspect-ratio: 480 / 370; margin: 0 auto; }
.spread img { position: absolute; width: 46%; background: #fff; border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 14px 26px -14px rgba(0, 0, 0, .45); }
.spread img:nth-child(1) { left: 0; top: 10%; transform: rotate(-7deg); }
.spread img:nth-child(2) { left: 18%; top: 2%; transform: rotate(-2.5deg); }
.spread img:nth-child(3) { left: 36%; top: 7%; transform: rotate(3deg); }
.spread img:nth-child(4) { left: 54%; top: 14%; transform: rotate(7.5deg); }

/* Resource list (hub) */
.res-list { display: grid; gap: 54px; }
.res { display: grid; gap: 22px; align-items: start; }
@media (min-width: 760px) { .res { grid-template-columns: 220px minmax(0, 1fr); gap: 44px; } }
.res .thumbs { display: flex; gap: 0; max-width: 230px; }
.res .thumbs .thumb { width: 62%; }
.res .thumbs .thumb + .thumb { margin-left: -24%; margin-top: 18px; transform: rotate(3deg); }
.res h2 { font-size: 26px; margin-bottom: 8px; }
.res p { color: var(--muted); max-width: 36rem; }
.res .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 6px; }

/* More printables */
.more { display: grid; gap: 24px; }
@media (min-width: 760px) { .more { grid-template-columns: 1fr 1fr; gap: 40px; } }
.more a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; align-items: center; text-decoration: none; color: var(--ink); }
.more img { background: #fff; border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 8px 16px -10px rgba(0, 0, 0, .4); }
.more b { display: block; color: var(--link); font-size: 17px; }
.more a:hover b { text-decoration: underline; }
.more span { color: var(--muted); font-size: 15px; }

/* Footer */
.foot { border-top: 1px solid var(--line); margin-top: 0; padding: 28px 0 48px; font-size: 14px; color: var(--muted); }
.foot p { margin: 0 0 8px; max-width: 48rem; }
.foot a { color: var(--muted); }

@media print {
  .bar, .app, .more, .foot nav { display: none; }
  .hero { background: none; }
  .board { transform: none; box-shadow: none; }
}
