:root {
    --student-bg: oklch(0.115 0.025 278);
    --student-surface: oklch(0.17 0.035 275);
    --student-surface-raised: oklch(0.22 0.045 270);
    --student-surface-soft: oklch(0.2 0.04 250);
    --student-line: oklch(0.34 0.045 270);
    --student-line-strong: oklch(0.48 0.11 260);
    --student-text: oklch(0.96 0.008 260);
    --student-muted: oklch(0.76 0.025 260);
    --student-violet: oklch(0.64 0.22 292);
    --student-violet-dark: oklch(0.47 0.21 292);
    --student-cyan: oklch(0.75 0.145 210);
    --student-green: oklch(0.76 0.16 165);
    --student-shadow: 0 24px 80px oklch(0.04 0.02 275 / 0.45);
    --student-radius-sm: 12px;
    --student-radius: 20px;
    --student-radius-lg: 30px;
    --student-content: 1240px;
    --button-color: var(--student-cyan);
    --text-color: var(--student-text);
    --background-color: var(--student-bg);
    --base-border-color: var(--student-line);
    --second-border-color: var(--student-line-strong);
    --second-color: var(--student-surface);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--student-bg);
    color: var(--student-text);
    font-family: "Poppins", "Times New Roman", sans-serif;
    text-rendering: optimizeLegibility;
}

header {
    height: 90px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 20;
}

header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(91.2deg, #2dffb5 8.77%, #00d1ff 54.81%, #ba8fff 92.52%);
}

header nav {
    height: 100%;
    width: 100%;
    padding: 15px 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.25rem;
}

header nav img {
    height: 65px;
    aspect-ratio: 75 / 29;
}

.student-page {
    width: min(calc(100% - 40px), var(--student-content));
    margin: 0 auto;
    padding-bottom: clamp(72px, 9vw, 130px);
}

.breadcrumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow: hidden;
    padding: 24px 0 8px;
    color: var(--student-muted);
    font-size: 0.875rem;
    white-space: nowrap;
}

.breadcrumbs > * {
    flex: 0 0 auto;
}

.breadcrumbs [aria-current="page"] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breadcrumbs a {
    height: auto;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--student-cyan);
}

.hero {
    min-height: 650px;
    margin-top: 14px;
    padding: clamp(34px, 5vw, 74px);
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    gap: clamp(44px, 6vw, 92px);
    align-items: center;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--student-line);
    border-radius: var(--student-radius-lg);
    background:
        radial-gradient(circle at 90% 8%, oklch(0.61 0.2 292 / 0.28), transparent 34%),
        radial-gradient(circle at 8% 100%, oklch(0.71 0.14 210 / 0.16), transparent 32%),
        var(--student-surface);
    box-shadow: var(--student-shadow);
}

.hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -230px;
    bottom: -250px;
    border: 1px solid oklch(0.75 0.145 210 / 0.3);
    border-radius: 50%;
}

.hero-copy,
.hero-preview {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--student-cyan);
    font-size: 0.875rem;
    font-weight: 700;
}

.hero-kicker::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--student-cyan);
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--student-text);
    font-size: clamp(2.3rem, 4.7vw, 4.45rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.hero-lead {
    max-width: 690px;
    margin: 26px 0 0;
    color: var(--student-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.7;
}

.hero-benefits {
    width: min(100%, 660px);
    margin: 30px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: relative;
    border-block: 1px solid var(--student-line);
    list-style: none;
}

.hero-benefits li {
    min-width: 0;
    padding: 15px 14px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    position: relative;
    color: var(--student-text);
}

.hero-benefits li + li {
    border-left: 1px solid var(--student-line);
}

.hero-benefits li:first-child {
    padding-left: 0;
}

.hero-benefits li:last-child {
    padding-right: 0;
}

.benefit-mark {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: oklch(0.16 0.045 170);
    border-radius: 50%;
    background: var(--student-green);
    box-shadow: 0 0 22px oklch(0.76 0.16 165 / 0.2);
    font-size: 0.84rem;
    font-weight: 900;
}

.hero-benefits li > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-benefits strong {
    font-size: 1rem;
    line-height: 1.25;
}

.hero-benefits small {
    overflow: hidden;
    color: var(--student-muted);
    font-size: 0.75rem;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 50px;
    padding: 13px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--student-radius-sm);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.student-page .button.button-primary {
    color: oklch(0.13 0.035 278);
    background: var(--student-cyan);
    border-color: var(--student-cyan);
}

.student-page .button.button-primary:hover {
    color: oklch(0.13 0.035 278);
    background: oklch(0.81 0.14 210);
}

.button-secondary {
    color: var(--student-text);
    border-color: var(--student-line-strong);
    background: oklch(0.16 0.035 275 / 0.8);
}

.button-secondary:hover {
    border-color: var(--student-cyan);
}

.button-light {
    color: oklch(0.18 0.05 285);
    background: var(--student-text);
    border-color: var(--student-text);
}

.hero-preview {
    height: 590px;
    min-width: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: rotate(1.5deg);
    border: 1px solid oklch(0.72 0.14 210 / 0.35);
    border-radius: 24px;
    background: oklch(0.1 0.022 278);
    box-shadow: 0 30px 70px oklch(0.04 0.02 275 / 0.5);
}

.preview-toolbar {
    padding: 3px 5px 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--student-muted);
    font-size: 0.77rem;
    flex: 0 0 auto;
}

.preview-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.preview-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--student-green);
    box-shadow: 0 0 16px var(--student-green);
}

.preview-format {
    color: var(--student-cyan);
    font-weight: 700;
}

.hero-preview img {
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
}

.preview-note {
    width: min(78%, 290px);
    margin: -25px 16px 5px auto;
    padding: 13px 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    color: var(--student-text);
    border: 1px solid var(--student-line-strong);
    border-radius: 12px;
    background: var(--student-surface-raised);
    box-shadow: 0 18px 40px oklch(0.04 0.02 275 / 0.45);
}

.preview-note strong {
    font-size: 0.85rem;
}

.preview-note span {
    margin-top: 3px;
    color: var(--student-muted);
    font-size: 0.72rem;
}

.page-section {
    margin-top: clamp(84px, 10vw, 144px);
    scroll-margin-top: 110px;
}

.section-heading {
    margin-bottom: 34px;
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.section-heading-split {
    justify-content: space-between;
    gap: 64px;
}

.section-heading-split > div {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.section-index {
    padding-top: 7px;
    flex: 0 0 auto;
    color: var(--student-cyan);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.student-page h2 {
    max-width: 780px;
    margin: 0;
    color: var(--student-text);
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section-heading p,
.section-heading-split > p {
    max-width: 620px;
    margin: 13px 0 0;
    color: var(--student-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.section-heading-split > p {
    max-width: 430px;
    margin-top: 9px;
}

.task-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 20px;
}

.task-feature {
    border: 1px solid var(--student-line);
    text-decoration: none;
    transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), border-color 200ms ease, background-color 200ms ease;
}

.task-feature:hover {
    border-color: var(--student-cyan);
    transform: translateY(-3px);
}

.task-feature-main {
    min-height: 420px;
    padding: clamp(28px, 4vw, 50px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: var(--student-radius-lg);
    background:
        radial-gradient(circle at 100% 0, oklch(0.65 0.21 292 / 0.25), transparent 42%),
        var(--student-surface-raised);
}

.task-feature-main::after {
    content: "";
    width: 260px;
    height: 260px;
    position: absolute;
    right: -120px;
    bottom: -120px;
    border: 1px solid oklch(0.75 0.145 210 / 0.25);
    border-radius: 50%;
}

.task-feature-main > img {
    width: 56px;
    height: 56px;
    margin-bottom: auto;
}

.task-number {
    position: absolute;
    top: 36px;
    right: 38px;
    color: var(--student-cyan);
    font-weight: 800;
}

.task-feature h3,
.work-option h3,
.audience-list h3,
.choice-criteria h3,
.process-list h3 {
    color: var(--student-text);
}

.task-feature-main h3 {
    max-width: 470px;
    margin: 36px 0 12px;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    line-height: 1.12;
}

.task-feature-main p {
    max-width: 520px;
    margin: 0;
    color: var(--student-muted);
    line-height: 1.65;
}

.text-link {
    color: var(--student-cyan);
    font-weight: 700;
    text-decoration: none;
}

.task-feature-main .text-link {
    margin-top: 30px;
}

.text-link span {
    display: inline-block;
    transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.text-link:hover span {
    transform: translateX(4px);
}

.task-list {
    display: grid;
    gap: 14px;
}

.task-feature-compact {
    padding: 24px;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 18px;
    align-items: center;
    border-radius: var(--student-radius);
    background: var(--student-surface);
}

.task-feature-compact img {
    width: 44px;
    height: 44px;
}

.task-feature-compact h3 {
    margin: 0 0 5px;
    font-size: 1.08rem;
}

.task-feature-compact p {
    margin: 0;
    color: var(--student-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.task-feature-compact > span {
    color: var(--student-cyan);
    font-size: 1.35rem;
}

.primary-work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.work-option {
    min-height: 320px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--student-line);
    border-radius: var(--student-radius);
    background: var(--student-surface);
    text-decoration: none;
    transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), border-color 200ms ease;
}

.work-option:hover {
    border-color: var(--student-line-strong);
    transform: translateY(-4px);
}

.work-option::after {
    content: "";
    width: 180px;
    height: 180px;
    position: absolute;
    top: -95px;
    right: -90px;
    border-radius: 50%;
    background: oklch(0.65 0.21 292 / 0.16);
}

.work-option-referat,
.work-option-course {
    grid-column: span 6;
}

.work-option-project {
    grid-column: span 5;
}

.work-option-paper {
    grid-column: span 7;
}

.work-option-course {
    background: oklch(0.2 0.055 290);
}

.work-option-project {
    background: oklch(0.19 0.045 225);
}

.work-option-paper {
    background: oklch(0.19 0.04 255);
}

.work-option img {
    width: 48px;
    height: 48px;
    margin-bottom: 46px;
}

.work-label {
    color: var(--student-cyan);
    font-size: 0.78rem;
    font-weight: 700;
}

.work-option h3 {
    margin: 8px 0 12px;
    font-size: clamp(1.45rem, 2.3vw, 2.1rem);
    line-height: 1.15;
}

.work-option p {
    max-width: 560px;
    margin: 0;
    color: var(--student-muted);
    line-height: 1.65;
}

.work-option .text-link {
    margin-top: auto;
    padding-top: 30px;
}

.secondary-work-list {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--student-line);
    border-radius: var(--student-radius);
    overflow: hidden;
}

.secondary-work-list a {
    min-height: 76px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--student-text);
    border-right: 1px solid var(--student-line);
    background: var(--student-surface);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

.secondary-work-list a:last-child {
    border-right: 0;
}

.secondary-work-list a:hover {
    color: var(--student-cyan);
    background: var(--student-surface-raised);
}

.examples-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.examples-layout figure {
    min-height: 280px;
    margin: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--student-line);
    border-radius: var(--student-radius);
    background: var(--student-surface);
}

.examples-layout .example-main {
    min-height: 580px;
    grid-row: 1 / 3;
}

.examples-layout figure img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.examples-layout figure:hover img {
    transform: scale(1.025);
}

.examples-layout figcaption {
    position: absolute;
    inset: auto 14px 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--student-text);
    border: 1px solid var(--student-line);
    border-radius: 13px;
    background: oklch(0.14 0.03 275 / 0.94);
    box-shadow: 0 12px 30px oklch(0.04 0.02 275 / 0.4);
}

.examples-layout figcaption > span {
    color: var(--student-cyan);
    font-size: 0.75rem;
    font-weight: 800;
}

.examples-layout figcaption div {
    display: flex;
    flex-direction: column;
}

.examples-layout figcaption small {
    margin-top: 3px;
    color: var(--student-muted);
}

.audience-section {
    padding: clamp(32px, 5vw, 64px);
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(40px, 7vw, 90px);
    border: 1px solid var(--student-line);
    border-radius: var(--student-radius-lg);
    background: var(--student-surface-soft);
}

.audience-intro h2 {
    margin-top: 18px;
    font-size: clamp(2rem, 3.6vw, 3.25rem);
}

.audience-intro p {
    margin: 22px 0 25px;
    color: var(--student-muted);
    line-height: 1.75;
}

.audience-list {
    display: grid;
}

.audience-list article {
    padding: 23px 0;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 18px;
    border-bottom: 1px solid var(--student-line);
}

.audience-list article:first-child {
    padding-top: 0;
}

.audience-list article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.audience-list article > span {
    color: var(--student-cyan);
    font-size: 0.78rem;
    font-weight: 800;
}

.audience-list h3 {
    margin: 0 0 7px;
    font-size: 1.08rem;
}

.audience-list p {
    margin: 0;
    color: var(--student-muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

.free-section {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 7vw, 88px);
    align-items: start;
}

.free-copy h2 {
    margin-top: 18px;
}

.free-copy > p {
    margin: 22px 0 0;
    color: var(--student-muted);
    line-height: 1.75;
}

.check-list {
    margin: 26px 0 30px;
    padding: 0;
    display: grid;
    gap: 13px;
    list-style: none;
}

.check-list li {
    padding-left: 30px;
    position: relative;
    color: var(--student-text);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--student-green);
    font-weight: 800;
}

.version-comparison {
    overflow-x: auto;
    border: 1px solid var(--student-line);
    border-radius: var(--student-radius);
    background: var(--student-surface);
}

.version-comparison table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.version-comparison caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.version-comparison th,
.version-comparison td {
    padding: 17px 18px;
    border-bottom: 1px solid var(--student-line);
    text-align: left;
}

.version-comparison thead th {
    color: var(--student-text);
    background: oklch(0.24 0.065 285);
    font-size: 0.88rem;
}

.version-comparison tbody th {
    color: var(--student-text);
    font-size: 0.9rem;
}

.version-comparison td {
    color: var(--student-muted);
    font-size: 0.88rem;
}

.version-comparison tr:last-child th,
.version-comparison tr:last-child td {
    border-bottom: 0;
}

.version-comparison .table-accent {
    color: var(--student-green);
    font-weight: 800;
}

.bonus-banner {
    grid-column: 1 / -1;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid var(--student-line-strong);
    border-radius: var(--student-radius);
    background: oklch(0.2 0.06 290);
}

.bonus-banner div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bonus-banner span {
    color: var(--student-muted);
    font-size: 0.9rem;
}

.process-list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--student-line-strong);
    list-style: none;
}

.process-list li {
    min-height: 250px;
    padding: 24px 24px 0 0;
    border-right: 1px solid var(--student-line);
}

.process-list li:not(:first-child) {
    padding-left: 24px;
}

.process-list li:last-child {
    border-right: 0;
}

.process-list li > span {
    color: var(--student-cyan);
    font-size: 0.78rem;
    font-weight: 800;
}

.process-list h3 {
    margin: 55px 0 12px;
    font-size: 1.12rem;
}

.process-list p {
    margin: 0;
    color: var(--student-muted);
    font-size: 0.91rem;
    line-height: 1.65;
}

.choice-section {
    padding: clamp(32px, 5vw, 64px);
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(44px, 7vw, 92px);
    border-radius: var(--student-radius-lg);
    background: oklch(0.15 0.03 272);
    border: 1px solid var(--student-line);
}

.choice-copy h2 {
    margin-top: 18px;
}

.choice-copy p {
    margin: 22px 0 0;
    color: var(--student-muted);
    line-height: 1.75;
}

.choice-criteria {
    display: grid;
}

.choice-criteria article {
    padding: 19px 0;
    display: grid;
    grid-template-columns: 40px minmax(180px, 0.8fr) 1.2fr;
    gap: 16px;
    align-items: baseline;
    border-bottom: 1px solid var(--student-line);
}

.choice-criteria article:first-child {
    padding-top: 0;
}

.choice-criteria article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.choice-criteria article > span {
    color: var(--student-cyan);
    font-size: 0.75rem;
    font-weight: 800;
}

.choice-criteria h3,
.choice-criteria p {
    margin: 0;
}

.choice-criteria h3 {
    font-size: 1rem;
}

.choice-criteria p {
    color: var(--student-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

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

.review-card {
    min-height: 290px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--student-line);
    border-radius: var(--student-radius);
    background: var(--student-surface);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--student-text);
    background: var(--student-violet-dark);
    font-weight: 800;
}

.review-author div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.review-author strong {
    overflow: hidden;
    color: var(--student-text);
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-author div span {
    color: var(--student-muted);
    font-size: 0.75rem;
}

.review-rating {
    margin-top: 20px;
    color: var(--student-line);
    letter-spacing: 0.08em;
}

.review-rating .active {
    color: oklch(0.82 0.15 85);
}

.review-card > p {
    margin: 17px 0 24px;
    color: var(--student-muted);
    line-height: 1.65;
}

.review-card footer {
    width: 100%;
    margin-top: auto;
    padding: 13px 0 0;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--student-muted);
    border-top: 1px solid var(--student-line);
    background: transparent;
    font-size: 0.72rem;
}

.review-card footer span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reviews-link {
    display: inline-flex;
    margin-top: 24px;
}

.faq-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(44px, 7vw, 92px);
    align-items: start;
}

.faq-section .section-heading {
    position: sticky;
    top: 30px;
}

.faq-list {
    border-top: 1px solid var(--student-line-strong);
}

.faq-list details {
    border-bottom: 1px solid var(--student-line);
}

.faq-list summary {
    padding: 23px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--student-text);
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary > span:last-child {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--student-cyan);
    border: 1px solid var(--student-line);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 400;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease;
}

.faq-list details[open] summary > span:last-child {
    transform: rotate(45deg);
    border-color: var(--student-cyan);
}

.faq-list details > div {
    display: grid;
    grid-template-rows: 0fr;
}

.faq-list details[open] > div {
    grid-template-rows: 1fr;
}

.faq-list details p {
    max-width: 70ch;
    margin: -3px 48px 22px 0;
    color: var(--student-muted);
    line-height: 1.7;
}

.final-cta {
    margin-top: clamp(90px, 11vw, 150px);
    padding: clamp(34px, 5vw, 66px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    overflow: hidden;
    position: relative;
    border-radius: var(--student-radius-lg);
    background:
        radial-gradient(circle at 95% 15%, oklch(0.79 0.14 210 / 0.34), transparent 30%),
        var(--student-violet-dark);
}

.final-cta::after {
    content: "";
    width: 260px;
    height: 260px;
    position: absolute;
    right: 12%;
    bottom: -210px;
    border: 1px solid oklch(0.9 0.04 280 / 0.35);
    border-radius: 50%;
}

.final-cta > div,
.final-cta .button {
    position: relative;
    z-index: 1;
}

.final-cta > div > span {
    color: oklch(0.91 0.07 220);
    font-size: 0.85rem;
    font-weight: 700;
}

.final-cta h2 {
    max-width: 760px;
    margin-top: 10px;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.final-cta p {
    max-width: 650px;
    margin: 16px 0 0;
    color: oklch(0.9 0.025 275);
    line-height: 1.65;
}

.student-page :focus-visible {
    outline: 3px solid var(--student-cyan);
    outline-offset: 4px;
}

@media (min-width: 1024px) {
    .hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    }

    .hero h1 {
        font-size: clamp(2.2rem, 4.45vw, 4.15rem);
    }

    .hero-benefits strong {
        font-size: 1rem;
    }

    .hero-benefits small {
        font-size: 0.75rem;
    }
}

@media (max-width: 1020px) {
    .hero {
        min-height: auto;
        grid-template-columns: 1fr 0.8fr;
        gap: 38px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 5.15vw, 3.75rem);
    }

    .section-heading-split {
        display: block;
    }

    .section-heading-split > p {
        max-width: 650px;
        margin: 17px 0 0 44px;
    }

    .primary-work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-option-referat,
    .work-option-course,
    .work-option-project,
    .work-option-paper {
        grid-column: auto;
    }

    .examples-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .examples-layout .example-main {
        min-height: 480px;
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .examples-layout figure {
        min-height: 340px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .choice-criteria article {
        grid-template-columns: 36px 1fr;
    }

    .choice-criteria article p {
        grid-column: 2;
    }
}

@media (max-width: 1023px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-preview {
        display: none;
    }
}

@media (max-width: 768px) {
    header {
        height: 90px;
    }

    header nav {
        padding-left: 10px;
        padding-right: 10px;
    }

    header nav img {
        height: 55px;
    }
}

@media (max-width: 780px) {

    .student-page {
        width: min(calc(100% - 28px), var(--student-content));
    }

    .breadcrumbs {
        padding-top: 18px;
    }

    .hero {
        padding: 32px 22px 24px;
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        border-radius: 24px;
    }

    .hero-copy {
        display: contents;
    }

    .hero-kicker,
    .hero h1,
    .hero-lead,
    .hero-benefits,
    .hero-actions {
        order: 1;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 10vw, 3.05rem);
    }

    .hero-lead {
        margin-top: 20px;
        font-size: 1rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .button {
        width: 100%;
    }

    .section-heading,
    .section-heading-split > div {
        gap: 14px;
    }

    .section-heading-split > p {
        margin-left: 36px;
    }

    .task-layout,
    .audience-section,
    .free-section,
    .choice-section,
    .faq-section {
        grid-template-columns: 1fr;
    }

    .task-feature-main {
        min-height: 350px;
    }

    .task-feature-main > img {
        margin-bottom: 70px;
    }

    .primary-work-grid,
    .secondary-work-list {
        grid-template-columns: 1fr;
    }

    .work-option {
        min-height: 285px;
    }

    .secondary-work-list a {
        border-right: 0;
        border-bottom: 1px solid var(--student-line);
    }

    .secondary-work-list a:last-child {
        border-bottom: 0;
    }

    .audience-section,
    .choice-section {
        gap: 46px;
    }

    .free-section {
        gap: 38px;
    }

    .bonus-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .process-list {
        grid-template-columns: 1fr 1fr;
    }

    .process-list li,
    .process-list li:not(:first-child) {
        min-height: 225px;
        padding: 22px;
        border-right: 1px solid var(--student-line);
        border-bottom: 1px solid var(--student-line);
    }

    .process-list li:nth-child(2n) {
        border-right: 0;
    }

    .process-list h3 {
        margin-top: 38px;
    }

    .faq-section .section-heading {
        position: static;
    }

    .final-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .student-page {
        width: min(calc(100% - 20px), var(--student-content));
    }

    .breadcrumbs {
        font-size: 0.78rem;
    }

    .hero {
        padding: 28px 18px 18px;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
        border-block: 1px solid var(--student-line);
    }

    .hero-benefits li {
        padding: 13px 0;
    }

    .hero-benefits li + li {
        border-top: 1px solid var(--student-line);
        border-left: 0;
    }

    .hero-benefits strong {
        font-size: 0.84rem;
    }

    .hero-benefits small {
        font-size: 0.75rem;
    }

    .preview-note {
        width: calc(100% - 20px);
        margin-right: 10px;
    }

    .page-section {
        margin-top: 82px;
    }

    .section-heading {
        display: block;
    }

    .section-heading .section-index {
        display: block;
        margin-bottom: 12px;
    }

    .section-heading-split > div {
        display: block;
    }

    .section-heading-split > p {
        margin-left: 0;
    }

    .student-page h2 {
        font-size: clamp(1.8rem, 9vw, 2.45rem);
    }

    .task-feature-main {
        min-height: 330px;
        padding: 24px;
    }

    .task-number {
        top: 26px;
        right: 26px;
    }

    .task-feature-compact {
        padding: 19px;
        grid-template-columns: 38px 1fr auto;
        gap: 13px;
    }

    .task-feature-compact img {
        width: 36px;
        height: 36px;
    }

    .work-option {
        padding: 24px;
    }

    .examples-layout {
        display: grid;
        grid-template-columns: 1fr;
    }

    .examples-layout .example-main,
    .examples-layout figure {
        min-height: 360px;
        grid-column: auto;
    }

    .examples-layout figcaption {
        inset: auto 9px 9px;
        padding: 12px;
    }

    .audience-section,
    .choice-section {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .process-list {
        grid-template-columns: 1fr;
    }

    .process-list li,
    .process-list li:not(:first-child),
    .process-list li:nth-child(2n) {
        min-height: 190px;
        padding: 22px 0;
        border-right: 0;
    }

    .process-list h3 {
        margin-top: 32px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .choice-criteria article {
        grid-template-columns: 30px 1fr;
    }

    .faq-list summary {
        font-size: 0.93rem;
    }

    .faq-list details p {
        margin-right: 0;
        font-size: 0.92rem;
    }

    .final-cta {
        padding: 32px 22px;
        border-radius: 22px;
    }

    .final-cta .button {
        width: 100%;
    }
}

@media (max-width: 550px) {
    header {
        height: 80px;
    }

    header nav {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 1.125rem;
    }

    header nav img {
        height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
