html {
    scroll-behavior: smooth;
}

body.guide-page {
    overflow-x: hidden;
    background:
        linear-gradient(112deg, rgba(140, 198, 63, 0.16) 0%, rgba(255, 255, 255, 0) 34%),
        linear-gradient(248deg, rgba(237, 30, 121, 0.08) 0%, rgba(255, 255, 255, 0) 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 45%, #f8fff5 100%),
        repeating-linear-gradient(90deg, rgba(31, 47, 30, 0.035) 0 1px, transparent 1px 52px),
        linear-gradient(180deg, #f4fff1 0%, #fff8f1 42%, #f8fff5 100%);
}

body.guide-page::before {
    content: none;
}

body.guide-page .site-header {
    position: relative;
    z-index: 80;
    margin-top: 18px;
    margin-bottom: 0;
    padding: 0.86rem 1.2rem;
    border: 1px solid rgba(31, 47, 30, 0.08);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 40px rgba(31, 47, 30, 0.08);
    backdrop-filter: blur(18px);
}

body.guide-page .main-nav {
    background: rgba(230, 247, 217, 0.82);
    box-shadow: inset 0 0 0 1px rgba(0, 127, 0, 0.04);
}

body.guide-page .main-nav a[aria-current="page"] {
    color: var(--primary);
    background: rgba(255, 241, 249, 0.9);
}

.guide-page main {
    overflow: visible;
}

.guide-hero,
.guide-section {
    scroll-margin-top: 92px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 28px;
    padding: 0.3rem 0.72rem;
    border-radius: 8px;
    background: #e9f9df;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.guide-hero {
    position: relative;
    isolation: isolate;
    margin-top: -1px;
    padding: clamp(34px, 4.2vw, 60px) 0 clamp(44px, 5vw, 72px);
    scroll-margin-top: 180px;
}

.guide-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 16% 4%, rgba(140, 198, 63, 0.16), transparent 30%),
        radial-gradient(circle at 90% 12%, rgba(237, 30, 121, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.28) 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.94) 82%, transparent 100%);
}

.guide-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
    gap: 42px;
    align-items: center;
}

.guide-hero__copy {
    max-width: 620px;
}

.guide-hero__copy h1 {
    margin: 14px 0 16px;
    font-family: 'Baloo 2', 'Nunito', sans-serif;
    font-size: 52px;
    line-height: 1.02;
    letter-spacing: 0;
    color: #183017;
}

.guide-hero__copy p,
.guide-section-head p,
.guide-cta p {
    margin: 0;
    color: rgba(31, 47, 30, 0.72);
    font-size: 1.06rem;
    line-height: 1.72;
}

.guide-hero__signals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.guide-hero__signals > span {
    min-width: 0;
    padding: 13px;
    border: 1px solid rgba(31, 47, 30, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 26px rgba(31, 47, 30, 0.08);
}

.guide-hero__signals .guide-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    margin-bottom: 9px;
}

.guide-hero__signals .guide-icon svg {
    width: 18px;
    height: 18px;
}

.guide-hero__signals strong,
.guide-hero__signals small {
    display: block;
}

.guide-hero__signals strong {
    color: #1f2f1e;
    font-size: 0.96rem;
    line-height: 1.25;
}

.guide-hero__signals small {
    margin-top: 3px;
    color: rgba(31, 47, 30, 0.64);
    font-size: 0.82rem;
    line-height: 1.35;
}

.guide-hero__actions,
.guide-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.guide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0.84rem 1.18rem;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.guide-button::after {
    content: ">";
    font-weight: 900;
    line-height: 1;
}

.guide-button:hover,
.guide-button:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.guide-button--primary {
    background: linear-gradient(135deg, #008a23, #0f9e55);
    color: #fff;
    box-shadow: 0 16px 28px rgba(0, 127, 0, 0.24);
}

.guide-button--primary:hover,
.guide-button--primary:focus-visible {
    background: linear-gradient(135deg, #006f1c, #0b8447);
    color: #fff;
}

.guide-button--ghost {
    background: rgba(255, 255, 255, 0.86);
    color: #1f2f1e;
    border: 1px solid rgba(31, 47, 30, 0.16);
}

.guide-button--ghost:hover,
.guide-button--ghost:focus-visible {
    color: var(--primary);
    border-color: rgba(0, 127, 0, 0.28);
    box-shadow: 0 14px 24px rgba(31, 47, 30, 0.12);
}

.guide-shot-stack figure {
    border: 1px solid rgba(31, 47, 30, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(31, 47, 30, 0.14);
}

.guide-hero__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 0;
}

.guide-hero__mockup {
    width: min(100%, 820px);
    margin: 0;
}

.guide-hero__mockup img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 26px 34px rgba(31, 47, 30, 0.16));
}

.guide-shot-stack img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

.guide-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 8px;
    color: var(--primary);
    background: #eef9e8;
    border: 1px solid rgba(0, 127, 0, 0.16);
}

.guide-icon svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.guide-anchor {
    position: sticky;
    top: 0;
    z-index: 70;
    background: rgba(245, 255, 241, 0.9);
    border-top: 1px solid rgba(31, 47, 30, 0.08);
    border-bottom: 1px solid rgba(31, 47, 30, 0.08);
    box-shadow: 0 10px 26px rgba(31, 47, 30, 0.1);
    backdrop-filter: blur(14px);
}

.guide-anchor__inner {
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: thin;
}

.guide-anchor a {
    position: relative;
    flex: 0 0 auto;
    padding: 0.66rem 0.92rem 0.66rem 1.38rem;
    border-radius: 8px;
    color: rgba(31, 47, 30, 0.74);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.guide-anchor a::before {
    content: "";
    position: absolute;
    left: 0.7rem;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    transform: translateY(-50%);
}

.guide-anchor a:hover,
.guide-anchor a:focus-visible {
    color: var(--primary);
    background: #fff;
    box-shadow: 0 8px 18px rgba(31, 47, 30, 0.08);
    outline: none;
}

.guide-section {
    position: relative;
    padding: 72px 0;
}

.guide-section--summary {
    padding-top: 34px;
}

.guide-section--teacher,
.guide-section--workflow,
.guide-section--faq {
    background:
        linear-gradient(180deg, #f6fff0 0%, #ffffff 100%);
}

.guide-section--teacher::before,
.guide-section--workflow::before,
.guide-section--faq::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(135deg, rgba(0, 127, 0, 0.045) 0 1px, transparent 1px 34px);
}

.guide-section > .container,
.guide-cta > .container {
    position: relative;
}

.guide-section-head {
    max-width: 840px;
    margin-bottom: 30px;
}

.guide-section-head--compact {
    max-width: 760px;
    margin-bottom: 20px;
}

.guide-section-head h2,
.guide-cta h2 {
    margin: 10px 0 12px;
    font-family: 'Baloo 2', 'Nunito', sans-serif;
    font-size: 36px;
    line-height: 1.12;
    letter-spacing: 0;
    color: #183017;
}

.guide-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.guide-role-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 232px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(31, 47, 30, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f6fff2 100%);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 16px 32px rgba(31, 47, 30, 0.09);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-role-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #ffc439, var(--accent));
}

.guide-role-card:nth-child(2)::before {
    background: linear-gradient(90deg, #1a9bd7, #7ac943, #ffc439);
}

.guide-role-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--accent), #ffc439, var(--primary));
}

.guide-role-card:hover,
.guide-role-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(0, 127, 0, 0.28);
    box-shadow: 0 24px 44px rgba(31, 47, 30, 0.14);
    outline: none;
}

.guide-role-card > span:not(.guide-icon) {
    color: var(--accent);
    font-weight: 900;
}

.guide-role-card h2 {
    margin: 0;
    font-size: 1.34rem;
    line-height: 1.24;
    letter-spacing: 0;
}

.guide-role-card p,
.guide-feature-card li,
.guide-workflow p,
.guide-faq-list p,
.guide-shot-stack figcaption {
    color: rgba(31, 47, 30, 0.72);
    line-height: 1.62;
}

.guide-role-card p {
    margin: 0;
}

.guide-role-card em {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    color: var(--primary);
    font-style: normal;
    font-weight: 900;
}

.guide-role-card em::after {
    content: ">";
}

.guide-student-panel {
    display: grid;
    gap: 18px;
}

.guide-student-visual {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 0.36fr) minmax(0, 0.64fr);
    grid-template-areas:
        "copy screens"
        "steps screens";
    gap: 18px 22px;
    align-items: stretch;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(31, 47, 30, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 255, 240, 0.9) 46%, rgba(255, 242, 248, 0.88) 100%);
    box-shadow: 0 18px 40px rgba(31, 47, 30, 0.1);
}

.guide-student-visual::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: linear-gradient(90deg, var(--primary), #ffc439, var(--accent));
}

.guide-student-visual__copy {
    position: relative;
    display: grid;
    grid-area: copy;
    gap: 10px;
    align-content: start;
    padding-top: 30px;
}

.guide-student-visual__copy span,
.guide-student-card__head span {
    width: fit-content;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.guide-student-visual__copy h3 {
    max-width: 440px;
    margin: 0;
    color: #183017;
    font-family: 'Baloo 2', 'Nunito', sans-serif;
    font-size: 1.8rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.guide-student-visual__screens {
    position: relative;
    grid-area: screens;
    min-height: 360px;
}

.guide-student-screen {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(31, 47, 30, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(31, 47, 30, 0.12);
}

.guide-student-screen img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

.guide-student-screen--primary {
    width: 84%;
}

.guide-student-screen--primary img {
    aspect-ratio: 16 / 9.4;
}

.guide-student-screen--secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48%;
}

.guide-student-screen--secondary img {
    aspect-ratio: 16 / 11;
}

.guide-student-screen figcaption {
    padding: 12px 14px 13px;
    color: #1f2f1e;
    font-size: 0.96rem;
    font-weight: 900;
}

.guide-student-steps {
    position: relative;
    grid-area: steps;
    align-self: start;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.guide-student-steps span {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    min-height: 76px;
    padding: 12px 16px;
    border: 1px solid rgba(31, 47, 30, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 22px rgba(31, 47, 30, 0.08);
}

.guide-student-steps .guide-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 8px;
    background: linear-gradient(180deg, #f5fff0, #e6f9dd);
}

.guide-student-steps .guide-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.9;
}

.guide-student-steps strong {
    color: #1f2f1e;
    font-size: 1.02rem;
    line-height: 1.2;
}

.guide-student-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.guide-student-cards.is-masonry {
    grid-auto-rows: 8px;
    grid-auto-flow: row;
}

.guide-student-card {
    position: relative;
    display: block;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(31, 47, 30, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 30px rgba(31, 47, 30, 0.08);
}

.guide-student-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: var(--primary);
}

.guide-student-card:nth-child(3n + 2)::before {
    background: var(--accent);
}

.guide-student-card:nth-child(3n + 3)::before {
    background: #ffc439;
}

.guide-student-card__number {
    position: absolute;
    right: 14px;
    top: 10px;
    color: rgba(31, 47, 30, 0.08);
    font-family: 'Baloo 2', 'Nunito', sans-serif;
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1;
}

.guide-student-card__head {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.guide-student-card__head h3 {
    margin: 2px 0 0;
    color: #1f2f1e;
    font-size: 1.12rem;
    line-height: 1.28;
    letter-spacing: 0;
}

.guide-student-card__head .guide-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
}

.guide-student-card ul {
    position: relative;
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-student-card li {
    position: relative;
    padding: 10px 10px 10px 34px;
    border-radius: 8px;
    background: rgba(245, 253, 240, 0.72);
    color: rgba(31, 47, 30, 0.73);
    line-height: 1.52;
}

.guide-student-card li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 1.05rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 127, 0, 0.08);
}

.guide-student-card li:nth-child(3n + 2) {
    background: rgba(255, 242, 248, 0.74);
}

.guide-student-card li:nth-child(3n + 2)::before {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(237, 30, 121, 0.08);
}

.guide-student-card li:nth-child(3n + 3) {
    background: rgba(255, 250, 232, 0.8);
}

.guide-student-card li:nth-child(3n + 3)::before {
    background: #ffc439;
    box-shadow: 0 0 0 4px rgba(255, 196, 57, 0.16);
}

.guide-mini-label {
    display: inline-flex;
    width: fit-content;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.guide-teacher-panel {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
    gap: 26px;
    align-items: stretch;
    overflow: hidden;
    padding: 26px;
    border: 1px solid rgba(31, 47, 30, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 255, 243, 0.92) 46%, rgba(255, 244, 250, 0.9)),
        radial-gradient(circle at 82% 16%, rgba(255, 196, 57, 0.22), transparent 34%);
    box-shadow: 0 22px 52px rgba(31, 47, 30, 0.12);
}

.guide-teacher-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), #ffc439, var(--accent));
    z-index: 1;
}

.guide-teacher-story {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.guide-teacher-story h3 {
    margin: 10px 0 12px;
    color: #183017;
    font-family: 'Baloo 2', 'Nunito', sans-serif;
    font-size: clamp(1.72rem, 2.6vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.guide-teacher-story p {
    margin: 0;
    color: rgba(31, 47, 30, 0.72);
    font-size: 1rem;
    line-height: 1.68;
}

.guide-teacher-flow {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.guide-teacher-flow__item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(31, 47, 30, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(31, 47, 30, 0.08);
}

.guide-teacher-flow__item .guide-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    justify-self: center;
    align-self: start;
    margin-top: 2px;
    background: linear-gradient(180deg, #f5fff0, #e6f9dd);
}

.guide-teacher-flow__item .guide-icon svg {
    width: 26px;
    height: 26px;
    transform: none;
}

.guide-teacher-flow__item:first-child .guide-icon svg {
    width: 26px;
    height: 26px;
    transform: none;
}

.guide-teacher-flow__item strong,
.guide-teacher-flow__item span {
    display: block;
}

.guide-teacher-flow__item strong {
    color: #1f2f1e;
    font-size: 1rem;
    line-height: 1.25;
}

.guide-teacher-flow__item span {
    margin-top: 3px;
    color: rgba(31, 47, 30, 0.68);
    font-size: 0.9rem;
    line-height: 1.45;
}

.guide-teacher-visual {
    position: relative;
    min-height: 410px;
    padding: 8px 0 0 10px;
}

.guide-teacher-screen {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(31, 47, 30, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 42px rgba(31, 47, 30, 0.14);
}

.guide-teacher-screen::after {
    content: "";
    position: absolute;
    inset: 30px 0 48px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0) 0 58%, rgba(255, 255, 255, 0.5) 100%),
        radial-gradient(circle at 18% 20%, rgba(124, 201, 67, 0.13), transparent 34%);
    pointer-events: none;
}

.guide-teacher-screen::before {
    content: "";
    display: block;
    height: 30px;
    background:
        radial-gradient(circle at 18px 50%, #f55ba1 0 5px, transparent 6px),
        radial-gradient(circle at 38px 50%, #ffc439 0 5px, transparent 6px),
        radial-gradient(circle at 58px 50%, #27ae60 0 5px, transparent 6px),
        linear-gradient(90deg, #ffffff, #f3fff0);
    border-bottom: 1px solid rgba(31, 47, 30, 0.08);
}

.guide-teacher-screen img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.guide-teacher-screen figcaption {
    margin: 0;
    padding: 12px 14px;
    color: #1f2f1e;
    font-size: 0.94rem;
    font-weight: 900;
    line-height: 1.3;
}

.guide-teacher-screen--main {
    width: 84%;
}

.guide-teacher-screen--main img {
    aspect-ratio: 16 / 9.7;
    object-position: top right;
}

.guide-teacher-screen--float {
    position: absolute;
    top: 86px;
    right: 0;
    bottom: auto;
    z-index: 2;
    width: 47%;
    transform: rotate(0.4deg);
}

.guide-teacher-screen--float::before {
    height: 22px;
}

.guide-teacher-screen--float img {
    aspect-ratio: 16 / 8.4;
    object-position: top center;
}

.guide-teacher-screen--float figcaption {
    padding: 10px 12px;
    font-size: 0.84rem;
}

.guide-teacher-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.guide-teacher-card {
    min-height: 100%;
}

.guide-teacher-card .guide-card-head {
    align-items: center;
}

.guide-teacher-card ul {
    gap: 8px;
}

.guide-feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.74fr);
    gap: 24px;
    align-items: start;
}

.guide-feature-layout--reverse {
    grid-template-columns: minmax(360px, 0.74fr) minmax(0, 1.06fr);
}

.guide-feature-list,
.guide-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.guide-feature-list--compact {
    grid-template-columns: 1fr;
}

.guide-feature-card {
    position: relative;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(31, 47, 30, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(31, 47, 30, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-feature-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--primary);
}

.guide-feature-card:nth-child(3n + 2)::before {
    background: var(--accent);
}

.guide-feature-card:nth-child(3n + 3)::before {
    background: #ffc439;
}

.guide-feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 127, 0, 0.24);
    box-shadow: 0 18px 36px rgba(31, 47, 30, 0.12);
}

.guide-admin-card__thumb {
    position: relative;
    z-index: 1;
    margin: -18px -18px 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f5fff0;
    border-bottom: 1px solid rgba(31, 47, 30, 0.1);
}

.guide-admin-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.guide-admin-card__thumb::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(31, 47, 30, 0.06));
    pointer-events: none;
}

.guide-admin-card .guide-card-head {
    position: relative;
    z-index: 1;
}

.guide-feature-card h3 {
    margin: 0;
    color: #1f2f1e;
    font-size: 1.08rem;
    line-height: 1.32;
    letter-spacing: 0;
}

.guide-feature-count {
    display: inline-flex;
    margin-top: 4px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 900;
}

.guide-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.guide-card-head h3 {
    margin: 3px 0 0;
}

.guide-feature-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-feature-card li {
    position: relative;
    padding-left: 1.45rem;
}

.guide-feature-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.56em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 127, 0, 0.08);
}

.guide-feature-card li:nth-child(3n + 2)::before {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(237, 30, 121, 0.08);
}

.guide-feature-card li:nth-child(3n + 3)::before {
    background: #ffc439;
    box-shadow: 0 0 0 4px rgba(255, 196, 57, 0.16);
}

.guide-shot-stack {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 82px;
}

.guide-shot-stack figure {
    position: relative;
    margin: 0;
    padding: 10px;
    overflow: hidden;
}

.guide-shot-stack figure::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 32px;
    background: linear-gradient(90deg, #f55ba1, #ffc439, #7ac943);
}

.guide-shot-stack img {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
}

.guide-section--teacher .guide-shot-stack img {
    object-position: top right;
}

.guide-shot-stack figcaption {
    position: relative;
    margin: 10px 4px 2px;
    font-size: 0.94rem;
    font-weight: 900;
}

.guide-admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-workflow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: guide-workflow;
}

.guide-workflow li {
    position: relative;
    min-height: 210px;
    padding: 20px;
    border: 1px solid rgba(31, 47, 30, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(31, 47, 30, 0.08);
}

.guide-workflow__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff1f9;
    color: var(--accent);
    font-weight: 900;
}

.guide-workflow .guide-icon {
    margin-left: 8px;
    vertical-align: top;
    color: var(--primary);
    background: #eef9e8;
}

.guide-workflow h3 {
    margin: 15px 0 8px;
    color: #183017;
    font-size: 1.12rem;
    letter-spacing: 0;
}

.guide-workflow p {
    margin: 0;
}

.guide-faq-list {
    display: grid;
    gap: 12px;
    max-width: 920px;
}

.guide-faq-list details {
    border: 1px solid rgba(31, 47, 30, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(31, 47, 30, 0.07);
}

.guide-faq-list summary {
    cursor: pointer;
    padding: 17px 18px;
    color: #1f2f1e;
    font-weight: 900;
}

.guide-faq-list summary::marker {
    color: var(--primary);
}

.guide-faq-list p {
    margin: 0;
    padding: 0 18px 18px;
}

.guide-empty-state {
    margin: 0;
    padding: 18px 20px;
    border: 1px dashed rgba(31, 47, 30, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    color: rgba(31, 47, 30, 0.68);
    font-weight: 800;
}

.guide-cta {
    padding: 64px 0 76px;
}

.guide-cta__inner {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    padding: 30px;
    border: 1px solid rgba(31, 47, 30, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, #ffffff 0%, #f7fff2 48%, #fff5fb 100%);
    box-shadow: 0 22px 48px rgba(31, 47, 30, 0.12);
}

.guide-cta__inner > div:first-child {
    max-width: 680px;
}

.guide-cta__actions {
    margin-top: 0;
    justify-content: flex-end;
}

@media (max-width: 1120px) {
    .guide-hero__grid,
    .guide-feature-layout,
    .guide-feature-layout--reverse {
        grid-template-columns: 1fr;
    }

    .guide-hero__copy {
        max-width: none;
    }

    .guide-hero__media {
        width: min(100%, 820px);
        margin: 0 auto;
    }

    .guide-student-visual {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "steps"
            "screens";
    }

    .guide-student-visual__copy {
        padding-top: 0;
    }

    .guide-student-visual__screens {
        min-height: clamp(300px, 48vw, 430px);
    }

    .guide-teacher-panel {
        grid-template-columns: 1fr;
    }

    .guide-teacher-story {
        padding: 0;
    }

    .guide-teacher-visual {
        min-height: clamp(360px, 54vw, 500px);
        padding-left: 0;
    }

    .guide-teacher-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-shot-stack {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-admin-grid,
    .guide-workflow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    body.guide-page .site-header {
        margin-top: 10px;
        padding: 0.82rem clamp(1rem, 4vw, 1.25rem);
        border-radius: 22px;
    }

    .guide-hero {
        padding-top: 26px;
    }

    .guide-hero__copy h1 {
        font-size: 38px;
    }

    .guide-hero__signals,
    .guide-role-grid,
    .guide-feature-list,
    .guide-teacher-cards,
    .guide-admin-grid,
    .guide-workflow,
    .guide-shot-stack {
        grid-template-columns: 1fr;
    }

    .guide-section-head h2,
    .guide-cta h2 {
        font-size: 30px;
    }

    .guide-anchor__inner {
        justify-content: flex-start;
    }

    .guide-student-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-student-cards {
        grid-template-columns: 1fr;
    }

    .guide-student-cards.is-masonry {
        grid-auto-rows: auto;
    }

    .guide-student-cards.is-masonry .guide-student-card {
        grid-row-end: auto !important;
    }

    .guide-teacher-panel {
        padding: 18px;
    }

    .guide-teacher-flow__item {
        grid-template-columns: 50px minmax(0, 1fr);
        align-items: start;
    }

    .guide-teacher-flow__item .guide-icon {
        display: inline-flex;
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        align-self: start;
        margin-top: 2px;
    }

    .guide-teacher-flow__item .guide-icon svg {
        width: 24px;
        height: 24px;
        transform: none;
    }

    .guide-teacher-visual {
        display: grid;
        gap: 12px;
        min-height: auto;
        padding: 0;
    }

    .guide-teacher-screen--main,
    .guide-teacher-screen--float {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        transform: none;
    }

    .guide-hero__media {
        display: grid;
        min-height: auto;
        padding: 0;
    }

    .guide-cta__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .guide-cta__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .guide-hero__copy h1 {
        font-size: 32px;
    }

    .guide-hero__signals {
        grid-template-columns: repeat(3, minmax(112px, 1fr));
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .guide-hero__signals::-webkit-scrollbar {
        display: none;
    }

    .guide-hero__signals > span {
        padding: 10px;
    }

    .guide-hero__signals .guide-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        margin-bottom: 7px;
    }

    .guide-hero__signals strong {
        font-size: 0.9rem;
    }

    .guide-hero__signals small {
        font-size: 0.76rem;
    }

    .guide-hero__actions,
    .guide-cta__actions {
        flex-direction: column;
    }

    .guide-button {
        width: 100%;
    }

    .guide-section {
        padding: 50px 0;
    }

    .guide-student-visual {
        padding: 14px;
    }

    .guide-student-visual__copy h3 {
        font-size: 1.45rem;
    }

    .guide-student-visual__screens {
        display: grid;
        gap: 12px;
        min-height: auto;
    }

    .guide-student-screen--primary,
    .guide-student-screen--secondary {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
    }

    .guide-student-steps {
        grid-template-columns: 1fr;
    }

    .guide-student-card {
        padding: 16px;
    }

    .guide-cta__inner {
        padding: 20px;
    }
}
