/* ============================================================
   AlignMatch Landing Page CSS
   All classes prefixed with "am-" to avoid conflicts
   with existing app CSS
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
    --am-bg: #f8faf9;
    --am-bg2: #f0f7f2;
    --am-white: #ffffff;
    --am-forest: #0b2d1a;
    --am-green: #166534;
    --am-green-mid: #15803d;
    --am-green-bright: #16a34a;
    --am-green-vivid: #22c55e;
    --am-green-pale: #dcfce7;
    --am-green-pale2: #bbf7d0;
    --am-lime: #84cc16;
    --am-teal: #0e7490;
    --am-ink: #111827;
    --am-text: #374151;
    --am-muted: #4b5563;
    --am-muted2: #6b7280;
    --am-border: rgba(11,45,26,0.12);
    --am-shadow: rgba(11,45,26,0.10);
}

/* ---- RESET for landing only ---- */
.landing-container * {
    box-sizing: border-box;
}

.landing-container {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--am-bg);
    color: var(--am-ink);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Ensure good contrast for paragraph text throughout */
.landing-container p {
    color: #1f2937;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.am-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(247,250,245,0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--am-border);
    transition: box-shadow 0.3s;
}

.am-nav-scrolled {
    box-shadow: 0 2px 24px var(--am-shadow);
}

.am-nav-inner {
    width: 100%;
    margin: 0;
    padding: 0 80px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.am-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

/* ============================================================
   WORDMARK LOGO — animated SVG + text
   ============================================================ */

/* Keyframes */
@keyframes am-wm-draw-1 {
    0%   { stroke-dashoffset: 40; opacity: 0; }
    30%  { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes am-wm-draw-2 {
    0%, 30% { stroke-dashoffset: 20; opacity: 0; }
    100%    { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes am-wm-dot-pop {
    0%, 50%  { transform: scale(0); opacity: 0; }
    75%      { transform: scale(1.3); opacity: 1; }
    100%     { transform: scale(1); opacity: 1; }
}
@keyframes am-wm-bg-fade {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes am-wm-text-in {
    0%   { opacity: 0; transform: translateX(-6px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes am-wm-sub-in {
    0%, 40%  { opacity: 0; transform: translateY(4px); }
    100%     { opacity: 1; transform: translateY(0); }
}

/* Wordmark wrapper */
.am-wordmark {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.am-wordmark-footer {
    margin-bottom: 8px;
}

/* SVG icon box */
.am-wordmark-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.am-wm-svg {
    width: 36px;
    height: 36px;
    display: block;
}

/* SVG parts */
.am-wm-bg {
    fill: var(--am-forest);
    animation: am-wm-bg-fade 0.4s ease forwards;
}

.am-wm-path {
    fill: none;
    stroke: #4ade80;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.am-wm-path-1 {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: am-wm-draw-1 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.am-wm-path-2 {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: am-wm-draw-2 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.am-wm-dot {
    fill: #ffffff;
    transform-origin: 16px 10px;
    transform: scale(0);
    opacity: 0;
    animation: am-wm-dot-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s forwards;
}

/* Text block */
.am-wordmark-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.am-wm-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    animation: am-wm-text-in 0.5s ease 0.3s both;
}

.am-wm-align {
    color: var(--am-forest);
}

.am-wm-match {
    color: var(--am-green-bright);
}

.am-wm-sub {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--am-green-bright);
    white-space: nowrap;
    animation: am-wm-sub-in 0.5s ease 0.6s both;
}

/* Hover — icon pulses gently */
.am-nav-brand:hover .am-wm-svg,
.am-wordmark:hover .am-wm-svg {
    transform: scale(1.06);
    transition: transform 0.25s ease;
}

.am-nav-brand:hover .am-wm-match,
.am-wordmark:hover .am-wm-match {
    color: var(--am-green);
    transition: color 0.2s;
}

/* Footer variant — slightly smaller */
.am-wordmark-footer .am-wm-svg {
    width: 30px;
    height: 30px;
}

.am-wordmark-footer .am-wm-name {
    font-size: 1.05rem;
}

.am-wordmark-footer .am-wm-sub {
    font-size: 0.54rem;
}

/* Mobile sizing */
@media (max-width: 768px) {
    .am-wm-svg { width: 30px; height: 30px; }
    .am-wm-name { font-size: 1rem; }
    .am-wm-sub { display: none; }
}

.am-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    flex-shrink: 0;
}

.am-nav-link {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.am-nav-link:hover {
    color: var(--am-green);
}

/* Dropdown */
.am-dropdown {
    position: relative;
}

.am-dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
    white-space: nowrap;
}

.am-dropdown-btn:hover {
    color: var(--am-green);
}

.am-chevron {
    display: inline-block;
    transition: transform 0.25s;
    font-size: 0.7rem;
}

.am-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--am-white);
    border: 1px solid var(--am-border);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 170px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    z-index: 200;
}

.am-dropdown-menu.am-open {
    display: block;
}

.am-dropdown-item {
    display: block;
    padding: 11px 20px;
    font-size: 0.82rem;
    color: #1f2937;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.am-dropdown-item:hover {
    background: var(--am-green-pale);
    color: var(--am-forest);
    padding-left: 26px;
}

.am-nav-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.am-btn-solid {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--am-green);
    padding: 9px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 3px 12px rgba(22,101,52,0.3);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.am-btn-solid:hover {
    background: var(--am-forest);
    box-shadow: 0 6px 24px rgba(26,71,49,0.35);
    transform: translateY(-1px);
    color: var(--am-white);
    text-decoration: none;
}

.am-btn-ghost {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--am-forest);
    padding: 9px 18px;
    border: 1.5px solid var(--am-border);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s;
    white-space: nowrap;
}

.am-btn-ghost:hover {
    border-color: var(--am-green);
    color: var(--am-green);
    background: var(--am-green-pale);
    text-decoration: none;
}

.am-btn-outline {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--am-forest);
    padding: 12px 28px;
    border: 1.5px solid var(--am-border);
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s;
}

.am-btn-outline:hover {
    border-color: var(--am-green);
    color: var(--am-green);
    background: var(--am-green-pale);
    text-decoration: none;
}

.am-btn-solid-light {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--am-green);
    background: var(--am-white);
    padding: 14px 36px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.am-btn-solid-light:hover {
    background: var(--am-lime);
    color: var(--am-forest);
    text-decoration: none;
    transform: translateY(-1px);
}

.am-btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    padding: 14px 32px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 4px;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s;
}

.am-btn-outline-light:hover {
    border-color: #ffffff;
    color: var(--am-forest);
    background: #ffffff;
    text-decoration: none;
}

/* ============================================================
   HERO
   ============================================================ */
.am-hero {
    padding-top: 82px;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.am-hero-inner {
    display: contents;
}

/* Hero Left */
.am-hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    padding: 80px 60px 80px 80px;
}

.am-hero-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--am-green-bright);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.am-hero-tag::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--am-green-bright);
    border-radius: 1px;
}

.am-hero-title {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--am-forest);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.am-hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--am-green), var(--am-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.am-hero-subtitle {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--am-forest);
    margin-bottom: 20px;
    font-weight: 500;
}

.am-hero-desc {
    font-size: 0.97rem;
    font-weight: 400;
    line-height: 1.85;
    color: #1f2937;
    max-width: 480px;
    margin-bottom: 40px;
}

.am-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero Right */
.am-hero-right {
    background: linear-gradient(145deg, var(--am-forest) 0%, #1e5438 50%, #0d3322 100%);
    position: relative;
    overflow: hidden;
}

.am-hero-right-glow {
    position: absolute;
    top: -100px; right: -100px;
    width: 450px; height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76,201,127,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.am-hero-right-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 44px;
}

.am-mockup-label {
    font-size: 0.6rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(76,201,127,0.6);
    margin-bottom: 18px;
}

.am-mockup-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    padding: 22px 24px;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: background 0.3s;
}

.am-mockup-card:hover {
    background: rgba(255,255,255,0.11);
}

.am-mc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.am-mc-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.am-mc-role {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.45);
    margin-top: 3px;
}

.am-mc-score-wrap {
    text-align: right;
}

.am-mc-score {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
}

.am-score-high { color: var(--am-green-bright); }

.am-mc-score-label {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
}

.am-mc-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.am-mc-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.am-mc-bar-label {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.5);
    width: 90px;
    flex-shrink: 0;
}

.am-mc-bar-track {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}

.am-mc-bar-fill {
    height: 100%;
    border-radius: 2px;
}

.am-fill-green { background: linear-gradient(90deg, var(--am-green-bright), rgba(76,201,127,0.4)); }
.am-fill-teal  { background: linear-gradient(90deg, #4ecdc4, rgba(78,205,196,0.4)); }
.am-fill-lime  { background: linear-gradient(90deg, var(--am-lime), rgba(168,224,99,0.4)); }

.am-mc-bar-val {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.4);
    width: 30px;
    text-align: right;
}

.am-mc-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.am-mc-tag {
    font-size: 0.55rem;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.45);
}

.am-tag-hi {
    border-color: rgba(76,201,127,0.4);
    color: var(--am-green-bright);
    background: rgba(76,201,127,0.1);
}

.am-mockup-insight {
    background: rgba(76,201,127,0.08);
    border: 1px solid rgba(76,201,127,0.2);
    padding: 16px 20px;
    border-radius: 6px;
    margin-top: 4px;
}

.am-insight-label {
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--am-green-bright);
    margin-bottom: 6px;
}

.am-insight-text {
    font-size: 0.74rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,0.80);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.am-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--am-white);
    border-top: 1px solid var(--am-border);
    border-bottom: 1px solid var(--am-border);
    box-shadow: 0 4px 24px var(--am-shadow);
}

.am-stat {
    padding: 32px 36px;
    border-right: 1px solid var(--am-border);
    transition: background 0.3s;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s;
}

.am-stat:last-child { border-right: none; }
.am-stat:hover { background: var(--am-green-pale); }
.am-stat.am-visible { opacity: 1; transform: translateY(0); }

.am-stat-val {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--am-forest);
    line-height: 1;
}

.am-stat-val span { color: var(--am-green); }

.am-stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    margin-top: 6px;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.am-marquee-wrap {
    overflow: hidden;
    padding: 14px 0;
    background: var(--am-forest);
}

.am-marquee {
    display: flex;
    white-space: nowrap;
    animation: am-marquee 30s linear infinite;
}

.am-marquee-item {
    font-size: 0.6rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    gap: 32px;
}

.am-dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--am-green-bright);
}

@keyframes am-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.am-section-inner {
    width: 100%;
    padding: 100px 80px;
}

.am-section-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--am-green);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.am-section-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--am-green);
    border-radius: 1px;
}

.am-section-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    color: var(--am-forest);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.am-section-title em {
    font-style: italic;
    color: var(--am-green);
}

/* ============================================================
   VISION
   ============================================================ */
.am-vision {
    background: var(--am-white);
}

.am-vision-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 72px;
}

.am-vision-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 16px 48px var(--am-shadow);
}

.am-section-inner p { color: #111827; font-weight: 400; }

.am-vision-text {
    font-size: 1rem;
    font-style: italic;
    color: #111827;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 16px;
}

.am-vision-desc {
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.9;
    color: #111827;
}

.am-vision-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.am-vision-point {
    background: var(--am-bg);
    border: 1px solid var(--am-border);
    padding: 36px 28px;
    border-radius: 6px;
    transition: all 0.35s;
    opacity: 0;
    transform: translateY(20px);
}

.am-vision-point.am-visible {
    opacity: 1;
    transform: translateY(0);
}

.am-vision-point:hover {
    background: var(--am-white);
    box-shadow: 0 8px 32px var(--am-shadow);
    transform: translateY(-3px);
}

.am-vp-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--am-green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1.5px solid var(--am-green-pale2);
    transition: background 0.3s;
}

.am-vision-point:hover .am-vp-icon {
    background: var(--am-green-bright);
    border-color: var(--am-green-bright);
}

.am-vp-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--am-forest);
    transition: stroke 0.3s;
}

.am-vision-point:hover .am-vp-icon svg {
    stroke: #ffffff;
}

.am-vision-point h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--am-forest);
    margin-bottom: 10px;
}

.am-vision-point p {
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.8;
    color: #1f2937;
}

/* ============================================================
   MISSION
   ============================================================ */
.am-mission {
    background: var(--am-bg2);
    border-top: 1px solid var(--am-border);
    border-bottom: 1px solid var(--am-border);
}

.am-mission-desc {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.9;
    color: #111827;
    max-width: 700px;
    margin-bottom: 56px;
}

.am-mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.am-mission-card {
    background: var(--am-white);
    border: 1px solid var(--am-border);
    padding: 40px 32px;
    border-radius: 6px;
    transition: all 0.35s;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
}

.am-mission-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--am-green), var(--am-green-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.am-mission-card:hover::before { transform: scaleX(1); }
.am-mission-card.am-visible { opacity: 1; transform: translateY(0); }

.am-mission-card:hover {
    box-shadow: 0 12px 40px var(--am-shadow);
    transform: translateY(-3px);
}

.am-mission-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--am-green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1.5px solid var(--am-green-pale2);
    transition: background 0.3s;
}

.am-mission-card:hover .am-mission-icon {
    background: var(--am-green-bright);
    border-color: var(--am-green-bright);
}

.am-mission-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--am-forest);
    transition: stroke 0.3s;
}

.am-mission-card:hover .am-mission-icon svg {
    stroke: #ffffff;
}

.am-mission-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--am-forest);
    margin-bottom: 12px;
}

.am-mission-card p {
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.8;
    color: #111827;
}

/* ============================================================
   STORY
   ============================================================ */
.am-story {
    background: var(--am-white);
}

.am-story-intro {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.9;
    color: #111827;
    max-width: 700px;
    margin-bottom: 56px;
}

.am-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid var(--am-green-pale2);
    padding-left: 40px;
    margin-left: 20px;
}

.am-timeline-item {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding-bottom: 48px;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.am-timeline-item.am-visible {
    opacity: 1;
    transform: translateX(0);
}

.am-timeline-item::before {
    content: '';
    position: absolute;
    left: -48px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--am-green);
    border: 3px solid var(--am-white);
    box-shadow: 0 0 0 2px var(--am-green);
}

.am-timeline-marker {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--am-green);
    min-width: 60px;
    line-height: 1.4;
}

.am-timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--am-forest);
    margin-bottom: 8px;
}

.am-timeline-content p {
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.8;
    color: #111827;
}

/* ============================================================
   FEATURES
   ============================================================ */
.am-features {
    background: var(--am-bg2);
    border-top: 1px solid var(--am-border);
}

.am-features-sub {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.8;
    color: #111827;
    max-width: 600px;
    margin-bottom: 56px;
}

.am-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 72px;
}

.am-feature-card {
    background: var(--am-white);
    border: 1px solid var(--am-border);
    padding: 36px 28px;
    border-radius: 6px;
    transition: all 0.35s;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
}

.am-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--am-green), var(--am-green-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.am-feature-card:hover::before { transform: scaleX(1); }
.am-feature-card.am-visible { opacity: 1; transform: translateY(0); }

.am-feature-card:hover {
    box-shadow: 0 12px 40px var(--am-shadow);
    transform: translateY(-3px);
}

.am-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--am-green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1.5px solid var(--am-green-pale2);
    transition: background 0.3s;
}

.am-feature-card:hover .am-feature-icon {
    background: var(--am-green-bright);
    border-color: var(--am-green-bright);
}

.am-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--am-forest);
    transition: stroke 0.3s;
}

.am-feature-card:hover .am-feature-icon svg {
    stroke: #ffffff;
}

.am-feature-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--am-forest);
    margin-bottom: 10px;
}

.am-feature-card p {
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.8;
    color: #111827;
}

/* Promise + Stats */
.am-promise-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--am-white);
    border: 1px solid var(--am-border);
    border-radius: 8px;
    padding: 56px 48px;
    align-items: center;
}

.am-promise-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--am-forest);
    margin-bottom: 16px;
}

.am-promise-text p {
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.9;
    color: #111827;
    font-style: italic;
}

.am-promise-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.am-pstat {
    text-align: center;
    padding: 20px;
    background: var(--am-bg);
    border-radius: 6px;
    border: 1px solid var(--am-border);
}

.am-pstat-val {
    font-size: 2rem;
    font-weight: 700;
    color: var(--am-green);
    line-height: 1;
}

.am-pstat-label {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7280;
    margin-top: 6px;
}

/* ============================================================
   CTA
   ============================================================ */
.am-cta {
    background: linear-gradient(145deg, var(--am-forest) 0%, var(--am-green) 50%, #0d3322 100%);
    text-align: center;
    padding: 140px 60px;
    position: relative;
    overflow: hidden;
}

.am-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
}

.am-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

/* Override global p for dark CTA section */
.am-cta p, .am-cta-sub, .am-cta-eyebrow {
    color: rgba(255,255,255,0.90) !important;
}

.am-cta-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.80);
    margin-bottom: 18px;
}

.am-cta-title {
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 700;
    color: var(--am-white);
    line-height: 1.1;
    margin-bottom: 18px;
}

.am-cta-title em {
    font-style: italic;
    color: var(--am-lime);
}

.am-cta-sub {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 44px;
}

.am-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.am-footer {
    background: var(--am-white);
    border-top: 1px solid var(--am-border);
    padding: 40px 60px;
}

.am-footer-inner {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
}

/* footer logo replaced by wordmark */

.am-footer-tagline {
    font-size: 0.7rem;
    color: #6b7280;
    margin-top: 4px;
}

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

.am-footer-links a {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
}

.am-footer-links a:hover {
    color: var(--am-green);
}

.am-footer-copy {
    font-size: 0.62rem;
    color: #6b7280;
    text-align: right;
}

/* ============================================================
   FOR EMPLOYERS SECTION
   ============================================================ */
.am-employers {
    background: var(--am-white);
    border-top: 1px solid var(--am-border);
}

.am-employers-desc {
    font-size: 0.97rem;
    font-weight: 400;
    line-height: 1.85;
    color: #111827;
    max-width: 760px;
    margin-bottom: 56px;
}

.am-employer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.am-employer-card {
    background: var(--am-bg);
    border: 1px solid var(--am-border);
    border-radius: 10px;
    padding: 36px 32px;
    position: relative;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(18px);
}

.am-employer-card.am-visible {
    opacity: 1;
    transform: translateY(0);
}

.am-employer-card:hover {
    background: var(--am-white);
    box-shadow: 0 10px 36px var(--am-shadow);
    transform: translateY(-2px);
}

.am-employer-number {
    font-family: 'DM Serif Display', serif;
    font-size: 2.8rem;
    color: var(--am-green-pale2);
    line-height: 1;
    margin-bottom: 16px;
    font-weight: 400;
}

.am-employer-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--am-forest);
    margin-bottom: 10px;
}

.am-employer-card p {
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.8;
    color: #111827;
}

/* ============================================================
   CAREER AGENT SECTION
   ============================================================ */
.am-career-agent {
    background: var(--am-forest);
    color: var(--am-white);
}

/* Override global p colour for dark-background sections */
.am-career-agent p,
.am-career-agent .am-ca-desc {
    color: #ffffff !important;
    font-weight: 400;
}

.am-career-agent .am-section-tag {
    color: var(--am-green-vivid);
    border-color: rgba(34,197,94,0.25);
    background: rgba(34,197,94,0.1);
}

.am-career-agent .am-section-title {
    color: var(--am-white);
}

.am-career-agent .am-section-title em {
    background: linear-gradient(135deg, var(--am-green-vivid), #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.am-ca-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.am-ca-desc {
    font-size: 0.97rem;
    font-weight: 400;
    line-height: 1.85;
    color: #ffffff;
    margin-bottom: 20px;
}

.am-ca-compare {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.am-ca-compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.am-ca-compare-row:last-child { border-bottom: none; }

.am-ca-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
}

.am-ca-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.am-ca-highlight {
    background: rgba(34,197,94,0.12);
}

.am-ca-highlight .am-ca-label {
    color: #86efac;
}

.am-ca-highlight .am-ca-val {
    color: #4ade80;
}

.am-ca-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 36px 32px;
    backdrop-filter: blur(10px);
}

.am-ca-card-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--am-green-vivid);
    margin-bottom: 28px;
}

.am-ca-feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.am-ca-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.am-ca-feature.am-visible {
    opacity: 1;
    transform: translateX(0);
}

.am-ca-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(34,197,94,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.am-ca-feature-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--am-green-vivid);
}

.am-ca-feature-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
    margin-bottom: 4px;
}

.am-ca-feature-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
}

/* ============================================================
   PLATFORM / FLYWHEEL SECTION
   ============================================================ */
.am-platform {
    background: var(--am-bg2);
    border-top: 1px solid var(--am-border);
}

.am-platform-desc {
    font-size: 0.97rem;
    font-weight: 400;
    line-height: 1.85;
    color: #111827;
    max-width: 680px;
    margin-bottom: 56px;
}

.am-flywheel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.am-fw-card {
    border-radius: 12px;
    padding: 40px 36px;
    border: 1px solid var(--am-border);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.am-fw-card.am-visible {
    opacity: 1;
    transform: translateY(0);
}

.am-fw-b2b {
    background: var(--am-forest);
    color: white;
}

.am-fw-consumer {
    background: var(--am-white);
}

.am-fw-phase {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--am-green-vivid);
    margin-bottom: 16px;
}

.am-fw-b2b h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 14px;
}

.am-fw-consumer h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--am-forest);
    margin-bottom: 14px;
}

.am-fw-b2b p {
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.8;
    color: #e5f7ed;
}

.am-fw-consumer p {
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.8;
    color: #111827;
}

.am-fw-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-top: 20px;
}

.am-fw-live {
    background: rgba(34,197,94,0.15);
    color: #4ade80;
}

.am-fw-soon {
    background: var(--am-green-pale);
    color: var(--am-green);
}

.am-flywheel-loop {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    background: var(--am-white);
    border: 1px solid var(--am-border);
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 32px;
}

.am-fl-item {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--am-forest);
    background: var(--am-green-pale);
    padding: 7px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.am-fl-loop {
    color: var(--am-green-bright);
    background: var(--am-green-pale2);
}

.am-fl-arrow {
    font-size: 1rem;
    color: var(--am-green-bright);
    font-weight: 700;
}

.am-beyond-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--am-white);
    border: 1px solid var(--am-border);
    border-left: 4px solid var(--am-green-bright);
    border-radius: 10px;
    padding: 32px 36px;
}

.am-beyond-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--am-green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.am-beyond-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--am-forest);
}

.am-beyond-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--am-forest);
    margin-bottom: 10px;
}

.am-beyond-box p {
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.8;
    color: #111827;
}


/* ============================================================
   PLATFORM SHOWCASE
   ============================================================ */
.am-showcase {
    background: var(--am-forest);
    position: relative;
    overflow: hidden;
}

.am-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.am-showcase-inner {
    width: 100%;
    padding: 100px 80px;
    position: relative;
    z-index: 1;
}

.am-showcase .am-section-tag {
    background: rgba(34,197,94,0.12);
    border-color: rgba(34,197,94,0.25);
    color: #4ade80;
}

.am-showcase .am-section-title {
    color: #ffffff;
}

.am-showcase .am-section-title em {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.am-showcase-desc {
    font-size: 0.97rem;
    font-weight: 400;
    color: rgba(255,255,255,0.72);
    line-height: 1.8;
    max-width: 620px;
    margin-bottom: 48px;
}

/* ── Tab Nav ── */
.am-tab-nav {
    display: flex;
    gap: 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 40px;
    width: fit-content;
    flex-wrap: wrap;
}

.am-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 7px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.22s;
    white-space: nowrap;
}

.am-tab svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.am-tab:hover {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.06);
}

.am-tab.active {
    background: #166534;
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(22,101,52,0.4);
}

/* ── Panels ── */
.am-panels { position: relative; }

.am-panel {
    display: none;
    animation: am-panel-in 0.35s ease;
}

.am-panel.active { display: block; }

@keyframes am-panel-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Layout: mock + callouts ── */
.am-showcase-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* ── Browser Window Mock ── */
.am-mock-window {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
}

.am-mock-bar {
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.am-mock-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.am-mock-dot.r { background: #ff5f57; }
.am-mock-dot.y { background: #febc2e; }
.am-mock-dot.g { background: #28c840; }

.am-mock-url {
    font-size: 0.72rem;
    color: #9ca3af;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 3px 10px;
    flex: 1;
    max-width: 280px;
}

.am-mock-toggle {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.am-tog {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    font-family: inherit;
}

.am-tog.active {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
}

/* sub tabs inside mock */
.am-mock-subtabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    background: #fafafa;
}

.am-stab {
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    border: none;
    background: transparent;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.am-stab.active {
    color: #166534;
    border-bottom-color: #166534;
}

/* mock body */
.am-mock-body {
    padding: 20px;
    max-height: 480px;
    overflow-y: auto;
}

.am-mock-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.am-mock-subtitle {
    font-size: 0.72rem;
    color: #6b7280;
    margin-bottom: 16px;
}

.am-mock-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #374151;
    margin: 12px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Screens (sub-tabs) */
.am-screen { display: none; }
.am-screen.active { display: block; animation: am-panel-in 0.25s ease; }

/* ── Match Results specific ── */
.am-mock-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
}

.am-mc-rank1 { border-left: 3px solid #1d4ed8; }
.am-mc-rank2 { border-left: 3px solid #e5e7eb; }

.am-mc-rank-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1d4ed8;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.am-rank2 { background: #9ca3af; }

.am-mc-info { flex: 1; }

.am-mc-cname {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
}

.am-mc-cmeta {
    font-size: 0.72rem;
    color: #6b7280;
}

.am-mc-score-big {
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.am-score-amber { color: #d97706; }
.am-score-green { color: #16a34a; }

.am-mock-bars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
    margin-bottom: 10px;
}

.am-mb-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.am-mb-label {
    font-size: 0.68rem;
    color: #6b7280;
    width: 100px;
    flex-shrink: 0;
}

.am-mb-track {
    flex: 1;
    height: 5px;
    background: #f3f4f6;
    border-radius: 3px;
    overflow: hidden;
}

.am-mb-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.am-mb-val {
    font-size: 0.68rem;
    font-weight: 600;
    color: #374151;
    width: 32px;
    text-align: right;
    flex-shrink: 0;
}

.am-mc-skills-row {
    font-size: 0.72rem;
    color: #374151;
    margin-top: 4px;
}

.am-mc-skills-label {
    font-weight: 600;
    margin-right: 4px;
}

/* ── Candidate & Job shared ── */
.am-cand-header, .am-job-header {
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.am-cand-name, .am-job-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3px;
}

.am-job-quality {
    font-size: 0.68rem;
    font-weight: 700;
    color: #16a34a;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.am-cand-meta, .am-job-company {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 2px;
}

.am-cand-edu {
    font-size: 0.72rem;
    color: #9ca3af;
}

.am-job-tags {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.am-job-tags span {
    font-size: 0.68rem;
    background: #f3f4f6;
    color: #374151;
    padding: 2px 8px;
    border-radius: 4px;
}

.am-profile-rows {
    border: 1px solid #f3f4f6;
    border-radius: 6px;
    overflow: hidden;
}

.am-pr-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.78rem;
}

.am-pr-row:last-child { border-bottom: none; }

.am-pr-label { color: #6b7280; }

.am-pr-val {
    font-weight: 600;
    color: #111827;
}

.am-pr-highlight { color: #16a34a; }

.am-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.am-skill-tags span, .am-mc-skill-tag {
    font-size: 0.68rem;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Cultural fit grid */
.am-cult-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.am-cult-card {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px;
}

.am-cult-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 3px;
}

.am-cult-score { font-weight: 700; color: #6b7280; }
.am-cult-hi { color: #16a34a; }
.am-cult-lo { color: #d97706; }

.am-cult-desc {
    font-size: 0.68rem;
    color: #9ca3af;
}

/* Psychometric */
.am-psych-list { display: flex; flex-direction: column; gap: 8px; }

.am-psych-card {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px 12px;
}

.am-psych-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.am-psych-label { font-size: 0.78rem; font-weight: 700; color: #111827; }

.am-psych-pct { font-size: 1rem; font-weight: 800; color: #6b7280; display: block; text-align: right; }
.am-psych-green { color: #16a34a; }

.am-psych-conf { font-size: 0.62rem; color: #9ca3af; display: block; text-align: right; }

.am-psych-q { font-size: 0.72rem; color: #374151; margin-bottom: 6px; }

.am-psych-verdict {
    font-size: 0.72rem;
    font-weight: 600;
    background: #f3f4f6;
    color: #374151;
    padding: 5px 10px;
    border-radius: 4px;
}

.am-verdict-pos { background: #f0fdf4; color: #166534; }

/* AI Job Profile */
.am-aijp-block { border: 1px solid #e5e7eb; border-radius: 6px; padding: 14px; }

.am-aijp-section {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #166534;
    margin: 10px 0 4px;
}

.am-aijp-section:first-child { margin-top: 0; }

.am-aijp-text {
    font-size: 0.75rem;
    color: #374151;
    line-height: 1.7;
}

/* ── Feedback tab ── */
.am-feedback-body { padding: 0; display: flex; flex-direction: column; max-height: 480px; }

.am-fb-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    background: linear-gradient(135deg, #f0fdf4, #fafafa);
}

.am-fb-title { font-size: 0.88rem; font-weight: 700; color: #111827; }

.am-fb-sub { font-size: 0.72rem; color: #6b7280; margin-top: 2px; }

.am-fb-thread {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.am-fb-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.am-fb-ai { flex-direction: row; }
.am-fb-user { flex-direction: row-reverse; }

.am-fb-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.am-fb-av-user { background: #1d4ed8; color: #fff; }

.am-fb-av-ai {
    background: #0b2d1a;
    color: #4ade80;
}

.am-fb-av-ai svg { width: 14px; height: 14px; }

.am-fb-bubble {
    max-width: 78%;
    padding: 10px 13px;
    border-radius: 10px;
    font-size: 0.78rem;
    line-height: 1.6;
}

.am-fb-user-bubble {
    background: #1d4ed8;
    color: #fff;
    border-radius: 10px 2px 10px 10px;
}

.am-fb-ai-bubble {
    background: #f3f4f6;
    color: #111827;
    border-radius: 2px 10px 10px 10px;
    border: 1px solid #e5e7eb;
}

.am-fb-ai-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 4px;
    letter-spacing: 0.06em;
}

.am-fb-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

.am-fb-input {
    flex: 1;
    font-size: 0.75rem;
    color: #9ca3af;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px 12px;
}

.am-fb-send {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #166534;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.am-fb-send svg { width: 14px; height: 14px; stroke: #fff; }

.am-fb-result-pill {
    margin: 0 16px 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.72rem;
    color: #166534;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 7px;
}

.am-fb-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    flex-shrink: 0;
    animation: am-pulse 1.8s ease-in-out infinite;
}

@keyframes am-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── Callouts ── */
.am-callouts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 8px;
}

.am-callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    transition: background 0.2s;
}

.am-callout:hover {
    background: rgba(255,255,255,0.08);
}

.am-callout-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.am-callout-icon svg {
    width: 16px;
    height: 16px;
    stroke: #4ade80;
}

.am-callout-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.am-callout-text {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    font-weight: 400;
}

/* ── Bottom note ── */
.am-showcase-note {
    margin-top: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
}

.am-showcase-cta-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4ade80;
    text-decoration: none;
    transition: color 0.2s;
}

.am-showcase-cta-link:hover { color: #ffffff; }

/* Responsive */
@media (max-width: 1100px) {
    .am-showcase-layout { grid-template-columns: 1fr; }
    .am-callouts { flex-direction: row; flex-wrap: wrap; }
    .am-callout { flex: 1; min-width: 220px; }
}

@media (max-width: 768px) {
    .am-showcase-inner { padding: 60px 24px; }
    .am-tab-nav { gap: 4px; }
    .am-tab { padding: 8px 12px; font-size: 0.74rem; }
    .am-tab svg { display: none; }
    .am-mock-bars-grid { grid-template-columns: 1fr; }
    .am-cult-grid { grid-template-columns: 1fr; }
    .am-callouts { flex-direction: column; }
    .am-showcase-note { flex-direction: column; gap: 10px; text-align: center; }
}

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.am-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5,15,9,0.72);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(4px);
}

.am-modal-overlay.am-modal-open {
    opacity: 1;
    pointer-events: all;
}

.am-modal-box {
    background: var(--am-white);
    border-radius: 16px;
    padding: 48px 44px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 32px 80px rgba(5,15,9,0.3);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.am-modal-overlay.am-modal-open .am-modal-box {
    transform: translateY(0);
}

.am-modal-close {
    position: absolute;
    top: 16px; right: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.am-modal-close:hover {
    background: var(--am-green-pale);
    color: var(--am-forest);
}

.am-modal-tag {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--am-green-bright);
    margin-bottom: 10px;
}

.am-modal-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--am-forest);
    margin-bottom: 8px;
}

.am-modal-sub {
    font-size: 0.88rem;
    color: #1f2937;
    line-height: 1.7;
    margin-bottom: 28px;
}

.am-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.am-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.am-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.am-form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--am-forest);
    letter-spacing: 0.04em;
}

.am-form-group input,
.am-form-group select,
.am-form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--am-border);
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--am-ink);
    background: var(--am-bg);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    resize: vertical;
}

.am-form-group input:focus,
.am-form-group select:focus,
.am-form-group textarea:focus {
    border-color: var(--am-green-bright);
    box-shadow: 0 0 0 3px rgba(22,163,74,0.12);
    background: var(--am-white);
}

.am-btn-full {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
}

.am-form-note {
    font-size: 0.82rem;
    margin: 0;
}

/* Mobile hamburger menu */
.am-nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.am-nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--am-forest);
    border-radius: 2px;
    transition: all 0.3s;
}

/* New hamburger button (id=am-hamburger) */
.am-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    margin-left: 8px;
}

.am-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--am-forest);
    border-radius: 2px;
    transition: all 0.3s;
}

.am-hamburger-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.am-hamburger-open span:nth-child(2) { opacity: 0; }
.am-hamburger-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Inline mobile dropdown menu */
.am-mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--am-white);
    border-top: 1px solid var(--am-border);
    padding: 12px 24px 20px;
}

.am-mobile-menu.am-mobile-open { display: flex; }

.am-mobile-link {
    display: block;
    padding: 13px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--am-forest);
    text-decoration: none;
    border-bottom: 1px solid var(--am-border);
    transition: color 0.2s, padding-left 0.2s;
}

.am-mobile-link:last-child { border-bottom: none; }

.am-mobile-link:hover {
    color: var(--am-green-bright);
    padding-left: 8px;
}

.am-mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--am-white);
    z-index: 1500;
    flex-direction: column;
    padding: 80px 40px 40px;
    gap: 0;
    overflow-y: auto;
}

.am-mobile-nav.am-mobile-open {
    display: flex;
}

.am-mobile-nav-close {
    position: absolute;
    top: 20px; right: 24px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--am-forest);
}

.am-mobile-nav a,
.am-mobile-nav-section {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--am-forest);
    text-decoration: none;
    border-bottom: 1px solid var(--am-border);
}

.am-mobile-nav-sub {
    padding-left: 20px;
}

.am-mobile-nav-sub a {
    font-size: 0.95rem;
    font-weight: 400;
    color: #6b7280;
    padding: 10px 0;
    border-bottom: none;
}

.am-mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

/* ============================================================
   RESPONSIVE — MOBILE FIRST IMPROVEMENTS
   ============================================================ */
@media (max-width: 1280px) {
    .am-nav-links { gap: 14px; }
    .am-nav-link, .am-dropdown-btn { font-size: 0.76rem; }
    .am-nav-inner { padding: 0 60px; }
    .am-section-inner { padding: 100px 60px; }
    .am-hero-left { padding: 80px 48px 80px 60px; }
}

@media (max-width: 1100px) {
    /* Hide less-critical nav items to prevent wrap */
    .am-nav-links .am-hide-md { display: none; }
    .am-nav-links { gap: 12px; }
    .am-nav-link, .am-dropdown-btn { font-size: 0.74rem; }
}

@media (max-width: 1024px) {
    .am-hero { grid-template-columns: 1fr; }
    .am-hero-left {
        padding: 60px 40px !important;
        order: 1;
    }
    .am-hero-right {
        min-height: 420px;
        order: 2;
    }
    .am-vision-header { grid-template-columns: 1fr; }
    .am-vision-img { height: 260px; }
    .am-features-grid { grid-template-columns: repeat(2, 1fr); }
    .am-promise-block { grid-template-columns: 1fr; gap: 32px; }
    .am-footer-inner { grid-template-columns: 1fr; text-align: center; }
    .am-footer-copy { text-align: center; }
    .am-ca-layout { grid-template-columns: 1fr; gap: 40px; }
    .am-flywheel-grid { grid-template-columns: 1fr; }
    .am-employer-grid { grid-template-columns: repeat(2, 1fr); }
    .am-section-inner { padding: 80px 40px; }
}

@media (max-width: 768px) {
    /* Nav — show hamburger, hide links */
    .am-nav-links { display: none; }
    .am-nav-actions .am-btn-ghost { display: none; }
    .am-nav-actions .am-btn-solid { display: none; }
    .am-hamburger { display: flex; }
    .am-nav-hamburger { display: flex; }
    .am-nav-inner { padding: 0 24px; height: 60px; }
    .am-nav-brand-name { font-size: 1.15rem; }
    .am-nav-brand-sub { display: none; }
    /* wordmark scales via its own media query */

    /* Hero */
    .am-hero { padding-top: 70px; }
    .am-hero-left { padding: 48px 24px !important; }
    .am-hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .am-hero-subtitle { font-size: 0.95rem; }
    .am-hero-right { min-height: 380px; }
    .am-hero-right-inner { padding: 28px 20px; }

    /* Stats */
    .am-stats-strip { grid-template-columns: repeat(2, 1fr); }
    .am-stat-val { font-size: 2rem; }

    /* Sections */
    .am-section-inner { padding: 60px 24px; }
    .am-section-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }

    /* Vision */
    .am-vision-points { grid-template-columns: 1fr; }

    /* Mission */
    .am-mission-grid { grid-template-columns: 1fr; }

    /* Features */
    .am-features-grid { grid-template-columns: 1fr; }
    .am-promise-block { grid-template-columns: 1fr; padding: 32px 24px; }
    .am-promise-stats { grid-template-columns: repeat(2, 1fr); }

    /* Employers */
    .am-employer-grid { grid-template-columns: 1fr; }

    /* Career Agent */
    .am-ca-layout { grid-template-columns: 1fr; gap: 32px; }
    .am-ca-card { padding: 28px 24px; }

    /* Platform */
    .am-flywheel-grid { grid-template-columns: 1fr; }
    .am-flywheel-loop { padding: 20px 16px; gap: 6px; }
    .am-fl-arrow { display: none; }
    .am-beyond-box { flex-direction: column; padding: 24px 20px; }

    /* Contact form */
    .am-form-row { grid-template-columns: 1fr; }
    .am-modal-box { padding: 36px 24px; }

    /* Footer */
    .am-footer-inner { grid-template-columns: 1fr; text-align: center; }
    .am-footer-links { justify-content: center; flex-wrap: wrap; }
    .am-footer-copy { text-align: center; }

    /* CTA */
    .am-cta-actions { flex-direction: column; align-items: center; }

    /* Flywheel cards */
    .am-fw-card { padding: 28px 24px; }

    /* Timeline */
    .am-timeline { padding-left: 24px; }
    .am-timeline-item { flex-direction: column; gap: 8px; }
    .am-timeline-marker { font-size: 0.75rem; padding: 4px 12px; }
}

@media (max-width: 480px) {
    .am-hero-title { font-size: clamp(1.8rem, 9vw, 2.4rem); }
    .am-btn-solid, .am-btn-outline { font-size: 0.82rem; padding: 12px 20px; }
    .am-stats-strip { grid-template-columns: repeat(2, 1fr); gap: 1px; }
    .am-mission-grid { grid-template-columns: 1fr; }
    .am-nav-brand-name { font-size: 1rem; }
}
