/* ==================================================
   BASIC RESET
================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f5f7f5;
    color: #202520;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

/* ==================================================
   HEADER
================================================== */

.site-header {
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 0;
    display: block;
    background: #000000;
    overflow: hidden;
}

.site-banner-link {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.site-banner-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

/* ==================================================
   NAVIGATION
================================================== */

.main-navigation {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #101510;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.navigation-inner {
    position: relative;
    width: min(1400px, calc(100% - 30px));
    min-height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navigation-logo {
    display: none;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
}

.navigation-menu {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.navigation-menu > a,
.nav-dropdown-button {
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 14px 15px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.navigation-menu > a:hover,
.navigation-menu > a:focus-visible,
.nav-dropdown-button:hover,
.nav-dropdown-button:focus-visible {
    background: #315d38;
    color: #ffffff;
    outline: none;
}

.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    min-width: 310px;
    padding: 8px;
    border: 1px solid #d9e2d6;
    border-radius: 0 0 11px 11px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu,
.nav-dropdown.open > .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 14px;
    border-radius: 7px;
    color: #1b281d;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    background: #eef7eb;
    color: #1d6924;
    outline: none;
}

.nav-dropdown-menu small {
    flex-shrink: 0;
    color: #438348;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mobile-menu-button {
    display: none;
    width: 46px;
    height: 42px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 3px;
    margin: 5px 0;
    border-radius: 3px;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.mobile-menu-button.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-button.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* ==================================================
   MOBILE NAVIGATION
================================================== */

@media (max-width: 950px) {

    .navigation-inner {
        min-height: 62px;
    }

    .navigation-logo {
        display: inline-block;
    }

    .mobile-menu-button {
        display: block;
    }

    .navigation-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 8px;
        border-radius: 0 0 10px 10px;
        background: #101510;
        box-shadow: 0 14px 25px rgba(0, 0, 0, 0.28);
    }

    .navigation-menu.open {
        display: flex;
    }

    .navigation-menu > a,
    .nav-dropdown-button {
        width: 100%;
        min-height: 48px;
        justify-content: space-between;
        padding: 12px 14px;
        border-radius: 7px;
        text-align: left;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        display: none;
        margin: 2px 0 8px;
        padding: 6px;
        border: 0;
        border-radius: 7px;
        background: #f4f8f2;
        box-shadow: none;
    }

    .nav-dropdown:hover > .nav-dropdown-menu,
    .nav-dropdown:focus-within > .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.open > .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 12px;
    }
}

/* ==================================================
   GENERAL PAGE LAYOUT
================================================== */

.page-container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.content-section {
    padding: 60px 0;
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 12px;
    color: #203b27;
    font-size: clamp(2rem, 5vw, 3rem);
}

.section-heading p {
    margin: 0;
    color: #505950;
}

/* ==================================================
   MISSION
================================================== */

.mission-section {
    background: #ffffff;
}

.mission-card {
    max-width: 940px;
    margin: 0 auto;
    padding: 40px;
    border-left: 7px solid #406b49;
    border-radius: 12px;
    background: #f4f8f4;
    box-shadow: 0 10px 30px rgba(22, 45, 27, 0.09);
}

.mission-card h2 {
    margin-top: 0;
    color: #203b27;
}

.mission-card p {
    margin-bottom: 0;
    font-size: 1.15rem;
}

/* ==================================================
   TOOL CARDS
================================================== */

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid #d8e1d8;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(20, 40, 24, 0.08);
}

.tool-card h3 {
    width: 100%;
    margin: 0 0 12px;
    color: #203b27;
    text-align: center;
}

.tool-card p {
    flex-grow: 1;
    margin: 0 0 24px;
    color: #515951;
    text-align: left;
}

.button {
    display: inline-block;
    align-self: center;
    padding: 13px 20px;
    border-radius: 8px;
    background: #315c3a;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.button:hover,
.button:focus {
    background: #1f4027;
}

/* ==================================================
   INFORMATION
================================================== */

.information-section {
    background: #eaf1eb;
}

.information-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* ==================================================
   FOOTER
================================================== */

.site-footer {
    margin-top: 0;
    background: #101710;
    color: #ffffff;
}

.footer-support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 38px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-support-text {
    max-width: 700px;
}

.footer-support-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #a9d7a8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.footer-support h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.footer-support p {
    margin: 0;
    color: #d3ddd4;
    line-height: 1.65;
}

.footer-coffee-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 9px;
    min-height: 50px;
    padding: 13px 22px;
    border: 2px solid #ffdd00;
    border-radius: 10px;
    background: #ffdd00;
    color: #171717;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
    transition: transform 0.2s ease, background 0.2s ease;
}

.footer-coffee-button:hover,
.footer-coffee-button:focus-visible {
    background: #ffe84d;
    transform: translateY(-2px);
    outline: none;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 34px 30px 30px;
    text-align: center;
}

.footer-brand strong {
    color: #ffffff;
    font-size: 1.28rem;
}

.footer-brand p {
    margin: 7px 0 0;
    color: #cbd6cc;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin: 24px 0;
}

.footer-links a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #a9d7a8;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-disclaimer {
    max-width: 760px;
    margin: 0 auto;
    color: #cbd2cb;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-copyright {
    margin: 20px 0 0;
    color: #9fa9a0;
    font-size: 0.84rem;
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 850px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }

    .navigation-inner {
        justify-content: flex-start;
    }

    .navigation-inner a {
        flex: 1 1 50%;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .navigation-inner a {
        flex-basis: 100%;
    }
}

/* ==========================================================
   HELP ME CHOOSE PAGE
   ========================================================== */

.finder-page{
    max-width:1100px;
    margin:0 auto;
    padding:40px 20px 60px;
}

.finder-hero{
    text-align:center;
    margin-bottom:45px;
}

.finder-hero h1{
    font-size:2.6rem;
    margin:10px 0 20px;
}

.finder-intro{
    max-width:760px;
    margin:0 auto;
    font-size:1.15rem;
    line-height:1.8;
}

.finder-group{
    background:#ffffff;
    border:1px solid #dddddd;
    border-radius:14px;
    padding:30px;
    margin-bottom:35px;
    box-shadow:0 4px 12px rgba(0,0,0,.05);
}

.finder-group legend{
    font-size:1.4rem;
    font-weight:700;
    padding:0 10px;
}

.field-help{
    margin-bottom:25px;
}

.choice-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
}

.choice-card{
    border:1px solid #d8d8d8;
    border-radius:10px;
    padding:18px;
    cursor:pointer;
    transition:.25s;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    text-align:center;
}

.choice-card:hover{
    background:#f4fff4;
    border-color:#2d8f45;
}

.choice-card input{
    margin-right:10px;
}

.finder-actions{
    text-align:center;
    margin:45px 0;
}

.primary-button,
.secondary-button{

    min-width:220px;
    min-height:58px;

    padding:16px 34px;

    font-size:1.1rem;

    border-radius:10px;

    margin:8px;

    cursor:pointer;
}

.primary-button{
    background:#2d8f45;
    color:#fff;
    border:none;
}

.primary-button:hover{
    background:#25763a;
}

.secondary-button{
    background:#f2f2f2;
    border:1px solid #cccccc;
}

.secondary-button:hover{
    background:#e5e5e5;
}

.finder-results{

    background:#ffffff;

    border-radius:14px;

    padding:35px;

    margin-top:35px;

    box-shadow:0 5px 16px rgba(0,0,0,.08);
}

.result-card{
    margin-bottom:30px;
    padding-bottom:20px;
    border-bottom:1px solid #ececec;
}

.result-card:last-child{
    border-bottom:none;
}

.form-error{
    color:#b00020;
    font-weight:700;
    text-align:center;
}

/* ==========================================================
   ANALYZE A FLOWER PAGE
   ========================================================== */

.analyzer-page{
    max-width:1100px;
    margin:0 auto;
    padding:40px 20px 60px;
}

.analyzer-hero{
    text-align:center;
    margin-bottom:45px;
}

.analyzer-hero h1{
    font-size:2.6rem;
    margin:10px 0 20px;
}

.analyzer-intro{
    max-width:780px;
    margin:0 auto;
    font-size:1.15rem;
    line-height:1.8;
}

.analyzer-group{
    background:#ffffff;
    border:1px solid #dddddd;
    border-radius:14px;
    padding:30px;
    margin-bottom:35px;
    box-shadow:0 4px 12px rgba(0,0,0,.05);
}

.analyzer-group legend{
    font-size:1.4rem;
    font-weight:700;
    padding:0 10px;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:25px;
}

.form-field{
    display:flex;
    flex-direction:column;
}

.form-field label{
    font-weight:700;
    margin-bottom:8px;
}

.form-field input,
.form-field select,
.terpene-row input,
.terpene-row select{
    width:100%;
    min-height:50px;
    padding:12px 14px;
    border:1px solid #cccccc;
    border-radius:8px;
    font-size:1rem;
    background:#ffffff;
}

.form-field input:focus,
.form-field select:focus,
.terpene-row input:focus,
.terpene-row select:focus{
    outline:2px solid #2d8f45;
    outline-offset:1px;
}

.terpene-list{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:20px;
}

.terpene-row{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:15px;
}

.analyzer-actions{
    text-align:center;
    margin:45px 0;
}

.analyzer-results{
    background:#ffffff;
    border-radius:14px;
    padding:35px;
    margin-top:35px;
    box-shadow:0 5px 16px rgba(0,0,0,.08);
}

.analyzer-results h2{
    margin-bottom:30px;
}

.terpene-result{
    padding:15px 0;
    border-bottom:1px solid #eeeeee;
}

.terpene-result:last-child{
    border-bottom:none;
}

.analyzer-disclaimer{
    margin-top:30px;
    padding:18px;
    background:#f5f5f5;
    border-radius:8px;
    font-size:.95rem;
    line-height:1.6;
}

@media screen and (max-width: 700px) {
    .analyzer-page {
        padding: 25px 15px 45px;
    }

    .analyzer-hero h1 {
        font-size: 2rem;
    }

    .analyzer-group {
        padding: 22px 18px;
    }

    .form-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .terpene-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .analyzer-actions .primary-button,
    .analyzer-actions .secondary-button {
        width: 100%;
        margin: 7px 0;
    }
}

/* ANALYZER GOAL MATCHES */

.goal-match-card{
    border-left:5px solid #2d8f45;
    padding-left:25px;
}

.goal-match-list{
    margin:15px 0 22px;
    padding-left:25px;
}

.goal-match-list li{
    margin-bottom:9px;
    line-height:1.5;
}

.secondary-goals{
    opacity:.9;
}

.goal-match-caution{
    margin-top:22px;
    padding:15px;
    background:#f5f5f5;
    border-radius:8px;
    font-size:.95rem;
    line-height:1.6;
}

.value-return-button {
    margin-top: 12px;
    margin-left: 0;
}

.traditional-profile-results {
    margin: 24px 0;
}

.traditional-profile-row {
    margin-bottom: 20px;
}

.traditional-profile-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 7px;
}

.traditional-profile-label span {
    font-weight: 700;
}

.traditional-profile-track {
    width: 100%;
    height: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e5e5;
}

.traditional-profile-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
}

.traditional-profile-row:nth-child(1) {
    color: #5c3b8f;
}

.traditional-profile-row:nth-child(2) {
    color: #b36b00;
}

.traditional-profile-row:nth-child(3) {
    color: #237e4b;
}

.traditional-profile-card .goal-match-caution {
    margin-top: 22px;
}

/* =========================================================
   COMPLETE FLOWER COMPARISON RESULTS
   ========================================================= */

.complete-flower-results {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.complete-flower-result {
    overflow: hidden;
    border: 3px solid #d8d8d8;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1);
}

.complete-flower-result:nth-child(even) {
    border-color: #b7cbbb;
}

.complete-flower-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 28px;
    border-bottom: 3px solid #e0e0e0;
    background: #f5f5f5;
}

.complete-flower-header h3 {
    margin: 3px 0 0;
    font-size: 1.8rem;
}

.complete-flower-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 95px;
    min-height: 55px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #222222;
    color: #ffffff;
    font-weight: 800;
    text-align: center;
}

.complete-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding: 28px;
}

.complete-result-section {
    padding: 22px;
    border: 1px solid #dddddd;
    border-radius: 14px;
    background: #fafafa;
}

.complete-result-section h4 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e2e2;
}

.complete-result-section p:last-child {
    margin-bottom: 0;
}

.complete-goal-list {
    margin: 0;
    padding-left: 22px;
}

.complete-goal-list li {
    margin-bottom: 8px;
}

.complete-terpene-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.complete-terpene-list li {
    padding: 16px 0;
    border-bottom: 1px solid #dddddd;
}

.complete-terpene-list li:last-child {
    border-bottom: 0;
}

.complete-terpene-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 7px;
}

.complete-terpene-aroma,
.complete-terpene-description {
    margin: 0;
    line-height: 1.55;
}

.complete-terpene-aroma {
    color: #36543c;
}

.complete-terpene-description {
    margin-top: 5px;
    color: #536057;
    font-size: 0.94rem;
}

.complete-flower-result > .complete-result-section {
    margin: 0 28px 28px;
}

.complete-profile-section {
    padding: 25px;
    border-width: 2px;
}

.profile-closest-match {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.single-flower-profile-bars {
    max-width: 850px;
}

.final-comparison-section {
    margin-top: 55px;
    padding-top: 38px;
    border-top: 8px solid #222222;
}

.final-comparison-heading {
    margin-bottom: 28px;
    text-align: center;
}

.final-comparison-heading h2 {
    margin-bottom: 10px;
}

.final-comparison-section .result-card {
    margin-bottom: 28px;
}

@media (max-width: 750px) {
    .complete-flower-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .complete-result-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .complete-flower-result > .complete-result-section {
        margin: 0 20px 20px;
    }

    .complete-flower-header h3 {
        font-size: 1.5rem;
    }
}

/* =====================================================
   BUY ME A COFFEE
===================================================== */

.support-callout-home {
    margin-top: 35px;
    padding: 20px 0;
    border-top: 1px solid #dddddd;
    background: #f7f9f7;
}

.support-callout-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 18px;
    padding: 18px 22px;
    background: #ffffff;
    border-left: 5px solid #2d7d32;
    border-radius: 10px;
}

.support-callout-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.support-callout-text .eyebrow {
    margin-bottom: 3px;
}

.support-callout-text h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
}

.support-callout-text p {
    margin: 0;
    font-size: 0.95rem;
}

.support-coffee-button {
    display: inline-block;
    flex-shrink: 0;
    padding: 11px 18px;
    border: 2px solid #111111;
    border-radius: 8px;
    background: #ffd84d;
    color: #111111;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s;
}

.support-coffee-button:hover {
    background: #ffe680;
    transform: translateY(-1px);
}

.results-support-box {
    margin-top: 32px;
    padding: 20px;
    border: 1px solid #d8e1d9;
    border-left: 5px solid #2d7d32;
    border-radius: 10px;
    background: #f7faf7;
    text-align: center;
}

.results-support-box h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.results-support-box p {
    max-width: 720px;
    margin: 0 auto 16px;
}

@media (max-width: 750px) {
    .support-callout-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .support-coffee-button {
    display: inline-block;
    margin: 0 auto;
    padding: 11px 18px;
    border: 2px solid #111111;
    border-radius: 8px;
    background: #ffd84d;
    color: #111111;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s;
}
}


/* ==================================================
   HOMEPAGE VERSION 1.0
================================================== */

/* HERO SECTION */

.home-page {
    background: #f4f6f3;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(67, 160, 71, 0.22),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #101712 0%,
            #18251b 55%,
            #0c110d 100%
        );
    color: #ffffff;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.2) 55%,
            rgba(0, 0, 0, 0.05) 100%
        );
    pointer-events: none;
}

.home-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    align-items: center;
    gap: 60px;
}

.home-hero-content {
    max-width: 680px;
}

.home-hero-eyebrow,
.home-section-eyebrow {
    margin: 0 0 14px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8fd694;
}

.home-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.home-hero-description {
    max-width: 650px;
    margin: 28px 0 0;
    font-size: 1.15rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.84);
}

.home-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.home-primary-button,
.home-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.home-primary-button {
    background: #4caf50;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(76, 175, 80, 0.28);
}

.home-primary-button:hover,
.home-primary-button:focus-visible {
    transform: translateY(-2px);
    background: #59bd5d;
    box-shadow: 0 16px 34px rgba(76, 175, 80, 0.36);
}

.home-secondary-button {
    border: 2px solid rgba(255, 255, 255, 0.72);
    background: transparent;
    color: #ffffff;
}

.home-secondary-button:hover,
.home-secondary-button:focus-visible {
    transform: translateY(-2px);
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.home-hero-image {
    min-width: 0;
}

.home-hero-image-placeholder {
    display: flex;
    min-height: 430px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at center,
            rgba(76, 175, 80, 0.28),
            rgba(17, 27, 19, 0.92) 68%
        );
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.32),
        inset 0 0 60px rgba(76, 175, 80, 0.08);
    text-align: center;
}

.home-hero-image-placeholder span {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #8fd694;
}

.home-hero-image-placeholder strong {
    display: block;
    max-width: 320px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    color: #ffffff;
}

@media (max-width: 900px) {

    .home-hero {
        padding: 60px 0;
    }

    .home-hero-inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .home-hero-content {
        max-width: 760px;
    }

    .home-hero-image-placeholder {
        min-height: 340px;
    }
}

@media (max-width: 600px) {

    .home-hero {
        padding: 48px 0;
    }

    .home-hero h1 {
        font-size: clamp(2.7rem, 15vw, 4rem);
    }

    .home-hero-description {
        font-size: 1rem;
    }

    .home-hero-buttons {
        flex-direction: column;
    }

    .home-primary-button,
    .home-secondary-button {
        width: 100%;
    }

    .home-hero-image-placeholder {
        min-height: 280px;
        padding: 28px 20px;
        border-radius: 18px;
    }
}

/* REAL HOMEPAGE HERO IMAGE */

.home-hero-artwork {
    display: block;
    width: 100%;
    height: auto;
    min-height: 430px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.32),
        0 0 34px rgba(76, 175, 80, 0.12);
}

@media (max-width: 900px) {

    .home-hero-artwork {
        min-height: 340px;
        max-height: 500px;
    }
}

@media (max-width: 600px) {

    .home-hero-artwork {
        min-height: 260px;
        max-height: 360px;
        border-radius: 18px;
    }
}

/* ==================================================
   HOMEPAGE PRODUCT CATEGORIES
================================================== */

.home-categories {
    padding: 90px 0;
    background: #f4f6f3;
}

.home-section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.home-section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    color: #172019;
}

.home-section-heading > p:last-child {
    max-width: 680px;
    margin: 18px auto 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5b655d;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.home-category-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 390px;
    flex-direction: column;
    padding: 30px;
    border: 1px solid #dce3dc;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(20, 40, 24, 0.08);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.home-category-card:hover {
    transform: translateY(-6px);
    border-color: #a8c9aa;
    box-shadow: 0 20px 44px rgba(20, 40, 24, 0.14);
}

.home-category-available {
    border-top: 5px solid #4caf50;
}

.home-category-coming-soon {
    border-top: 5px solid #68726a;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7f8f7 100%
        );
}

.home-category-icon {
    display: flex;
    width: 66px;
    height: 66px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    border-radius: 18px;
    background: #eaf5eb;
    font-size: 2rem;
}

.home-category-coming-soon .home-category-icon {
    background: #ecefed;
}

.home-category-status {
    display: inline-flex;
    align-self: center;
    margin-bottom: 15px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #dff2e1;
    color: #25642b;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-category-coming-soon .home-category-status {
    background: #e6e9e7;
    color: #5c655f;
}

.home-category-card h3 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.2;
    color: #172019;
    text-align: center;
}

.home-category-card > p {
    margin: 18px 0 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #5d675f;
    text-align: left;
}

.home-category-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 28px;
}

.home-category-actions .button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 2px solid #3f9844;
    border-radius: 9px;
    background: #3f9844;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.home-category-actions .button:hover,
.home-category-actions .button:focus-visible {
    background: #4caf50;
    border-color: #4caf50;
}

.home-category-actions .button-outline {
    background: transparent;
    color: #317d36;
}

.home-category-actions .button-outline:hover,
.home-category-actions .button-outline:focus-visible {
    background: #e8f5e9;
    color: #25642b;
}

.home-text-link {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 3px;
    color: #317d36;
    font-weight: 800;
    text-decoration: none;
}

.home-text-link:hover,
.home-text-link:focus-visible {
    text-decoration: underline;
}

@media (max-width: 1100px) {

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {

    .home-categories {
        padding: 65px 0;
    }

    .home-section-heading {
        margin-bottom: 34px;
    }

    .home-category-grid {
        grid-template-columns: 1fr;
    }

    .home-category-card {
        min-height: 0;
        padding: 26px;
    }
}

/* ==================================================
   WHY HIGH AT 60
================================================== */

.home-benefits {
    padding: 90px 0;
    background: #ffffff;
}

.home-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-benefit-card {
    position: relative;
    min-width: 0;
    min-height: 280px;
    padding: 32px 28px;
    overflow: hidden;
    border: 1px solid #dce3dc;
    border-radius: 20px;
    background: #f7f9f6;
    box-shadow: 0 12px 32px rgba(20, 40, 24, 0.07);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.home-benefit-card:hover {
    transform: translateY(-5px);
    border-color: #a8c9aa;
    box-shadow: 0 18px 40px rgba(20, 40, 24, 0.13);
}

.home-benefit-number {
    display: block;
    margin-bottom: 28px;
    color: #4caf50;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.75;
}

.home-benefit-card h3 {
    margin: 0;
    color: #172019;
    font-size: 1.35rem;
    line-height: 1.25;
}

.home-benefit-card p {
    margin: 16px 0 0;
    color: #5d675f;
    font-size: 0.98rem;
    line-height: 1.7;
}


/* ==================================================
   HOMEPAGE SUPPORT
================================================== */

.home-support {
    padding: 35px 0 95px;
    background: #ffffff;
}

.home-support-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 45px;
    align-items: center;
    padding: 48px 52px;
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            #112518 0%,
            #183c23 55%,
            #21552e 100%
        );
    box-shadow: 0 20px 55px rgba(14, 40, 20, 0.22);
}

.home-support-content {
    max-width: 760px;
}

.home-support .home-section-eyebrow {
    margin: 0 0 14px;
    color: #8fdd92;
}

.home-support h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.12;
}

.home-support-content > p:last-child {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.75;
}

.support-coffee-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 2px solid #f4c64f;
    border-radius: 10px;
    background: #f4c64f;
    color: #292108;
    font-size: 1rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.support-coffee-button:hover,
.support-coffee-button:focus-visible {
    transform: translateY(-2px);
    border-color: #ffdb72;
    background: #ffdb72;
}


/* ==================================================
   BENEFIT AND SUPPORT RESPONSIVE LAYOUT
================================================== */

@media (max-width: 1050px) {

    .home-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-support-card {
        grid-template-columns: 1fr;
    }

    .support-coffee-button {
        justify-self: start;
    }
}

@media (max-width: 650px) {

    .home-benefits {
        padding: 65px 0;
    }

    .home-benefit-grid {
        grid-template-columns: 1fr;
    }

    .home-benefit-card {
        min-height: 0;
        padding: 27px 25px;
    }

    .home-benefit-number {
        margin-bottom: 20px;
    }

    .home-support {
        padding: 20px 0 65px;
    }

    .home-support-card {
        gap: 28px;
        padding: 34px 26px;
        border-radius: 20px;
    }

    .support-coffee-button {
        width: 100%;
        white-space: normal;
    }
}
/* =========================================================
   EDUCATIONAL NOTICE AND SUPPORT SECTION
   ========================================================= */

.education-support-section {
    margin-top: 2.5rem;
}

.education-notice,
.education-support-section .results-support-box {
    margin-top: 1.25rem;
    padding: 1.5rem;
    border-radius: 16px;
}

.education-notice {
    border: 1px solid #d9e4d9;
    background: #f4f7f4;
}

.education-notice h3,
.education-support-section .results-support-box h3 {
    margin: 0 0 0.75rem;
}

.education-notice p,
.education-support-section .results-support-box p {
    margin-top: 0;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.education-notice p:last-child,
.education-support-section .results-support-box p:last-of-type {
    margin-bottom: 0;
}

.education-support-section .results-support-box {
    text-align: center;
}

.education-support-section .support-coffee-button {
    margin-top: 0.75rem;
}

/* =========================================================
   High at 60 Flower Analyzer report refinements
   Paste this entire block at the END of assets/css/style.css
   ========================================================= */



.analysis-report-header {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
}

.analysis-report-banner {
    margin-bottom: 1.5rem;
}

.analysis-report-banner-image {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
}

.analysis-report-heading-centered {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.analysis-report-heading-centered .eyebrow,
.analysis-report-heading-centered h2,
.analysis-report-heading-centered .analysis-report-subtitle {
    text-align: center;
}

.analysis-report-actions-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto 1.5rem;
    text-align: center;
}

.analysis-report-actions-bottom .print-analysis-button {
    min-width: min(100%, 280px);
}

.analysis-print-branding a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.analysis-youtube-brand {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.analysis-youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none !important;
}

.analysis-youtube-symbol {
    display: inline-flex;
    width: 2.4rem;
    height: 1.65rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.42rem;
    background: #ff0000;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

@media print {

    @page {
        margin: 0.55in;
    }

    html,
    body {
        background: #ffffff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Hide normal website content that should not print */
    .site-header,
    .site-footer,
    .analyzer-hero,
    .analyzer-form,
    .compare-form,
    .analysis-report-actions,
    .analysis-report-actions-bottom,
    .print-analysis-button,
    .analysis-screen-only,
    .education-support-section,
    .results-support-box {
        display: none !important;
    }

    /* Show and format the completed report */
    .analysis-report,
    .comparison-report {
        display: block !important;
        position: relative;
        overflow: visible !important;
        box-shadow: none !important;
        border: none !important;
        background: #ffffff !important;
    }

    /* Show the High at 60 banner at the top of the report */
    .analysis-report-banner {
        display: block !important;
        width: 100%;
        margin: 0 0 18pt;
        text-align: center;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .analysis-report-banner-image {
        display: block !important;
        width: 100% !important;
        max-width: 7.3in !important;
        height: auto !important;
        margin: 0 auto !important;
        object-fit: contain;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Hide the old HTML watermark */
    .analysis-report-watermark {
        display: none !important;
    }

    /* Small repeating watermark on printed pages */
    .analysis-report::before {
        content: "HighAt60.com";
        position: fixed;
        top: 48%;
        left: 50%;
        z-index: 9999;
        color: rgba(0, 0, 0, 0.06);
        font-size: 34pt;
        font-weight: 800;
        letter-spacing: 0.03em;
        line-height: 1;
        white-space: nowrap;
        pointer-events: none;
        transform: translate(-50%, -50%) rotate(-32deg);
    }

    /* Small website identification at the bottom of each page */
    .analysis-report::after {
        content: "HighAt60.com";
        position: fixed;
        right: 0.1in;
        bottom: -0.25in;
        z-index: 9999;
        color: #555555;
        font-size: 9pt;
        font-weight: 700;
        white-space: nowrap;
    }

    .analysis-report-header,
    .analysis-report-identification,
    .analysis-print-footer {
        position: relative;
        z-index: 1;
    }

    .analysis-report-header {
        margin-top: 0;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .analysis-report-cards {
        position: relative;
        z-index: 1;
    }

    .analysis-report-card,
    .overall-recommendation-card,
    .report-identification-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .analysis-print-branding a,
    .analysis-youtube-link {
        color: inherit !important;
        text-decoration: none !important;
    }

    .analysis-youtube-symbol {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* =========================================================
   ANALYZER FORM UI POLISH — VERSION 1.0
   ========================================================= */

.analyzer-form-section {
    padding-bottom: 1rem;
}

.analyzer-form {
    max-width: 1040px;
    margin: 0 auto;
}

.analyzer-group {
    padding: 34px;
    border: 1px solid #cfd9cf;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(25, 55, 31, 0.08);
}

.analyzer-group legend {
    padding: 0 12px;
    color: #17391f;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.form-intro-help {
    max-width: 820px;
    margin: 0 0 28px;
    padding: 13px 16px;
    border-left: 4px solid #2f7d3b;
    border-radius: 0 9px 9px 0;
    background: #f3f8f3;
    color: #3d493f;
}

.form-grid {
    gap: 28px 26px;
}

.form-field label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 9px;
    color: #1e2d21;
    font-size: 1rem;
    font-weight: 800;
}

.required-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.55rem;
    border: 1px solid #0c4e1b;
    border-radius: 999px;
    background: #176b2c;
    color: #ffffff;
    font-size: 0.7em;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(15, 75, 29, 0.18);
}

.form-field input,
.form-field select,
.terpene-row input,
.terpene-row select {
    min-height: 54px;
    padding: 13px 15px;
    border: 1px solid #bfc9bf;
    border-radius: 11px;
    background: #ffffff;
    color: #202520;
    font: inherit;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.form-field input:hover,
.form-field select:hover,
.terpene-row input:hover,
.terpene-row select:hover {
    border-color: #8fa392;
}

.form-field input:focus,
.form-field select:focus,
.terpene-row input:focus,
.terpene-row select:focus {
    border-color: #2d7d3a;
    outline: none;
    box-shadow: 0 0 0 4px rgba(45, 125, 58, 0.16);
}

.optional-input::placeholder {
    color: #7a847c;
    font-weight: 400;
    opacity: 1;
}

.required-input::placeholder {
    color: #3f4b41;
    font-weight: 700;
    opacity: 1;
}

.form-field .field-help,
.analyzer-group > .field-help,
.value-note {
    margin: 8px 0 0;
    color: #59635b;
    font-size: 0.9rem;
    line-height: 1.55;
}

.value-note {
    margin-top: 25px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f6f8f6;
}

.terpene-list {
    gap: 17px;
    margin-top: 24px;
}

.terpene-row {
    gap: 17px;
}

.analyzer-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 48px 0 34px;
}

.analyzer-actions .primary-button,
.analyzer-actions .secondary-button {
    margin: 0;
}

.analyze-submit-button {
    position: relative;
    min-width: 250px;
    min-height: 60px;
    background: #246f34;
    box-shadow: 0 10px 24px rgba(36, 111, 52, 0.22);
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease;
}

.analyze-submit-button:hover,
.analyze-submit-button:focus-visible {
    transform: translateY(-2px);
    background: #1b5b29;
    box-shadow: 0 14px 28px rgba(36, 111, 52, 0.28);
}

.analyze-submit-button.is-analyzing {
    cursor: wait;
    pointer-events: none;
}

.analyze-button-spinner {
    display: none;
    width: 1.05rem;
    height: 1.05rem;
    margin-left: 0.65rem;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: analyzer-spin 0.7s linear infinite;
}

.analyze-submit-button.is-analyzing .analyze-button-spinner {
    display: inline-block;
}

@keyframes analyzer-spin {
    to { transform: rotate(360deg); }
}

.analyzer-results {
    border: 1px solid #d1dbd2;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(20, 48, 25, 0.1);
}

.analysis-report-identification {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.report-identification-item {
    min-width: 0;
    padding: 16px;
    border: 1px solid #dce4dc;
    border-radius: 12px;
    background: #f7faf7;
}

.report-identification-label {
    display: block;
    margin-bottom: 4px;
    color: #657067;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.report-identification-item strong {
    display: block;
    overflow-wrap: anywhere;
    color: #1d3322;
}

@media (max-width: 850px) {
    .analysis-report-identification {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .analyzer-group {
        padding: 24px 18px;
        border-radius: 15px;
    }

    .analyzer-group legend {
        font-size: 1.25rem;
    }

    .analyzer-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .analyzer-actions .primary-button,
    .analyzer-actions .secondary-button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .analysis-report-identification {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .analyze-button-spinner {
        animation-duration: 1.4s;
    }

    .analyze-submit-button,
    .form-field input,
    .form-field select,
    .terpene-row input,
    .terpene-row select {
        transition: none;
    }
}

/* =====================================================
   COMPARE PAGE VERSION 1.0 POLISH
   Add this block to the END of assets/css/style.css
===================================================== */

.compare-flower-card {
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #d7dfd8;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 38, 22, 0.08);
}

.compare-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 26px;
    border-bottom: 1px solid #dfe6e0;
    background: #f5f8f5;
}

.compare-card-heading h2 {
    margin: 2px 0 0;
}

.compare-flower-card .form-grid,
.compare-terpene-section {
    padding: 26px;
}

.compare-terpene-section {
    padding-top: 0;
}

.compare-intro-note {
    margin-bottom: 26px;
    padding: 16px 18px;
    border-left: 5px solid #2d7d32;
    border-radius: 10px;
    background: #f5f8f5;
}

.comparison-product-details {
    margin: 7px 0 0;
    color: #5a655c;
    font-size: 0.94rem;
}

.overall-recommendation-card {
    border: 2px solid #2d7d32;
    background: #f4faf4;
}

.overall-recommendation-card h3 {
    color: #1f6424;
}

.overall-recommendation-lead {
    font-size: 1.08rem;
}

.overall-score-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.overall-score-grid > div {
    padding: 16px;
    border: 1px solid #cedbd0;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
}

.overall-score-grid span,
.overall-score-grid strong {
    display: block;
}

.overall-score-grid span {
    margin-bottom: 6px;
    color: #5b655d;
    font-size: 0.88rem;
}

.overall-score-grid strong {
    color: #173f1b;
    font-size: 1.1rem;
}

.compare-report-identification {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .overall-score-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .compare-card-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .compare-flower-card .form-grid,
    .compare-terpene-section {
        padding: 20px;
    }

    .compare-terpene-section {
        padding-top: 0;
    }

    .overall-score-grid,
    .compare-report-identification {
        grid-template-columns: 1fr;
    }
}



/* =====================================================
   COMPARE PAGE V2 CORRECTIONS
===================================================== */

.compare-form-section {
    padding-top: 32px;
}

.compare-intro-note {
    max-width: 860px;
    margin: 0 auto 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4f5d52;
    text-align: center;
    font-size: 0.96rem;
    line-height: 1.55;
}

.compare-flower-card {
    max-width: 1080px;
    margin: 0 auto 24px;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(17, 38, 22, 0.06);
}

.compare-card-heading {
    padding: 18px 22px;
    background: #f8faf8;
}

.compare-card-heading h2 {
    font-size: 1.55rem;
}

.compare-flower-card .form-grid,
.compare-terpene-section {
    padding: 22px;
}

.compare-terpene-section {
    padding-top: 0;
}

.flower-three-note {
    max-width: 650px;
    margin: 7px 0 0;
    color: #58645a;
    font-size: 0.9rem;
    line-height: 1.45;
}

.traditional-profile-track {
    overflow: hidden;
    background: #e5e9e6;
}

.traditional-profile-fill.profile-fill-indica {
    background: #6b4fa1;
}

.traditional-profile-fill.profile-fill-hybrid {
    background: #2d7d32;
}

.traditional-profile-fill.profile-fill-sativa {
    background: #d98b24;
}

.analysis-report-actions-bottom {
    margin: 30px 0 22px;
    text-align: center;
}

.results-support-box {
    margin-top: 0;
}

@media (max-width: 650px) {
    .compare-form-section {
        padding-top: 24px;
    }

    .compare-intro-note {
        padding: 0 8px;
        text-align: left;
    }

    .compare-card-heading,
    .compare-flower-card .form-grid,
    .compare-terpene-section {
        padding-left: 17px;
        padding-right: 17px;
    }

    .compare-card-heading h2 {
        font-size: 1.35rem;
    }
}

/* =====================================================
   COMPARE PAGE V3 — OPTIONAL FLOWER + TABLE LAYOUT
===================================================== */

.compare-flower-grid {
    width: 100%;
}

.compare-flower-card[hidden] {
    display: none !important;
}

.compare-add-flower-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 1080px;
    margin: 8px auto 22px;
    text-align: center;
}

.compare-flower-count {
    margin: 0;
    color: #59645b;
    font-size: 0.92rem;
    font-weight: 700;
}

.add-flower-button {
    margin: 0;
}

.optional-dispensary-control {
    align-items: stretch;
}

.optional-details-alignment-spacer {
    display: block;
    min-height: 24px;
    margin-bottom: 9px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.5;
    visibility: hidden;
}

.add-dispensary-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    height: 54px;
    margin: 0;
    padding: 5px 48px;
    background: #176b2c;
    text-align: center;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.optional-details-button-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.08;
}

.optional-details-button-title {
    font-weight: 800;
}

.optional-details-button-note {
    margin-top: 2px;
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 0.9;
}

.optional-details-button-icon {
    position: absolute;
    right: 19px;
    top: 50%;
    font-size: 1.25rem;
    line-height: 1;
    transform: translateY(-50%);
}

.add-dispensary-button:hover,
.add-dispensary-button:focus-visible {
    background: #0c4e1b;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 66, 35, 0.2);
}

.add-dispensary-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(24, 66, 35, 0.18);
}

.add-dispensary-button.is-open {
    background: #0c4e1b;
}

.optional-dispensary-section {
    width: 100%;
    margin-top: 15px;
    padding: 17px;
    border: 1px solid #cfdacf;
    border-radius: 12px;
    background: #f7faf7;
}

.optional-dispensary-section[hidden] {
    display: none !important;
}

@media (max-width: 700px) {
    .optional-details-alignment-spacer {
        display: none;
    }
}

.optional-dispensary-section label {
    display: block;
    margin-bottom: 8px;
}

.optional-product-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 700px) {
    .optional-product-details-grid {
        grid-template-columns: 1fr;
    }
}

.comparison-table-wrap {
    width: 100%;
    overflow-x: auto;
    padding: 4px 0 10px;
}

.comparison-table {
    width: max-content;
    min-width: min(100%, 760px);
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
    background: #ffffff;
}

.comparison-table th,
.comparison-table td {
    min-width: 170px;
    padding: 16px 22px;
    border-right: 1px solid #dfe5df;
    border-bottom: 1px solid #dfe5df;
    vertical-align: middle;
    text-align: center;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    min-width: 190px;
    text-align: left;
}

.comparison-table tr > *:first-child {
    border-left: 1px solid #dfe5df;
}

.comparison-table thead tr:first-child > * {
    border-top: 1px solid #dfe5df;
}

.comparison-table thead th {
    background: #f2f7f2;
    color: #213d27;
    font-weight: 800;
}

.comparison-table tbody th {
    background: #f8faf8;
    color: #2f3a31;
    font-weight: 800;
}

.comparison-table tbody td {
    font-weight: 700;
}

@media (max-width: 700px) {
    .compare-add-flower-area {
        align-items: stretch;
    }

    .add-flower-button {
        width: 100%;
    }

    .add-dispensary-button {
        width: 100%;
    }

    .comparison-table {
        margin: 0;
    }

    .comparison-table th,
    .comparison-table td {
        min-width: 145px;
        padding: 14px 16px;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 165px;
    }
}

@media print {
    .compare-add-flower-area {
        display: none !important;
    }

    .comparison-table-wrap {
        overflow: visible;
    }

    .comparison-table {
        width: 100%;
        min-width: 0;
    }

    .comparison-table th,
    .comparison-table td,
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 0;
        padding: 8px 10px;
    }
}


/* =====================================================
   COMPARE PAGE FINAL ALIGNMENT
===================================================== */

.compare-actions > [hidden] {
    display: none !important;
}

.compare-actions {
    width: 100%;
    justify-content: center;
}

.compare-support-box {
    margin-top: 28px;
}

@media print {
    .compare-support-box {
        display: none !important;
    }
}

/* =====================================================
   LEARN ABOUT FLOWER
===================================================== */

.learn-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px 70px;
}

.learn-hero {
    max-width: 880px;
    margin: 0 auto 30px;
    text-align: center;
}

.learn-hero h1 {
    margin: 10px 0 18px;
    color: #203b27;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
}

.learn-intro {
    margin: 0 auto;
    color: #4f5d52;
    font-size: 1.12rem;
    line-height: 1.75;
}

.learn-category-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto 48px;
}

.learn-category-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    padding: 15px 12px;
    border: 1px solid #cfdccf;
    border-top: 5px solid #438348;
    border-radius: 10px;
    background: #ffffff;
    color: #24572c;
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(17, 38, 22, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.learn-category-nav a:hover,
.learn-category-nav a:focus-visible {
    background: #315d38;
    color: #ffffff;
    border-color: #315d38;
    box-shadow: 0 8px 20px rgba(17, 38, 22, 0.17);
    transform: translateY(-3px);
    outline: none;
}

.learn-section {
    scroll-margin-top: 84px;
    margin: 0 0 42px;
    padding: 38px;
    border: 1px solid #d8e1d8;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(20, 40, 24, 0.07);
}

.learn-section-tinted {
    background: #f1f7f0;
}

.learn-section-heading {
    max-width: 820px;
    margin: 0 auto 28px;
    text-align: center;
}

.learn-section-heading h2 {
    position: relative;
    margin: 6px 0 18px;
    padding-bottom: 14px;
    color: #203b27;
    font-size: clamp(1.65rem, 4vw, 2.25rem);
    line-height: 1.2;
}

.learn-section-heading h2::after {
    position: absolute;
    right: 50%;
    bottom: 0;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: #438348;
    content: "";
    transform: translateX(50%);
}

.learn-section-heading > p:last-child {
    margin: 0;
    color: #58645a;
}

.term-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.term-card {
    padding: 22px;
    border: 1px solid #dce5dc;
    border-left: 5px solid #438348;
    border-radius: 11px;
    background: #ffffff;
}

.term-card h3 {
    margin: 0 0 8px;
    color: #254c2c;
    font-size: 1.14rem;
    line-height: 1.3;
}

.term-card p {
    margin: 0;
    color: #465048;
    font-size: 0.96rem;
    line-height: 1.62;
}

.learn-next-step {
    margin: 50px auto 24px;
    padding: 36px;
    border-radius: 18px;
    background: #203b27;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 10px 28px rgba(17, 38, 22, 0.16);
}

.learn-next-step .eyebrow {
    color: #c9e8c8;
}

.learn-next-step h2 {
    margin: 7px 0 12px;
    font-size: clamp(1.55rem, 4vw, 2.1rem);
}

.learn-next-step > p:not(.eyebrow) {
    max-width: 820px;
    margin: 0 auto;
    color: #e6eee7;
}

.learn-next-step-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.learn-next-step-actions a {
    text-decoration: none;
}

.learn-next-step .primary-button {
    background: #ffffff;
    color: #203b27;
}

.learn-next-step .primary-button:hover,
.learn-next-step .primary-button:focus-visible {
    background: #eef7eb;
}

.learn-next-step .secondary-button {
    border-color: #ffffff;
    background: transparent;
    color: #ffffff;
}

.learn-next-step .secondary-button:hover,
.learn-next-step .secondary-button:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

.learn-disclaimer {
    max-width: 900px;
    margin: 0 auto;
    padding: 18px 20px;
    border-radius: 10px;
    background: #e9eeea;
    color: #4f5951;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 700px) {
    .learn-page {
        padding: 28px 15px 50px;
    }

    .learn-category-nav {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
    }

    .learn-category-nav a {
        min-height: 58px;
        border-top-width: 1px;
        border-left: 5px solid #438348;
        text-align: center;
    }

    .learn-section {
        margin-bottom: 26px;
        padding: 25px 17px;
    }

    .term-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .term-card {
        padding: 19px 17px;
    }

    .learn-next-step {
        margin-top: 34px;
        padding: 28px 18px;
    }

    .learn-next-step-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (min-width: 701px) and (max-width: 980px) {
    .learn-category-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .footer-support {
        align-items: stretch;
        flex-direction: column;
        padding: 32px 20px;
        text-align: center;
    }

    .footer-coffee-button {
        width: 100%;
    }

    .footer-inner {
        padding: 30px 20px 26px;
    }

    .footer-links {
        gap: 12px 18px;
    }
}

/* Shared 30-terpene learning guide */
.terpene-guide-tools {
    width: min(720px, calc(100% - 32px));
    margin: 0 auto 32px;
    padding: 22px;
    border: 1px solid rgba(44, 122, 73, 0.24);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(24, 66, 40, 0.08);
}

.terpene-guide-tools label {
    display: block;
    margin-bottom: 9px;
    color: #183d27;
    font-weight: 700;
    text-align: center;
}

.terpene-guide-tools input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #a9b9ae;
    border-radius: 10px;
    background: #ffffff;
    color: #18241c;
    font: inherit;
}

.terpene-guide-tools input[type="search"]:focus {
    border-color: #2c7a49;
    outline: 3px solid rgba(44, 122, 73, 0.16);
}

.terpene-guide-tools .field-help {
    margin: 10px 0 0;
    text-align: center;
}

.terpene-definition-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.terpene-definition-card {
    border-top: 5px solid #2c7a49;
}

.terpene-definition-card h3 {
    color: #183d27;
}

.terpene-aliases,
.terpene-evidence-note {
    color: #52665a;
    font-size: 0.93rem;
}

.terpene-evidence-note {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #dbe5de;
    font-style: italic;
}

.terpene-guide-empty {
    width: min(720px, calc(100% - 32px));
    margin: 20px auto 0;
    padding: 18px;
    border-radius: 12px;
    background: #fff8e7;
    color: #584719;
    text-align: center;
}

@media (max-width: 900px) {
    .terpene-definition-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .terpene-definition-grid {
        grid-template-columns: 1fr;
    }

    .terpene-guide-tools {
        padding: 18px;
    }
}

/* Compare results final section — redesigned summary */
.final-comparison-section {
    margin-top: 56px;
    padding: 34px;
    border: 1px solid #d8e3da;
    border-top: 7px solid #245f31;
    border-radius: 20px;
    background: #f4f8f4;
    box-shadow: 0 14px 34px rgba(24, 59, 31, 0.1);
}

.final-comparison-heading {
    max-width: 820px;
    margin: 0 auto 30px;
    padding: 0 14px 24px;
    border-bottom: 1px solid #d5e1d7;
    text-align: center;
}

.final-comparison-heading > p:last-child {
    margin: 8px auto 0;
    color: #526057;
    line-height: 1.65;
}

.final-comparison-section .result-card {
    margin: 0 0 24px;
    padding: 28px;
    border: 1px solid #d8e1d9;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(30, 61, 36, 0.06);
}

.final-comparison-section .result-card:last-child {
    margin-bottom: 0;
}

.final-comparison-section .result-card h3 {
    margin: 0 0 15px;
    color: #234b2b;
    line-height: 1.3;
}

.final-comparison-section .result-card p,
.final-comparison-section .result-card li {
    line-height: 1.65;
}

.final-comparison-section .overall-recommendation-card {
    border: 2px solid #2d7d3a;
    background: linear-gradient(135deg, #f1faf2 0%, #ffffff 72%);
}

.comparison-highlight-grid,
.flower-summary-grid,
.goal-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.comparison-highlight,
.flower-summary-card,
.goal-comparison-item {
    min-width: 0;
    padding: 20px;
    border: 1px solid #d8e2da;
    border-radius: 12px;
    background: #f8faf8;
}

.comparison-highlight span,
.comparison-highlight strong,
.goal-comparison-item span,
.goal-comparison-item strong {
    display: block;
}

.comparison-highlight-label,
.goal-comparison-item span {
    margin-bottom: 7px;
    color: #59665c;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.comparison-highlight strong,
.goal-comparison-item strong {
    color: #1f5029;
    font-size: 1.08rem;
}

.flower-summary-card h4 {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dbe4dc;
    color: #1f5029;
    font-size: 1.15rem;
}

.flower-summary-card p {
    margin: 8px 0;
}

.final-comparison-section .secondary-button {
    margin-top: 8px;
}

@media (max-width: 720px) {
    .final-comparison-section {
        margin-top: 38px;
        padding: 20px 14px;
        border-radius: 15px;
    }

    .final-comparison-heading {
        padding-right: 4px;
        padding-left: 4px;
    }

    .final-comparison-section .result-card {
        padding: 21px 17px;
    }

    .comparison-highlight-grid,
    .flower-summary-grid,
    .goal-comparison-grid,
    .overall-score-grid {
        grid-template-columns: 1fr;
    }

    .comparison-highlight,
    .flower-summary-card,
    .goal-comparison-item {
        padding: 17px;
    }
}
