/* Original breakpoints, reduced motion and print rules.
 * Source: reference/website/style.css. Keep the documented module order.
 */

@media(min-width:1500px) {
    .wrap {
        width: min(1250px,calc(100% - 100px));
    }
    h1 {
        font-size: 70px;
    }
    .hero-grid {
        gap: 85px;
    }
    .hero {
        padding-top: 65px;
        padding-bottom: 60px;
    }
    .hero-visual {
        min-height: 520px;
    }
    .hero-copy .lead {
        font-size: 17px;
    }
    .category-card {
        min-height: 182px;
    }
}

@media(max-width:1100px) {
    .wrap {
        width: calc(100% - 48px);
    }
    .main-nav {
        gap: 17px;
        font-size: 12px;
    }
    .header-inner {
        gap: 20px;
    }
    .header-inner>.button {
        font-size: 12px;
        padding: 13px 16px;
        gap: 10px;
    }
    .hero-grid {
        gap: 40px;
    }
    h1 {
        font-size: 55px;
    }
    .hero-visual {
        min-height: 440px;
    }
    .hero-copy .lead {
        font-size: 15px;
    }
    .starter-options button {
        font-size: 12px;
        padding: 11px 10px;
    }
    .hero-start {
        padding-top: 17px;
    }
    .seal {
        right: -10px;
    }
    .manifesto .wrap {
        gap: 60px;
    }
    .story {
        gap: 60px;
    }
    .article-layout {
        gap: 40px;
        grid-template-columns: minmax(0,1fr) 260px;
    }
    .article-nav .wrap {
        gap: 22px;
    }
    .category-card strong {
        font-size: 14px;
    }
    .category-card small {
        font-size: 11px;
    }
    .faq-layout {
        gap: 45px;
    }
    .auto .hero-visual {
        min-height: 470px;
    }
}

@media(max-width:850px) {
    .site-header {
        height: 80px;
    }
    .wordmark {
        font-size: 23px;
    }
    .brand img {
        width: 48px;
        height: 48px;
    }
    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 79px;
        background: var(--paper);
        padding: 22px 24px;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        gap: 23px;
        font-size: 16px;
        box-shadow: 0 10px 20px #163e3210;
    }
    .main-nav.open {
        display: flex;
    }
    .menu-toggle {
        display: block;
        margin-left: auto;
    }
    .header-inner>.button {
        min-height: 44px;
    }
    .hero-grid {
        gap: 28px;
        grid-template-columns: 1.05fr 1fr;
    }
    h1 {
        font-size: 46px;
        letter-spacing: -2.4px;
    }
    .hero-copy .lead {
        font-size: 14px;
    }
    .hero-visual {
        min-height: 430px;
    }
    .hero-visual>img {
        border-radius: 75px 14px 14px 14px;
    }
    .hero-start>p {
        font-size: 12px;
    }
    .starter-options {
        gap: 6px;
    }
    .starter-options button {
        font-size: 11px;
        gap: 6px;
    }
    .photo-note {
        left: 14px;
        right: 14px;
        padding: 14px 12px;
        gap: 8px;
    }
    .photo-note strong {
        font-size: 12px;
    }
    .photo-note span {
        font-size: 10px;
    }
    .photo-note svg {
        width: 25px;
        height: 25px;
    }
    .seal {
        width: 90px;
        height: 90px;
        font-size: 8px;
        right: -8px;
        top: 16px;
    }
    .hero-meta {
        font-size: 10px!important;
        gap: 9px;
    }
    .category-grid {
        gap: 10px;
    }
    .category-card {
        padding: 17px 13px;
    }
    .category-card .category-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 18px;
    }
    .category-card strong {
        font-size: 13px;
        line-height: 1.5;
    }
    .category-card small {
        font-size: 10px;
    }
    .trust-strip .wrap {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .trust-strip span {
        font-size: 11px;
    }
    .section {
        padding: 64px 0;
    }
    h2 {
        font-size: 34px;
    }
    .steps-grid {
        gap: 25px;
    }
    .step h3 {
        font-size: 19px;
    }
    .step p {
        font-size: 14px;
    }
    .manifesto h2 {
        font-size: 37px;
    }
    .manifesto .wrap {
        gap: 40px;
    }
    .manifesto p {
        font-size: 14px;
    }
    .story {
        gap: 40px;
    }
    .story-art {
        min-height: 330px;
        padding: 30px;
    }
    .story-art img {
        width: 165px;
    }
    .story-art .scribble {
        font-size: 21px;
        max-width: 115px;
    }
    .story-art .story-sticker {
        font-size: 12px;
        bottom: 25px;
        right: 15px;
    }
    .story-copy blockquote {
        font-size: 25px;
    }
    .story-copy p {
        font-size: 14px;
    }
    .faq-layout {
        gap: 35px;
        grid-template-columns: .8fr 1.2fr;
    }
    .faq summary {
        font-size: 14px;
    }
    .footer-links {
        gap: 35px;
    }
    .lift-heading h1 {
        font-size: 40px;
    }
    .lift-quiz-grid {
        grid-template-columns: 1.5fr .9fr;
        gap: 18px;
    }
    .inline-quiz {
        padding: 23px;
    }
    .inline-quiz h2 {
        font-size: 21px;
    }
    .trap-choices {
        gap: 7px;
    }
    .trap-option {
        padding: 16px 6px;
    }
    .trap-option span {
        font-size: 11px;
    }
    .trap-option small {
        font-size: 9px;
    }
    .article-nav {
        top: 80px;
    }
    .article-layout {
        grid-template-columns: minmax(0,1fr) 220px;
        gap: 30px;
    }
    .aside-box {
        padding: 21px;
    }
    .article-body h2 {
        font-size: 28px;
    }
    .article-cta {
        padding: 24px;
        display: block;
    }
    .article-cta .button {
        margin-top: 20px;
    }
    .auto-journey {
        gap: 35px;
    }
    .auto .hero-visual {
        min-height: 450px;
    }
}

@media(max-width:640px) {
    .wrap {
        width: calc(100% - 36px);
    }
    .topline {
        font-size: 10px;
        padding: 8px 0;
    }
    .topline .wrap>span:last-child {
        display: none;
    }
    .topline .wrap {
        justify-content: center;
    }
    .site-header {
        height: 75px;
    }
    .header-inner {
        gap: 12px;
    }
    .brand img {
        width: 43px;
        height: 43px;
    }
    .wordmark {
        font-size: 21px;
        letter-spacing: -1px;
    }
    .wordmark.auto-word {
        font-size: 24px;
    }
    .header-inner>.button {
        padding: 10px 12px;
        font-size: 11px;
        min-height: 40px;
        gap: 8px;
    }
    .header-inner>.button svg {
        width: 14px;
        height: 14px;
    }
    .menu-toggle {
        padding: 6px;
    }
    .menu-toggle svg {
        width: 22px;
        height: 22px;
    }
    .main-nav {
        top: 74px;
    }
    .hero {
        padding: 32px 0 37px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
        margin-bottom: 16px;
    }
    h1 {
        font-size: 47px;
        letter-spacing: -2.7px;
        line-height: 1.08;
    }
    .hero-copy h1 br.mobile-none {
        display: none;
    }
    .hero-copy .lead {
        font-size: 15px;
        line-height: 1.75;
        margin-top: 20px;
        margin-bottom: 21px;
        max-width: none;
    }
    .hero-start {
        padding-top: 18px;
    }
    .hero-start>p {
        font-size: 13px;
    }
    .starter-options {
        gap: 7px;
    }
    .starter-options button {
        font-size: 12px;
        padding: 12px 11px;
        gap: 8px;
    }
    .hero-meta {
        font-size: 10px!important;
        margin-top: 13px!important;
    }
    .hero-visual {
        min-height: 280px;
        margin-bottom: 19px;
    }
    .hero-visual>img {
        border-radius: 70px 14px 14px 14px;
        object-position: 50% 40%;
    }
    .seal {
        width: 92px;
        height: 92px;
        top: 15px;
        right: 12px;
        border-width: 5px;
    }
    .photo-note {
        bottom: -17px;
        left: 15px;
        right: 15px;
        padding: 14px 15px;
    }
    .photo-note strong {
        font-size: 14px;
    }
    .photo-note span {
        font-size: 11px;
    }
    .photo-note svg {
        width: 26px;
        height: 26px;
    }
    .category-section {
        padding: 31px 0;
    }
    .section-line {
        align-items: flex-start;
        gap: 12px;
    }
    .section-line>p {
        font-size: 12px;
    }
    .section-line .text-link {
        font-size: 11px;
        gap: 5px;
    }
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 11px;
    }
    .category-card {
        min-height: 160px;
        padding: 18px 15px;
    }
    .category-card .category-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 18px;
    }
    .category-card strong {
        font-size: 14px;
        line-height: 1.4;
    }
    .category-card small {
        font-size: 11px;
        line-height: 1.4;
    }
    .category-card>.arrow {
        right: 13px;
        top: 24px;
        width: 16px;
        height: 16px;
    }
    .trust-strip {
        padding: 19px 0;
    }
    .trust-strip .wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 9px;
    }
    .trust-strip span {
        font-size: 11px;
        gap: 7px;
    }
    .trust-strip svg {
        width: 16px;
        height: 16px;
    }
    .section {
        padding: 51px 0;
    }
    h2 {
        font-size: 33px;
        letter-spacing: -1.5px;
    }
    .section-head {
        margin-bottom: 31px;
    }
    .section-head p {
        font-size: 15px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 23px;
    }
    .step {
        padding-top: 18px;
    }
    .step-number {
        margin-bottom: 14px;
        font-size: 12px;
    }
    .step h3 {
        font-size: 23px;
    }
    .step p {
        max-width: none;
        margin-bottom: 0;
    }
    .manifesto {
        padding: 48px 0;
    }
    .manifesto .wrap {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .manifesto h2 {
        font-size: 36px;
    }
    .manifesto p {
        margin: 0;
        font-size: 15px;
    }
    .manifesto-list {
        margin-top: 22px;
        gap: 14px;
    }
    .manifesto-list li {
        font-size: 13px;
    }
    .story {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .story-art {
        min-height: 285px;
    }
    .story-art img {
        width: 167px;
    }
    .story-art .scribble {
        left: 22px;
        top: 22px;
    }
    .story-art .story-sticker {
        bottom: 22px;
        right: 23px;
        font-size: 14px;
    }
    .story-copy blockquote {
        font-size: 27px;
        line-height: 1.35;
    }
    .story-copy p {
        font-size: 15px;
    }
    .signature {
        margin-top: 22px;
    }
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .faq-heading p {
        font-size: 15px;
    }
    .faq summary {
        font-size: 14px;
        padding-top: 21px;
        padding-bottom: 21px;
    }
    .faq details p {
        font-size: 14px;
    }
    .final-cta {
        padding: 48px 22px;
    }
    .final-cta h2 {
        font-size: 32px;
    }
    .final-cta p {
        font-size: 15px;
    }
    .site-footer {
        padding: 39px 0 72px;
    }
    .footer-grid {
        display: block;
    }
    .footer-links {
        margin-top: 27px;
        justify-content: space-between;
        gap: 20px;
    }
    .footer-description {
        max-width: 320px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        font-size: 10px;
    }
    .concept-note {
        bottom: 9px;
        left: 9px;
        padding: 8px 9px;
        font-size: 9px;
        gap: 7px;
    }
    .auto .hero-visual {
        min-height: 280px;
    }
    .auto-reasons {
        grid-template-columns: 1fr 1fr;
    }
    .auto-reasons button {
        font-size: 12px;
        padding: 13px;
    }
    .auto-journey {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .choice-demo {
        max-width: none;
        padding: 24px;
    }
    .choice-demo h3 {
        font-size: 24px;
    }
    .journey-row p {
        font-size: 14px;
    }
    .journey-row h3 {
        font-size: 22px;
    }
    .breadcrumb {
        padding: 18px 0;
    }
    .lift-top {
        padding-bottom: 33px;
    }
    .lift-heading {
        text-align: left;
        margin: 5px auto 25px;
    }
    .lift-heading .eyebrow {
        justify-content: flex-start;
    }
    .lift-heading h1 {
        font-size: 37px;
        letter-spacing: -1.8px;
    }
    .lift-heading p {
        font-size: 14px;
        margin-top: 14px;
    }
    .lift-quiz-grid {
        grid-template-columns: 1fr;
        gap: 19px;
    }
    .inline-quiz {
        padding: 24px 18px;
    }
    .inline-quiz h2 {
        font-size: 22px;
    }
    .inline-quiz>p {
        font-size: 12px;
        margin-bottom: 21px;
    }
    .trap-option {
        padding: 15px 5px;
    }
    .trap-option svg {
        height: 46px;
        width: 46px;
    }
    .trap-option span {
        font-size: 11px;
    }
    .trap-option small {
        font-size: 9px;
    }
    .lift-photo {
        min-height: 220px;
    }
    .lift-photo img {
        object-position: 50% 60%;
    }
    .article-nav {
        top: 75px;
    }
    .article-nav .wrap {
        gap: 24px;
    }
    .article-nav a {
        font-size: 11px;
        padding: 18px 0;
    }
    .article-layout {
        display: block;
        padding-top: 40px;
        padding-bottom: 10px;
    }
    .article-aside {
        display: none;
    }
    .article-body h2 {
        font-size: 28px;
    }
    .article-body p {
        font-size: 14px;
    }
    .article-body>section {
        margin-bottom: 32px;
        padding-bottom: 32px;
        scroll-margin-top: 155px;
    }
    .small-card-grid {
        gap: 10px;
    }
    .small-card {
        padding: 18px 15px;
    }
    .small-card h3 {
        font-size: 16px;
    }
    .small-card p {
        font-size: 12px;
    }
    .cost-table {
        font-size: 12px;
    }
    .cost-table td,.cost-table th {
        padding: 12px 10px;
    }
    .cost-table td:first-child {
        min-width: 100px;
    }
    .article-cta h3 {
        font-size: 24px;
    }
    .quiz-modal {
        border-radius: 15px;
        width: calc(100% - 24px);
        max-height: calc(100dvh - 24px);
    }
    .quiz-top {
        padding: 17px 20px;
    }
    .quiz-content {
        padding: 25px 23px;
    }
    .quiz-content h2 {
        font-size: 25px;
    }
    .quiz-intro {
        font-size: 13px;
    }
    .quiz-option {
        font-size: 14px;
        padding: 14px;
    }
    .quiz-option small {
        font-size: 11px;
    }
    .quiz-footer {
        font-size: 9px;
        padding: 13px 20px;
    }
    .result-card {
        padding: 18px;
    }
    .result-card h3 {
        font-size: 20px;
    }
    .result-card p {
        font-size: 13px;
    }
    .quiz-top .brand img {
        width: 34px;
        height: 34px;
    }
    .result-actions .button {
        flex: 1;
        font-size: 11px;
        padding: 12px;
    }
    .result-actions {
        gap: 8px;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    *,*:before,*:after {
        transition: none!important;
        animation: none!important;
    }
}

@media print {
    body>* {
        display: none!important;
    }
    body>.quiz-modal[open] {
        display: block!important;
        position: static;
        margin: 0;
        max-height: none;
        width: 100%;
        box-shadow: none;
        overflow: visible;
    }
    .quiz-top {
        border: 0;
    }
    .quiz-close,.quiz-footer,.quiz-back,.result-actions,.skip-email {
        display: none!important;
    }
    .quiz-content {
        padding: 20px;
    }
    .result-card {
        break-inside: avoid;
    }
    .print-title {
        display: block;
    }
    .quiz-modal::backdrop {
        display: none;
    }
}
