/* ==========================================================
   FMNT HOMEPAGE V4
   Blue public homepage with embedded professional login
   ========================================================== */


/* ==========================================================
   1. Design Tokens
   ========================================================== */

:root {
    --navy-950: #071a35;
    --navy-900: #0c2245;
    --navy-800: #102a56;
    --navy-700: #163a72;

    --blue-600: #2563a6;
    --blue-500: #347bc1;
    --blue-200: #cfe1f3;
    --blue-100: #eaf2fb;
    --blue-050: #f5f9fd;

    --gold-500: #c69a4a;
    --gold-200: #ead4a6;

    --white: #ffffff;
    --off-white: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f3f7fb;

    --text: #24364d;
    --text-muted: #66758a;
    --border: rgba(16, 42, 86, 0.14);

    --danger: #b42318;
    --danger-soft: #fef3f2;

    --shadow-sm: 0 10px 28px rgba(7, 26, 53, 0.08);
    --shadow-md: 0 18px 50px rgba(7, 26, 53, 0.13);
    --shadow-lg: 0 28px 85px rgba(7, 26, 53, 0.2);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    --container: 1180px;
}


/* ==========================================================
   2. Global
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--off-white);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--white);
    color: var(--navy-900);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue-600);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading-left {
    margin: 0;
    text-align: left;
}

.section-heading h2,
.trust-copy h2,
.professional-copy h2,
.final-cta h2 {
    margin: 0;
    color: var(--navy-900);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 4vw, 3.7rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section-heading > p:last-child {
    color: var(--text-muted);
    font-size: 1.06rem;
}


/* ==========================================================
   3. Header
   ========================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-inner {
    width: min(calc(100% - 40px), var(--container));
    min-height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand img {
    width: 214px;
    height: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav a {
    color: var(--navy-800);
    font-size: 0.92rem;
    font-weight: 750;
    text-decoration: none;
}

.header-nav a:hover,
.header-nav a:focus-visible {
    color: var(--blue-600);
}

.header-nav .nav-login {
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--navy-800);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(16, 42, 86, 0.2);
}

.header-nav .nav-login:hover {
    background: var(--blue-600);
    color: var(--white);
}


/* ==========================================================
   4. Buttons
   ========================================================== */

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 23px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

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

.button:focus-visible {
    outline: 3px solid rgba(52, 123, 193, 0.4);
    outline-offset: 3px;
}

.button-primary {
    background: var(--navy-800);
    color: var(--white);
    box-shadow: 0 12px 30px rgba(7, 26, 53, 0.22);
}

.button-primary:hover {
    background: var(--blue-600);
}

.button-secondary {
    background: var(--white);
    color: var(--navy-800);
    border-color: rgba(16, 42, 86, 0.22);
}

.button-secondary:hover {
    border-color: var(--blue-500);
}

.button-light {
    background: var(--white);
    color: var(--navy-900);
}

.button-outline-light {
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}

.button-outline-light:hover {
    background: rgba(255, 255, 255, 0.18);
}


/* ==========================================================
   5. Hero and Login
   ========================================================== */

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            115deg,
            rgba(7, 26, 53, 0.97) 0%,
            rgba(16, 42, 86, 0.93) 48%,
            rgba(22, 58, 114, 0.78) 100%
        ),
        url("/images/dashboard-bg.jpg") center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(52, 123, 193, 0.32),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 12%,
            rgba(198, 154, 74, 0.16),
            transparent 24%
        );
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 88px 0 96px;
    display: grid;
    align-items: center;
}

.hero-copy .eyebrow {
    color: var(--gold-200);
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5.2vw, 5.1rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero-lead {
    max-width: 680px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

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

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
}

.hero-points li::before {
    content: "\2713";
    margin-right: 8px;
    color: var(--gold-200);
    font-weight: 900;
}

.login-panel {
    scroll-margin-top: 110px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.login-panel-header h2 {
    margin: 0;
    color: var(--navy-900);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.15;
}

.login-panel-header p:last-child {
    margin-bottom: 22px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.login-error {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(180, 35, 24, 0.22);
    border-radius: 12px;
    background: var(--danger-soft);
    color: var(--danger);
    font-weight: 700;
}

.login-form {
    display: grid;
    gap: 9px;
}

.login-form label {
    margin-top: 5px;
    color: var(--navy-900);
    font-size: 0.9rem;
    font-weight: 750;
}

.login-form input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid rgba(16, 42, 86, 0.2);
    border-radius: 12px;
    background: var(--white);
    color: var(--text);
}

.login-form input:focus {
    border-color: var(--blue-500);
    outline: 3px solid rgba(52, 123, 193, 0.14);
}

.login-form button {
    min-height: 50px;
    margin-top: 12px;
    border: 0;
    border-radius: 999px;
    background: var(--navy-800);
    color: var(--white);
    font-weight: 850;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        background 0.18s ease;
}

.login-form button:hover {
    background: var(--blue-600);
    transform: translateY(-1px);
}

.login-panel-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: 18px;
}

.login-panel-links a {
    color: var(--blue-600);
    font-size: 0.86rem;
    font-weight: 750;
    text-decoration: none;
}

.login-panel-links a:hover {
    text-decoration: underline;
}


/* ==========================================================
   5a. Photo Count Calculator
   ========================================================== */

.photo-calculator-section {
    padding: 76px 20px;
    background: linear-gradient(135deg, var(--blue-050), #e7f0fa);
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 100px;
}

.photo-calculator-inner {
    width: min(100%, var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    align-items: center;
    gap: clamp(36px, 7vw, 86px);
}

.photo-calculator-copy h2 {
    max-width: 620px;
    margin: 0;
    color: var(--navy-900);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.15rem, 4vw, 3.45rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.photo-calculator-copy > p:not(.eyebrow) {
    max-width: 590px;
    color: var(--text-muted);
    font-size: 1.04rem;
}

.photo-calculator-copy .photo-calculator-guidance {
    margin: 20px 0;
    padding-left: 16px;
    border-left: 3px solid var(--gold-500);
    color: var(--navy-800);
    font-weight: 700;
}

.photo-calculator-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-600);
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.photo-calculator-card {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(16, 42, 86, 0.12);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

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

.photo-calculator-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy-900);
    font-size: 0.92rem;
    font-weight: 800;
}

.photo-calculator-input-wrap {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid rgba(16, 42, 86, 0.2);
    border-radius: 12px;
    background: var(--white);
    color: var(--text-muted);
}

.photo-calculator-input-wrap:focus-within {
    border-color: var(--blue-500);
    outline: 3px solid rgba(52, 123, 193, 0.14);
}

.photo-calculator-input-wrap input,
.photo-calculator-input-wrap select {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 8px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--navy-900);
    font-weight: 800;
}

.photo-calculator-input-wrap input {
    max-width: 90px;
}

.photo-calculator-input-wrap select {
    cursor: pointer;
}

.photo-calculator-result {
    display: grid;
    gap: 5px;
    margin-top: 24px;
    padding: 20px 22px;
    border-radius: 16px;
    background: var(--blue-050);
}

.photo-calculator-result-label {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 750;
}

.photo-calculator-result strong {
    color: var(--navy-900);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
}

.photo-calculator-result > span:last-child {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.photo-calculator-note {
    margin: 14px 0 18px;
    color: var(--text-muted);
    font-size: 0.87rem;
    line-height: 1.55;
}

.photo-calculator-cta {
    gap: 10px;
}

.photo-calculator-cta:focus-visible,
.photo-calculator-guide-link:focus-visible {
    outline: 3px solid rgba(52, 123, 193, 0.42);
    outline-offset: 4px;
}


/* ==========================================================
   6. Occasion Cards
   ========================================================== */

.occasion-section {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 88px 0 76px;
}

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

.occasion-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.occasion-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: var(--blue-100);
    color: var(--blue-600);
    font-size: 1.25rem;
    font-weight: 900;
}

.occasion-card h3 {
    margin: 19px 0 7px;
    color: var(--navy-900);
    font-size: 1.18rem;
}

.occasion-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
}


/* ==========================================================
   7. Steps
   ========================================================== */

.steps-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-inner {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 92px 0;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
    align-items: start;
}

.steps-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps-list li {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 20px;
    padding: 21px 0;
    border-bottom: 1px solid var(--border);
}

.steps-list li:first-child {
    padding-top: 0;
}

.steps-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.step-number {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--blue-600);
    font-weight: 900;
}

.steps-list h3 {
    margin: 0 0 5px;
    color: var(--navy-900);
    font-size: 1.15rem;
}

.steps-list p {
    margin: 0;
    color: var(--text-muted);
}


/* ==========================================================
   8. Resources
   ========================================================== */

.resources-section {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 90px 0;
}

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

.resource-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.resource-card:hover {
    transform: translateY(-3px);
    border-color: rgba(52, 123, 193, 0.4);
    box-shadow: var(--shadow-md);
}

.resource-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 16px;
    background: var(--navy-800);
    color: var(--white);
    font-weight: 900;
}

.resource-card h3 {
    margin: 0 0 5px;
    color: var(--navy-900);
    font-size: 1.15rem;
}

.resource-card p {
    margin: 0 0 10px;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.resource-link {
    color: var(--blue-600);
    font-size: 0.88rem;
    font-weight: 800;
}

.resource-cta {
    margin-top: 30px;
    text-align: center;
}


/* ==========================================================
   9. Comparison
   ========================================================== */

.comparison-section {
    padding: 92px 20px;
    background: linear-gradient(180deg, var(--blue-050), var(--white));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.comparison-wrap {
    width: min(100%, var(--container));
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

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

.comparison-table th,
.comparison-table td {
    padding: 17px 20px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.comparison-table thead th {
    padding-top: 23px;
    padding-bottom: 23px;
    background: var(--navy-800);
    color: var(--white);
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table thead span,
.comparison-table thead small {
    display: block;
}

.comparison-table thead small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.comparison-table tbody th {
    color: var(--navy-900);
    text-align: left;
}

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

.check {
    color: var(--blue-600);
    font-size: 1.15rem;
    font-weight: 900;
}

.dash {
    color: #94a3b8;
}

.comparison-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}


/* ==========================================================
   10. Professional
   ========================================================== */

.professional-section {
    width: min(calc(100% - 40px), var(--container));
    margin: 90px auto;
    padding: 50px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(
            125deg,
            rgba(7, 26, 53, 0.98),
            rgba(22, 58, 114, 0.9)
        ),
        url("/images/dashboard-bg.jpg") center / cover no-repeat;
    color: var(--white);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 55px;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.professional-copy .eyebrow {
    color: var(--gold-200);
}

.professional-copy h2 {
    color: var(--white);
}

.professional-copy > p:last-of-type {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.03rem;
}

.professional-copy ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 22px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.professional-copy li {
    color: rgba(255, 255, 255, 0.84);
}

.professional-copy li::before {
    content: "\2713";
    margin-right: 8px;
    color: var(--gold-200);
    font-weight: 900;
}

.professional-actions {
    display: grid;
    gap: 12px;
}

.professional-learn {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}

.professional-learn:hover {
    color: var(--white);
    text-decoration: underline;
}


/* ==========================================================
   11. Trust
   ========================================================== */

.trust-section {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 20px 0 90px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 65px;
    align-items: center;
}

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

.trust-grid article {
    padding: 21px 23px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--white);
}

.trust-grid strong {
    display: block;
    margin-bottom: 3px;
    color: var(--navy-900);
}

.trust-grid span {
    color: var(--text-muted);
    font-size: 0.93rem;
}


/* ==========================================================
   12. Final CTA
   ========================================================== */

.final-cta {
    width: min(calc(100% - 40px), var(--container));
    margin: 10px auto 90px;
    padding: 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: var(--shadow-lg);
}

.final-cta .eyebrow {
    color: var(--gold-200);
}

.final-cta h2 {
    max-width: 780px;
    color: var(--white);
    font-size: clamp(2rem, 3.3vw, 3.2rem);
}

.final-cta-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
}


/* ==========================================================
   13. Footer
   ========================================================== */

.site-footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 50px 0 34px;
    text-align: center;
}

.footer-brand img {
    width: 210px;
    margin: 0 auto 16px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-inner p {
    max-width: 620px;
    margin: 0 auto 23px;
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin-bottom: 25px;
}

.footer-inner nav a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.footer-inner nav a:hover {
    text-decoration: underline;
}

.footer-inner small {
    color: rgba(255, 255, 255, 0.46);
}


/* ==========================================================
   14. Tablet
   ========================================================== */

@media (max-width: 980px) {
    .header-nav > a:not(.nav-login) {
        display: none;
    }

    .photo-calculator-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-points {
        justify-content: center;
    }

    .login-panel {
        width: min(560px, 100%);
        margin: 0 auto;
        text-align: left;
    }

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

    .steps-inner,
    .professional-section,
    .trust-section {
        grid-template-columns: 1fr;
    }

    .steps-inner,
    .trust-section {
        gap: 44px;
    }

    .section-heading-left,
    .trust-copy {
        margin: 0 auto;
        text-align: center;
    }

    .professional-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .professional-learn {
        grid-column: 1 / -1;
    }

    .final-cta {
        flex-direction: column;
        text-align: center;
    }
}


/* ==========================================================
   15. Mobile
   ========================================================== */

@media (max-width: 680px) {
    .header-inner {
        width: min(calc(100% - 28px), var(--container));
        min-height: 74px;
    }

    .brand img {
        width: 170px;
    }

    .header-nav .nav-login {
        padding: 9px 12px;
        font-size: 0.82rem;
    }

    .hero-inner,
    .occasion-section,
    .steps-inner,
    .resources-section,
    .professional-section,
    .trust-section,
    .final-cta,
    .footer-inner {
        width: min(calc(100% - 28px), var(--container));
    }

    .hero-inner {
        padding-top: 58px;
        padding-bottom: 66px;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 12vw, 4rem);
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-points {
        display: grid;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        gap: 7px;
        text-align: left;
    }

    .login-panel {
        padding: 24px 20px;
    }

    .login-panel-links {
        display: grid;
        justify-content: stretch;
    }

    .occasion-section,
    .resources-section,
    .photo-calculator-section {
        padding: 64px 0;
    }

    .photo-calculator-section {
        padding-right: 14px;
        padding-left: 14px;
    }

    .occasion-grid,
    .resource-grid,
    .trust-grid,
    .professional-copy ul,
    .photo-calculator-fields {
        grid-template-columns: 1fr;
    }

    .steps-inner {
        padding: 68px 0;
    }

    .comparison-section {
        padding: 68px 14px;
    }

    .professional-section {
        margin-top: 64px;
        margin-bottom: 64px;
        padding: 34px 24px;
    }

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

    .final-cta {
        margin-bottom: 54px;
        padding: 34px 24px;
    }

    .final-cta-actions {
        width: 100%;
        flex-direction: column;
    }

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


/* ==========================================================
   16. Reduced Motion
   ========================================================== */

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

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}


/* ==========================================================
   17. Primary Homepage Conversion Action
   ========================================================== */

.hero-primary-action {
    margin-top: 34px;
}

.hero-create-button {
    display: inline-flex;
    min-width: min(100%, 420px);
    min-height: 68px;
    align-items: center;
    justify-content: center;
    padding: 17px 24px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    background: linear-gradient(135deg, #d7aa56, #f1ce83);
    color: var(--navy-950);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.28),
        0 0 0 7px rgba(255, 255, 255, 0.06);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.hero-create-button:hover {
    transform: translateY(-3px) scale(1.01);
    filter: brightness(1.04);
    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.34),
        0 0 0 8px rgba(255, 255, 255, 0.08);
}

.hero-secondary-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 17px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    font-weight: 750;
}

.hero-secondary-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.hero-secondary-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.hero-reassurance {
    margin: 17px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .hero-secondary-links {
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .hero-create-button {
        width: 100%;
        min-width: 0;
    }

    .hero-secondary-links {
        justify-content: center;
    }
}
